Sc device conditional access rule

Pull Request (PR) description
New resource SCDeviceConditionalAccessRule
This Pull Request (PR) fixes the following issues
N/A

This change is

Codecov Report

Merging #439 into Dev will decrease coverage by 0%.
The diff coverage is 71%.

@@          Coverage Diff           @@
##             Dev    #439    +/-   ##
======================================
- Coverage     90%     90%    -1%
======================================
  Files        104     108     +4
  Lines      11214   11573   +359
  Branches      10      10
======================================
+ Hits       10201   10513   +312
- Misses      1003    1050    +47
  Partials      10      10

Codecov Report

Merging #439 into Dev will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             Dev    #439    +/-   ##
======================================
- Coverage     90%     90%    -1%
======================================
  Files        104     112     +8
  Lines      11214   12197   +983
  Branches      10      13     +3
======================================
+ Hits       10201   11001   +800
- Misses      1003    1183   +180
- Partials      10      13     +3


OAuth redirecting to supabase dashboard

I am trying to implement Apple login in my self-hosted Supabase instance. Here are my details in the docker-compose file:
GOTRUE_EXTERNAL_APPLE_ENABLED: true
GOTRUE_EXTERNAL_APPLE_CLIENT_ID: MYIDENTIFIER
GOTRUE_EXTERNAL_APPLE_SECRET: MYKEY
GOTRUE_EXTERNAL_APPLE_REDIRECT_URI: https://db.domain.com/auth/v1/callback

When I start the login process, I am redirected to Apple. After a successful login on the Apple page, I am directed to my dashboard at https://db.domain.com/project/default?code=95cbab2b-296e-4a02-ba9a-9acb81feab20. However, no further redirection to domain.com occurs.
Here's the call in my app:
async function signInApple() {
    const { data } = await supabase.auth.signInWithOAuth({
        provider: 'apple',
        options: { redirectTo: `https://domain.com/auth/callback` }
    });
}

Auth logs:
[
  {
    "component": "api",
    "level": "info",
    "method": "GET",
    "msg": "request started",
    "path": "/authorize",
    "referer": "https://db.domain.com",
    "remote_addr": "XXXX",
    "time": "2024-01-26T10:49:21Z",
    "timestamp": "2024-01-26T10:49:21Z"
  }
]

 [
  {
    "component": "api",
    "level": "info",
    "method": "GET",
    "msg": "Redirecting to external provider",
    "path": "/authorize",
    "provider": "apple",
    "referer": "https://db.domain.com",
    "remote_addr": "XXX",
    "time": "2024-01-26T10:49:22Z",
    "timestamp": "2024-01-26T10:49:21Z"
  }
]

[
  {
    "component": "api",
    "duration": 713910242,
    "level": "info",
    "method": "GET",
    "msg": "request completed",
    "path": "/authorize",
    "referer": "https://db.domain.com",
    "remote_addr": "XXXX",
    "status": 302,
    "time": "2024-01-26T10:49:22Z",
    "timestamp": "2024-01-26T10:49:21Z"
  }
]

[
  {
    "component": "api",
    "level": "info",
    "method": "POST",
    "msg": "request started",
    "path": "/callback",
    "referer": "https://db.domain.com",
    "remote_addr": "XXX",
    "time": "2024-01-26T10:49:34Z",
    "timestamp": "2024-01-26T10:49:34Z"
  }
]

[
  {
    "auth_event": [
      {
        "action": "login",
        "actor_id": "92099762-e619-460e-866ee4636",
        "actor_name": "MY NAME",
        "actor_username"<EMAIL_ADDRESS>        "actor_via_sso": false,
        "log_type": "account",
        "traits": [
          {
            "provider": "apple"
          }
        ]
      }
    ],
    "component": "api",
    "duration": 977380207,
    "level": "info",
    "method": "POST",
    "msg": "request completed",
    "path": "/callback",
    "referer": "https://db.domain.com",
    "remote_addr": "XXX",
    "status": 302,
    "time": "2024-01-26T10:49:35Z",
    "timestamp": "2024-01-26T10:49:34Z"
  }
]

Found my mistake.
In my .env I defined
SITE_URL=https://db.domain.com
but it has to be
SITE_URL=https://domain.com


Failed to start ContainerManager

All my pods end up stuck to Pending
kubectl get -n kube-system pods
NAME                                         READY   STATUS    RESTARTS   AGE
calico-kube-controllers-847c8c99d-t4kqm      0/1     Pending   0          164m
calico-node-rmc8z                            0/1     Pending   0          164m
coredns-86f78bb79c-gr5bf                     0/1     Pending   0          138m
hostpath-provisioner-5c65fbdb4f-bb698        0/1     Pending   0          137m
metrics-server-8bbfb4bdb-vnlcl               0/1     Pending   0          136m
kubernetes-dashboard-7ffd448895-69nf7        0/1     Pending   0          136m
dashboard-metrics-scraper-6c4568dc68-xxh2c   0/1     Pending   0          136m

Because the default node does not seem available
kubectl get events --all-namespaces | grep -i kubernetes-dashboard-7ffd448895-69nf7
kube-system   10s         Warning   FailedScheduling          pod/kubernetes-dashboard-7ffd448895-69nf7        0/1 nodes are available: 1 node(s) had taint {node.kubernetes.io/not-ready: }, that the pod didn't tolerate.

It seems stuck in a weird loop
kubectl describe nodes
.....
  Normal   Starting                 37s    kubelet, bifrost  Starting kubelet.

And I wonder whether has something to do with what I found in journalctl
microk8s.daemon-kubelet[1001446]: E0922 12:22:28.089018 1001446 kubelet.go:1765] skipping pod synchronization - container runtime status check may not have completed yet
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.091302 1001446 kubelet_node_status.go:70] Attempting to register node bifrost
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.102758 1001446 kubelet_node_status.go:108] Node bifrost was previously registered
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.102861 1001446 kubelet_node_status.go:73] Successfully registered node bifrost
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.103699 1001446 cpu_manager.go:184] [cpumanager] starting with none policy
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.103734 1001446 cpu_manager.go:185] [cpumanager] reconciling every 10s
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.103766 1001446 state_mem.go:36] [cpumanager] initializing new in-memory state store
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.103994 1001446 state_mem.go:88] [cpumanager] updated default cpuset: ""
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.104003 1001446 state_mem.go:96] [cpumanager] updated cpuset assignments: "map[]"
microk8s.daemon-kubelet[1001446]: I0922 12:22:28.104012 1001446 policy_none.go:43] [cpumanager] none policy: Start
microk8s.daemon-kubelet[1001446]: F0922 12:22:28.104037 1001446 kubelet.go:1296] Failed to start ContainerManager failed to get rootfs info: failed to get device for dir "/var/snap/microk8s/common/var/lib/kubelet": could not find device with major: 0, minor: 28 in cached partitions map
microk8s.daemon-kubelet[1001446]: goroutine 337 [running]:
microk8s.daemon-kubelet[1001446]: k8s.io/kubernetes/vendor/k8s.io/klog/v2.stacks(0xc000010001, 0xc00060d800, 0xfd, 0xfd)
microk8s.daemon-kubelet[1001446]:         /build/microk8s/parts/k8s-binaries/build/go/src/github.com/kubernetes/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/klog/v2/klog.go:996 +0xb9
microk8s.daemon-kubelet[1001446]: k8s.io/kubernetes/vendor/k8s.io/klog/v2.(*loggingT).output(0x6ef8140, 0xc000000003, 0x0, 0x0, 0xc0005c0070, 0x6b48993, 0xa, 0x510, 0x0)
.....

How could I fix this? (If that's the reason why it fails)
inspection-report-20200922_135021.tar.gz

@zar3bski This looks like the same problem I already made an issue about a couple of days back. At least in my case it seems to be because I am using Btrfs.

@WereCatf quite a different story: it used to work on my Ubuntu 20.04

@zar3bski But were you using Microk8s 1.19 on Ubuntu 20.04, or an earlier Microk8s? Microk8s 1.19 refuses to work for me, but 1.18 works fine.

snap probably upgraded my cluster at one point. I'll give it a shoot

@zar3bski @WereCatf could you try one of the following suggestions:

https://github.com/kubernetes/kubernetes/issues/65204#issuecomment-473711839
https://github.com/kubernetes/kubernetes/issues/80633#issuecomment-550994513

Thanks @ktsakalozos , it is probably it. Sorry for the noob question but I am not quite used to snap yet. Where should I put the kubelet conf file suggested by #80633 so it is taken into account?

/snap/microk8s/${the_actual_version}/etc ?

@zar3bski It looks like this is a feature gate [1] setup. You will need to configure kubelet with the respective feature gate [2] (--feature-gates=....). The kubelet arguments are placed in /var/snap/microk8s/current/args/kubelet and after editing that file you will need to restart MicroK8s with microk8s.stop; microk8s.start;.
[1] https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
[2] https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/

Adding
--feature-gates="LocalStorageCapacityIsolation=false"

to /var/snap/microk8s/current/args/kubelet solved the issue. Many thanks @ktsakalozos

@ktsakalozos @zar3bski Yes, adding that feature-gate seems to workaround the issue and microk8s seems to be running now. It's a rather ugly workaround, but it's better than nothing.

👋  Kubernetes featuregates are only available until the feature goes GA (or is removed), and then the featuregate is removed and the feature is just on (or removed), LocalStorageCapacityIsolation is going GA in Kubernetes v1.25.0, but I've requested a kubelet option to enable use cases like this and there will be a kubelet option localStorageCapacityIsolation you can set instead (no idea how to do that with microk8s, sorry).

https://github.com/kubernetes/kubernetes/pull/111513, https://github.com/kubernetes/enhancements/issues/361


Add aten::foreach_sub and its variants

Add the following operators:
_foreach_sub.List
_foreach_sub.Scalar
_foreach_sub.ScalarList
foreach_sub.List
foreach_sub.Scalar
foreach_sub.ScalarList
Tested on ARC770.

@cfgfung Pls resolve the test failures


Invisible reCAPTCHA

Are there any plans to support Google's new Invisible reCAPTCHA (or is this already supported :))?

@jamy015 No plans, and not sure it's already supported. I will look into what we need to do.


RFC: Fix #2615 by relaxing the type check in extract_sequence.

I am somewhat at a loss on how to properly test this without adding NumPy as a Python-side dependency and would be grateful for any advice here? (Maybe writing a custom Python class that implements only PySequence_Length and PySequence_Length and PyObject_GetIter?)
I am also not sure whether PyMapping needs a similar treatment but the conversions for HashMap seem to go through PyDict instead?

After staring at this for a bit longer, I noticed that neither PyObject::len nor PyObject::iter are actually part of PySequence and we could be even more lenient by extracting a Vec from everything that can be turned into an iterator at all. I am not sure if this is covering more types than we actually want it to cover.

I am somewhat at a loss on how to properly test this without adding NumPy as a Python-side dependency and would be grateful for any advice here?

I think a nice and simple way could be to test this in the rust-numpy repository where I usually have a draft PR targeting the current Git version of PyO3 sitting around anyway, c.f. https://github.com/PyO3/rust-numpy/pull/353 which adds a test case of extracting a Vec from a one-dimensional NumPy array which I could merge after this or a similar fix is released on crates.io.
This of course still leaves the question open whether we want extraction to be as relaxed as this PR would make, i.e. not checking for sequences at all but using anything that can be turned into an iterator?

Sorry for the long delay in reply. Been swamped IRL and just not had a chance to get my head into this one.
It seems ok to add numpy to the noxfile for the pytests crate here, perhaps? I think it's better to add the test in this repo rather than rust-numpy if possible, else we could merge stuff which breaks this again and only notice on future rust-numpy CI runs.
As for relaxing the type check this far... I'm a little unsure, though in practice this is likely to match what the previous implementation did? I am tempted to look at what pybind11 does and see if it makes sense for us to be similar.

As for relaxing the type check this far... I'm a little unsure, though in practice this is likely to match what the previous implementation did? I am tempted to look at what pybind11 does and see if it makes sense for us to be similar.

From a quick glance, they are doing what we did before 0.17.0, i.e. they check for a sequence (but not str or bytes) and then iterate to fill a std::vector, c.f. https://github.com/pybind/pybind11/blob/1874f8fa8767179ab8f8c645a6e8c8c4e4a7c486/include/pybind11/stl.h#L194 and https://github.com/pybind/pybind11/blob/1874f8fa8767179ab8f8c645a6e8c8c4e4a7c486/include/pybind11/stl.h#L145 where checking for a sequence seems to be based on PySequence_Check, i.e. https://github.com/pybind/pybind11/blob/1874f8fa8767179ab8f8c645a6e8c8c4e4a7c486/include/pybind11/pytypes.h#L1985
So this would correspond to the first commit pushed here (modulo the extra check for bytes which we lack). So should I drop the second commit and try to add a pytest based on NumPy? And maybe also add the check to not extract bytes into a Vec?
Personally, I am sort of endeared with the generic version with the reasoning that the Rust is the one that fixes the types and the Python side is the malleable one that tries to fit in.
Meaning if the Rust side asks for a Vec, anything on the Python side that can be turned into this at the same level of efficiency should be fair game. If one really wants to have some sort of precedence here (like handling list[char]/Vec<char> and str/PyString differently), I would try to make this explicit on the Rust side using an enum like
#[derive(FromPyObject)]
enum StringOrChars {
  String(PyString),
  Chars(Vec<char>),
}

which should work even if Vec<char> could be extracted from PyString if I understand things correctly.
At least I don't really have an example I mind where making the extraction fail on the Rust side would make something possible that would not be if it succeeded. But then again, that explicit check for str probably had a rationale that I just cannot remember ATM.

But then again, that explicit check for str probably had a rationale that I just cannot remember ATM.

So by now, I found #2342 and #2500 and I think even here I would argue that the idiomatic Python solution
if isinstance(strings, str):
    strings = [strings]

could be turned into
#[derive(FromPyObject)]
enum OneOrMany {
  One(PyString),
  Many(Vec<PyString>),
}

impl Into<Vec<PyString>> for OneOrMany {
  fn into(self) -> Vec<PyString> {
    match self {
      Self::One(one) => vec![one],
      Self::Many(many) => many,
    }
  }
}

So should I drop the second commit and try to add a pytest based on NumPy?

Added the pytest and verified that both commits would make it green.

So should I drop the second commit and try to add a pytest based on NumPy?

Added the pytest and verified that both commits would make it green.

There are no binary wheels for NumPy at least on Windows/PyPy, so I restricted that test case to Linux/CPython since one combination should be enough to test this particular functionality.

Sorry to have been so slow to reply here. Been busy IRL and needed some time to mull this over.

Personally, I am sort of endeared with the generic version with the reasoning that the Rust is the one that fixes the types and the Python side is the malleable one that tries to fit in.

I think I'm coming round to this argument too. I am flip-flopping on whether #2500 was a mistake. If we revert it, I guess we have to wait until 0.18?
I was thinking about releasing 0.17.2, so should we split this fix in two pieces:

change back to using ffi::PySequence_Check here
revert #2500 in a follow up PR

That way I can cherry pick just the first change for 0.17.2.
I'm still a bit murky on whether that's definitely correct, as it'd be nice to get the HashMap and Vec conversions to have "equivalent" behaviour, however in the meanwhile I think going back to pre-0.17 behaviour might be best for users before we make a more deliberate change?
I think the main thing we lost from the 0.17 change was accepting np.ndarray containing objects? Was that so bad? An alternative, just to put it out there, could be to defend the check to be based on the ABC to be correct, and encourage users to have an enum or since kind of new type if they want to accept numpy arrays.

I was thinking about releasing 0.17.2, so should we split this fix in two pieces:

Since the change is already split into multiple commits here, I think we could already cherry-pick the second commit which basically restores pre-0.17 behaviour for impl FromPyObject for Vec<T> and does nothing else.
The second commit then further relaxes impl FromPyObject for Vec<T> to work with anything that can be turned into an iterator (whether it passes PySequence_Check or not). It however does touch upon the PyString special case introduced by #2500.
To make things less messy, I will open up two new PR, one containing the test and the first change.  Both with appropriate changelog entries.

These two PR, #2631 and #2632, are now pending review.


added custom audio driver sample

Not sure , at present , of how we have organized default capturer or renderer for both video and audio in Mac. Saying that, I personally feel that custom audio and video drivers should just have the pertinent files in the sample, the rest being the default. So in this sample  having Video capturing code like OTMTLVideoRenderer etc.. (same goes for the Basic app) makes the sample feels bulky and code heavy to implement.
Trying to follow the iOS samples file organization/exposure and making it feel the same for Mac..

Not sure , at present , of how we have organized default capturer or renderer for both video and audio in Mac. Saying that, I personally feel that custom audio and video drivers should just have the pertinent files in the sample, the rest being the default. So in this sample having Video capturing code like OTMTLVideoRenderer etc.. (same goes for the Basic app) makes the sample feels bulky and code heavy to implement.
Trying to follow the iOS samples file organization/exposure and making it feel the same for Mac..

WDYT, @rktalusani ?

right now Mac SDK is a low level C SDK so there is no default renderer. So we need the renderer files as part of the project.

right now Mac SDK is a low level C SDK so there is no default renderer. So we need the renderer files as part of the project.

your thoughts, @IGitGotIt ?

right now Mac SDK is a low level C SDK so there is no default renderer. So we need the renderer files as part of the project.

your thoughts, @IGitGotIt ?

We need to create a default renderer just like we have a OTKMacDefaultVideoCapturer and make it part of the SDK. This is future work.. so I am ok with the sample as it is.

Merging, since @chetanvangadiTokbox approved.


Implement java.util.Collection.removeIf

Scaladoc: https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html#removeIf-java.util.function.Predicate-
It's used by JSetWrapper.filterInPlace upstream since https://github.com/scala/scala/commit/9fcbb851ad6634655eda0959b7cbc280a1731d42 (merged in 2.13.0-RC1).
Not having it prevents us from enabling the upstream JUnit test scala/collection/convert/JSetWrapperTest.scala, and is potentially a source of new linking errors when migrating to Scala 2.13.

See the implementation of Comparator.reverse within the commit ac06525990e016489aa7d1b4259ca48c767692bb for how to implement a JDK method that is a default method in Java. In particular the following file changes:

https://github.com/scala-js/scala-js/commit/ac06525990e016489aa7d1b4259ca48c767692bb#diff-e051f763bcb909bcee399c06564fd879
https://github.com/scala-js/scala-js/commit/ac06525990e016489aa7d1b4259ca48c767692bb#diff-bb665875063378762d5c9ccd10e3027d (except there's no need for a separate require-jdk8 directory anymore

Fixed in f122aa56d0d8aaeaff904f53c781891823307f6a.


Should be able to update image image

When updating an image, you can update the name, alt text etc. but there is currently no way to update the image itself. You have to create a new image if you want to do this. Kind of annoying.

Should move all image logic to /images route instead of having separate routes for projects and pages.

TODO:

Add image update tests
Move all image controller logic to single image controller

v1.0.0


@qualweb/qw-page: create stub .mocharc.js

Create a base .mocharc.js file that extends the root configuration. Contents could probably be of the form
const base = require('../../.mocharc.base.js')

module.exports = base;

An RC file was created in df3386f4cb64b788fac06d54c2c570a1bed901e7. Closing.


minecraft crashing when writing in mods menu with sinytra and dependencies installed

Minecraft version
1.20.1
Describe the bug
1.21.1 neoforge latest version
Steps to reproduce
install this mod
install mods
open mod list, write something
Logs
https://mclo.gs/isRT2D5
Additional context
No response

and i cant make a world,it crashes

18:21:41] [Render thread/ERROR] [Mod Menu | ModsScreen/]: Error from mod 'bridgingmod'
java.lang.AbstractMethodError: Receiver class me.cg360.mod.bridging.entrypoint.neoforge.BridgingModNeoForge$$Lambda/0x0000718c8f7a2100 does not define or inherit an implementation of the resolved method 'abstract net.minecraft.client.gui.screens.Screen createScreen(net.neoforged.fml.ModContainer, net.minecraft.client.gui.screens.Screen)' of interface net.neoforged.neoforge.client.gui.IConfigScreenFactory.

18:21:41] [Render thread/ERROR] [Mod Menu | ModsScreen/]: Error from mod 'bridgingmod'
java.lang.AbstractMethodError: Receiver class me.cg360.mod.bridging.entrypoint.neoforge.BridgingModNeoForge$$Lambda/0x0000718c8f7a2100 does not define or inherit an implementation of the resolved method 'abstract net.minecraft.client.gui.screens.Screen createScreen(net.neoforged.fml.ModContainer, net.minecraft.client.gui.screens.Screen)' of interface net.neoforged.neoforge.client.gui.IConfigScreenFactory.

what does that have to do with syntra? its a mod menu issue(?)


Transferring Epic Issues To Pull Requests Format

Title says it all

It was decided that Projects feature of GitHub would be used for tracking and organizing Issues and that epic issues are to be avoided. There was quite a big discussion on Discord about reverting away from epic issues and using the Projects feature instead. This was headed by @genexp. If you missed it, please make sure you check the chat history in Discord to get back up to speed (it's pinned). Also see #237 🍻


Implement boolean searches

DataResource.search()

This works at the solr level via edismax, but doesn't work through the UI.

Poked at this for a while tonight. The issue doesnt seem to be url encoding as I had speculated. Its also def not Solr config as all edismax query syntax works from the Solr admin.
Current best guess: Sunburnt is doing something to munge the query. It probably has never been tested against edismax.

Promoting this since the rest of Iteration 7 is done and this is something I can work on without internet. After looking at it last night my thought is that its probably time to punt on Sunburnt (which is not very actively maintained anyway) and simply use the Solr JSON API directly.

Problem identified: sunburnt treats any query predicate as a single unit so spaces in boolean queries are being escaped. It doesn't look like its possible to force a raw query without losing all the fancy stuff Sunburnt does. Probably more future-proof to just tear it out.

Done on local master. Will close on push.

Bonus round: queries like "+tribune -boyer" now work (ie. return Joe for the test case)

woot!


Negative numbers in MathML output has wrong spacing in Firefox

Is your feature request related to a problem? Please describe.
(-1) and ({-1}) render the same in in MathJax

but the output MathML render differently in Firefox

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mo stretchy="false">(</mo>
  <mo>−</mo>
  <mn>1</mn>
  <mo stretchy="false">)</mo>
</math>

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mo stretchy="false">(</mo>
  <mrow data-mjx-texclass="ORD">
    <mo>−</mo>
    <mn>1</mn>
  </mrow>
  <mo stretchy="false">)</mo>
</math>

Similar problem for |-1| and |{-1}| :
In MathJax:

Output MathML rendered in Firefox:

Similar problem for ordered triples (2,-3,5) and (2,{-3},5) :
In MathJax:

Output MathML rendered in Firefox:

Describe the solution you'd like
Add form="prefix" to <mo>−</mo>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mo stretchy="false">(</mo>
  <mo form="prefix">−</mo>
  <mn>1</mn>
  <mo stretchy="false">)</mo>
</math>

Or, add inferred mrow ?
Describe alternatives you've considered
It would be good to produce <mn>-1</mn> rather than <mo>-</mo><mn>1</mn>.
Additional context
Windows 11
FireFox 102.0a1 (2022-05-28) (64-bit)
MathJax v3.2.2

Also, I note that
$$|-a|$$
$$\left|-a\right|$$

have the same output in MathJax, but different in LaTeX: texlive.net

Your last issue about |-a| is fixed in the pull request mathjax/MathJax-src#907.


Append_to_notification_tweaks

What does this scope change?
scope :active, -> { where('closedate > ?', DateTime.now).order(:opendate) }
We check it here anyway:
<% Notification.active.each do |nt| %>
<% if (nt.opendate..nt.closedate).cover? DateTime.now %>
And since you decided to edit this files: I think this loop [Notification.active.each do] (or [Notification.all.each do]) doesn't make sense because we can have only one notification that will satisfy availability validation. Is this correct?

The scope adds a listing of only active item (items that are going open and/or have not closed yet) that are to be displayed with the addition of being able to order the returned result by opendate for the dashboard. Now that you point out the second conditional √  it is not necessary for the purpose of the partial. I'll remove it.

Could you please add that scope to partials/notification too

uhuh, i will, I did, it's done.


Change the path of the discovery service .exe to NI.Discovery.V1.Service.exe

[x] This contribution adheres to CONTRIBUTING.md. (Required)
[x]  Automatically post PR comments with images for G code changes? (Recommended for small changes)

What does this Pull Request accomplish?
AB#2778690
Change the name of the discovery service .exe to NI.Discovery.V1.Service.exe

Why should this Pull Request be merged?
Needed for system tests to run correctly with the new InstrumentStudio
What testing has been done?
None. System tests will run after check-in.

There is also Kill Discovery Service.vi that you will need to update. There are also variations for killing the pin map, session management, and grpc device services that will need to be updated. I think that is everything, but you might want to do a broader search through the code.

There is also Kill Discovery Service.vi that you will need to update. There are also variations for killing the pin map, session management, and grpc device services that will need to be updated. I think that is everything, but you might want to do a broader search through the code.

@jasonmreding I also changed this and the test of the DS is still failing. I don't know why.


docs(devcontainer): add trivy and its VSCode Extension

Commit to be reviewed
docs(devcontainer): add trivy and its VSCode Extension
Primary Changes
1) updated trivy version in the .devcontainer file and included trivy vs-code extension

Changes required to incorporate 1)
3) included trivy vs-code extension in the .vscode/extensions.json file

Fixes #2650
Pull Request Requirements

[ ] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[ ] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[ ] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[ ] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[ ] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

@ashnashahgrover Are you still working on this? If not, we can close it down and pick it back up later. I'm trying to keep the PR queue fresh.

@ashnashahgrover please read the PR message again (and similarly, commit message)

@ashnashahgrover are you still working on this? If yes please rebase with latest main and address the other comments please.

@RafaelAPB, all changes have been addressed can you re review?


Change license headers

Currently we have license headers taht look like this:
/*-
 *
 * Hedera Go SDK
 *
 * Copyright (C) 2020 - 2024 Hedera Hashgraph, LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

We need to replace all license header with a more simple SPDX header as defined in https://github.com/hiero-ledger/tsc/issues/64

fixed in https://github.com/hiero-ledger/hiero-sdk-go/pull/1152


boot_system renamed to boot_application in Sidekiq 6.1.1

Hi, sidekiq-pool is breaking at startup in pool/cli.rb.
This is due a renaming in sidekiq, see this commit :
https://github.com/mperham/sidekiq/commit/06804f55e21a53339ffb79f540f55b11b78a929f#diff-6cb1e9c2f07f71eba03ed54d2157cd999b8b3212009c92338d630f7e215ceed7
It should be quite easy to fix, doing some tests atm.

PR #37 fixes this.

PR #37 fixes this.


brew cask info deprecation warning when calling brew bundle

This doesn't look intentional:
❯ brew bundle cleanup
Warning: Calling brew cask info is deprecated! Use brew info [--cask] instead.
Would uninstall formulae:

Is this a bug?
I know very little Ruby, or else I'd have offered a PR with a fix myself. Apologies for that. I am happy to try my hand at a PR if someone points me in the right direction, however.

What version are you running? I think this may already be addressed in 848b0e0c3c228c118947b42cd74f9595a742fdd8.

Ah, actually, we may still have an outstanding reference at https://github.com/Homebrew/homebrew-bundle/blob/b84d4569eafe799c7c46c6c12c63215cb8095b6d/lib/bundle/cask_dumper.rb#L29

Oh whoops. I knew I was forgetting important info in my first post. Sorry!
❯ brew config
HOMEBREW_VERSION: 2.5.11-235-g4b1ef4e
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4b1ef4e41bae6c6ff9ae7284af791b3d862f98b4
Last commit: 25 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 26e0b4eb176370a3ff6f8107dca31f6ea06e7f7b
Core tap last commit: 23 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BAT: set
HOMEBREW_CASK_OPTS: []
HOMEBREW_COLOR: set
HOMEBREW_EDITOR: nvim
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: quad-core 64-bit icelake
Clang: 12.0 build 1200
Git: 2.29.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.0.1-x86_64
CLT: <IP_ADDRESS>.1.1604076827
Xcode: N/A

I have launchd running brew update daily, though, so I don't think that commit covers it. Let me know if there's anything else I can do to help.

Odd, we seem to running the same version but my brew cask cleanup doesn't give that deprecation. Perhaps I'm missing something but either way I'll put up this PR anyway to clean up those last references and it may fix it.

That is odd. Does the Ruby version matter? That's the only other thing I can think of that might affect things. (gem check also complains a lot for me, though I've never figured out how to fix that. Is that even relevant? ...I don't use Ruby, as you can probably tell.)
I also tried brew untap homebrew/bundle && brew tap homebrew/bundle && brew bundle cleanup, and that didn't change anything.

I've just merged the #820; would you mind updating and let me know if you still have the issue?

It's worse. :(
❯ brew bundle cleanup
Usage: brew info [options] [formula|cask]

Display brief statistics for your Homebrew installation.

If a formula or cask is provided, show summary of information about it.

      --analytics                  List global Homebrew analytics data or, if
                                   specified, installation and build error
                                   data for formula (provided neither
                                   HOMEBREW_NO_ANALYTICS nor
                                   HOMEBREW_NO_GITHUB_API are set).
      --days                       How many days of analytics data to
                                   retrieve. The value for days must be
                                   30, 90 or 365. The default is 30.
      --category                   Which type of analytics data to retrieve.
                                   The value for category must be install,
                                   install-on-request or build-error;
                                   cask-install or os-version may be
                                   specified if formula is not. The default
                                   is install.
      --github                     Open the GitHub source page for formula
                                   in a browser. To view formula history
                                   locally: brew log -p formula
      --json                       Print a JSON representation. Currently the
                                   default value for version is v1 for
                                   formula. For formula and cask use
                                   v2. See the docs for examples of using
                                   the JSON output:
                                   https://docs.brew.sh/Querying-Brew
      --installed                  Print JSON of formulae that are currently
                                   installed.
      --all                        Print JSON of all available formulae.
  -v, --verbose                    Show more verbose analytics data for
                                   formula.
      --formula, --formulae        Treat all named arguments as formulae.
      --cask, --casks              Treat all named arguments as casks.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -h, --help                       Show this message.

Error: Invalid usage: cannot specify --cask with --json=v1!
Warning: Failed to parse `brew info --cask --json`: 767: unexpected token at ''
Would uninstall formulae:

I think --json=v1 has been deprecated: https://github.com/MikeMcQuaid/brew/blob/311c10636b0e5a86b7042d745afe782b19ed4659/Library/Homebrew/cmd/info.rb#L181

😞 I'm still not getting the error locally. It looks like something is missing after brew info --cask though. Are you able to crank up the verbosity to see what is happening there?

Wasn't sure how to crank up the verbosity (does -vvv work?), so I tried
❯ HOMEBREW_VERBOSE=1 brew bundle cleanup
Checking if we need to fetch /usr/local/Homebrew...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/carlocab/homebrew-personal...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/cowsay-org/homebrew-cowsay...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/eth-p/homebrew-software...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-command-not-found...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/martido/homebrew-graph...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/teamookla/homebrew-speedtest...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/universal-ctags/homebrew-universal-ctags...
Usage: brew info [options] [formula|cask]

Display brief statistics for your Homebrew installation.

If a formula or cask is provided, show summary of information about it.

      --analytics                  List global Homebrew analytics data or, if
                                   specified, installation and build error
                                   data for formula (provided neither
                                   HOMEBREW_NO_ANALYTICS nor
                                   HOMEBREW_NO_GITHUB_API are set).
      --days                       How many days of analytics data to
                                   retrieve. The value for days must be
                                   30, 90 or 365. The default is 30.
      --category                   Which type of analytics data to retrieve.
                                   The value for category must be install,
                                   install-on-request or build-error;
                                   cask-install or os-version may be
                                   specified if formula is not. The default
                                   is install.
      --github                     Open the GitHub source page for formula
                                   in a browser. To view formula history
                                   locally: brew log -p formula
      --json                       Print a JSON representation. Currently the
                                   default value for version is v1 for
                                   formula. For formula and cask use
                                   v2. See the docs for examples of using
                                   the JSON output:
                                   https://docs.brew.sh/Querying-Brew
      --installed                  Print JSON of formulae that are currently
                                   installed.
      --all                        Print JSON of all available formulae.
  -v, --verbose                    Show more verbose analytics data for
                                   formula.
      --formula, --formulae        Treat all named arguments as formulae.
      --cask, --casks              Treat all named arguments as casks.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -h, --help                       Show this message.

Error: Invalid usage: cannot specify --cask with --json=v1!
Warning: Failed to parse `brew info --cask --json`: 767: unexpected token at ''
Would uninstall formulae:

I could also do HOMEBREW_DEBUT brew bundle cleanup, but I'll need to dump that in a pastebin or something.

Not sure if it helps, but it seems like I can get the same error from the shell using brew info --cask $(brew list --cask) --json=v1:
❯ brew info --cask $(brew list --cask) --json=v1
Usage: brew info [options] [formula|cask]

Display brief statistics for your Homebrew installation.

If a formula or cask is provided, show summary of information about it.

      --analytics                  List global Homebrew analytics data or, if
                                   specified, installation and build error
                                   data for formula (provided neither
                                   HOMEBREW_NO_ANALYTICS nor
                                   HOMEBREW_NO_GITHUB_API are set).
      --days                       How many days of analytics data to
                                   retrieve. The value for days must be
                                   30, 90 or 365. The default is 30.
      --category                   Which type of analytics data to retrieve.
                                   The value for category must be install,
                                   install-on-request or build-error;
                                   cask-install or os-version may be
                                   specified if formula is not. The default
                                   is install.
      --github                     Open the GitHub source page for formula
                                   in a browser. To view formula history
                                   locally: brew log -p formula
      --json                       Print a JSON representation. Currently the
                                   default value for version is v1 for
                                   formula. For formula and cask use
                                   v2. See the docs for examples of using
                                   the JSON output:
                                   https://docs.brew.sh/Querying-Brew
      --installed                  Print JSON of formulae that are currently
                                   installed.
      --all                        Print JSON of all available formulae.
  -v, --verbose                    Show more verbose analytics data for
                                   formula.
      --formula, --formulae        Treat all named arguments as formulae.
      --cask, --casks              Treat all named arguments as casks.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -h, --help                       Show this message.

Error: Invalid usage: cannot specify --cask with --json=v1!

However, doing the same with brew info --cask $(brew list --cask) --json=v2 gives me the json output I suspect brew bundle is looking for.

I'm not sure if the differences between v1 and v2 are that great that we could straight to it. @MikeMcQuaid @colindean @issyl0 any thoughts on s/--json=v1/--json=v2 for this?

I'm also receiving this same error, happy to provide debug logs or anything if extra verification is needed.
The underlying brew error was added in ~7 hours ago by: https://github.com/Homebrew/brew/commit/311c10636b0e5a86b7042d745afe782b19ed4659
Actual line: https://github.com/Homebrew/brew/blame/6936f56b13cfea5d988ea3b3d5026027c707ed95/Library/Homebrew/cmd/info.rb#L181

@rlbaker thanks for tracking that down -- I'm allergic to git so I wasn't able to manage.

Looking at the two instances of json=v1 in the bundle codebase, we should be right to update it.
$ rg -F "json=v1"
lib/bundle/locker.rb
90:        name_bottles = JSON.parse(`brew info --json=v1 --installed --quiet`)

lib/bundle/cask_dumper.rb
29:      cask_info_response = `brew info --cask #{cask_list.join(" ")} --json=v1`

spec/bundle/locker_spec.rb
73:        allow(locker).to receive(:`).with("brew info --json=v1 --installed --quiet").and_return <<~EOS

spec/bundle/cask_dumper_spec.rb
60:          .with("brew info --cask foo --json=v1")
73:          .with("brew info --cask foo --json=v1")
86:          .with("brew info --cask foo bar --json=v1")

I'll chuck up a PR now and get some reviews to make sure we're heading in the right direction.

Can you try #821 and let me know how if that gets us there?

Running brew bundle cleanup on that branch is throwing:
Error: no implicit conversion of String into Integer
Please report this bug:
  https://github.com/Homebrew/homebrew-bundle/issues
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/cask_dumper.rb:33:in `dig'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/cask_dumper.rb:33:in `block in formula_dependencies'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/cask_dumper.rb:32:in `each'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/cask_dumper.rb:32:in `flat_map'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/cask_dumper.rb:32:in `formula_dependencies'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/cleanup.rb:71:in `formulae_to_uninstall'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/lib/bundle/commands/cleanup.rb:22:in `run'
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle/cmd/bundle.rb:103:in `bundle'
/usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'

From: https://github.com/Homebrew/homebrew-bundle/blob/master/lib/bundle/cask_dumper.rb#L33
I'll dig out the exact JSON it's choking on shortly.

Running brew info --cask 1password --json=v2
{
  "formulae": [],
  "casks": [
    {
      "token": "1password",
      "name": [
        "1Password"
      ],
      "desc": "Password manager that keeps all passwords secure behind one password",
      "homepage": "https://1password.com/",
      "url": "https://c.1password.com/dist/1P/mac7/1Password-7.7.zip",
      "appcast": "https://app-updates.agilebits.com/product_history/OPM7",
      "version": "7.7",
      "sha256": "14617fe50edcdaf3d3fbfc06bb456e6d2e301ec7378189a1266d8517027b1fd5",
      "artifacts": [
        [
          "1Password 7.app"
        ],
        {
          "trash": [
            "~/Library/Application Scripts/*.agilebits.onepassword*",
            "~/Library/Containers/*.agilebits.onepassword*",
            "~/Library/Group Containers/2BUA8C4S2C.com.agilebits",
            "~/Library/Logs/1Password",
            "~/Library/Preferences/com.agilebits.onepassword*"
          ],
          "signal": {}
        }
      ],
      "caveats": null,
      "depends_on": {
        "macos": {
          ">=": [
            "10.13"
          ]
        }
      },
      "conflicts_with": {
        "cask": [
          "1password-beta"
        ]
      },
      "container": null,
      "auto_updates": true
    }
  ]
}

Same error; posted it on the PR. Didn't realise @rlbaker had already gotten to it here.
It's getting late quite here, so I'll need to check back in in the morning. Apologies for dropping out in the middle of this.

Here's the JSON that's being output:
raw
formatted
gron

Thanks for fixing this!


Steppers

https://www.google.com/design/spec/components/steppers.html

Use one of the stepper libraries instead.


decorate the list if the TESSEL_SERIAL env variable is set

Somewhat trivial but helpful when working with multiple boards.

Hi @nicholasspencer, we'll merge this as #172 (which redirects the asterisks to stderr so stdout list is still machine-readable). Thanks for the submission!


Switch to DockerHub builds

Right now, we are using travis to push the two tags. I think we can use DockerHub instead. There's a slight complication as 1.8 lives on a different branch

this is no longer relevant


Fix spelling mistakes

Most of those are spelling fixes, but I took the liberty of uppercasing acronyms like OS, UBO, MSAA, etc.
I can't guarantee no mistake is left, but at least there are 153 fewer now :stuck_out_tongue_winking_eye:

At least a few of the spelling mistakes have been fixed, will take a look at the remaining one and close this PR due to conflicts. But thx for your effort 👍


@unique is not working as per expecatation

Bug description
in schema.prisma file, I have created below model
model User {
  id      String   @id @map("_id")
  name    String
  email   String  @unique
  password String
  services String[]
}

I have generated db collection by prisma generate.
how ever, database is allowing duplicate email.
How to reproduce

Expected behavior
No response
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup

OS:
Database:
Node.js version:

Prisma Version

@anilk007 Please fill up the description template, we would need to know which Prisma version and which Database you are using here.
Please provide reproductions steps, so we can attempt a reproduction.
Also, how do you manage your database schema here? Did you use migrate dev or db push?

Hello, @anilk007. We would appreciate it if you would provide us with some additional information regarding this issue. Specifically, we'd like to know the Prisma version, the database being used, and any reproduction steps you may have. Your input will help us in reproducing and addressing the problem effectively. Thank you!


About description

Issue Description
feature request
Describe what happened (or what feature you want)
There is no 'about' description in the repository page
Describe what you expected to happen
Find an 'about' description 😄
How to reproduce it (as minimally and precisely as possible)

open repository and look on the top right

Anything else we need to know?
 Thanks

Added one, any suggestions are welcome!


Realsense D457 cable specifications for > 11 m length

Hello!
I'm looking forward to using Realsense D457, but I have doubts about its cable.
What is the maximum total resistance the cable can have? And the attenuation?
I want to try Dacar 302, as suggested here: https://github.com/IntelRealSense/librealsense/issues/10984#issuecomment-1292320808, but it's unavailable in my country. There are other options besides that one?

I discussed the subject of cable electronics further with the Intel RealSense team.  They stated that the D457 uses the GMSL protocol, so any GMSL cable should work.

Thanks for your reply!
I'm excited to test the new Realsense.

Hi @Mat198  Do you require further assistance with this case, please?  Thanks!

I'm OK for now. I'm waiting for my D457 to arrive to test it.

Thanks very much @Mat198 for the update.  Please do feel free to post further questions when you have the opportunity to test your D457.  Good luck!

Hi @Mat198  Have you received your D457 and been able to test it, please?  Thanks!

Hi @MartyG-RealSense! I'm expecting to test it in the first half of January. I need the camera and the embedded computer with GMSL support to arrive at my company first.

Okay, that's no problem at all.  If you wish you could close this issue now using the button under the comment writing window and re-open it in January or open a new issue.  Thanks again!


Site Support: onclick Academy

I was wondering if anyone had taken a crack at adding support for a fairly new e-Learning portal called onclick Academy. They're kind of like Udemy and have some courses that were offered on Udemy but it is its own separate platform now. Videos are by default available in HTML5 and the structure of the lectures are similar to Udemy. I've tried myself to modify the Udemy class for this site but I have very basic programming knowledge and even less knowledge of Python.
Unfortunately, they don't have any free courses at the moment so the only way to support this would be if someone already was a subscriber to a lecture.
Example URL: http://onclickacademy.com/courses/bootstrap/lectures/283801
It looks like the intro videos are freely accessible so maybe you could produce a config based on it.

I have figured out that the site uses Wistia for its content delivery. So since this is supported in YT-DL I'll close this site-support-request.


JavaScript: Add executable

Like with the Ruby version, the JavaScript version could include a CLI option as well. The call name might need to be tweaked to avoid conflict with the ruby version though?

We can name it the same thing -- the Python version we're going to add shortly also uses the same CLI command name.

Okay - I'd be happy to poke at this, unless another contributor wants a chance to jump in. 🙂


[BUG] CaptureAsync produces incorrect image on Android

Description
I'm creating a custom control using SKCanvasView. Putting this into a view and then using CaptureAsync on the view is producing a wrong image on android. Works on Windows.
The top view was captured and the bottom is the captured image:

Code
GitHub repository: https://github.com/Pairoba/CaptureAsyncSkiaSharp
CustomView.cs
internal class CustomView : SKCanvasView
{
    protected override void OnPaintSurface(SKPaintSurfaceEventArgs e)
    {
        base.OnPaintSurface(e);
        var canvas = e.Surface.Canvas;
        var info = e.Info;

        using var paint = new SKPaint();
        paint.Color = SKColors.Black;
        paint.StrokeWidth = 10;

        canvas.DrawLine(0, 0, info.Width, info.Height, paint);
        canvas.DrawLine(info.Width, 0, 0, info.Height, paint);
    }
}

MainPage.xaml.cs
public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();
    }

    private async void CaptureAsync(object sender, EventArgs e)
    {
        var snap = await CaptureTarget.CaptureAsync();
        if (snap != null)
        {
            var s = await snap.OpenReadAsync();
            CaptureImageView.Source = ImageSource.FromStream(() => s);
        }
    }
}

MainPage.xaml
<VerticalStackLayout>
    <Border x:Name="CaptureTarget"
            HeightRequest="250"
            WidthRequest="250"
            StrokeThickness="10"
            Stroke="Blue">
        <AbsoluteLayout BackgroundColor="Green">
            <local:CustomView AbsoluteLayout.LayoutBounds="40, 40, 100, 100"
                              AbsoluteLayout.LayoutFlags="None" />
        </AbsoluteLayout>
    </Border>
    <Button Text="Capture Async"
            Clicked="CaptureAsync"/>
    <Image x:Name="CaptureImageView"
           HeightRequest="250"
           WidthRequest="250"/>
</VerticalStackLayout>

Expected Behavior
Correct generated image
Actual Behavior
Incorrect generated image
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Android
Platform / Operating System Version

Android 13
Android 14

Devices

Pixel 5 Emulator

Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

It seems like, that the canvas on the snapshot is scaled to the snapshot target's size. So I was able to create a Workaround by scaling the CustomView during the snapshot creation.
private async void CaptureAsync(object sender, EventArgs e)
{
    CustomViewInstance.AnchorX = 0;
    CustomViewInstance.AnchorY = 0;
    CustomViewInstance.ScaleX = CustomViewInstance.Width / CaptureTarget.Width;
    CustomViewInstance.ScaleY = CustomViewInstance.Height / CaptureTarget.Height;

    var snap = await CaptureTarget.CaptureAsync();
    if (snap != null)
    {
        var s = await snap.OpenReadAsync();
        CaptureImageView.Source = ImageSource.FromStream(() => s);
    }

    CustomViewInstance.ScaleX = 1;
    CustomViewInstance.ScaleY = 1;
}


Horizontal scrollbar not displayed when number of rows is too small

Hi,
if the dataframe has too few rows to trigger vertical scrollbar, horizontal scrollbar will not be displayed either.

Having this issue too.  Any workarounds?

This is fixed in the new qgrid 1.0 beta.  See the installation instructions on the updated readme page to try it out.
I just tried it out and it seems to be working now:


Swagger: change according to app-sre guidelines

Removed tags from operations.
Aligned descriptions to current api.openshift.
Names of URL segments and JSON attributes should be all lower case and
use snake_case.
Names of kinds of objects should use CamelCase.
The representation of relationships between resources should be done
using links instead of embedding them.
Format of returned HTTP errors according to doc.
Catalog of errors.
Descriptions for all properties, also end with period. Align
descriptions with current APIs.

Still to be done: error catalog, paging, list filters and search,
sync/async.

@tzvatot PTAL

@avishayt
The swagger spec at "/home/mfilanov/work/go/src/github.com/filanov/bm-inventory/swagger.yaml" is invalid against swagger specification 2.0. see errors :
- some references could not be resolved in spec. First found: object has no key "Error"

if you want to make sure that generation pass you can run skipper make generate-from-swagger
it will work without skipper as well. but you will need to have docker.

@avishayt generation don't pass
The swagger spec at "/home/mfilanov/work/go/src/github.com/filanov/bm-inventory/swagger.yaml" is invalid against swagger specification 2.0. see errors :
- some references could not be resolved in spec. First found: object has no key "Error"

Sorry about that, should work now

@eranco74 @ori-amizur @igoihman this change will affect you as well.
clients will change. so you will need to update your code as well.


Preset some action/condition scene

Is your feature request related to a problem? Please describe.
Some common nodes are suitable for making as scenes and built-in , and users can quickly use them by instantiating scenes.
For example, wait action, check blackboard key condition, set blackboard key action, and clear blackboard key action, log action.

Describe the solution you'd like
Preset some scene in plugin.  Users use them by instantiating scenes.

To be honest, I like it that the plugin does not provide too many sample nodes. I would rather add such nodes to a documentation then in to the library, but that's just me...

Closing this one I am afraid. This addon is supposed to be more of a library and less of a framework. I would love to have the concept of a "behaviour library" where people can share their behaviours with others. Unfortunately, I do not know a good way to do that yet. I may reopen this once more people have the demand for some sort of "behaviour library"


Add notifications

Use the notifications API to make notifications appear when vulnerable instances show up so people don't miss them.

Working on this next

Closed with a4b3375d78f5793bc93f6a50be6c2ac536f3ee5a


OSSM-774 Fix flaky TestStatusManager

This adds a little sleep to our unit tests for the StatusManager, because without it, we're running into the issue that we're updating a ServiceMeshPeer's status very quickly, and in some cases it might be that the last change has not been propagated when we're generating the patch for the next status change, which can lead to failures (because the patch that is based on outdated information does not e.g. remove a field that should be removed).
This can happen in the real world, but you would need to change a ServiceMeshPeer's status within a few milliseconds, I doubt that it affects users. It would also be fixed with the next status update. For those reasons, I'm only fixing it in the test, with a Sleep() call.

/test integration


update fork

update fork

@eishikawa this is already merged to master so no need to do it again. It's live.

Rick san,
I was trying to pull the latest fork, but couldn’t do it well.
I will try it this afternoon when I get back from LIP.
Kind Regards,
Ena Ishikawa
eSolia Inc.
From: Rick Cogley<EMAIL_ADDRESS>Sent: Wednesday, June 10, 2015 5:07 PM
To: eSolia/eSolia
Cc: eishikawa
Subject: Re: [eSolia] update fork (#44)
@eishikawa https://github.com/eishikawa this is already merged to master
so no need to do it again. It's live.
—
Reply to this email directly or view it on GitHub
https://github.com/eSolia/eSolia/pull/44#issuecomment-110643819.


PostgreSQLEnum isn't working correctly

my Role enum:
import Vapor
import FluentPostgreSQL

enum Role: String, Codable, Content, PostgreSQLEnum, PostgreSQLMigration{
    static let allCases: [Role] = [.basic, .admin]
    case basic, admin
}

User extension:
extension User: RoleAuthorizable{
    typealias RoleType = Role
    static var roleKey: RoleKey = \.role
}

my configure.swift's migrations:
  var migrations = MigrationConfig()

  migrations.add(migration: Role.self, database: .psql)
  migrations.add(model: User.self, database: .psql)
  migrations.add(migration: AdminUser.self, database: .psql)
  migrations.add(model: Category.self, database: .psql)
  migrations.add(model: Post.self, database: .psql)
  migrations.add(model: Reply.self, database: .psql)
  migrations.add(model: Token.self, database: .psql)

  services.register(migrations)

it's saying the role already exists when the DB is clean and it first runs it;
Thread 1: Fatal error: Error raised at top level: ⚠ PostgreSQL Error: type "role" already exists
console message:
[ INFO ] Migrating 'psql' database (/Users/mehmetkoca/Desktop/api/.build/checkouts/fluent.git-8746983794372380264/Sources/Fluent/Migration/MigrationConfig.swift:69)
[ INFO ] Preparing migration 'Role' (/Users/mehmetkoca/Desktop/api/.build/checkouts/fluent.git-8746983794372380264/Sources/Fluent/Migration/Migrations.swift:111)
(lldb)

what's the solution? 🙄
reference role middleware repo

it only works when the database is completely deleted and rebooted.


SQL Server 2019 Lab Module 01 - In-Memory Database

Please change reference to "In-Memory Databases" to "In-Memory Database"

I fixed this in all the places I could find it


Installing with NPM fails on Mac OSX

$ npm install osrm results is like this (NODE V 6.3.1):
><EMAIL_ADDRESS>install /Users/ara/dev/iteam/tsab-estimate/node_modules/osrm
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/osrm/v5.3.3/Release/node-v48-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v48 ABI) (falling back to source compile with node-gyp)
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libosrm --libs --static' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/ara/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/Users/ara/.nvm/versions/node/v6.3.1/bin/node" "/Users/ara/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding/osrm.node" "--module_name=osrm" "--module_path=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding"
gyp ERR! cwd /Users/ara/dev/iteam/tsab-estimate/node_modules/osrm
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.3.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/ara/.nvm/versions/node/v6.3.1/bin/node /Users/ara/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding/osrm.node --module_name=osrm --module_path=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:852:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
node-pre-gyp ERR! System Darwin 15.6.0
node-pre-gyp ERR! command "/Users/ara/.nvm/versions/node/v6.3.1/bin/node" "/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/ara/dev/iteam/tsab-estimate/node_modules/osrm
node-pre-gyp ERR! node -v v6.3.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
Failed to execute '/Users/ara/.nvm/versions/node/v6.3.1/bin/node /Users/ara/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding/osrm.node --module_name=osrm --module_path=/Users/ara/dev/iteam/tsab-estimate/node_modules/osrm/lib/binding' (1)
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/ara/.nvm/versions/node/v6.3.1/bin/node" "/Users/ara/.nvm/versions/node/v6.3.1/bin/npm" "install" "osrm"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the osrm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs osrm
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls osrm
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ara/dev/iteam/tsab-estimate/npm-debug.log

Duplicate of https://github.com/Project-OSRM/node-osrm/issues/226.

@daniel-j-h but it's only when you install. It will continues working if you install it with other nodes and then change back to v6.3.0!

Yes, we don't publish binaries for other versions than v4 at the moment.

node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v48 ABI) (falling back to source compile with node-gyp)

cc @springmeyer to keep you in the loop about v4 / v6

@daniel-j-h but it's only when you install. It will continues working if you install it with other nodes and then change back to v6.3.0!

@ambodi - no. You cannot change between major version of node without re-installing. That will not predictably work so I don't recommend trying it.

cc @springmeyer to keep you in the loop about v4 / v6

@daniel-j-h thank you. Yes, we can consider adding precompiled binaries for v6 in the future. Let's discuss when to move to v6 at #239


Allow global ignore of some resource trans. methods per environment.

It is good practice to test .IsServer before applying resource.Minify and resources.Fingerprint to a resource.
Systematically calling a condition for each resource processed may become very tedious when you start using Hugo Pipes's asset transform (ex image process) in a lot of different location in your templates or when most of your templates are inherited from a theme.
I'm proposing (more like enquiring for feasibility) an alternative: To add a new config setting allowing the ignoring of certain asset transformation methods. This way we can safely .Fingerprint and/or .Whatever our assets without having to test the environement.
# config.yaml
ignoreAssetTransform:
  - fingerprint
  - minify

# config.prod.yaml
ignoreAssetTransform: false

Hmm... I guess we at some point will add some "site config globals" for the different transformations (SCSS etc.), but t.this was not what I had in mind. What I really like with all of this is the what you see is what you get. Without having to hunt down some nested config in some XML files to debug why fingerprinting suddenly stopped working.

Without having to hunt down some nested config in some XML files to debug why fingerprinting suddenly stopped working.

What XML file? I'm talking about a project only configuration parameter (you make a point, themes should not be able to set it).
Let me push my point a bit here.
Currently an {{ if .IsServer / else }} statement is needed for every "permalinked" resource. Meaning:

As a theme user you cannot force fingerprinting on hugo-sever for temporary testing.
As a theme user you cannot rule out fingerprinting on a dedicated non-hugo-server environment, say staging.
As a project/theme coder, you cannot do 2. without updating your if with an environment variable or config parameter unique to your setup.
But most importantly Hugo Pipes loses all the one liner jazz it first inspired :)

Lastly, I would add that this fingerprinting on/off switch per environment is common practice among Gulp|Grunt|Webpack users and would be a welcome addition to their Hugo built-in counterpart: Hugo Pipes.

What XML file? I

I was talking about the "Gulp XML files", not Hugo.
You can use some other flag than IsServer which would solve most of your concerns. What you want is doable, of course, but I'm not totally convinced. This will look prettier once Go 1.11 is out and we can re-assign variables, and the "one-liner" is only beautiful if I can look at it and tell exactly what it does.

... but this isn't set in stone, but I feel that this need to linger a little...

I build this kind of partials which systematically needs .Site in its context...
<img src="{{ partial "asset" (dict "site" .Site "asset" "images/logo.svg") }}">

{{- $site := .site -}}
{{- with resources.Get .asset -}}
	{{- if $site.IsServer -}}
		{{- .Permalink -}}
	{{- else }}
		{{- (. | fingerprint).Permalink -}}
	{{- end -}}
{{- end -}}

And start daydreaming about this issue :)


RAC: replace value with state when destructuring SearchFieldRenderProps

Closes #5249
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
n/a Added/updated unit tests and storybook for this change (for new code or code which already has tests).
n/a Filled out test instructions.
[x] Updated documentation (if it already exists for this component).
n/a Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
n/a
🧢 Your Project:
n/a

This looks correct, thanks for submitting a PR. Would you mind signing the CLA? https://react-spectrum.adobe.com/contribute.html#contributor-license-agreement You may need to close the PR and reopen it to get it to take effect

GET_BUILD


template macro page shows view macro page content

The template macro page at https://docs.rs/leptos/latest/leptos/macro.template.html seems to be the same for the most part as the view macro page at https://docs.rs/leptos/latest/leptos/macro.view.html.

Fair enough. I have updated the docs for 0.7 (main) already, and have tended to close issues relative to main, not relative to the leptos_0.6 branch. The template macro supports most of the same syntax as the view macro: I'm happy to help with any differences but updating docs for 0.6 is a pretty low priority for me at the moment.


grayscale coingecko logo

@sunnya97 we just merged #204 which removes the logo entirely

Yeah, I know I saw.  I was just messing around to see if there's a way to have a gray tiny version of the logo, so it still flows.  The colored one stood out too much


Warnings for entryForm: Invalid Custom Object being loaded

Your environment
OS : iOS Catalina 10.15.4
Node.js version : 14.14.4
suitecloud-cli version : 1.0.2
Terminal/CMD tool : iTerm2
Describe the bug
When importing objects in ACCOUNTCUSTOMIZATION project I receive a lot of warnings for entryForm:custform_73_t1441298_782 Failed: Invalid Custom Object being loaded
To Reproduce

Run suitecloud project:create -i (use ACCOUNTCUSTOMIZATION type)
Run suitecloud account:setup
run suitecloud object:import with ALL types

possibly related to #144

This issue is generate from NetSuite server side and not with the tool itself.
The issues with server side issues/validations etc have to be reported to NetSuite support.
If the error is still happening, please open a ticket with NS Support.


ChatGoogleGenerativeAI doesn't have with_structured_output

It's only on ChatVertexAI currently
https://python.langchain.com/docs/guides/structured_output

fixed.

How's it fixed? I'm still getting the same problem.

It still doesn't work.


powerline: 2.7 -> 2.8.1

Motivation for this change
New upstream version.  I've also added all optional dependencies, except for bzr, which we no longer have in nixpkgs.  The replacement, breezy, does not seem to be supported by powerline.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

The top-level attribute seems like a good idea.  I'll add it.


Schedule an automation run when automation is enabled for a service

Currently when you enable automation for a service you have to wait up to five minutes to see any images updates applied - scheduling an immediate automation run will result in a better user experience.

#623 made policy update jobs ask for an image poll if something was newly automated.
However, since it separated the git and image polling loops, it was only partially successful. If you ask for an image poll inside the job, chances are that will run straight away (i.e., before the commit has been pulled from upstream), and if so, it will not see the newly automated service as automated!

@squaremo did #661 resolve this?

Flux will now do an automation run after any commit is synced, which happens when automation in enabled.


Update links in README to point at hyperledger-labs/fablo

Repo secrets aren't available on pull requests.

Thanks Ry - possibly it's not seeing secrets because it's push from external fork(?).
Will keep it open little more and examine to be ready for contributors.

@Hejwo take a look - I think you would need two paths, one for PRs on forks, one for PRs from branches


chore: promote jx3-python-http-example to version 0.0.4

chore: promote jx3-python-http-example to version 0.0.4
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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


v1.3.4 Errors on PDF and PNG Generation

Currently getting this error in Dev console for v1.3.4. I am using Brave Browser.
content_script.js:201 Uncaught TypeError: Cannot read properties of null (reading 'style')
    at Elements.fixLocation (content_script.js:201:17)
    at downloadThread (content_script.js:112:12)
    at downloadButton.onclick (content_script.js:89:5)

fixed in https://github.com/liady/ChatGPT-pdf/pull/28/files

Hello, I was a contributor once to this project and I see that liady stopped maintaining it. Because of that I have created my own version of the ChatGPT-pdf, called ChatgptToPdf, If you see that you have problems with this extension I invite you to try mine and see if your issues get fix, let's work together to improve it. Thank you!


New feature: Add "used_memory_peak" to Redis Dashboard

Proposal
Add "used_memory_peak" to Redis Dashboard
...
'Peak Memory Usage' => Format::bytes($info['memory']['used_memory_peak'],0),
....

Motivation and context
The Redis "used_memory_peak" information could also be helpful.

It's already there, but in percentages
https://github.com/RobiNN1/phpCacheAdmin/blob/master/src/Dashboards/Redis/RedisTrait.php#L77

I'm not sure. as far as I understand it,.. the "used_memory_peak_perc" is a percentage that indicates how much of your historical peak memory usage you are currently using. A measure of how close the current memory usage (used_memory) is to the all-time maximum usage (used_memory_peak).
For example see -> https://www.oreilly.com/library/view/redis-4x-cookbook/9781783988167/ccc7768b-7510-4542-8b7b-d2f59290e4d6.xhtml


Show instance cheat scores on admin dashboard

As an admin it would be nice to have the total cheat score per instance visible on the dashboard. This can be retrieved via the Prometheus endpoint /metrics from the juiceshop_cheat_score{app="juiceshop"} field per instance.

⚠ This would probably solve the "Exposed Metrics" challenge for all instances if pulled from /metrics! The webhook payload also contains the current total cheat score. Other than the challenge status, the cheat score is not available via API/database but on-demand only via Prometheus endpoint.

Cool idea :)
It wouldn't need to solve the challenge. We already have a exclusion for requests with a Prometheus user agent. https://github.com/juice-shop/juice-shop/blob/master/routes/metrics.ts#L70


What if mariadb not accept my.cnf

Make the necessary changes to the MariaDB configuration files.
vi /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
innodb-file-format=barracuda
innodb-file-per-table=1
innodb-large-prefix=1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation_server = utf8mb4_unicode_ci
And also comment out the following.
#character-set-server = utf8mb4
#collation-server = utf8mb4_general_ci
vi /etc/mysql/mariadb.conf.d/50-client.cnf
[client]
default-character-set = utf8mb4
Restart MariaDB to apply the modifications.
systemctl restart mariadb

Is there any particular reason why the MariaDB settings change is needed? the MariaDB file currently updated is /etc/mysql/my.cnf and it seems to work fine for all distros tested so I would like to know why this need to be changed.


System.ArgumentException: Requested value 'Failed' was not found.

Recurly resturns subscription with status "Failed" which is not presend in SeubscriptionStatus Enum
Subscription was created with startDate set to future, this subscription was then cancelled
then this call results with error:
account.GetSubscriptions(Subscription.SubscriptionState.All);
System.ArgumentException: Requested value 'Failed' was not found.
   at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at Recurly.StringExtensions.ParseAsEnum[T](String source)
   at Recurly.Subscription.ReadXml(XmlTextReader reader)
   at Recurly.SubscriptionList.ReadXml(XmlTextReader reader)
   at Recurly.Client.ReadWebResponse(HttpWebResponse response, ReadXmlDelegate readXmlDelegate, ReadXmlListDelegate readXmlListDelegate, ReadResponseDelegate responseDelegate)
   at Recurly.Client.PerformRequest(HttpRequestMethod method, String urlPath, WriteXmlDelegate writeXmlDelegate, ReadXmlDelegate readXmlDelegate, ReadXmlListDelegate readXmlListDelegate, ReadResponseDelegate reseponseDelegate)
   at Recurly.RecurlyList`1.GetItems()
   at Recurly.Account.GetSubscriptions(SubscriptionState state)
   at BusinessLogic.RecurlyIntegration.RecurlyIntegrationService.GetAccountDetails(String site, Boolean withSubscirptions, Boolean withInvoicesAndTransactions) in C:\Users\admin\Documents\Visual Studio 2013\Projects\Qalculator\BusinessLogic\RecurlyIntegration\RecurlyIntegrationService.cs:line 79
   at Client.Controllers.AccountController.<GetSite>d__36.MoveNext() in C:\Users\admin\Documents\Visual Studio 2013\Projects\Qalculator\Prototyping\Controllers\AccountController.cs:line 1078
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

I have a PR going to address this here: https://github.com/recurly/recurly-client-net/pull/177
Let me know if that works for you

Closed with https://github.com/recurly/recurly-client-net/pull/177


Fix release CI (and add sccache)

Before
After

sccache saves a little bit of time, it's hard to say how much. On ubuntu-latest it's like 3 minutes saved, but on Windows it's more marginal. :shrug:
contents: write was necessary to avoid 403 errors on my fork.

Actually this will release the GUI as objdiff-gui and not objdiff. I can fix that, just let me know.

Yeah, I’d like to keep the binary name objdiff instead of -gui because of the auto updater.

Fixed.


Feature request: All HTML tags in a new-line.

Operating System (+Version): Windows 8.1
VS Code Version:  1.9.1
beautify Version: 0.8.8

.jsbeautifyrc
{
 "wrap_attributes": "force"
}

Action performed
Didn't find an option to do it in Settings.md
No answers on a question in  stackoverflow: Beautify: Force line-break for every or specific tags
Sample HTML

<user-detail>
<user-icon></user-icon>John doe
</user-detail>

Expected result

    <user-detail>

            <user-icon>
            </user-icon>

                John doe

    </user-detail>

me too ...

This is a Feature I would like to have also.


Fix: BadRequest: NetworkAcls is required for this resouce.

Purpose

Fixes the error while deploying azd up the template:

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
BadRequest: NetworkAcls is required for this resouce.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

We've actually had two PRs in the past to propose this change, but it violates the security rules we enforce in the CI, Microsoft best practices. I haven't figured out yet why some developers see "NetworkAcls is required for this resource" and others haven't. I've never seen it myself, and I've deployed dozens of times.
Do you know what was special about your situation (or others) that led you to see it? It'd be great to get to the bottom of this.

This has been merged into azd core templates (https://github.com/Azure/azure-dev/pull/3033#event-11091862735) so I'll merge it here now too. Thanks @amgdy!


Request for documentation on Creating my own corpus

Hi all,
I want to use chatter bot in a FAQ situation. My users will pose questions to the bot and the bot will answer them. I have a list of questions and responses in AIML that are broken down by topics. Does chatter bot support topics? I see a category tag but I am not sure if this is the same thing as an AIML topic.
Is there any documentation that explains this in detail?

@pranavlal Thank you showing interesting updating corpus. The information grabbed from http://www.alicebot.org/aiml.html
The most important units of AIML are:

<aiml>: the tag that begins and ends an AIML document
<category>: the tag that marks a "unit of knowledge" in an Alicebot's knowledge base
<pattern>: used to contain a simple pattern that matches what a user may say or type to an Alicebot
<template>: contains the response to a user input

The free A.L.I.C.E. AIML includes a knowledge base of approximately 41,000 categories. Here's an example of one of them:
<category>
    <pattern>WHAT ARE YOU</pattern>
    <template>
        <think><set name="topic">Me</set></think>
        I am the latest result in artificial intelligence,
        which can reproduce the capabilities of the human brain
        with greater speed and accuracy.
    </template>
</category>

And the below response is very clear, AIML category and chatterbot tag both are same, but coming AIM topic and Chatterbot tag aren't same

In any case, if this category is called, it will produce the response "I am the latest result in artificial intelligence..." shown above. In addition, it will do something else interesting. Using the  tag, which causes Alicebot to perform whatever it contains but hide the result from the user, the Alicebot engine will set the "topic" in its memory to "Me". This allows any categories elsewhere with an explicit "topic" value of "ME" to match better than categories with the same patterns that are not given an explicit topic. This illustrates one mechanism whereby a botmaster can exercise precise control over a conversational flow.

Hi,
Thanks for your answer. I understand how topics are used in AIML. I am confused by the YAML syntax in chatter bot. There is a categories: heading that I see in the corpus files. What is that used for? Can I exercise flow control by using these categories?

The best answer you could found here https://github.com/gunthercox/ChatterBot/issues/924

Understood thanks.


Update README.md

add my name on list

@kyunghwanleethebest  Please resolve branch conflicts. Update your local repo and PR again.


Failing KEVM specs

In order to deprecate the Java backend, the Haskell backend must pass the specs from KEVM. We will track the list of failing specs here. When the tests pass, and are not too slow, they should be enabled in the evm-semantics repository.

[ ] tests/specs/benchmarks/bytes00-spec.k (very slow)
[ ] tests/specs/benchmarks/ecrecover00-siginvalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecover00-sigvalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop00-sig0-invalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop00-sig1-invalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop00-sigs-valid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop02-sig0-invalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop02-sig1-invalid-spec.k (timeout)
[ ] tests/specs/benchmarks/ecrecoverloop02-sigs-valid-spec.k (timeout)
[ ] tests/specs/benchmarks/encode-keccak00-spec.k (timeout in frontend)
[ ] tests/specs/benchmarks/encodepacked-keccak01-spec.k (missing simplification rule?)
[ ] tests/specs/benchmarks/keccak00-spec.k (timeout)
[x] tests/specs/benchmarks/staticarray00-spec.k
[x] tests/specs/benchmarks/storagevar02-nooverflow-spec.k
[ ] tests/specs/bihu/collectToken-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-failure-1-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-failure-2-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-failure-3-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-failure-4-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-success-1-spec.k (timeout)
[ ] tests/specs/bihu/forwardToHotWallet-success-2-spec.k (timeout)
[ ] tests/specs/erc20/ds/allowance-spec.k (out of gas)
[ ] tests/specs/erc20/ds/approve-failure-spec.k (out of gas)
[ ] tests/specs/erc20/ds/approve-success-spec.k (out of gas)
[ ] tests/specs/erc20/ds/balanceOf-spec.k (out of gas)
[ ] tests/specs/erc20/ds/totalSupply-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-failure-1-a-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-failure-1-b-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-failure-1-c-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-failure-2-a-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-failure-2-b-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-1-a-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-1-b-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-1-c-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-1-d-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-2-a-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-2-b-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-failure-2-c-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-success-1-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transferFrom-success-2-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-success-1-spec.k (out of gas)
[ ] tests/specs/erc20/ds/transfer-success-2-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/allowance-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/approve-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/balanceOf-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transfer-failure-1-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transfer-failure-2-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transferFrom-failure-1-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transferFrom-failure-2-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transferFrom-success-1-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transferFrom-success-2-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transfer-success-1-spec.k (out of gas)
[ ] tests/specs/erc20/hkg/transfer-success-2-spec.k (out of gas)
[ ] ~tests/specs/imp-specs/imp-specs-test-spec.k~ (build system problem)
[ ] tests/specs/mcd/cat-exhaustiveness-spec.k (timeout)
[ ] tests/specs/mcd/cat-file-addr-pass-rough-spec.k (timeout)
[ ] tests/specs/mcd/cat-ilks-pass-spec.k (timeout)
[x] tests/specs/mcd/dai-adduu-fail-rough-spec.k
[ ] tests/specs/mcd/dai-symbol-pass-spec.k (timeout)
[ ] tests/specs/mcd/dstoken-approve-fail-rough-spec.k (timeout)
[ ] tests/specs/mcd/dstoken-transferfrom-fail-rough-spec.k (timeout)
[x] tests/specs/mcd/dsvalue-read-pass-spec.k
[ ] tests/specs/mcd/end-subuu-pass-spec.k (timeout)
[ ] tests/specs/mcd/flipper-tau-pass-spec.k (timeout)
[ ] tests/specs/mcd/vat-deny-diff-fail-rough-spec.k (timeout)
[ ] tests/specs/mcd/vat-move-diff-spec.k (timeout)
[ ] tests/specs/opcodes/create-spec.k (internal error, probably related to undefined functions #memWidth, #memStart)

out of gas failures will be likely because it cannot prune a path that it needs to prune, so the side condition needs to be inspected when it takes the branch which leads to out of gas, and we need to figure out the correct KEVM rule to add which prunes that branch.

Action items from our first KEVM + Haskell backend meeting:

[ ] The tests/specs/erc20 specs use the Java backend's #gas(_, _, _) abstraction. These should be ported to use the infinite #gas(_) abstraction used in the tests/specs/benchmarks specs. Both abstractions should be factored out into a common file.
[ ] The _++_ symbol defined in evm-types.md can be a macro.
[ ] We should try making #encodeArgs a concrete function, and add high-level symbolic reasoning lemmas about it as needed. This will be faster, and failures will be easier to understand.

Making _++_ into a macro doesn't help because of #1978. I also noticed that this function is marked for the SMT solver, and making it a macro will defeat that.

All the mcd specs will probably need #2118.

After kframework/evm-semantics#915, the ERC20 specs will need #1978.

We are going to put off working on the mcd specs now, because they are still in-progress. The erc20 specs all need #1978.


Support some diagram language (written inline or in dedicated files)

Is your feature request related to a problem? Please describe.
Please support generating diagrams out of some diagram language like mermaid, PlantUML. Those could either be written inline or just referenced from markdown. That should lead to generating the SVG during build and afterwards generate HTML with an image tag referencing the generated SVG.
Describe the solution you'd like
Something similar to https://github.com/danielyaa5/puml-for-markdown but working in Java (locally)
Describe alternatives you've considered
The current solutions usually require NodeJS or another native binary (and are therefore not cross-platform)

Mermaid does not produce SVG files that conform to the SVG specification, which means that they do not render outside of a web browser environment. This is a known issue. EchoSVG has taken some strides to handle rasterizing Mermaid's non-compliant output.
KeenWrite adds a FencedBlockExtension to flexmark-java that converts of diagram- images to SVG diagrams via https://kroki.io/.
The advantage of the diagram- prefix is that it allows KeenWrite to automatically get new text-based diagram image formats without having to rebuild and redistribute the software.
Here's a screenshot showing a family tree rendered using diagram-graphviz:

That is, the Markdown document contains:
``` diagram-graphviz
digraph G2 {
  edge [dir=none, color="#`r#x(v$palette$body)`", fontcolor="#`r#x(v$palette$body)`"];
  node [shape=box, style="filled", margin="0.2, 0.225", fontname="Roboto", color="#`r#x(v$palette$body)`", fillcolor="#eef4d7"];
  graph [splines=ortho];
...
}

This supports all formats offered by Kroki: PlantUML, GraphViz, Mermaid (rendering issues due to non-compliance notwithstanding), etc. When the next version of EchoSVG is released, it should fix some of the Mermaid rendering issues.

Any chance you can decouple that flexmark extension from the UI and provide that as dedicated artifact?

Good idea. I won't be taking this on, but feel free to add an issue to KeenWrite's issue tracker, where it might get some traction.
FWIW, KeenWrite can be run from the command-line without opening the UI, if that's your concern.


OAK-9435: Speed up oak-run datastore --dump-ref

@mreutegg - would be helpful to update this section (https://github.com/apache/jackrabbit-oak/tree/trunk/oak-run#oak-datastore) in the README file for the additional option added

@mreutegg - would be helpful to update this section (https://github.com/apache/jackrabbit-oak/tree/trunk/oak-run#oak-datastore) in the README file for the additional option added

Good point. Will do.

Changes have been committed to SVN.


Auto discovery of the state file from terraform backend block

Description
As suggested by @Gary-Armstrong, to be able to specify a --from tfstate is good enough, but by reading the right terraform file we could get the same information and build the option automatically for the user:
terraform {
  backend "s3" {
    bucket = "the-bucket-name"
    key    = "some-directory-name"
    region = "us-east-1"
    dynamodb_table = "some-statelock"
  }
}

Sidenote: it should also work dynamically for people with different workspaces.
⚠ this feature breaks the initial assumption that driftctl runs without any need to access the TF HCL code.
⚠ this feature may make the multi-state feature less obvious
Example

We should dig into this and think about it with terraform code as a potential IaC source in mind. This is something potentially bigger than it looks

Consider also the same configurations can be given via terraform Environment variables too. Which is how I mainly use terraform (backend bucket config is an env var)

Consider also the same configurations can be given via terraform Environment variables too. Which is how I mainly use terraform (backend bucket config is an env var)

This was done in #1555


snapshot with new nvarchar column fails

Hi, I have a table with many nvarchar columns with dbt snapshot on it.
If I add new nvarchar column in the base table, dbt snapshot fails with "String or binary data would be truncated in table...".
Problem is that new column in target snapshot table has length = 1, which is incorrect.
I think the problem is here. The new nvarchar column doesn't have length specified
 alter table "stg"."salesforce"."account_history" add "domain_c" nvarchar;
I tried to fix it in catalog macro, but I wasn't successful.
Btw I already added this override so that column adding works (original macro has "alter table ...add column ..." which fails on SQL Server )
{% macro sqlserver__create_columns(relation, columns) %}
  {% for column in columns %}
    {% call statement() %}
      alter table {{ relation }} add "{{ column.name }}" {{ column.data_type }};
    {% endcall %}
  {% endfor %}
{% endmacro %}

I didn't know adding new columns to a base table and expect to see them in the snapshot-table was supported? I think if you alter the column in the snapshot_destination_table and then try again it will work.
Just saw below in the docs but have never tried it myself.
We should probably add a test for it in https://github.com/fishtown-analytics/dbt-adapter-tests and then try to fix this with the macro you provided. Thanks!

When the columns of your source query changes, dbt will attempt to reconcile this change in the destination snapshot table. dbt does this by:

Creating new columns from the source query in the destination table
Expanding the size of string types where necessary (eg. varchars on Redshift)
dbt will not delete columns in the destination snapshot table if they are removed from the source query. It will also not change the type of a column beyond expanding the size of varchar columns. That is, if a string column is changed to a date column in the snapshot source query, dbt will not attempt to change the type of the column in the destination table.

Yes, if I alter the column manually in snapshot_destination, it succeeds.

consolidating to #186. @dubravcik #188 fixes your issue officially, and it will be released as part of dbt-sqlserver 0.21.1!