Create ExplainedNumberBinaryPackage

For New Contributors
How to contribute
Description

Intended Design

Create ExplainedNumberBinaryPackage and associated unit test.
On unpack use the constructor to create a new object or create a new StatExplainer on reconstruction.
Location

Work in a new branch based from taverns-serialization

Related Issues

N/A
Requirements

N/A
Additional information

See StaticBodyPropertiesBinaryPackage and it's test
Definition of Done

[ ] Class level comments exist for all new classes.
[ ] XUnit tests exist for every method that does not require the game to be ran.

Calculated at runtime


How to externally store data?

Hi,
i would like to store the data externally to prevent loss of data on restarts etc. Preferably on S3 or other services. How could I do that?
Thanks for helping me and thanks for the good work here!

Hi @richtmat
Sorry for the late reply!
Yeah, you might be able to set some volumes on the docker containers to write the data out. Its not currently supported but I imagine its possible.
I'm working on Garie v2 at the moment, and moving over to InfluxDB for longer data storage and also full documentation, and I will cover how to you can get data and reports out.
Hope that helps!

Garie 2.0 is released, with documentation on how to store and get data locally.


Meta object passed to rewriter functions are not cloned

Using a rewriter function as shown in the README modifies the underlying metadata object, which causes errors in the calling code.  The meta object passed to the rewriter should be a copy of the object passed to the logger function

It is stated in the readme that you can modify the metadata object, this is the expected behavior

Thanks @Nijikokun!

then this is a bad thing. we supposed to overwrite it for logging purpose but not for the system. I think this is a bad design. we overwrite because we don't want to leak sensitive information in the log.

Yeah, I'm confused as well. Why would you want to mutate an object being used by the application from a logging library? Unless I'm missing the point of rewriters, I can't use them in my application. My use case is as follows: I have several relatively large objects that contain a lot of helpful debugging information, but also a lot of information that I'd like to disregard. Before logging those objects, I'd like to cleanse the object by cherry-picking the elements I want to log. Is this a supported use case? If so, is there documentation that illustrates it?

Yeah, I'm confused as well. Why would you want to mutate an object being used by the application from a logging library? Unless I'm missing the point of rewriters, I can't use them in my application. My use case is as follows: I have several relatively large objects that contain a lot of helpful debugging information, but also a lot of information that I'd like to disregard. Before logging those objects, I'd like to cleanse the object by cherry-picking the elements I want to log. Is this a supported use case? If so, is there documentation that illustrates it?

I have to agree, I wouldn't expect to be modifying the actual object I'd trying to log. In the example with creditcard numbers, this would actually destroy the creditcard numbers I'm using in my application, instead of just masking them in my logs.


MixedRealityToolkit Inspector Click Select Tab

Describe the bug
When I click on a MixedRealityToolkit object and then click SpatialAwareness in Inspector, the Inspector does not become selected
As you can see in the screenshot, I've confirmed that Enable Spatial Awareness is showing up.
To reproduce
Steps to reproduce the behavior:

Go to 'MixedRealityToolkit'
Click on 'Spatial Awareness'

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Your setup (please complete the following information)

Unity Version [e.g. 2019.3.13f1]
MRTK Version [e.g. v2.4]

Target platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
OpenVR

Additional context
Add any other context about the problem here.

Looks like a rendering bug in Unity 2019. Whatever we're using for highlighting doesn't seem to be working

That's right.
If so, will we have to wait for unity2020?
Should we wait for something that can be supported on the mrtk side?

This is fixed:

I don't remember the exact PR, but it shouldn't be an issue anymore!


Signal class lacks implementation of setting new value using previous value

Say you have the following:
signal.set(signal.get() +1)

This is reading and writing to the signal at the same time Very problematic in tracked scopes as it will loop forever.
This is solved in Solid via the following form, which uses the previous value of the signal, giving it to the callback without causing tracking on the current scope.
signal.set(prev => prev +1)

While this form works well, it has three problems:

The setter of the signal has to do a typeof to see if something is a Function to call it with the previous value.
Whenever you want to save to a signal a function, you have to wrap it, else, it will run the function you want to save.

signal.set(()=> fn)

It could get even more ugly if you are creating the body of the function to save at the same time, it will look like
signal.set(() => () => a.exec(b).groups)

Whenever you are saving something that you dont know if it is a function (say the values of an array that user/lib gave you), you have to check for function first

signal.set(typeof value === 'function' ? () => value : value)

So I propose a third method, to support this functionality, to avoid the two/three problems mentioned above.

I think, explained in another Issue (I forget where), but you can achieve a modified value via Signal.Computed, and modification to a signal should happen as the result of an event (user interaction, event, effect, etc).
Example:
const doubled = Signal.Computed(() => signal.get() * 2);

and for the event / user interaction use case, you're not in a tracking frame, so there is no risk of infinite render anywhere:
const userClicked = () => {
  signal.set(signal.get() + 1)
}

<button onClick={userClicked}>Increment</button>

Additionally, I'm testing a thin wrapper around the polyfill here: https://github.com/NullVoxPopuli/signal-utils/pull/1/files#diff-a97765e1344fe9e023876e2b4c82e072ef8899c89d0f79038876a8809cbb7374R14 which is using native JS's ++ operator, e.g.:
theSignal++

(which is, in spirit, the same as what you describe (set + get)).
it's still very WIP -- I hope to have something usable for folks in a couple days, but in my tests I need to have some effect implementation to pull on the reactive layer for testing / protecting for/against accidental infinite loops.

On signal.get() + 1:
If you read a signal from outside of a reactive function, it is untracked by default, and as a general rule of thumb, you should avoid writing to signals from effects/computeds. If you absolutely need to do that, you either have a more advanced use case, or you should think about how to restructure your code.
However, if you must have this behaviour (as a framework author), you can use composition, and write a wrapper signal that includes this method.
As for looping forever:
I think it's important to remember that this proposal intentionally does not specify createEffect, and the computeds we are discussing here are closer to memoized functions than Solid's createComputed. When a signal changes, the downstream computeds will not run at all until someone asks for their value. It is up to the framework scheduler to determine whether effects will loop for eternity or not.
Adding on to the explanation above:
I generally like to consider a redux like model around signals, where you have events which modify the signals, then values propagate through the graph. As a side effect, a framework may schedule effects that modify the dom etc (or schedule a new event to pass through on the next cycle).

Thanks Milo,
So in the case presented, it won't loop on declaration(lazy evaluation), nor even when the signal updates(lazy update), only when it's called to retrieve the value.
In a possible effect implementation, which is most likely the primary use case for a primitive like this, will loop.
const c = computed(()=> signal.write(signal.read())
effect(()=>{ c() })

It's worrying to see reads and writes on the same sentence.
From an educational point of view, read and writes shouldn't happen that way, and an api to do read+write at the same time without causing tracking could help people understand reactivity better, as they will ask/think why one has to do prev => prev + 1 instead of seeing their program/browser freeze.


DS/2023/Q2/O1/KR2: [FIGMA] Adding a new icon

Description
Create a workshop and documentation materials on how to add a new icon to Figma and the process
Technical Details

What is the process?
Who has to sign off on it?
Naming conventions?
SVG optimization
TBC

Acceptance Criteria

TBC

References

TBC

https://www.notion.so/Need-a-new-icon-b232f7c62a6f45bb81749cccb21904b8?pvs=4

https://www.notion.so/Need-a-new-icon-b232f7c62a6f45bb81749cccb21904b8


Recover subscriber?

Subscriber crash will interrupt the program without recover

Can you provide some code sample that can help us reproduce the issue?
We also welcome PRs

close as resolved


Update dependencies

Includes update to new apiextensions with Chart CRD with validation schema https://github.com/giantswarm/apiextensions/pull/264
Cleans up constraint for unused k8s.io/apiserver dependency.

Going with a ping


Druxt Office Hours - 22/01/19

Druxt Office Hours
Wednesday is Druxt Office Hours, where contributors are available between 9:00-17:00 AEDT on Discord: https://discord.druxtjs.org (#get-involved)
Topic
This week will focus on Multilingual support, improvements to Storybook, documentation and examples, as well as Authentication if time permits.
Task list

Improvements:

[ ] #158
[ ] #63
[ ] #21
[ ] #293
[ ] #307
[ ] #97

Experiments:

[ ] #334

Documentation:

[ ] #423
[ ] #249
[ ] #387
[ ] #198

[ ] #335

[ ] #197
[ ] #330

Getting started
The Druxt Git repository is setup with GitPod integration, all you need to do is open the following link, sign in or up (free, authentication with GitHub), and GitPod will set up your Druxt development environment:
https://gitpod.io#github.com/druxt/druxt.js

I spent most of yesterday investigating the current WIP for #158. Development on this will likely start in a few more weeks time, but I will be continuing to play around with the branch in the meantime.


Pdf optional 317

Adds new config yaml parameter output_pdfs (currently TRUE by default).
This parameter controls generation of the per-sample PDF plots.
Integration tests are only run to check PDFs if output_pdfs is TRUE, otherwise, these tests are skipped.
No additional packages or installation changes, just be aware of the new parameter to the config file.
Latest develop merged in (last commit in merged develop was 4ecf1a929, PR 365 merge for rename master main).
This PR resolves #317

For
tuple val(sample_id), file("3nt_periodicity.pdf") \
    optional true into nt3_periodicity_pdf

and similar statements you could instead do
tuple val(sample_id), file("3nt_periodicity.pdf") \
    optional optional_pdfs into nt3_periodicity_pdf

i.e. optional is TRUE only optional_pdfs is TRUE.

optional_pdfs should have been ! params.output_pdfs (i.e. optional if output_pdfs is FALSE. I've committed this change.
Feel free to merge and close :-)


Type inference not applied to arguments to boxed functions.

#[derive(Default)]
struct S;

fn main() {
    let s = Default::default();
    let f: Box<dyn Fn(&S)> = Box::new(|ps| {});
    f(&s)
}

This is valid Rust -- s has type S.
However, rust-analyzer (latest master<PHONE_NUMBER>fe86056965332078bed74ff7f77293) cannot infer the type of s.

Yeah, calling closures in general isn't implemented yet -- the relevant code is here:
https://github.com/rust-analyzer/rust-analyzer/blob/9322790066fe86056965332078bed74ff7f77293/crates/ra_hir_ty/src/infer/expr.rs#L178-L191
Basically, we have to check whether the callee implements FnOnce and infer the signature from that if it is the case.

Looks like the relevant code in rustc is here: https://github.com/rust-lang/rust/blob/4b1f86adbe41e8dd4864ca2315f43953dd503bb5/src/librustc_typeck/check/callee.rs#L60. I can take a stab at this if no one else is working on it?

When digging into this I think I've come across a related, but different issue. I couldn't put @umanwizard's original code in a unit test since it needs Box (is there some way to get around this that I'm not aware of?), but I came up with this test exhibits the same problem:
    #[test]
    fn infer_dyn_fn_arg() {
        check_hover_result(
            "
            //- /lib.rs
            enum Option<T> {
                None,
                Some(T)
            }

            fn apply<T, F>(f: &F, x: T)
            where
                F: Fn(T),
            {
                f(x)
            }

            fn dummy(x: Option<i32>) {}

            fn main() {
                let s<|> = Option::None;
                apply(&dummy, s)
            }

        ",
            &["Option<i32>"],
        );
    }

When inferring the type of apply(&dummy, s), the method https://github.com/rust-analyzer/rust-analyzer/blob/02f7b5d7abbab829c2a0f66cdcbb6678afb412a4/crates/ra_hir_ty/src/infer/expr.rs#L786 fails to get an obligation from F: Fn(T). I think this is because resolving the path Fn in https://github.com/rust-analyzer/rust-analyzer/blob/02f7b5d7abbab829c2a0f66cdcbb6678afb412a4/crates/ra_hir_def/src/resolver.rs#L147 fails.
Is there somewhere we pre-load the builtin traits that's missing Fn and friends? Or should I maybe be adding some extra logic somewhere in ra_hir_def to handle them?

Sorry, I forgot to answer here -- traits like Fn don't exist in unit tests if you don't define them; you need to define them and put the lang attribute on them (there's some examples of this in the hir_ty tests).

Cool thanks, also sorry for not updating this recently. I got distracted with some things, but I'm still working on it.

I think we can close this?

Yeah.


consider balena-engine support

Hey - fair play to you, this is a really great project that can change a lot in iot space.
Have you considered adding support for balena-engine? https://github.com/balena-os/balena-engine
I've been playing with it for a while on arm64 and got really good results, it's compatible with docker repos and images still, while footprint is reduced.

balena-engine in theory should work already, we just don't include by default.  You would just need to install balena and then run the k3s agent with the --docker flag so that docker and not containerd is used.  You might need to symlink /var/run/docker.sock to the balena socket file.

oh my God I've never been so close to running kube on my pi zero :D

@sokoow pi zero won't work.  I'm sorry.  k3s will run but there is pretty much no support for armv6 in the community.  What you will hit is that the google pause container will just segfault.  I'd love to get this working, but it was too much to bite off.  armv7 was a struggle, armv6 seems insurmountable.

Did you recompile everything on armv6l and it was still segfaulting ?

Okay, I gave it a try to recompile pause container on armv6l - this part looks good. I also had a try on replacing containerd socket with balena-engine one, and keep getting this:
INFO[2019-03-03T09:25:05.482508607Z] Starting k3s a3599a16b5-dirty (a3599a16)
INFO[2019-03-03T09:25:05.536685503Z] Running kube-apiserver --watch-cache=false --cert-dir /var/lib/rancher/k3s/server/tls/temporary-certs --allow-privileged=true --authorization-mode Node,RBAC --service-account-signing-key-file /var/lib/rancher/k3s/server/tls/service.key --service-cluster-ip-range <IP_ADDRESS>/16 --advertise-port 6445 --advertise-address <IP_ADDRESS> --insecure-port 0 --secure-port 6444 --bind-address <IP_ADDRESS> --tls-cert-file /var/lib/rancher/k3s/server/tls/localhost.crt --tls-private-key-file /var/lib/rancher/k3s/server/tls/localhost.key --service-account-key-file /var/lib/rancher/k3s/server/tls/service.key --service-account-issuer k3s --api-audiences unknown --basic-auth-file /var/lib/rancher/k3s/server/cred/passwd --kubelet-client-certificate /var/lib/rancher/k3s/server/tls/token-node.crt --kubelet-client-key /var/lib/rancher/k3s/server/tls/token-node.key
INFO[2019-03-03T09:25:09.608253570Z] Running kube-controller-manager --kubeconfig /var/lib/rancher/k3s/server/cred/kubeconfig-system.yaml --service-account-private-key-file /var/lib/rancher/k3s/server/tls/service.key --allocate-node-cidrs --cluster-cidr <IP_ADDRESS>/16 --root-ca-file /var/lib/rancher/k3s/server/tls/token-ca.crt --port 0 --secure-port 0 --leader-elect=false
INFO[2019-03-03T09:25:09.624037088Z] Running kube-scheduler --kubeconfig /var/lib/rancher/k3s/server/cred/kubeconfig-system.yaml --port 0 --secure-port 0 --leader-elect=false
2019/03/03 09:25:21 http: TLS handshake error from <IP_ADDRESS>:50084: EOF
F0303 09:25:21.637584   10412 controller.go:142] Unable to perform initial IP allocation check: unable to refresh the service IP block: Get https://<IP_ADDRESS>:6444/api/v1/services: net/http: TLS handshake timeout
goroutine 318 [running]:
github.com/rancher/k3s/vendor/k8s.io/klog.stacks(0x4b36600, 0x0, 0xd4, 0x143)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/klog/klog.go:828 +0x94
github.com/rancher/k3s/vendor/k8s.io/klog.(*loggingT).output(0x4b242f8, 0x3, 0x77efa40, 0x48cb57f, 0xd, 0x8e, 0x0)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/klog/klog.go:779 +0x2c0
github.com/rancher/k3s/vendor/k8s.io/klog.(*loggingT).printf(0x4b242f8, 0x3, 0x2665f9a, 0x31, 0x75b5f74, 0x1, 0x1)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/klog/klog.go:678 +0x110
github.com/rancher/k3s/vendor/k8s.io/klog.Fatalf(...)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/klog/klog.go:1207
github.com/rancher/k3s/vendor/k8s.io/kubernetes/pkg/master.(*Controller).Start(0x68fe600)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/kubernetes/pkg/master/controller.go:142 +0x14c
github.com/rancher/k3s/vendor/k8s.io/kubernetes/pkg/master.(*Controller).PostStartHook(...)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/kubernetes/pkg/master/controller.go:120
github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server.runPostStartHook.func1(0x6ad2090, 0x6ee05c0, 0x6b7a000, 0x6d727c0, 0x75b5fbc)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server/hooks.go:184 +0x5c
github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server.runPostStartHook(0x25f0d42, 0x14, 0x6ad2090, 0x6ee05c0, 0x6b7a000, 0x6d727c0)
	/go/src/github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server/hooks.go:185 +0x4c
created by github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server.(*GenericAPIServer).RunPostStartHooks
	/go/src/github.com/rancher/k3s/vendor/k8s.io/apiserver/pkg/server/hooks.go:151 +0xd4
2019/03/03 09:25:21 http: TLS handshake error from <IP_ADDRESS>:50098: EOF
2019/03/03 09:25:22 http: TLS handshake error from <IP_ADDRESS>:50060: EOF
panic: creating CRD store Get https://localhost:6444/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions: net/http: TLS handshake timeout

goroutine 543 [running]:
github.com/rancher/k3s/vendor/github.com/rancher/norman/store/crd.(*Factory).BatchCreateCRDs.func1(0x7f33680, 0x720d2e0, 0x3, 0x3, 0x6ccd950, 0x492c268, 0x2d13dc0, 0x720d500, 0x0, 0x0)
	/go/src/github.com/rancher/k3s/vendor/github.com/rancher/norman/store/crd/init.go:65 +0x210
created by github.com/rancher/k3s/vendor/github.com/rancher/norman/store/crd.(*Factory).BatchCreateCRDs
	/go/src/github.com/rancher/k3s/vendor/github.com/rancher/norman/store/crd/init.go:50 +0x8c

You can have a look at my changes in this branch: https://github.com/sokoow/k3s/tree/remove-containerd-fix-pause . I'll probably need some more guidance to make it work, as I literally just jumped on it.
Looking at k3s, it seems to be quite containerd tangled, after me rebinding it to balena-engine, would it be possible to drop containerd part, or at least stop it to save resources ? The reason why I want to explore balena-engine is that I've been working with it on iot for quite a while and the footprint is really promising. Saying that k3s required 512MB of mem won't probably change much in IoT, but saying that it requires 120MB and less wlil, that's why I want to give it a try. Let me know what you think pls, and any help appreciated.

https://github.com/kubernetes/kubeadm/issues/253#issuecomment-390467222

I got it working - so the pause container works when recompiled directly on the pi zero, will try on qemu later too. It's launching a pod with bash currently, so that's a bit of progress. A bit unhappy about the overhead though, cause it takes 240MB of mem just to start, and /var/lib/rancher quickly grows to over 1,5GB, just wondering why ?

@sokoow 1.5gb for /var/lib/rancher is quite high, that doesn't seem quite right unless maybe its using the VFS driver for containerd.  Do you know where all the space is going?  In general k3s will take ~250mb if both the server and node are on the same device.  If you are just running the agent it should be more like 70mb.
containerd should be fully optional.  Just use the --docker or --container-runtime-endpoint flags.  Let me know if balena has a lower memory footprint than containerd.  I'd really be surprised if it does.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

If anyone has issues using k3s with balena, please open a new issue.

Sorry for the spam, GH was acting up and not letting me comment earlier!

Do you have k3s running on armv6 and the zero?


Dockerfile updates

Upgrade packages for final stage
Add bind-tools and ca-certificates

@ehsandeep Let me know if this looks good. We have found that without bind-tools package we have a lot of issues running within docker networks/kubernetes.

thank you updating this @gaby

@ehsandeep Can you run the dockerhub-push workflow? Thanks!

Awesome! 😁


feature request: enable observation and troubleshooting of the work queue/thread pool usage

What kind of information can libuv expose to give an indication of work queue depth/thread utilisation/over utilisation?
I'd like to know the work queue depth over time, which implies (if non-zero) that there are no free threads in the pool. Actually, I guess there are two numbers: queued but not in progress, and in-progress.
Maybe it would also be useful to know number of free threads, but if the queued count is zero, does it matter?
What could the API look like?
One way would be a simple API to expose this number as a count. That would require sampling it, which might miss its highs and lows, so may not be so useful.
Perhaps a better way would be to collect statistics, and allow the stats to be cleared on sample:

the total work requests
total requests that spent time on queue
total/average/mean/stddev of time on queue
high/average/mean/stddev of queue depth

Or a third way might be to simply expose some kind of callback hook for the life-cycle of the queue:

when requests are queued
pulled off the queue
completed

In this case, overhead is near-zero when unused (just a check against a null function pointer), and the user of the API can determine what stats they want to collect.
Also, I guess its possible to get this info for Node.js by implication: monkey-patching everything at the js layer that is known to use the thread pool. The problem with this is that its not possible to distinguish between latency due to how long (for example) getaddrinfo takes to complete, and latency due to getaddrinfo waiting in the work queue for a free thread.
Thoughts, @bnoordhuis?
cc: @tobespc

+1

I don't recall exactly when we discussed it (earlier this week, yes, but that wasn't the original discussion) but submit/pre-process/post-process/completion hooks are arguably the most flexible mechanism.  We should be able to land that in a semver-minor release because it shouldn't need API- or ABI-incompatible changes.
Some thought should be given to what locks need to be held when modifying or iterating the hook's list of callbacks because it influences what libuv functions you can and cannot call from a callback.


My modpack crashes

I made a modpack using MyServerIsCompatible and some other mods
But it crashes when starting up.
I went over to SuperMartijns642's discord server to get support since the problem inculded some of the mods they made.
They said i needed to go here since tehy don't know why your mod conflicts with theirs.
The logs and the modpack are added below.
latest.log
Modpack 1.zip

Some additional info:
On Minecraft 1.12, both My Server Is Compatible and my core library work fine independently, but cause a crash when combined.
The crash seems to be caused by a mixin error from my core library. However, I don't see how this is only the case when My Server Is Compatible is installed.
Both mods only have one mixin into different classes (ForgeHooksClient and FMLClientHandler), so, as far as I know, those shouldn't conflict.
The mixin from my core library can be found here: https://github.com/SuperMartijn642/SuperMartijn642sCoreLib/blob/1.12/src/main/java/com/supermartijn642/core/mixin/LevelRendererMixin.java

Seems like that the mixin versions included in both mods are conflicting? I don't know why, because they seem to have the same version.
Adding this mod to your modpack should fix the issue -> https://www.curseforge.com/minecraft/mc-mods/mixin-0-7-0-8-compatibility

Using that mod seems to work. Thanks for the help!


minmax slice option applied twice with headtail

There is duplicate code in the headtail method that result in four values sliced instead of two when minmax option is chosen.

Good catch !

Thanks Thomas


How can you use pyresttest to test api that needs auth and create cookies?

Hello,
Great library.
How can you use pyresttest to test api that needs auth and create cookies?

Have you consulted the documentation?  I believe both of those questions are already answered.

@svanoort weirdly github does not do partial match when searching. This yields one item in your code base with the word "cookie" and I did not notice the 10 other tickets with the word.


Printer driver for Canon MG5650 missing

Basic info
To make sure that we are on the same page:

Kernel: Linux nixos 4.4.4 #1-NixOS SMP Thu Mar 3 23:10:04 UTC 2016 x86_64 GNU/Linux
System: 16.09pre78286.0bf8a1a (Emu)

Describe your issue here
added the printer Canon MG6600 series. The cups status page (http://localhost:631/printers) shows the following error:
Idle - "File "/nix/store/z2szc1awwxdv71hpxb1n5awsf25k3zjm-cups-progs/lib/cups/filter/cmdtocanonij2" not available: No such file or directory"
Indeed, cmdtocanonij2 doesn't exist in this directory.
Steps to reproduce
I'm not completely sure anymore how I added the printer since it's already a while ago, I'm not sure if I downloaded a driver from the canon page. I'll try to add reproducable steps later.

I encountered a similar issue today while attempting to install a Canon PPD downloaded from their website.
Linux alobar 4.9.20 #1-NixOS SMP Fri Mar 31 08:32:02 UTC 2017 x86_64 GNU/Linux

close as old?


feat(api): create new endpoints

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Merge me first
Happy, Oliver?

There are a few issues mean I think this shouldn't go in just yet, hence the blocked status.  Review's on the way!

Just wondering, how bad is magic number and how could they have affected the code?
Looking at magic number wiki, I couldn't get what would be the effect on the code.

@Sboonny

how bad is magic number and how could they have affected the code?

At the end of the day, the code would work exactly the same, magic numbers or no magic numbers. The only issue is, without a way to identify where the numbers come from, the readability/maintainability of the code decreases.
For example, the following code snippets do exactly the same thing, but two are easily understandable, whilst one is unwieldy:
const CURRENT_VAT_RATE = 0.15;
const muhammed_shoe = 10;
const cost = muhammed_shoe + muhammed_shoe * CURRENT_IINTEREST_RATE;
console.log("Muhammed's shoe costs: ", cost);

const muhammed_shoe = 10;
// VAT is currently at 15%
const cost = muhammed_shoe + muhammed_shoe * 0.15;
console.log("Muhammed's shoe costs: ", cost);

const cost = 10 + 10 * 0.15;
console.log("Muhammed's shoe costs: ", cost);

If you have more questions on this, I suggest we take the conversation off of this PR, just to keep things neat, and reduce unnecessarily pinging folks.

@ShaunSHamilton any more changes in the works or can I give this another review?

@ojeytonwilliams This should be ready for another review.

It's either waiting for review or blocked. All issues and PRs can have only one status at a time.

It's either waiting for review or blocked. All issues and PRs can have only one status at a time.

Right, but until that previous commit is removed, this is blocked and waiting review


Can't build UWP APPX from MRTK Build Window in Unity

https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4485
If you're building the UWP AppX from the build window for the very first time (without having built the Unity project before) this error shows up because the current platform isn't being properly propagated to the second step (i.e. the actual building of the AppX). If it's already been built (which is the case once you've started using your project for a while) you won't hit this codepath.
It's a pretty annoying thing to see as a first time user (i.e. I would expect it to work) so making sure that the right data (platform) is getting piped through is the right thing to do!

/azp run mrtk_pr

/azp run mrtk_pr

This also happens if i build the project , both Unity and then in Visual studio, and doesn't go away when I build the project for the first time.


Getting affiliate links

Hey, can i get my short affiliate links with this api? I wanna build a bot.

Hello!
Thank you for showing interest.
Sadly, this is a Unoffical scraping-based API for searching AliExpress, not for gathering affiliate links using offical API.
You can check this if it is helpful:
https://stackoverflow.com/a/41079552
Thanks for understanding


no way to read saved ica fif files

There is the ability to save an ica solution, but no way to read it. The previous version of MNE had this same functionality that somehow got lost in this one.

The functionality is still there: https://martinos.org/mne/stable/generated/mne.preprocessing.read_ica.html
Can you try again and if it still doesn't work please let us know what you tried.

I found the solution. Had to change how I called it.
previously: mne.read_ica(fname) to mne.preprocessing.read_ica(fname)
Sorry and thank you!

I found the solution. Had to change how I called it.
previously: mne.read_ica(fname) to mne.preprocessing.read_ica(fname)
Sorry and thank you!


Add flag to agent to control writing job history to ZK

Default is true which is previous behavior.

Current coverage is 50.23% (diff: 45.16%)

Merging #968 into master will decrease coverage by 0.01%

@@             master       #968   diff @@
==========================================
  Files           276        276
  Lines         12935      12948    +13
  Methods           0          0
  Messages          0          0
  Branches       1671       1675     +4
==========================================
+ Hits           6500       6504     +4
- Misses         5943       5947     +4
- Partials        492        497     +5

Powered by Codecov. Last update 7787cd4...701211e

👍

@mattnworb @rohansingh I also added javadoc to OldJobReaper since it will be affected if this flag is enabled.

cc @saunakchakrabarti

Was thinking about adding a test for the flag. The relevant class is JobHistoryTest which is an IT. But there's not really a good way to test that no event will ever be sent. I didn't feel like sleeping a bunch and then checking that there's no events would be a worthwhile test.

@davidxia I think it would be sufficient to add a unit test of ZooKeeperAgentModel that sees what it does when the TaskHistoryWriter instance is null

@mattnworb I renamed the flag and added a test in b9bb5f3.

👍  regardless of how you want to handle the above comments


access groups can be deleted

Datastillery/internal#582
co-authored-by: Jennifer Folkerth<EMAIL_ADDRESS>Ticket Link #582
Description

High level overview of changes
...

Reminders:

[ ] If changing elixir code in an "app", did you update the relevant version
in mix.exs?
[ ] If altering an API endpoint, was the relevant postman collection updated?

[ ] If a new version of smart_city is being used (new fields on a struct), were the relevant postman collections updated?

Why was there a large removal to the assets package-lock? Didn't see corresponding changes to the package.json


showTimePicker has unlocalized strings

flutter_localizations is present. I set the locale to Locale('pl').
Buttons are localized correctly (ANULUJ and OK), but SELECT TIME, ENTER TIME, Hour and Minute isn't. Icon buttons' tooltips aren't localized too.

[√] Flutter (Channel dev, 1.21.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.388],
    locale pl-PL)
    • Flutter version 1.21.0-1.0.pre at D:\flutter
    • Framework revision f25bd9c55c (2 weeks ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

Code for this bug is available in a small repo I created for this and another bug here: https://github.com/Albert221/flutter_time_picker_issues

Hi @Albert221,
I tried to replicate the code from your repo on latest Flutter dev channel and on Android 8.1.0 device, but was unable to see the select time, enter time,  hours, mins` on my device. Are there any other settings we need to do to see these texts?

You probably are running an old Flutter dev version, from before the Time Picker redesign. Try upgrading.

@Albert221, thanks for the tip. I now see the updated showTimePicker.
Replicable on latest dev and master channels.

flutter doctor -v
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.21.0-6.0.pre.90, on Mac OS X 10.15.2 19C57, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

Related PR.


Regression : VSCode does not work anymore with Microsoft PowerToys FancyZones

VS Code Version: 1.86.2
OS Version: Windows 10

Steps to Reproduce:

Install PowerToys FancyZones
Move VSCode & see a zone higlighted, shouls snap to the zone, and does not

Very frustrating on large screens
This is 100% a regression because it used to work.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


query: build JSON manually for union as well

https://github.com/AladW/aurutils/pull/919#issuecomment-1037148568

If you just want to pick the first objects in an array with a field having some value, you could try e.g. group_by(.ID) | map(.[0]).
Otherwise a self-contained example of the problem would help :)

A self-contained example is as follows:
aur query -t search bacula-dir-mariadb ros-melodic-mbf-costmap-nav kaption helium-ledger-cli python-jamo-git qdc kwin-scripts-sticky-window-snapping-git maestral-qt exec-helper-docs deepin-wine-plugin | jq -s add

returns
{
  "resultcount": 2,
  "results": [
    {
      "Description": "Deepin Wine plugin virtual package",
      "FirstSubmitted":<PHONE_NUMBER>,
      "ID": 814453,
      "LastModified":<PHONE_NUMBER>,
      "Maintainer": "Skywol",
      "Name": "deepin-wine-plugin-virtual",
      "NumVotes": 4,
      "OutOfDate": null,
      "PackageBase": "deepin-wine-plugin-virtual",
      "PackageBaseID": 131921,
      "Popularity": 0.598254,
      "URL": "http://www.deepin.org",
      "URLPath": "/cgit/aur.git/snapshot/deepin-wine-plugin-virtual.tar.gz",
      "Version": "5.1.13-1"
    },
    {
      "Description": "Deepin Wine plugin",
      "FirstSubmitted":<PHONE_NUMBER>,
      "ID": 814455,
      "LastModified":<PHONE_NUMBER>,
      "Maintainer": "Skywol",
      "Name": "deepin-wine-plugin",
      "NumVotes": 4,
      "OutOfDate": null,
      "PackageBase": "deepin-wine-plugin",
      "PackageBaseID": 131920,
      "Popularity": 0.598254,
      "URL": "http://www.deepin.org",
      "URLPath": "/cgit/aur.git/snapshot/deepin-wine-plugin.tar.gz",
      "Version": "5.1.13-1"
    }
  ],
  "type": "search",
  "version": 5
}

intended result:
aur query -t search bacula-dir-mariadb ros-melodic-mbf-costmap-nav kaption helium-ledger-cli python-jamo-git qdc kwin-scripts-sticky-window-snapping-git maestral-qt exec-helper-docs deepin-wine-plugin  | jq -Mjcs '.[0].type as $t | .[0].version as $v
            | map(.results) | unique | add as $r
            | {
                "resultcount": ($r | length),
                "results": $r,
                "type": $t,
                "version": $v
            }'

{
  "resultcount": 13,
  "results": [
    {
      "Description": "A KDE utility similar to Jing or Skitch to take and edit screenshots",
      "FirstSubmitted":<PHONE_NUMBER>,
      "ID": 514844,
      "LastModified":<PHONE_NUMBER>,
      "Maintainer": "Hoek",
      "Name": "kaption",
      "NumVotes": 6,
      "OutOfDate": null,
      "PackageBase": "kaption",
      "PackageBaseID": 50592,
      "Popularity": 0,
      "URL": "https://www.linux-apps.com/p/1126919/",
      "URLPath": "/cgit/aur.git/snapshot/kaption.tar.gz",
      "Version": "0.1.1-3"
    },
    {
      "Description": "A Qt interface for the Maestral daemon",
      "FirstSubmitted":<PHONE_NUMBER>,
      "ID": 910325,
      "LastModified":<PHONE_NUMBER>,
      "Maintainer": "lmartinez-mirror",
      "Name": "maestral-qt-git",
      "NumVotes": 0,
      "OutOfDate": null,
      "PackageBase": "maestral-qt-git",
      "PackageBaseID": 151228,
      "Popularity": 0,
      "URL": "https://github.com/SamSchott/maestral-qt",
      "URLPath": "/cgit/aur.git/snapshot/maestral-qt-git.tar.gz",
      "Version": "1.4.4-1"
    },
    ...
  ],
  "type": "search",
  "version": 5
}

edit: also errors should be preserved, see #922

If you would like to preserve .type=="error" objects, then the output cannot be a single object.
WIP without error handling (assumes all objects are .type=="search"): jq -s '([.[].results] | add) as $r | (.[0] + { "resultcount": ($r | length), "results": $r })'

If you would like to preserve .type=="error" objects, then the output cannot be a single object.

I guess this is especially noticeable when having .type="error" objects exclusively:
aur query -t search python | jq -s '[([.[] | select(.type == "search").results] | add) as $r | (.[0] + { "resultcount": ($r | length), "results": $r })] + [.[] | select(.type != "search")] | .[]'

{
  "error": "Too many package results.",
  "resultcount": 0,
  "results": null,
  "type": "error",
  "version": 5
}
{
  "error": "Too many package results.",
  "resultcount": 0,
  "results": [],
  "type": "error",
  "version": 5
}


Polish lite pull consumer and fix bug

What is the purpose of the change
Polish lite pull consumer and fix bug
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.2%) to 50.834% when pulling c6c37d45856465ed2289768ddeca3b374eafc02b on RongtongJin:litePullConsumer into 9c3b26cfd3a7b5c7b87bb13c4ab38f249107e349 on apache:litePullConsumer.


add BeginDialogRule()/remove adaptiveDialog.Steps

Rename Steps -> Actions throughout
Rename DialogCommand to DialogAction
Update all schema and unit tests

Approved conditional that this change was discussed with the dev / PM team since it contains substantial renaming of key concepts

Didn't merge this once since it is marked as 'DO NOT MERGE'. Hope its not too painful to update once we decide to get this in!


rm std string

This removes the use of std::string in namespace vmcs and
namespace vm in order to prevent freezing of the system.
I believe the source of the freeze problem is too high
a perf sampling rate.  The lower the perf_cpu_time_max_percent
is, the less time is spent sampling NMIs. Disabling it
completely makes the system act as if bareflank isn't running at all.

@rianquinn I made the changes last night and forgot to mention you


Settings popup menu

Issue Type: Feature Request
The width of the menu panel that pops up by clicking the setting button in the lower left corner under windows and linux is not the same, the two ends are aligned under windows, and only part of the two ends are aligned under linux
VS Code version: Code 1.52.0 (940b5f4bb5fa47866a54529ed759d95d09ee80be, 2020-12-10T22:45:11.850Z)
OS version: Windows_NT x64 10.0.19041

Sorry what do you mean by the "the two ends are aligned"?

@yaowenzhou Linux by default is using native context menus. We don't have the ability to align like that with native menus. Our custom context menus on linux do behave like windows however.


Deprecated NoBookException references need removed

From packtpub.py and spider.py
Else you get:
Traceback (most recent call last):
File "script/spider.py", line 8, in
from packtpub import Packtpub
File "/home/pclarity/packt-crawler2/script/packtpub.py", line 6, in
from noBookException import NoBookException
ImportError: No module named noBookException

The file was deleted accidentally, no idea why I didn't caught it before.
pclarity<EMAIL_ADDRESS>schrieb am Do., 2. Feb. 2017, 14:37:

From packtpub.py and spider.py
Else you get:
Traceback (most recent call last):
File "script/spider.py", line 8, in
from packtpub import Packtpub
File "/home/pclarity/packt-crawler2/script/packtpub.py", line 6, in
from noBookException import NoBookException
ImportError: No module named noBookException
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/niqdev/packtpub-crawler/issues/51, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEmPPLTCkaBbBCeqb1Engz7kc3wveQfEks5rYdwJgaJpZM4L1Hdu
.

Fixed in https://github.com/niqdev/packtpub-crawler/pull/52

Thanks @juzim


PHP Wrapper / Secure Session using wrap/unwrap

Currently the docs advise that in the context of a traditional php backed http request/response, secure session does not make a lot of sense. However it should be possible for people to use the phpthemis in the context of for example a daemonised php/cli.
From my current reading i do not believe that this is the case. My understanding (expressed in plain English) is that:

Both peers will construct and initialise a secure session object each with their own "Id" and private key plus the ability (via a callback) to acquire the public key of a peer from its "Id".

One peer (the client) initiates a session with another (the server) by generating and passing to the server a "connection request" message. The server "unwraps" message and recognises this as part of the session negotiation phase and so simply passes the result of the "unwrap" to the client.

Similarly the client unwraps messages from the server and on recognising that they are part of the negotiation phase, passes the result back to the server until ...

The client sees a message/response from the server that indicates that negotiation is complete. At this point the client will explicitly "wrap" the application level message it want to send and passes it to the server. Similarly the server unwraps and sees the non-negotiation phase message, will perform what ever action the client request is intended to trigger and return a "wrapped" response to the client. Any number of subsequent "application" level client/requests and server/responses may now be performed.

Currently in php_themis.c , while i see object meothod implementations of constructors and the wrap/unwrap functionality, i do not see any means to implement the initiating "connect request".
At the same time in php_themis.h i see defs for traditional non-object functions such as phpthemis_secure_session_generate_connect_request that have no implementation.
As ever this may be a failure of understanding on my part :)

Yes, the flow of secure session is correct. In secure session wrapper for PHP I assume that PHP may be used only for secure session server implementation and in this case creation of connect request function not needed.

Well, the guess of php acting as secure session client is not wild, but very rare :)

@mnaza seems to be doing this already, right?

This works fine. I have 2 observations:
First, regarding the security concerns associated with serialization/unserialization of a secure session object in the context of its use within (say) an apache thread across multiple http requests. I will document this as simply "not currently supported" ... for that is the case :)
Secondly, in testing, I ran into a number of problems associated with error case detection. In short, there are significant differences (generally not just in the methods associated with secure session) signalled by RETURN_NULL(); as opposed to RETURN_FALSE; or RETURN_EMPTY_STRING();
Type juggling in PHP (and perhaps other high lever wrappers?) means that clauses like:
	while (!$client_session->is_established())

or
	$client_message=$client_session->unwrap($server_response);
	if (empty($client_message))  {return("Negotiation Failed 2");}

Fail to distinguish between permanent errors RETURN_NULL(); and valid transitory states signalled by RETURN_FALSE; or RETURN_EMPTY_STRING();
In the short term I will document using example code that reflects this like:
	while (TRUE !== $client_session->is_established())
            {
            if ( $client_session->is_established() === NULL )
                { //signal failure and break/return/exit }
            else
                { //continue negotiation }
            }

While the need to handle cases like this is not uncommon in PHP ( e.g.: http://php.net/strpos ) I always feel it adds additional opportunity for programmer error - note the big "Warning" in the strpos manual.
Perhaps this is something to think about going forward?

How about using exceptions.
cossacklabs/themis#30

I think the exceptions approach is a great solution. Thanks


Chaotic Feat: Glassmorphism Effect

Fixes #170

before applying glassmorphism effect
screen-capture (1).webm

after applying glassmorphism effect
screen-capture (2).webm

see the videos attached to get more clear view .


Can't rename things in anon namespace

Given namespace { void foo(); }
Renaming foo fails: "Cannot rename symbol: symbol may be used in other files (not eligible for indexing"
static void foo() in the global namespace works, so I think we just need to teach the heuristics about anonymous namespaces.

This should be fixed in https://github.com/llvm/llvm-project/commit/902dc6c69ce7985427efa103a7c4099c372da6fa, I just committed it this morning.


Dependabot doesn't create a PR for docker updates where a multi-version image tag is used

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
Docker
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
self-host/runner/Dockerfile
FROM ghcr.io/actions-runner-controller/actions-runner-controller/actions-runner:v2.296.1-ubuntu-20.04

dependabot.yml content
version: 2
updates:
    - package-ecosystem: 'docker'
      directory: /self-host/runner
      schedule:
          interval: 'daily'
          time: '10:00'
      open-pull-requests-limit: 10

Updated dependency
ghcr.io/actions-runner-controller/actions-runner-controller/actions-runner
{
    "name": "actions-runner-controller/actions-runner-controller/actions-runner",
    "tags": [
        "v2.285.1-ubuntu-20.04",
        "v2.285.1-ubuntu-20.04-2bd6d63",
        "v2.286.0-ubuntu-20.04-8a7720d",
        "v2.286.0-ubuntu-20.04",
        "v2.286.0-ubuntu-20.04-ad48851",
        "v2.286.1-ubuntu-20.04",
        "v2.286.1-ubuntu-20.04-5e86881",
        "v2.287.0-ubuntu-20.04",
        "v2.287.0-ubuntu-20.04-81b2c5a",
        "v2.287.1-ubuntu-20.04-715e6a4",
        "v2.287.1-ubuntu-20.04-f09a974",
        "v2.287.1-ubuntu-20.04-cc25dd7",
        "v2.287.1-ubuntu-20.04",
        "v2.287.1-ubuntu-20.04-6f591ee",
        "v2.288.0-ubuntu-20.04",
        "v2.288.0-ubuntu-20.04-f0fa99f",
        "v2.288.1-ubuntu-20.04-e42db00",
        "v2.288.1-ubuntu-20.04-c221b6e",
        "v2.288.1-ubuntu-20.04",
        "v2.288.1-ubuntu-20.04-b25a0fd",
        "v2.289.1-ubuntu-20.04-4cbbcd6",
        "v2.289.1-ubuntu-20.04-2cb04dd",
        "v2.289.1-ubuntu-20.04",
        "v2.289.1-ubuntu-20.04-debf53c",
        "v2.289.2-ubuntu-20.04",
        "v2.289.2-ubuntu-20.04-971c54b",
        "v2.290.0-ubuntu-20.04-7b8057e",
        "v2.290.0-ubuntu-20.04-4a3b7bc",
        "v2.290.0-ubuntu-20.04",
        "v2.290.0-ubuntu-20.04-352e206",
        "v2.290.1-ubuntu-20.04-8195178",
        "v2.290.1-ubuntu-20.04",
        "v2.290.1-ubuntu-20.04-059481b",
        "v2.291.1-ubuntu-20.04-800d6bd",
        "v2.291.1-ubuntu-20.04-c1e5829",
        "v2.291.1-ubuntu-20.04-d01595c",
        "latest",
        "v2.291.1-ubuntu-20.04",
        "v2.291.1-ubuntu-20.04-3ca1152",
        "v2.291.1-ubuntu-20.04-2120981",
        "v2.292.0-ubuntu-20.04",
        "v2.292.0-ubuntu-20.04-ac27df8",
        "v2.292.0-ubuntu-20.04-0cd13fe",
        "v2.293.0-ubuntu-20.04",
        "v2.293.0-ubuntu-20.04-933b0c7",
        "v2.293.0-ubuntu-20.04-23f091d",
        "v2.293.0-ubuntu-20.04-3c7d3d6",
        "v2.294.0-ubuntu-20.04",
        "v2.294.0-ubuntu-20.04-f24e2fa",
        "v2.294.0-ubuntu-20.04-071898c",
        "v2.294.0-ubuntu-20.04-84d16c1",
        "v2.294.0-ubuntu-20.04-e2c8163",
        "v2.294.0-ubuntu-20.04-bc7a3ca",
        "v2.294.0-ubuntu-20.04-abb8615",
        "v2.294.0-ubuntu-20.04-af96de6",
        "v2.294.0-ubuntu-20.04-0386c07",
        "v2.294.0-ubuntu-20.04-ddd417f",
        "v2.294.0-ubuntu-20.04-d86bd2b",
        "v2.294.0-ubuntu-20.04-067ed2e",
        "v2.294.0-ubuntu-20.04-5ea0841",
        "v2.294.0-ubuntu-20.04-fc63d6d",
        "v2.294.0-ubuntu-20.04-63935d2",
        "v2.294.0-ubuntu-20.04-1ce0a18",
        "v2.294.0-ubuntu-20.04-858ef89",
        "v2.294.0-ubuntu-20.04-73e430c",
        "v2.294.0-ubuntu-20.04-f661249",
        "v2.294.0-ubuntu-20.04-d4f35cf",
        "v2.294.0-ubuntu-20.04-9b28e63",
        "v2.294.0-ubuntu-20.04-2fe6adf",
        "v2.294.0-ubuntu-20.04-82641e5",
        "v2.294.0-ubuntu-20.04-e3deb0d",
        "v2.294.0-ubuntu-20.04-11cb9b7",
        "v2.294.0-ubuntu-20.04-c658dcf",
        "v2.294.0-ubuntu-20.04-98b17dc",
        "v2.294.0-ubuntu-20.04-37aa1a0",
        "v2.294.0-ubuntu-20.04-3f78f71",
        "v2.294.0-ubuntu-20.04-fc55477",
        "v2.295.0-ubuntu-20.04",
        "v2.295.0-ubuntu-20.04-784019f",
        "v2.295.0-ubuntu-20.04-3724b46",
        "v2.296.0-ubuntu-20.04",
        "v2.296.0-ubuntu-20.04-55ca7bf",
        "v2.296.1-ubuntu-20.04",
        "v2.296.1-ubuntu-20.04-e233f7a",
        "v2.296.2-ubuntu-20.04",
        "v2.296.2-ubuntu-20.04-0615c2a"
    ]
}

What you expected to see, versus what you actually saw
I expect the depeandabot to create a PR with version v2.296.2-ubuntu-20.04
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
updater | time="2022-09-13T14:00:32Z" level=info msg="task complete" container_id=job-458053644-file-fetcher exit_code=0 job_id=458053644 step=fetcher
updater | I, [2022-09-13T14:00:34.057756 #7]  INFO -- sentry: ** [Raven] Raven 3.1.2 ready to catch errors
updater | To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
updater | INFO <job_458053644> Starting job processing
updater | INFO <job_458053644> Starting update job for foo-bar/gha-setup
updater | INFO <job_458053644> Checking if actions-runner-controller/actions-runner-controller/actions-runner v2.296.1-ubuntu-20.04 needs updating
  proxy | 2022/09/13 14:00:36 [014] GET https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/tags/list
  proxy | 2022/09/13 14:00:36 [014] 401 https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/tags/list
  proxy | 2022/09/13 14:00:36 [016] GET https://ghcr.io:443/token?service=ghcr.io&scope=repository%3Aactions-runner-controller%2Factions-runner-controller%2Factions-runner%3Apull
  proxy | 2022/09/13 14:00:36 [016] 200 https://ghcr.io:443/token?service=ghcr.io&scope=repository%3Aactions-runner-controller%2Factions-runner-controller%2Factions-runner%3Apull
  proxy | 2022/09/13 14:00:36 [018] GET https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/tags/list
  proxy | 2022/09/13 14:00:36 [018] 200 https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/tags/list
  proxy | 2022/09/13 14:00:36 [020] HEAD https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/manifests/latest
  proxy | 2022/09/13 14:00:36 [020] 401 https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/manifests/latest
  proxy | 2022/09/13 14:00:36 [022] GET https://ghcr.io:443/token?service=ghcr.io&scope=repository%3Aactions-runner-controller%2Factions-runner-controller%2Factions-runner%3Apull
  proxy | 2022/09/13 14:00:36 [022] 200 https://ghcr.io:443/token?service=ghcr.io&scope=repository%3Aactions-runner-controller%2Factions-runner-controller%2Factions-runner%3Apull
  proxy | 2022/09/13 14:00:36 [024] HEAD https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/manifests/latest
  proxy | 2022/09/13 14:00:37 [024] 200 https://ghcr.io:443/v2/actions-runner-controller/actions-runner-controller/actions-runner/manifests/latest
updater | INFO <job_458053644> Latest version is v2.296.1-ubuntu-20.04
updater | INFO <job_458053644> No update needed for actions-runner-controller/actions-runner-controller/actions-runner v2.296.1-ubuntu-20.04
updater | INFO <job_458053644> Finished job processing
updater | time="2022-09-13T14:00:37Z" level=info msg="task complete" container_id=job-458053644-updater exit_code=0 job_id=458053644 step=updater

Smallest manifest that reproduces the issue
No response

I'm updating the title as I'm fairly sure this has nothing to do with GHCR, and is just about the complex image tag.
I'm also reasonably sure this is a dupe of another ticket (or multiple!) in the issue backlog, I just haven't taken the time yet to wade through them as there's a number of related but not quite identical tickets around docker images and multi-version tags.

I confirmed the issue too.
Then problem is that dependabot is considering the 20.04 part as the version, so... it provides no updates since that's fixed.

There is another two issues related to this: https://github.com/dependabot/dependabot-core/issues/2692 and https://github.com/dependabot/dependabot-core/issues/4329
At some point it would be nice if dependabot could update these segments independently.

Yeah, sounds tricky though!

We have the same problem with hexpm/elixir:
updater | INFO <job_469484217> Latest version is 1.13.4-erlang-25.0.4-alpine-3.16.1
updater | INFO <job_469484217> No update needed for hexpm/elixir 1.13.4-erlang-25.0.4-alpine-3.16.1

Possible updates could be:

1.14.0-erlang-25.0.4-alpine-3.16.1
1.13.4-erlang-25.1-alpine-3.16.2
1.14.0-erlang-25.1-alpine-3.16.2
...


Deploy widget_driver_annotations to pub.dev

We should deploy the first version of the annotations package to pub.dev.
It has no exrternal dependencies so this should be easy.

Done with:
https://github.com/bmw-tech/widget_driver/pull/62
https://github.com/bmw-tech/widget_driver/pull/64
https://github.com/bmw-tech/widget_driver/pull/65


Script references deprecated Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell package and fails as a result

The Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell (https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.PackageDeployment.PowerShell/<IP_ADDRESS>) module indicates "This package has been deprecated as it is legacy and is no longer maintained."
But, the PowerShell script on the Download tools from NuGet page includes trying to download that in the "Download Package Deployer PowerShell module" section of the script.
This fails because of the deprecated status, erroring the script.

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

ID: 9d7d5f36-11fc-9ac5-778b-c03823bbb072
Version Independent ID: 814e151a-2018-285a-697f-f929a73957d4
Content: Download tools from NuGet (Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/customerengagement/on-premises/developer/download-tools-nuget.md
Product: d365ce-op
GitHub Login: @JimDaly
Microsoft Alias: jdaly

@phecke
Can you work with the DAX team to get this fixed?
We should also get someone on that team to take over ownership of this topic.

@krouskop This should be fixed now. The sample PowerShell script in the topic needed updating, so grab a new copy and try it.


Reference and rig data

Hello,
I was wondering when you might be able to release the reference and rig data to test your implementation.
Thanks

@henkkagee hi, could you update a sample data for test?

Hey! Thanks for pinging me and sorry for completely missing the first request here.
I'll have a chat with the actor and the legal team at Remedy and see what I can do, this was postponed for a while since releasing it.


FIX: return invalid location constraint error

@ironman-machine ok

Hello @nicolas2bert
Starting end to end procedure using the following payload:
{"REPO_NAME": "S3", "DEFAULT_BRANCH": "master", "SCALITY_S3_BRANCH": "fx/locationerror"}
Please follow http://ci.ironmann.io/gh/scality/Integration/11152 for CI status.


Unable to use random chars in a string argument

First of all thank you for this framework, is really easy to use. Good UX overall which often opensource projects have lack of.
I have declared a simple string argument for a command. All works fine unless I start to use non alpha numeric chars.
This doesn't work in prompt mode and as cli parameter.
Try out to put a value like: sample: [yaml, array]
For argument line I would expect something like --param_name "sample: [yaml, array]"
And in prompt mode just to put same text, but no way, chars like :[,] aren't accepted and no clear way to allow that happening

I'm highly confused that a simple string cannot contain any char

Overcome the issue with option:
.UsePrompting(context => new CustomPrompter(context.Console)) where CustomPrompter is basically copy/paste Prompter class.
And highly disapointed about extensiability of this framework. Almost total violation of Open/Close principle (and few other moments form S.O.L.I.D.) forces you to copy and paste much of internals instead of extending them. Highly overused 'internal' keyword.

This make it work in prompt mode. While the issue still persist for arguments. Unable to have a value like "sample: [else]" yet

Hi @CyborTronik

First of all thank you for this framework, is really easy to use

You're welcome.  I'm glad you're liking it.

highly disapointed about extensiability of this framework. Almost total violation of Open/Close principle

I think we may have different interpretations of the S.O.L.I.D.  In my understanding of it, the fact that you can extend the functionality of the framework by injected a new class is a class example of Open/Close principle.  Using interfaces instead of superclasses is generally considered a better way to do this.  This post covers that well.
And there are in fact multiple ways to extend this framework as seen under the Extensibility heading in the documentation so I'm a bit confused.

forces you to copy and paste much of internals instead of extending them. Highly overused internal keyword

This is intentional.  It allows the maintainers greater scope in what can be changed in refactorings.  If everything is public, then every change is a breaking change and the code base becomes difficult to change.  Even now, the code base has a lot of [Obsolete] tags and we're keeping this page updated with everything that will change in the next major release.  Imagine how more cumbersome that would be if everything was public?  I would no longer want to contribute to this project.
If there is code that you'd like to be made public to make building apps easier, please make specific requests for those along with clear use cases how it will help.  In the case with Prompter, I'm guessing there are some behaviors you want and some you don't.  We would need to figure out a better design to expose that functionality publicly.

is basically copy/paste Prompter class.

The Promper class is actually one of the public classes.  The core logic is implemented in private methods.  It sounds like there is a very specific way you wanted to be able to extend this class and the framework didn't support that.  The way you've described extending it though sounds like a standard approach though.
It sounds like with your approach you've fixed the bug you've mentioned here.  If that's the case, can you fork the repo and create a PR that would solve the problems you've encountered?

Unable to have an argument value like "sample: [else]" yet

I'm not able to repro this issue.  We have tests to cover special characters

"~!@#$%^&*()_= +[]\\{} |;':\",./<>?"
"[some (parenthesis) {curly} and [bracketed] text]"

and I just wrote these tests on a local branch and they pass
new AppRunner<App>().Verify(new Scenario
{
	When = { ArgsArray = new[] { "Do", "sample: [yaml, array]" } },
	Then =
	{
		AssertContext = ctx => ctx.ParamValuesShouldBe("sample: [yaml, array]")
	}
});
new AppRunner<App>().Verify(new Scenario
{
	When = { ArgsArray = new[] { "Options", "--opt1", "sample: [yaml, array]" } },
	Then =
	{
		AssertContext = ctx => ctx.ParamValuesShouldBe("sample: [yaml, array]", null)
	}
});

I'm using the ArgsArray so that I'm testing data as it would be passed in from the Main(string[] args)
I wonder if the problem you're having is caused by the way the shell is parsing the bug.
Some questions & suggestions to help troubleshoot.

What OSs and shells have you tried this with and is the bug the same for all of them?
Which version of this framework are you using?
Have you tried using the [parse:t] directive to see how the arguments are being passed into the application?  Can you post the output here?
If you can send a link to a repo with an app that has this issue with a full cli string to repro the problem and the shell used, that will be helpful for me to reproduce the issue.

It would also be helpful to know what features are enabled.  For example, do you have directives enabled and does the first argument look like a directive?
You could post Command Logger output with system info (excluding user & machine).

I also tested this with the CommandDotNet.Example app as shown below and was able to enter the string you mentioned both as shell input and as prompt.  I'll definitely need more info to figure out what's going on for you there.
~/src/commanddotnet (master)
λ cmdnetex prompts echo

text (Text): sample: [yaml, array]
sample: [yaml, array]
~/src/commanddotnet (master)
λ cmdnetex prompts echo "sample: [yaml, array]"

sample: [yaml, array]

@CyborTronik have you had a chance to look into this?  If I don't hear back in the next day I'll close this issue and you can reopen it when you've got more info to help troubleshoot.

Sry, I was busy with my daily things.
The fix that I've did was by copy/paste and change the line https://github.com/bilal-fazlani/commanddotnet/blob/0d8994824a863703517a1f7bf5dded347235e78c/CommandDotNet/Prompts/Prompter.cs#L129
the ConsoleKeys.PassThroughKeys itslef won't allow any other characters than listed in it.
Had no enough time to figure out where is the validation/tokenization issue for cli arguments yet

I can't repro the problem you've listed with the example app.  Using the example app, I'm able to enter the text with brackets and I see it output correctly.  See the attached screenshot.

I'll need the info as requested earlier:  os, .net version, CommandDotNet version and [parse:t] directive output.  If you can link to a repository with the bug, that would also be helpful.

@drewburlingame this is because you are on totally other branch(v4/cancelation). while I'm using master (v3.x)

@CyborTronik that branch didn't have any changes that would impact parsing.  But to remove all doubt...

I'll try few hours latter to make an unit test for it

Great.  Also, please enable the Parse directive and run [parse:t].  Post the results along with the OS, .net version & CommandDotNet version.

Those tests pass for me in Windows VS 2019 & Rider.
.Net version  = .NET Core 4.6.26614.01
OS version    = Microsoft Windows 10.0.18363
I'll look into running them in Ubuntu over the weekend.

@CyborTronik what is the error message you get?

They require to install dotnet 2
Microsoft (R) Test Execution Command Line Tool Version 16.5.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

A total of 1 test files matched the specified pattern.
Testhost process exited with error: It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
  - The following frameworks were found:
      3.1.3 at [/snap/dotnet-sdk/69/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.0.0&arch=x64&rid=ubuntu.18.04-x64
. Please check the diagnostic logs for more information.

Test Run Aborted.

Oh, I thought you had errors for the tests you wrote.  This is a problem running the tests in general.  We're supporting 2.0.0 so you'd need to install that to run the tests.

I setup an Ubuntu 19 image with dotnet-sdk-3.1 & Rider.  I had to change the target framework of CommandDotNet.Tests to netcoreapp3.1 to get Rider to find the tests.  Then I was able to run your tests and they passed for me.  I also built the example app and it worked as expected.  I can't repro this.   In your app, enable the Parse directive and use [parse:t] and paste the results here.

@CyborTronik As part of the regular housekeeping, I'll close this issue since there's been no activity on it and we can reopen if you're still having issues.


Merge pull request #1 from microservices-demo/master

Merging latest from microservices-demo/microservices-demo

Read the contribution guidelines
Include a reference to a related issue in this repository
A description of the changes proposed in the pull request

Sorry -- screwed this up. Closing.


Firebase - disable Incremental builds

[firebase] Unchecked Incremental builds option from samples in Debug|Simulator

Hello! I'm the build bot for the Mono project.
I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done.
Contributors can ignore this message.


[API] Caching, API endpoints (URL) and methods (GET,POST) used.

I might be wrong, but it appears that when cache is ON (default), a new AJAX request is only made when
the actual API endpoint (URL) string is changed. This works for the default GET method because query parameters are included in the URL and changes every time you send a new value to the server.
However, when using POST method, the API endpoint (URL) string remains the same because the parameters are sent differently. This causes only the first Ajax request to be sent to the server since the URL string never changes.
The code that evaluates whether to send a new Ajax request to the server (when cache is ON) should be changed to look for changes in the sent parameters ({query}, {custom}, post variables) and not the URL string.
The jsfiddle below works fine because I am using default GET method  (with {letter} in the URL and settings.urlData.letter = val in beforeSend) and cache:true. However, if I switch it to POST (with settings.data.letter = val in beforeSend) only the first request is sent.
One workaround is to also include the {letter} parameter in the URL for POST requests.
http://jsfiddle.net/kmd1970/bxcr3h8j/
(Please note this link needs to be http:// for the remote ajax to work properly and the API endpoint used in the example doesn't not allow POST requests)

write: {
          cachedResponse: function(url, response) {
            if(response && response === '') {
              module.debug('Response empty, not caching', response);
              return;
            }
            if(window.Storage === undefined) {
              module.error(error.noStorage);
              return;
            }
            if( $.isPlainObject(response) ) {
              response = JSON.stringify(response);
            }
            sessionStorage.setItem(url, response);
            module.verbose('Storing cached response for url', url, response);
          }
        }

Possible solution?
read: {
          cachedResponse: function(url) {
            var
              response
            ;
            if(window.Storage === undefined) {
              module.error(error.noStorage);
              return;
            }
            if (settings.method.toLowerCase() === 'post' && !$.isEmptyObject(settings.data)){
	       var v = '';
	       $.each(settings.data, function(index, val ) {
                  v += '|'+val;
	       });
	       response = sessionStorage.getItem(url+v);
            }else{
               response = sessionStorage.getItem(url);
            }
            module.debug('Using cached response', url, response);
            response = module.decode.json(response);
            return response;
          }
},
write: {
          cachedResponse: function(url, response) {
            if(response && response === '') {
              module.debug('Response empty, not caching', response);
              return;
            }
            if(window.Storage === undefined) {
              module.error(error.noStorage);
              return;
            }
            if( $.isPlainObject(response) ) {
              response = JSON.stringify(response);
            }
            if (settings.method.toLowerCase() === 'post' && !$.isEmptyObject(settings.data) ){
	      var v = '';
	      $.each(settings.data, function(index, val ) {
                v += '|'+val;
	      });
		sessionStorage.setItem(url+v, response);
            }else{
	        sessionStorage.setItem(url, response);
           }
          module.verbose('Storing cached response for url', url, response);
}

We fixed that in the community fork Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/2047


Use commitAllowingStateLoss() instead of commitNowAllowingStateLoss() in PermissionRequestFragment dismiss() to avoid exception when performing multiple transactions at same time.

Reported issue:
https://github.com/permissions-dispatcher/PermissionsDispatcher/issues/723

oh thx, let me take a look


ReDoS prevention

This PR limits the user agent size which can be delivered to the lib.
We need to think if this limitation is too relaxed or too conservative.
This PR should not damage functionality.
#25

Thanks for the PR

We need to think what is a reasonable limitation of consecutive characters. like 5 characters?

Sorry my friend, I currently don't have anymore to spend this PR in the following days.
Regarding the repeat you asked, you might want to get inspiration from this:
https://stackoverflow.com/a/15688386/14651383

Sorry my friend, I currently don't have anymore time to spend this PR in the following days.
Regarding the repeats you asked, you might want to get inspiration from this:
https://stackoverflow.com/a/15688386/14651383

In that case I will merge what you did so far then work on the other features. Cheers


TODO: Add complexity and priority metrics to the task

In order to make a task more understandable, add a complexity estimate into it. The complexity values are defined as C1, C2, C4 and C8. Add also possibility to add a priority to the task with values High (1), Medium (2) and Low (3).
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

cc: @fmuyassarov

@klihub we can adjust the complexity values right now if you have better idea what they would be, I did mostly guesswork here so they might be way off, and I did not add any priority value (not sure if we need that right now)

@klihub we can adjust the complexity values right now if you have better idea what they would be, I did mostly guesswork here so they might be way off, and I did not add any priority value (not sure if we need that right now)

Well, the ones that stood out are the plugins pkg tree reorg and core NRI Windows support ones being C8. The tree reorg is very very intrusive but I'm not sure if it is really that complex as such. In Windows support there are many unknown for us (what is needed how to really test it, etc.) but at the end of the day, I'm not sure again if what needs to be done is really that complex.
But I think it's fine to leave them like that and update with a better estimate if/once we get a better understanding.


Drop-down border doesn't line up & cursor is misplaced

[ ] Drop-down border does not line up

[ ] In light mode the border doesn't even cover the bottom part

[ ] In namespace drop-down for create, the cursor & text is too high.  It's touching the "Namespace" label.

[ ] In Dark mode, drop-downs with scroll, you can't see the scroll bar
Dark version:

@tfiduccia

Verified fixed


Align AP VLAN implementation with cloud

Signed-off-by: Rick Sommerville<EMAIL_ADDRESS>

merged into pending, Thanks !


Removing batching of dataset ids before writing to text file

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@c800fa5). Click here to learn what that means.

:exclamation: Current head 0993fc7 differs from pull request most recent head 27f701f. Consider uploading reports for the commit 27f701f to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage        ?   81.31%
=======================================
  Files           ?       17
  Lines           ?     1145
  Branches        ?        0
=======================================
  Hits            ?      931
  Misses          ?      214
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Pin sphinx version to 1.7.9

Latest Sphinx release 1.8.0 fail to build doc
Traceback (most recent call last):
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/application.py", line 224, in __init__
    self.setup_extension(extension)
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/application.py", line 449, in setup_extension
    self.registry.load_extension(self, extname)
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/registry.py", line 472, in load_extension
    mod = __import__(extname, None, None, ['setup'])
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/builders/applehelp.py", line 20, in <module>
    from sphinx.builders.html import StandaloneHTMLBuilder
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/builders/html.py", line 40, in <module>
    from sphinx.highlighting import PygmentsBridge
  File "/usr/autodesk/maya/lib/python2.7/site-packages/sphinx/highlighting.py", line 26, in <module>
    from sphinx.ext import doctest
SyntaxError: unqualified exec is not allowed in function 'run' it contains a nested function with free variables (doctest.py, line 97)

It has been labeled as bug at Sphinx's issue, and planned to fix it at next release (1.8.1).
This PR will pin version to 1.7.9 for the time being.

Thanks @davidlatwe


Opened a vote crate and didn't recieve item won

Opened a vote crate last night and "won" a mending book. Didn't recieve it in my mostly-empty inventory, nor was it anywhere on the ground.
Server is Orion
IGN is Lunar-DJ

@Lunar-DJ - no one with the username Lunar-DJ has joined Orion. Can you provide your actual username please?

Lunar_DJ is my username, my apologies

Lunar_DJ is my username, my apologies

Thank you! I have added a Mending Book to your inventory. You will have it the next time you log on :)


feat(): add capability to work with outer input

https://squarepeghires.atlassian.net/browse/SP-1393


add dev docker setup

quick and easy development via docker

Looks like the fix is to install the dep manually https://github.com/imagemin/cwebp-bin/issues/31#issuecomment-588383966
most likely related to the underlying image changing a debian release and the package is upgraded / missing for that release. Might be worth investigating if we can use a later node /debian image vs 0.10-wheezy https://hub.docker.com/_/node/?tab=tags&page=1&name=0.10-
If we can't then the first solution is fine, we just install the underlying dep for that npm package.

I can attempt a node version bump. I don't know of any reason why that shouldn't work.

This is working now with the node update. Thanks!


ViewCompat$LayoutDirectionMode not found

When i use     compile 'com.android.support:support-v4:22.2.0'
or  'com.android.support:appcompat-v7:22.2.0'
Error:Execution failed for task ':mobile:compileDevDebugScala'.

Class file for android.support.v4.view.ViewCompat$LayoutDirectionMode not found

I got the same error.
gradlew.bat assembleDebug --info

Started Gradle compiler daemon (0.623 secs) with fork options DaemonForkOptions{minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[...]}.
Executing org.gradle.api.internal.tasks.scala.jdk6.ZincScalaCompiler@2e24655f in compiler daemon.
Compiling with Zinc Scala compiler.
Compiling 1 Scala source and 5 Java sources to .\app\build\intermediates\classes\debug...
Exception executing org.gradle.api.internal.tasks.scala.jdk6.ZincScalaCompiler@2e24655f in compiler daemon: java.lang.AssertionError: Class file for android.support.v4.widget.DrawerLayout$EdgeGravity not found.
:app:compileDebugJava FAILED
:app:compileDebugJava (Thread[main,5,main]) completed. Took 3.792 secs.

Slightly different but I feel related:
Class file for android.support.v4.widget.DrawerLayout$EdgeGravity not found

I'm facing the same problem with DrawerLayout$EdgeGravity although using android-sdk-plugin (SBT).
It seems that people are stumbling over this w.r.t. Proguard errors but no real solution (except for ignoring the problem):
http://stackoverflow.com/questions/30645051/proguard-configuration-for-android-support-v4-22-2-0
http://stackoverflow.com/questions/30705589/gradle-build-failure

See pfn/android-sdk-plugin#173, SI-7741, fixed in Scala 2.11.7
Use the workaround until then


guide with training videos

Clear and concise description of the problem
Publishing training videos will be effective for solving wallet-related problems.
Suggested solution
constantly guiding them with short and concise videos through social media.
Alternative
No response
Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Follow Ibax Youtube Channel
https://www.youtube.com/channel/UC-oneUwzz01xaCkFTTyR0QQ


[libdef] slug v 0.9.x

SlugOptions should be used as $Shape<SlugOptions> or similar because slug('some string', { mode: 'rfc3986' }); should be completely valid, despite not having all properties of SlugOptions

@ckknight: Mind sending a pull request?

Yeah, I can when I get home - flow-typed run-tests won't work behind my corporate network, apparently.

Ah, yea run-tests needs to be able to download the flow binaries from github to run the tests.
(Maybe you need to set HTTP_PROXY? ....or just do it at home :) )


Add google tag manager code from directory components

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   94.13%   94.13%
=======================================
  Files          23       23
  Lines         563      563
=======================================
  Hits          530      530
  Misses         33       33

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 80667a1...22c24d4. Read the comment docs.


don't call subplots_adjust when user provided axes

Can we simplify the example somehow now and remove the subplots_adjust call from it?

Can we simplify the example somehow now and remove the subplots_adjust call from it?

looking into it now, in fact.

turns out we still need subplots_adjust because of the axis labels, but now we only need to specify bottom.  I also delayed introducing the axis labels until the final cell, so we avoid subplots_adjust in the 2 earlier cells.

Thanks @drammock


[ConstraintSystem] Initial rework of key path inference

Depends on https://github.com/apple/swift/pull/69292

Setup a fallback type for a key path that is going to be used as a base for capability inference.

If key path has no direct contextual bindings attempt to infer its capabilities and form a binding
based on a previously established fallback type (default capability is ReadOnly).

Delay  KeyPath constraint simplification until key path type has been bound.
This means that the inference now drives key path simplification and problems
with eager key path binding are resolved (because type variables are already
delayed if they are connected to an ApplicableFunction or Disjunction constraint).

Next steps:

Allow transitive inference of key path root type through key path type bindings
Delay key path type binding until capability is established (depends on the previous step)
Unify contextual bindings (if any) with a type inferred based on key path literal
capabilities. This means that we would no longer need to:

Bind a resolved type to a contextual type at the end of simplification.
A hack that allows capability downgrades in certain cases
(i.e. when contextual type is read-only but key path itself is writable)

cc @amritpan

@swift-ci please test Linux platform

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test source compatibility


Refactor test for tc-stat

The initial tests for tc_stat were grouped into one test file.  These should be separated based on the method in which tc_stat is invoked: using a MET tc_stat config file, or from the command line, where the job summary is explicitly defined in the METplus config file.

Two tests, separated into cli and via_config directories: test_tc_stat_wrapper_cli.py and test_tc_stat_wrapper.py

refactored, committed changes into feature_197_tc_stat_test and merged that branch into the 'develop' branch.


Added demo module to show explicit imports of macros

Now that we have to explicitly import decl_module, decl_storage and decl_event macros in the runtime modules, maybe adding a demo module to the node template can make it more ready for hacking.

There is already example module. Maybe just move it to node-template?
https://github.com/paritytech/substrate/blob/master/srml/example/src/lib.rs

Yes, the plan is to move the template module instead.
https://github.com/paritytech/substrate/blob/gav-template/srml/template-module/src/lib.rs
Will update the PR with these changes.

[clabot:check]


[BUG] [Rollup]The doc_count results for the target index (after rollup) are incorrect

The doc_count results for the target index (after rollup) are incorrect
Step1  Import sample data opensearch_kibana_sample_data_flights using opensearch dashbord
Step2 create a rollup job for opensearch_kibana_sample_data_flights and target index is flights
timestamp filed : timestamp
Time aggregation : 1 day
DestCityName for terms  aggregation
Step3:
The doc_count of Zurich is 691 in the source index and 43 in the target index
GET opensearch_kibana_sample_data_flights /_search
{
  "size": 0,
  "aggregations": {
    "DestCityName": {
      "terms": {
        "field": "DestCityName"
      }
    }
  }
}

"aggregations" : {
    "DestCityName" : {
      "doc_count_error_upper_bound" : 0,
      "sum_other_doc_count" : 8610,
      "buckets" : [
        {
          "key" : "Zurich",
          "doc_count" : 691
        },
        {
          "key" : "Xi'an",
          "doc_count" : 526
        }
...
}
}

GET flights/_search
{
  "size": 0,
  "aggregations": {
    "DestCityName": {
      "terms": {
        "field": "DestCityName"
      }
    }
  }
}

"aggregations" : {
    "DestCityName" : {
      "doc_count_error_upper_bound" : 0,
      "sum_other_doc_count" : 8610,
      "buckets" : [
        {
          "key" : "Zurich",
          "doc_count" : 43
        }
...
}
}

During a rollup, the aggregations and metrics in the rollup policy are computed and indexed into the target rollup index such that when the rollup index is searched, the search may be intercepted and transformed to return the results as if the source index had been searched. In essence, we are bucketing the data ahead of time, which results in the doc_counts representing the count of buckets rather than the count of documents.
This has been known, and is being tracked in the following enhancement issue https://github.com/opensearch-project/index-management/issues/57 please take a look and add any thoughts you have on the issue there! This is an important rollup enhancement which we are looking to resolve in the next few months.


Doesn't work with [éàè...]

Example input: 5 rue des écoles. la quantiné 75000 Paris
rem.removemoji(text)
Output:: 5 rue des coles. la quantin 75000 Paris

sorry for the late reply. Issue fixed please check the latest version 🙂

sorry for the late reply. Issue fixed please check the latest version 🙂


Python tool generate_aitod_imgs.py doesn't generate a combined AI-TOD and xView dataset with JSON annotations for use in MMDET-AITOD training

I was able to use the AI-TOD V2 Dataset with MMDET-AITOD training by referencing the AI-TOD V2 JSON annotations.  All worked well. Model does converge, and inferences look good.  But you describe using the 'generate_aitod_imgs.py' tool to create a full AI-TOD AND xView dataset.  I assume this is to get an even bigger dataset?  But, when I run the tool, it creates many directories, but the only new directory that looks like the full set is the 'xview_aitod_sets' directory in the xview folder, not the aitod folder.  This isn't what the tool description is.  Anyway, the problem is that the 'xview_aitod_sets' folder does have what looks like a full set of data (train, val, trainval, and test), but it's NOT in JSON format like AI-TOD.  It's in images/labels format (text files which correspond to image files) which is more like YOLO.  There is no annotations JSON file with AI-TOD and xView labels together.
This is NOT what your MMDET-AITOD is seems to be looking for in the 'mmdet-aitod/mmdet-nwdrka/configs_nwdrka/nwd_rka' V2 config files.  They are looking for JSON annotation files.
Questions:

Is AI-TOD just the vehicles from xView, or is it a different dataset that can be COMBINED with xView vehicles it using your tool?
If it is a different dataset, then why is the full set that is written out when running your 'generate_aitod_imgs.py' tool not in the AI-TOD format so it can also be used with MMDET-AITOD?

Hi, thanks for your interest in our work. First of all, we would like to clarify that we provide the 'generate_aitod_imgs.py' tool to create a full AI-TOD dataset, since the AI-TOD contains some images from xview. But we were informed by the official that we cannot directly release the images of xview otherwise there would be a license conflict, so we remove the images of xview and provide the part of AI-TOD w/o xview for the users to generate the full AI-TOD.
However, there are some websites that release the AI-TOD dataset like this_one, you can actually download it there...
Besides, the txt files are middle files when generating the complete dataset, the final correct annotation files are in the .json format

Thanks for responding right away!  I did suspect the xView data was kept separately, but I am very interested in the combined version. AITOD + xView.  The problem is the JSON file ISN'T being written anywhere I can see by the 'generate_aitod_imgs.py' tool.  In fact, I don't even see where in the script your WRITE ANY JSON file.  All I have is the images/labels directories.  In order to do the training with the MMDET-AITOD code base though, it looks like I need the JSON annotations file.  How did you generate it?  The script seems incomplete.  It ends without even doing any 'cleanup' even though the comment is there?

Also, I did try the link you provided above.  Yes, after going through the registering process, and downloading 22gb of data, it looks like this is just the full v1 dataset (probably including xView) - which you point out very explicitly in the AI-TOD V2 site that it is MUCH worse than the v2 dataset which I am trying to construct using your tool.  Again, it does look like in produces a full set of AITOD V2 images/labels, but no JSON annotations file.  Is there a v2 zip downloadable version with JSON annotations?

Hi, sorry for the ambiguity, the 'generate_aitod_imgs.py' is only used to generate the images of AI-TOD. The AI-TOD and AI-TOD-v2 share images but have different annotations. We directly release the whole annotations of AI-TOD and AI-TOD-v2 in the .json format. You can download the AI-TOD's annotation here or AI-TOD-v2's annotation here

Right, but, when you say "AI-TOD-v2's annotations", do you mean AI-TOD + xView?  Because When I create the "full" set, I need annotations for BOTH in JSON, right?

AI-TOD-v2 refers to this paper where we re-annotate the AI-TOD and release a version of much higher annotation quality. The AI-TOD-v2 is not a combination of AI-TOD+ xview, the AI-TOD-v2 shares the same images with AI-TOD. If you want to use AI-TOD-v2, the simplest way is to download the AI-TOD's images and AI-TOD-v2's annotations from the above links.

Yup, I did.  But as I say, I would like the AI-TOD V2 + xView dataset merged (because it's a larger dataset!) as you point out in your github page and thus the Python tool described above.  The problem, is the tool above doesn't produce the COMBINED JSON annotations file does it?  I do have the geojson from xView.  I do have the JSON annotations for AI-TOD V2 in the link above.  I can run your Python script and produce what appears to be a COMBINED AI-TOD V2 + xView dataset chipped to subimage_size x subimage_size.  The problem is there is no corresponding JSON annotations file describing this new full set.  But, this JSON annotations file is needed for the next step: Training on this new COMBINED dataset, right?

Yes, the provided tool cannot generate a combined AI-TOD V2 + xView. It is interesting to merge the AI-TOD V2 with xview to get a larger dataset but you need to write new codes for that.

Ok, now I'm really confused.  At the top of your main Github page, I read the following:
"[Dataset] Please download the xView trainig set and AI-TOD_wo_xview to construct the complete AI-TOD dataset!"
All I'm trying to do is exactly that!  I download both AI-TOD (v2 annotations) and xView training set and I'm trying to use the exact script you mention above to make in your words:  "the complete AI-TOD dataset!".  Right ?????

I mean there is no need to use the generation tool to generate images or annotations if you just want to use AI-TOD or v2, part of the xview is already included in the AI-TOD series, you can directly download images and annotations from the above mentioned links.
But as you mentioned, if you want to generate AI-TOD+xview, this repo will not be helpful for you since AI-TOD+xview is totally a new dataset different from our published datasets.

Confused again.  You say to get there's AITOD and xView.   And you need the tool to create the full set.  But, somehow "part of the xview is already included"?  Which part?  Where is this explained?


pip-audit: 2.4.3 -> 2.4.4

Description of changes
https://github.com/pypa/pip-audit/releases/tag/v2.4.4

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 194407 run on x86_64-linux 1

1 package built:

pip-audit