Automatic Circular Orbit Discovery

Added a (highly commented) script for discovering circular orbits using Optim.jl, able to find the energy and angular momentum of circular orbits to within 10^-9 of the true values for any given radius.
I've written a little blog post, some of which covers what this does here, where the method is evaluated against analytic results.
Example
include("scripts/hunting-circular-orbits.jl")
import CarterBoyerLindquist # for rms function

pl = plot()

m = BoyerLindquist(M=1.0, a=-0.5)
r_range = 3.0:1.0:13.0
vϕs = @time find_vϕ_for_orbit_range(m, r_range; upper=0.2)
geodesics = map(i -> geodesic_for(m, r_range[i], vϕs[i]), eachindex(r_range))

for sol in geodesics
    plot!(
        sol,
        vars=(8, 6),
        projection=:polar,
        range=(0.0, last(r_range)),
        legend=false
    )
end

plot!(
    _ -> GeodesicBase.inner_radius(m),
    0.0:0.01:2π,
    c=:black,
    lw=5
)
plot!(
    _ -> CarterBoyerLindquist.rms(m.M, m.a),
    0.0:0.01:2π,
    c=:black,
    lw=2,
    ls=:dot
)

pl

Produces:

The dotted line is the ISCO, and the solid black line is the event horizon. The method is still able to find some unstable circular orbits even within the ISCO, though they deteriorate over long integration times.

Added a few more commits to get the Page & Thorne (1974) eq. (12) working with the orbit hunter.
Comparing it (normalized, as some vertical shift is missing) to the flux equation in the package:

Seems to agree spectacularly. However, there are a few limiations. The orbit finder seems to panic close to the ISCO for a > 0.97, and the angular momenta and respective derivatives diverge, which skews the results. I'm curious as to why this is happening now, since when I was testing this stuff earlier it seemed to handle that region okay... I'll dig deeper at some point.
The other aspect is, since I'm not using Interpolations.jl, the derivative calculated is over-estimated if the r step is too big; but having a small r step  means more optimization solves, which takes considerably more time. I'm sure there's some optimum trade-off between integrator tolerances / time, optimizer configurations, and step size which would make this all golden, but I think that's only worth looking at if this becomes particularly problematic
Instead of using the gradient from Interpolations.jl, I just used a simple discretized trick
function ∇r(array, r)
    deriv = diff(array) ./ diff(r)
    # ensure same dimension using a lazy extension
    push!(deriv, deriv[end])
    deriv
end

Then I discretized Page & Thorne eq. (12) as:

which is not too difficult to implement with some array indexing.

@dangoh123 @kyle8mcknight anything else I can do to help? I can tidy this up and add it to the package so you don't have to include files all the time? Or if you want to try and do that too, I am happy to let you take over completely 👍

@dangoh123 @kyle8mcknight anything else I can do to help? I can tidy this up and add it to the package so you don't have to include files all the time? Or if you want to try and do that too, I am happy to let you take over completely 👍

Wow thanks for this, I'm going to continue going over this this evening and see if I can get some iron lines out of it. I'd be happy to tidy it up myself, but I don't think we've really got time to do that at the moment, so if you get the chance that would be really appreciated, but obviously no rush, the includes serve their purpose for the time being.

I'll try and package it in the next few days, but I'll probably move it upstream to one of the other repositories.

Hi @fjebaker, we've had a look at what you've done, and it seems to work well, but doesn't really solve the key issue we've been running into which is the compatibility with the point functions to make a heatmap render. Your method, like our old method relied on having a full list of r_vals, and v\phi_vals etc. and then choosing from it, whereas for the point function we need f as a function of any given r. I've kinda managed to do this with:
function f_arbitrary(radius;
                    # outer_radius = 30,
                    radius_step = 0.001,
                    vϕ_vals = 0.00:0.001:10.00,
                    α_13 = 0,
                    α_22 = 0,
                    α_52 = 0,
                    ϵ_3 = 0,
                    M = 1,
                    a = 0.998
                    )

    R_isco = AccretionFormulae.r_isco(a, M)
    radius_values = [radius-radius_step, radius, radius+radius_step]

    # getting solutions from the search
    r_vals_long, _, r_dict_vϕ, r_dict_Lz, r_dict_En = search(
                                                            init_radii = radius_values,
                                                            vϕ_vals = vϕ_vals
                                                            )

    m = BoyerLindquist(M=1.0, a=1.0)
    smth = find_vϕ_for_orbit(m, 10)
    @show(smth)

    u = [0, init_radius, π/2, 0]
    v = @SVector [0.0, 0.0, 0.0, -vϕ/100]
    m = BoyerLindquist(M = 1.0, a = 0.998)

    En = GeodesicBase.E(m, u, v)
    Lz = GeodesicBase.Lz(m, u, v)

    # setting up unique solution lists
    vϕ_vals = []
    Lz_vals = []
    En_vals = []
    r_vals = []

    # sorting dictionaries
    r_dict_vϕ = sort(r_dict_vϕ)
    r_dict_Lz = sort(r_dict_Lz)
    r_dict_En = sort(r_dict_En)

    # averaging repeat solutions to find the gradients
    for init_radius in keys(r_dict_vϕ)
        if length(r_dict_vϕ[init_radius]) != 0
            push!(vϕ_vals,  mean(r_dict_vϕ[init_radius]))
            push!(Lz_vals,  mean(r_dict_Lz[init_radius]))
            push!(En_vals,  mean(r_dict_En[init_radius]))
            push!(r_vals, init_radius)
        # elseif length(r_dict_vϕ[init_radius]) == 0
        #     push!(vϕ_vals,  0)
        #     push!(Lz_vals,  0)
        #     push!(En_vals,  0)
        #     push!(r_vals, init_radius)
        end
    end

    @show(r_vals, vϕ_vals)
    # finding gradients of relevant values
    itp_vϕ = ∇r(vϕ_vals, r_vals)
    itp_Lz = ∇r(Lz_vals, r_vals)

    # f_vals = []
    # for (i, init_radius) in enumerate(r_vals)
        # vϕ_vals = r_dict_vϕ[init_radius]
        # u = [0, init_radius, π/2, 0]
        # vs = [@SVector [0.0, 0.0, 0.0, -vϕ/100] for vϕ in r_dict_vϕ[init_radius]]
        # m = BoyerLindquist(M = 1.0, a = 0.998)

        solutions = [] # all different combos of solutions for each r value

        # for v in vs
        #     @show(v)
            # En = GeodesicBase.E(m, u, v)
            # L_z = GeodesicBase.Lz(m, u, v)
            # push!(L_z_vals, L_z)
        En = En_vals[2]
        Lz = Lz_vals[2]
        vϕ = vϕ_vals[2]
        g_factor = gsqrt(ϵ_3, radius, a, M, α_13, α_22, α_52)
        # M = 1
        dΩdr = ∇r(vϕ_vals, r_vals)[2]
        dLzdr = ∇r(Lz_vals, r_vals)[2]

        #     values = (init_radius, v[4], En, L_z)
        #     push!(solutions, values)
        # # end

        # @show(solutions)

        pt1 = dΩdr
        pt2 = (M^2)/(g_factor*(En - vϕ*Lz)^2)
        pt3 = quadgk(x -> ((En-vϕ*Lz)*dLzdr), radius, R_isco, rtol=1e-3)

        # @show(pt1)
        # @show(pt2)
        # @show(pt3)

        f_disk = -(pt1 * pt2 * pt3[1])
        # push!(f_vals, f_disk)
    # end
    # f_vals .^= (1/4)
    # plt = plot(r_vals, f_vals)
    # display(plt)
    # L_z_vals_mean = []
    # for init_radius in keys(r_dict_vϕ)
    #     push!(L_z_vals_mean,  mean(r_dict_vϕ[init_radius]))
    #     push!(r_vals, init_radius)
    # end

    # itp_L_z = interpolate((r_vals,), vϕ_vals, Gridded(Linear()));

    # plt = plot(r_vals_long, L_z_vals)
    # display(plt)
    return f_disk
end

sorry about the very messy code, I haven't had time to clear it up, and I'm in a bit of a rush at the moment. Basically, it will find the values of v\phi etc. for each r, and then adjacent rs nearby, and use those to calculate a derivative, but our method of finding circular geodesics is not really working very well, and yours seems to rely on the knowledge of the previous step. Do you have any ideas about how to fix this? I'm going to work until 11pm now, so if you come up with anything I'll have a look when I get home.

I think the approach of wrapping all this into a point function is a little cumbersome -- I'd recommend the following instead:

For a range of r, calculate an approximation of f to a given granularity.
Use Interpolations.jl to create an interpolation of f for r.
Use the interpolated function in the point function to evaluate f at arbitrary r.

It's a little academic, because once you've established that you can recreate f to some accuracy, whether you use the interpolated or true f is irrelevant; the results will be the same.
Does that make sense?

Additionally, the interpolation does have to extrapolate f since we know the radii that r is confined to when we approximate it (i.e., the radii of the disc). I think once you've shown agreement between the approximated f and the true f, you've shown the method works, the rest is just implementation details.
Is your goal for the report to do the full implementation, or just show that the method is feasible? If it's the latter, I would focus on trying to find regimes where it doesn't work well (e.g. close to the ISCO with a > 0.97, or when the brute-force step is too small, etc.).


Port 80

I am using a grafana dokcer image. By default it runs at port 3000. How do I change it to 80

A simple
docker run -d -p 80:3000 "replaceTheNameOfTheImagesHere"

should do. Isn't it?
Please read: https://docs.docker.com/userguide/dockerlinks/

and what if my graphite is running on port 80?
I used -p 8080:80 for graphite.
I want graphite to run port 3000 and grafana to 80.
Can you help me out for?

Can you show your command, it is very difficult to know what you are talking about.

Here is the process I did
First I run graphite

sudo docker run -d
--name graphite
-p 8080:80
-p 2003:2003
--restart="always"
-v /data/graphite/storage/whisper:/opt/graphite/storage/whisper
sitespeedio/graphite

Then Grafana

sudo docker run -d -p 3000:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana

My grafana is running on http://someipaddress:3000 but I want it to run on http://someipaddress

sudo docker run -d -p 80:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana

Holyshit it's working.
Thanks a ton :)
On Fri, Jun 19, 2015 at 6:21 PM, Julien Bisconti<EMAIL_ADDRESS>wrote:

sudo docker run -d -p 80:3000
-v /data/grafana:/var/lib/grafana
-e "GF_SECURITY_ADMIN_USER=myuser"
-e "GF_SECURITY_ADMIN_PASSWORD=MY_SUPER_STRONG_PASSWORD"
--name grafana
--restart="always"
grafana/grafana
—
Reply to this email directly or view it on GitHub
https://github.com/wsargent/docker-cheat-sheet/issues/42#issuecomment-113505739
.


DEV/USD Switcher

Implement the DEV/USD switcher.

included a change to get the DEV/USD price in the following PR, so can implement it with that.
https://github.com/dev-protocol/stakes.social/pull/545


Not possible to set a trigger on a field inside a matrixdropdown

If I have a matrixdropdown, I cannot trigger on a field, only on the result of the entire question which does not work. I tested with "contains" but this does not work, either.
Would be much better to have something like this:
{ type: "visible", name: "myMatrix.row[3].field[5]", value: "sedan", questions: ["Sedan"] },

I will think about it.
FYI:
I am going to change the trigger mechanism greatly. Several developers has already asked about multiple condition. I am working on binary expression right now. The main challenge is to create the binary expression editor that non-technical people could use. Not sure I will get something good, at least I will try.
The old trigger properties: name, operation and value will be converted into condition, for example: name: 'question1', operation: 'equals', value: 5, becomes condition: "‘question1’ = 5". You will be able to set the condition as: (‘question1’ > 2 || 3 = ‘question2’) and ‘question3’ != ‘aaa’
Thank you,
Andrew

Please refer to this: https://github.com/andrewtelnov/surveyjs/issues/60

Hi,
I've made some progress here. I have posted the changes into the repo. At the current moment your scenario doesn't work, but I would love to work on it.
Could you provide me with a small example (survey json), so I do exactly what you need and do not work on a fancy nobody needed thing?
Thank you,
Andrew


Feature/override on requires function

Description
This PR adds another functionality to the inherits and requires decorator functions. The additional keyword arguments given during the call to @inherits (or @requires) will override the parameters in the base class, like when calling self.clone(Task, **kwargs) with the difference, that those overridden parameters will not be propagated to the inheriting class.
The changes in this PR allow to write something like
class TaskA(luigi.Task):
    param_a1 = luigi.IntParameter()
    param_a2 = luigi.IntParameter()

@requires(TaskA, param_a1=3)
class TaskB(luigi.Task):
    param_b = luigi.IntParameter()

which defines a task TaskB, which does not have a parameter called param_a1 (but still one with param_a2 and param_b), but requires TaskA with param_a1 set to 3 already.
This is especially useful if one wants to define a standard set of tasks, where a specific option is already known.
Additionally, I have refactored the @requires object a bit to inherit from the @inherit object (no pun intended).
Motivation and Context
Example: you have a machine learning training and testing task. They both depend on one task to generate the data - with a parameter which data to generate. The training task will always require Generation(training=True) whereas the testing task will require Generation(training=False). The new @requires call simplifies this.
Have you tested this? If so, how?
I have included a small amount of unit tests for this.

I understand your concern.
The @requires(functools.partial(TaskA, param_a1=3)) does unfortunately not work (the return from partial is not a task anymore), but would you like a free function for this more?


slurm: <IP_ADDRESS> -> <IP_ADDRESS>

Description of changes
Changelog: https://slurm.schedmd.com/news.html
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This update breaks pyslurm and the spank plugins. Needs further investigation before we can merge it.

schedmd releases a critical update, today. I've updated to slurm-23.11, and had no problems so far, but I'm not using pyslurm or spank. Will you create an update to 23.06.7 instead? Or can we proceed to 23.11.1?

I actually prefer to update 23.02 first. See https://github.com/NixOS/nixpkgs/pull/274301

With 23.11.0 we can update the systemd services to Type = "notify"

What's the difference between MAXPATHLEN and PATH_MAX?

PATH_MAX is the Posix compatible version.

With 23.11.0 we can update the systemd services to Type = "notify"

I did try that, but it does seem to work out of the box. I would rather update Slurm first and fix the module later in another. It currently works just fine with forking.

@GrahamcOfBorg test slurm
@GrahamcOfBorg build slurm-spank-x11 slurm-spank-stunnel

pyslurm support seems to be on the way: https://github.com/PySlurm/pyslurm/issues/327. Although I do not see pyslurm as a blocker right now.

@posch @SomeoneSerge Any further comments? Should we just merge it?


fix: move sleep to have all code in src

So... 😅
My IDE was trigger-happy and I haven't noticed it. When implementing the waitForUsable feature, I have copy&pasted Aron's solution, which used the sleep function and IDE noticed that we have this function in test/utils.ts file so it just imported that and I have not noticed that.
Thanks to this the tsc compilation changed the structure of the compiled files as it has to now import something from ./test folder and so it changed the ./dist/cjs/ folder structure into containing subfolders src and test as this:
cjs
├── package.json
├── src
│   ├── bee-debug.js
│   ├── bee.js
│   ├── chunk
│   ├── feed
│   ├── index.js
│   ├── modules
│   ├── types
│   └── utils
└── test
    └── utils.js

This, unfortunately, breaks the package as the entry file ./dist/cjs/index.js is not in the expected place.

Release v4.1.1 addresses this.

Maybe we can add a test for this in the release pipeline so we don't accidentally break this in the future?


Fix load_json

Codecov Report

Merging #4 (4219f11) into main (95ddeb5) will increase coverage by 0.13%.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   70.41%   70.55%   +0.13%
==========================================
  Files          13       13
  Lines         524      523       -1
  Branches      101       87      -14
==========================================
  Hits          369      369
+ Misses        137      136       -1
  Partials       18       18

Impacted Files
Coverage Δ

deli/interface.py
41.48% <0.00%> (+0.43%)
:arrow_up:


Default project css file not found

File app.b82aa2d9.css not found at symfony 4.3.0

Looks like a duplicate of #980

Yes, we're closing it as a duplicate of #980. @vladviolenty thanks for reporting!


using rendererSettings breaks animation

I've been testing a basic html page that shows just the animation I have made, just to check that it works as a concept, before I then try and link/import the animations into my wordpress site.
I have managed to get it to run on my website on a blank page fine, however the first problem I had was that it appears in the middle of the page, leaving a lot of white space above and below which did cause some issues. However I fixed this by using :

rendererSettings: {preserveAspectRatio: 'xMinYMin meet'}
This works.

However -
I have been trying to make it so that the animation only starts to play, when there is a mouseover event. I have figured this part out, and I managed to get it to work fine, but only when there is no rendererSettings in the variables. As soon as I add in the rendererSettings, and try and run the code, it just loads a blank page and chrome says "Uncaught SyntaxError: Unexpected identifier".
It seems that I can either have a mouseover event, or edit the aspect ratio, but not both.
Here is the code that I used, that doesn't work for some reason. If I remove the rendererSettings lines, it works fine. If I leave those in, but remove the mouseover event, it works fine.
<script>
animContainer = document.getElementById('bodymovin');

var params = {
    container: animContainer,
    renderer: 'svg',
    loop: true,
    autoplay: true,
    autoplay:false,
    autoloadSegments: false,
    rendererSettings: {
    preserveAspectRatio: 'xMinYMin meet'
  }
    path: 'data.json'// path to your data.json file you rendered from AE

};

var anim;

anim = bodymovin.loadAnimation(params);
animContainer.addEventListener("mouseover", myScript);

function myScript(){
    anim.play();
}

</script>

Any ideas? Here are the links to the pages (I have all 3 set up online - one for the Aspect ratio, one for the mouseHover, and one that shows my attempt at both using the above code.
http://scrivlings.co.uk/js/logotestaspect.html
http://scrivlings.co.uk/js/logotestmouse.html
http://scrivlings.co.uk/js/logotestboth.html

On your 3rd example, you're missing a comma after the rendererSettings:
<script>
animContainer = document.getElementById('bodymovin');

var params = {
    container: animContainer,
    renderer: 'svg',
    loop: true,
    autoplay: true,
    autoplay:false,
    autoloadSegments: false,
    rendererSettings: {
    preserveAspectRatio: 'xMinYMin meet'
  },
    path: 'data.json'// path to your data.json file you rendered from AE

};

var anim;

anim = bodymovin.loadAnimation(params);
animContainer.addEventListener("mouseover", myScript);

function myScript(){
    anim.play();
}

</script>

Also, you're passing an animationData object that you don't seem to have. You should remove the line:
animationData: animationData

Ahha, that does work now thankyou for the fast response! Unfortunately I have been trying to pass the animation to wordpress via iFrames (hence needing to put the animation to the top of the page in the seperate html). But there is still white space below the animation in the iFrame.
I'm trying to find ways to force the iframe to only display the animation part of the page, but it's being difficult. Is there any way you can think of to output the render without any white space?
Unfortunately wordpress doesn't really let me input the json directly, at least not without a massive rewrite of the code for the pages it seems.
Thanks for the fix though, it works as it should now!

Can you load js files easily to your page?
If so, you can use the json data as a js object and load it an animationDaata instead of passing the path.

I dont know... I can upload the files to the file system, but it's getting the code in the right place that would confuse me. My coding skills pretty much conk out after CSS, most of the js changes ive been making have been trial and error from other people's codepen pages.
However I did get the iFrame working properly, just needed to set the height to 100% and it worked.

nice. Let me know if you need anything else.
I'm closing the issue.


foreign key ON DELETE CASCADE

Hi
To Reproduce
I have sqllite plugin 3.5.1 installed.
I upgrade to capacitor 4 and I upgrade sqlite plugin to 4.8.0 but an error occurs. So, I try other version of sqlite plugin:

4.6.0: the same error
4.0.1: the same error
3.7.0: the same error
3.5.2: the same error

Then, I open my previous project in capacitor 3, upgrade the sqlite plugin from 3.5.1 to 3.5.2: the same error
Describe the bug
The error happens both Android and iOS
The problem seems to occur when I do a delete on the linked table (with foreign key on the main tabel with ON DELETE CASCADE).
First, I create my DB schema by json and ImportFromJson API (below the two table and constraint involved). The import is ok, no errors.
Then, I load data keeping them from Rest serice on the server backend, my app load data into device DB using this plugin executeSet
--- My tables

the main table
{
"name": "tickets",
"pattern": [
{ "column": "id", "value": "INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL" },
{ "column": "syncId", "value": "TEXT UNIQUE" },
{ "column": "num", "value": "TEXT UNIQUE" },
{ "column": "subject", "value": "TEXT NOT NULL" },
{ "column": "last_modified", "value":"INTEGER DEFAULT (strftime('%s', 'now'))" },
{ "column": "sql_deleted", "value": "BOOLEAN DEFAULT 0 CHECK (sql_deleted IN (0, 1))" }
]
}

this is my linked table with foreignkey
{
"name": "ticketsAssets",
"pattern": [
{ "column": "id", "value": "INTEGER PRIMARY KEY NOT NULL" },
{ "column": "ticketId", "value": "TEXT" },
{ "column": "ticketSyncId", "value": "TEXT" },
{ "column": "last_modified", "value": "INTEGER DEFAULT (strftime('%s', 'now'))" },
{ "column": "sql_deleted", "value": "BOOLEAN DEFAULT 0 CHECK (sql_deleted IN (0, 1))" },
{ "foreignkey": "ticketId", "value": "REFERENCES tickets(id) ON DELETE CASCADE" }
]
}

----- The error in Android Studio log
2024-04-16 16:30:36.127 9131-9131 Capacitor/Plugin it.explan.plangei.consumer V To native (Capacitor plugin): callbackId: 85579387, pluginId: CapacitorSQLite, methodName: executeSet
2024-04-16 16:30:36.131 9131-9131 Capacitor it.explan.plangei.consumer V callback: 85579387, pluginId: CapacitorSQLite, methodName: executeSet, methodData: {"database":"consumer_plangei_","set":[ {"statement":"DELETE FROM ticketsAssets WHERE ticketSyncId=?;","values":["9400E607EAF78F4FC1258B01004C8624"]}],"transaction":false}
2024-04-16 16:30:36.132 9131-9287 Capacitor/Plugin it.explan.plangei.consumer W getArray calls without a default value will return null in Capacitor 5 instead of an empty array to match iOS behavior
2024-04-16 16:30:36.136 9131-9287 com.getcap...RetHandler it.explan.plangei.consumer V *** ERROR ExecuteSet: incomplete input: , while compiling: UPDATE tickets SET sql_deleted = 1 WHERE
2024-04-16 16:30:36.136 9131-9287 Capacitor en.explan.plangei.consumer D Sending plugin error: {"save":false,"callbackId":"85579379","pluginId":"CapacitorSQLite"," methodName":"executeSet","success":false,"error":{"message":"ExecuteSet: incomplete input: , while compiling: UPDATE tickets SET sql_deleted = 1 WHERE "}}
--- The xCode log error message
[error] - {"message":"ExecuteSet: getReferences(message: "Indices of FOREIGN KEY and ON DELETE not equal")","errorMessage":"ExecuteSet: getReferences(message: "Indices of FOREIGN KEY and ON DELETE not equal")"}
My test
since I don't have this instruction in my code: UPDATE tickets SET sql_deleted = 1 WHERE
I think this instructions is due to the plugin. I don't Know who launch this UPDATE instructions, and why?
If from the "ticketsAssets" table schema I remove this:
{ "foreignkey": "ticketId", "value": "REFERENCES tickets(id) ON DELETE CASCADE" }
the error does not occurs!
thanks a lot
Monica

@MonicaExplan You are using far to old releases of the plugin. move to the latest release with Capacitor 5


(PAY) Create OpenShift "pay-integration" deployment

Title of ticket: Create OpenShift "pay-integration" deployment
Description
Create an OpenShift environment that the pay team can use during development.
TODO - mark this with "pay"
Dependencies
Are there any dependencies?
DOD

[x] DEV request-management-api deployed
[x] DEV postgres deployed
[x] request-management-api works without camunda etc integration
[x] PROD request-management-api deployed
[x] PROD postgres deployed
[x] DEV angular frontend deployed
[x] DEV angular api deployed

This is done.  I'm moving it straight to closed as there isn't really much to review, but if anyone can think of a review step I'm happy to add it.
(FYI, I've added a review of the backup work as those are new templates.  But as prod is just a copy of test templates which have already been reviewed, there isn't anything new to review)


WIP Splink 1.0 major changes

Should Params be called Model, with current_settings as key?

Should Params be called Model, with current_settings as key?


add info parser

Added small modifications to enable parsing and passing the info block to jinja2 template.
Upstream adds no info, resulting in default FastAPI title on swagger docs page.
Tried running tests, but i'm getting exact same error on my branch as in master......so i guess pass? :wink:

I could not run lint.sh and format.sh as i'm actually coding on my android phone.
Please take the PR as a suggestion to add an info parser if you don't like the edits.. :)
File "/data/data/com.termux/files/usr/lib/python3.9/multiprocessing/synchronize.py", line 30, in <module>                     raise ImportError("This platform lacks a functioning sem_open" + ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.

@akuma5157
Thank you for creating this PR.
looks good!!
I will fix your PR in the master.
Thank you very much :cat:


fix: stop the pod controller cache object

It looks like the cache object is never stopped, so it keeps polling the
control plan in the background even when bootkube stops.
Signed-off-by: Andrey Smirnov<EMAIL_ADDRESS>

This will be really nice to have.


added if_scalar_cast_to_list function to schedule.filter()

Summary
extension fix of #3646
Details and comments
Tested with scalar values of each parameter.

Hello @taalexander , sorry but I don't understand what you mean by tests? Also, I've changed the if_scalar_cast_to_list function as you've suggested.

Hi @NuoWenLei ! Thank you so much for your contribution -- this looks great! Please test the new functionality, and fix the merge conflicts. Then we can get it accepted :D

Hi @NuoWenLei, any update?

I've just resolved the merge conflicts

Hi @NuoWenLei, there are now new conflicts. My apologies for the delay, I missed this in my roundup of open PRs.

It seems we have one more conflict here that is causing tests to fail. An itertools import is now missing.

Sorry, it seems that the version of schedule.py in my local repository did not have some of the imports. I'm a little perplexed about why this happened, but I will fix it now.

Just a couple of small changes and then it is good to go 😄.

What is the best way to resolve the branch conflicts?

What is the best way to resolve the branch conflicts?

A merge is fine. All changes will be squashed before merging into master.

Sorry, the indentation was off.

The line 314 has 9 space before the docstring.

Sorry for such an embarrassing miss. That's quite frustrating.

I'll fix the lint problems.

Sorry for such an embarrassing miss. That's quite frustrating.

That's what tests, CI and reviews are for 😄 . No worries at all.

I'll fix the lint problems. There is a type error while using Interval(start, stop). Could it be that I did not import Interval from .timeslots?

Timeslots we're changed for performance reasons. I think you can have a look at the current filter implementation to update.

Is there a way to access the tests of previous commits? Interval is defined in the file as:
Interval = Tuple[int, int]
So I'd like to check what the problem was during the second to last test.

I'm not certain. You could always checkout that commit locally and run the tests. Or submit a dummy PR against Qiskit to have CI do it.

I just checked it out and the error was a type error:
TypeError: Type Tuple cannot be instantiated; use tuple() instead
I looked up this problem in more specificity.
On Github, there mentioned that the instantiation of generic versions of built-in classes are not allowed, and the generic versions of Tuple could also not be instantiated due to other reasons (something about it not being a regular class). Do you think this is what is happening here?
(File mentioning this is pep-0484.txt)

I just checked it out and the error was a type error:
TypeError: Type Tuple cannot be instantiated; use tuple() instead
I looked up this problem in more specificity.
On Github, there mentioned that the instantiation of generic versions of built-in classes are not allowed, and the generic versions of Tuple could also not be instantiated due to other reasons (something about it not being a regular class). Do you think this is what is happening here?
(File mentioning this is pep-0484.txt)

Where are you seeing this error? I don't see it being raised in CI?

Sorry, that was a problem I had before, but now I think the code functionality is good. The problems left I think are just format problems, I will fix promptly.

The only error left is that there is some kind of IndentationError. Sorry, I don't really understand this error:
/home/vsts/work/1/s/qiskit/pulse/schedule.py:docstring of qiskit.pulse.Schedule:6:Unexpected indentation.

@taalexander what does r""" mean in the code? Could that be the error for the unexpected indentation?

ping @NuoWenLei ? The status of this PR is in "changes requested" for some time. This is also a conflict to be resolved. Are you still working on this?

Sorry, I had not been working on it after I got stuck on the IndentationError. I just committed the resolved conflicts, but I likely will not be working on this after.

The last error now should be the IndentationError again


Define how XVIZ could map onto glTF

Leveraging glTF for binary data only is convenient but there are a lot of other benefits that could be had if we integrate deeper with glTF.
The precise mapping is a bit unclear so we need to investigate and see what makes the most sense and what the critical workflow would be.
Do we have a compatible glTF output that is only glTF and no XVIZ specific data.  Or do we have an XVIZ extension that supports deeper scene integration serving both glTF tools and XVIZ.

dropping glTF in version 1.x


Assigning tickets to experts does not work

When I assign a ticket to an expert the status in the messaging extensions doe snot change.

There was a delay, but assignment works fine, closing issue.


Deploy on Heroku

Hi guys!
Has anyone ever run a deploy on Heroku?
The build works correctly, but when trying to access the API there is some error that breaks the application.

I never tried to deploy on Heroku, but I can try to help if you provide
your logs with the errors.
2017-12-15 1:15 GMT-02:00 Rafael Marcilio<EMAIL_ADDRESS>
Hi guys!
Has anyone ever run a deploy on Heroku?
The build works correctly, but when trying to access the API there is some
error that breaks the application.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thiagobustamante/typescript-rest/issues/37, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKVRtCtFzO4q8V0mlt3C3k1vqyZX_Temks5tAeRJgaJpZM4RC9lI
.

Closing due to inactivity.


Upgrade svnkit to 1.8.14

Fails with
[ERROR] Failed to execute goal on project spring-cloud-config-server: Could not resolve dependencies for project org.springframework.cloud:spring-cloud-config-server:jar:1.3.0.BUILD-SNAPSHOT: Could not find artifact com.trilead:trilead-ssh2:jar:1.0.0-build221 in spring-milestones (https://repo.spring.io/libs-milestone-local) -> [Help 1]


Mouse events: last left click released is not caught

Godot version:  v3.0.6.stable.official.8314054

OS/device including version: Ubuntu 14.04.5 LTS 64 bits and Windows 7

Issue description:

Hi!
I have an issue with the _gui_input() method. I joined a zipped project to show the "bug". It contains this simple code:
func _gui_input(ev):
    if ev is InputEventMouseButton and ev.button_index == BUTTON_LEFT:
        print("Left")
    if ev is InputEventMouseButton and ev.button_index == BUTTON_RIGHT:
        print("right")

When I do: left click pressed, right click pressed, right click released, left click released
I expect to have:
Left
right
right
Left

But the last left clic (released) seems to be ignored.
Steps to reproduce:
To reproduce it, just do the following: left click pressed, right click pressed, right click released, left click released
It will give this result:
Left
right
right

so the last left click (released) is ignored (?)
Also, I tried to do it doing: right click pressed, left click pressed, left click released, right click released
and then it works fine and I have :
right
Left
Left
right

Thanks!
Minimal reproduction project:

mouse_events.zip
Bugsquad edit: Fixed codeblock formatting, s/clic/click/

Couldn't reproduce on 2d6b994e476f00e5725117501f6fc006eadd0d30.
On the other hand, doing left press -> right press -> left release -> right release does not give the right release event:
Left
right
Left

Hello,
Thanks for your interest. This can be a big issue as we're missing many player inputs. Is there any work around?

@3lis4 I think you might be able to work around it by using _input instead of _gui_input and filtering events manually.

@3lis4 Can you still reproduce this on Godot 3.2 beta4?

Linux Mint 18.3. Testing with MRP (with script modified to show click as +L or +R and release as -L or -R).

code
func _gui_input(ev):
	if ev is InputEventMouseButton and ev.button_index == BUTTON_LEFT:
		if ev.is_pressed():
			print("+L")
		else:
			print("-L")
	if ev is InputEventMouseButton and ev.button_index == BUTTON_RIGHT:
		if ev.is_pressed():
			print("+R")
		else:
			print("-R")

3.0.5.stable

Input
Output
?

+L +R -L -R
+L +R -L -R
:heavy_check_mark:

+L +R -R -L
+L +R -R
:x:

+R +L -R -L
+R +L -R
:x:

+R +L -L -R
+R +L -L -R
:heavy_check_mark:

3.1.alpha2

Input
Output
?

+L +R -L -R
+L +R -L
:x:

+L +R -R -L
+L +R -R -L
:heavy_check_mark:

+R +L -R -L
+R +L -R
:x:

+R +L -L -R
+R +L -L -R
:heavy_check_mark:

3.2.2.stable, 3.2.3.beta1

Input
Output
?

+L +R -L -R
+L +R -L -R
:heavy_check_mark:

+L +R -R -L
+L +R -R -L
:heavy_check_mark:

+R +L -R -L
+R +L -R -L
:heavy_check_mark:

+R +L -L -R
+R +L -L -R
:heavy_check_mark:

Appears to be resolved.

Closing as resolved per @tom-jk's comment.


Add PaNET documentation and service overview

Coverage remained the same at 96.639% when pulling 07aaf95a7ec300ad524689138af044552e962291 on doc into 8ad358601bb3aa16c584e2dc4574fc9c5d3f6c3c on main.


Ratings on Hover

ratings should only be visible on hover (as an option).

would like to see the image itself without visual clutter.

toggle option added in 1.5.x


welcome page image of vs code is outdated

the welcome page for live share has an image of vscode, but it is outdated... can tell by the old debug, extension, and scc icons

current icons

and live share icon!

Hey @chrisdias  what version of LS and VS Code are you seeing this on? We've updated our icon for quite a while now, so this is strange.

its the image in the live share readme that has the issue, not live share itself.

We're removing the welcome page entirely, and so I'm going to close this issue, since we don't need to update the images. Thanks!


REopt API callback error about URDB V7 net metering option

Describe the bug
REopt API call fails for net energy metering with $ credits option.
Could not evaluate callback function:call_reopt->on_change
[71]: error in call to 'reopt_size_battery()': ElectricityRates_format_as_URDBv7 error. ur_net_metering_option not available in URDBv7.[12]: eval error in statement list

For description and example file, see https://sam.nrel.gov/forum/forum-general/4427-get-battery-size-with-reopt-under-net-energy-metering-with-credits-error.html#12703
Further testing required. For example, changing to net metering results in:
Could not evaluate callback function:call_reopt->on_change
[71]: error in call to 'reopt_size_battery()': access violation: expected hash table, but found null[12]: eval error in statement list

To Reproduce

Download .sam file from forum discussion (see above).
On Location and Resource page, change weather file to one in library, or download TMY file for Ithaca, NY.
On Battery Cell and System page, click Get size and dispatch.

Expected behavior
REopt API call should handle different metering and billing options without causing a callback error.
Operating System and Version

OS: Linux Mint 21.1
Version 2023.12.1

The first error is correct - the net metering with $ credits is not supported by the URDB:

The error message is written at https://github.com/NREL/ssc/blob/2b168560725379cd23e35538450e5952760610aa/ssc/cmod_utilityrate5_eqns.cpp#L130
Do you have suggestions on how to make the error message more transparent?
I was not able to reproduce the second error. When changing back to net metering the REopt call was successful for me.


Updates to Terraform & Ansible Playbook

As I was trying to use this locally, I found a handful of things that are out of date if you're using the latest Terraform and Ansible versions. Plus, it looks like that AMI is no longer valid?
Not ready for review as I'm still testing working through changes.

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

Closing this for now as some of this stuff has been resolved by other PRs.


Update SitemapContext.php

Rerolling #6, closes #5.
This time I introduced urlIsValid() and urlIsAlive() to keep things DRY.

@leymannx thanks for the PR! I'll soon add some tests.

Ah yes, I forgot the tests! Would be nice you adding them. 🙇

Ah damn, I also forgot the README!

The README and the tests are now ready.
I've changed the step name to this Then /^(\d+) random sitemap URLs? should be alive$/ to make it look more natural. Thank you again for your contribution!

Cool! Thanks Marc!


Cannot include Windows.h

Hi,
I have a issue when try to add aws-cpp-sdk-core/aws-cpp-sdk-s3/aws-cpp-sdk-transfer project to my project (mfc project).
It seem there is a conflict with GetObject function in windows.h.
error LNK2001: unresolved external symbol "public: virtual class Aws::Utils::Outcome<class Aws::S3::Model::GetObjectResult,class Aws::Client::AWSError > __thiscall Aws::S3::S3Client::GetObjectW(class Aws::S3::Model::GetObjectRequest const &)const " (?GetObjectW@S3Client@S3@Aws@@UBE?AV?$Outcome@VGetObjectResult@Model@S3@Aws@@V?$AWSError@W4S3Errors@S3@Aws@@@Client@4@@Utils@3@ABVGetObjectRequest@Model@23@@Z)
Can someone please help?

Unfortunately, you'll have to undef GetObject.
Sent from my iPhone

On Sep 27, 2016, at 7:19 PM, Hoang<EMAIL_ADDRESS>wrote:
Hi,
I have a issue when try to add aws-cpp-sdk-core/aws-cpp-sdk-s3/aws-cpp-sdk-transfer project to my project (mfc project).
It seem there is a conflict with getobject function in windows.h.
error LNK2001: unresolved external symbol "public: virtual class Aws::Utils::Outcome > __thiscall Aws::S3::S3Client::GetObjectW(class Aws::S3::Model::GetObjectRequest const &)const " (?GetObjectW@S3Client@S3@Aws@@UBE?AV?$Outcome@VGetObjectResult@Model@S3@Aws@@V?$AWSError@W4S3Errors@S3@Aws@@@Client@4@@Utils@3@ABVGetObjectRequest@Model@23@@Z)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi Jonathan Henson,
Can you explain your idea.
I'm writing a test upload function (copy and modify code from upload function in aws-cpp-sdk-transfer-tests), so I think I can't undef GetObject in aws project, I also can't remove include"windows.h".
Would you like check my project? I can send to you via e-mail.

Sure
Sent from my iPhone

On Sep 27, 2016, at 8:16 PM, Hoang<EMAIL_ADDRESS>wrote:
Hi Jonathan Henson,
Can you explain your idea.
I'm writing a test upload function (copy and modify code from upload function in aws-cpp-sdk-transfer-tests), so I think I can't undef GetObject in aws project, I also can't remove include"windows.h".
Would you like check my project? I can send to you via e-mail.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


[FP]: Wrongly reporting vulnerability CVE-2016-1405 on clamav-client-1.0.1.jar

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:clamav:clamav::::::::
CVE
CVE-2016-1405
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
10.0.2
Description
Per NVD Affected component: cpe:2.3:a:clamav:clamav::::::::
This https://nvd.nist.gov/vuln/detail/CVE-2016-1405 impacts only on "openid.net" packages as per NVD and cpe provided. But tool is reporting https://nvd.nist.gov/vuln/detail/CVE-2016-1405 on<EMAIL_ADDRESS>jars as well which is wrong.
From Dependency Check tool team, we need confirmation on these false positives. Could you please validate and confirm?

Correction on above description - Impacts on "clamav:clamav" packages, not on open id.

This is basically the same as #7018 - no need to create one FP per CVE as the problem is the product/CPE matching.

FP handled under #7018


add setup node to finalize-release.yaml

Add setup node step to pipeline. Otherwise we run the risk of a vm not using a supported version of node.
This caused an error in another pipeline, so we should use node setup or nodeTool whenever possible to avoid this problem

this is the only place where we need to do this?
this is a gh pipeline, i was expecting to see changes for ado pipelines

this is the only place where we need to do this? this is a gh pipeline, i was expecting to see changes for ado pipelines

most of our ado pipelines already have this for core already. Otherwise I'm pretty sure we would have experienced breakages from Gytis' PR.
I was just aware that this pipeline might not have it since its GH, so i double checked it.

linking https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md as an fyi re what ver of node is being used by the image

@mergifyio backport release/4.10.x release/4.11.x


Uncaught TypeError: Object.values is not a function

Since 0.64.1 I get a lof of these messages in the home-assistant.log:
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function

I don't know if this is a problem. Basically all is working like before, but it's spamming my logfile.
Checklist

[x] I'm running the latest version of CustomUI (Update guide) or using a specific release that is not marked as "Broken".
[x] I tried to force-refresh (Ctrl+Shift+R / Ctrl+F5) the browser
[x] (Optional, but recommended) I'm using Chrome or tried to reproduce the feature on Chrome.

Browser + Version: Chrome v64

CustomUI version: 20180126
Home Assistant release (hass --version): 0.64.1
Problem-relevant Home Assistant log entries:
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function
2018-02-28 21:05:02 ERROR (MainThread) [frontend.js.latest.201802090] https://hostname.duckdns.org/local/custom_ui/state-card-custom-ui.html:1:2727 Uncaught TypeError: Object.values is not a function

Any errors from browser Javascript console:
No errors.

It seems to be solved if I use https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui-dbg.html/ instead of the local html file I get by the updater.

Do you still get this? Object.values has been polyfilled.

Also Chrome 64 has native support for Object.values

The errors went away. I don't know why.


Connection status is stuck on "Negotiating"

Describe the bug
Connection status is stuck on "Negotiating" after scanning the QR code of web-agent created using aries-framework-dotnet demo (using docker-compose up command)
To Reproduce
Steps to reproduce the behavior:

Clone the repository mattrglobal/Osma and hyperledger/aries-framework-dotnet.
run docker-compose up command in aries-framework-dotnet project using bash. visit the uri- http://localhost:7000 or  http://localhost:8000, Go to connections tab and click 'Create invitation'. A QR code will be generated and displayed.
Build and deploy 'Osma' Android Application to an android device.
Open the application and tap on 'Create Wallet'. After the wallet is created, tap on 'connect' button on top right corner of the screen, which will start the QR code scanner.
Scan the QR code from any of the above mentioned uri (step 2). After scanning Agent's name
("Naughty Meitner" in my case) will be displayed on your phone screen with the options to connect. Tap on 'connect'. A loader is displayed on the screen and takes some time.
After the loader is done with the process under the 'Connections' Tab in Osma application Name of the new connected agent is displayed, but the Connection status (under the Name) is still in 'Negotiating' state and it remains like this.

Expected behavior
The connection status should have changed to 'Connected', the mobile (edge-agent) could issue and verify credentials.
Host Details (please complete the following information):

Device: Samsung A30s
OS: Android 9 (Pie) API 28
Hyperledger-Aries-Dotnet v1.1.4
IDE: Visual Studio for Mac

Additional context
While debugging the following exception is Thrown in 'AcceptInviteViewModel' class, post QR code scanning:
ClassName: AcceptInviteViewModel
Method: CreateConnection(context, connectionInviteMessage)
System.Threading.Tasks.TaskCanceledException
{System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.Net.Sockets.SocketException: Connection timed out
  at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x000c8] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs:65
   --- End of inner exception stack trace ---
  at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00180] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs:84
  at System.Threading.Tasks.ValueTask`1[TResult].get_Result () [0x0001b] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/Common/src/CoreLib/System/Threading/Tasks/ValueTask.cs:813
  at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ea] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:371
  at System.Threading.Tasks.ValueTask`1[TResult].get_Result () [0x0001b] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/Common/src/CoreLib/System/Threading/Tasks/ValueTask.cs:813
  at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0x000a2] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:529
  at System.Threading.Tasks.ValueTask`1[TResult].get_Result () [0x0001b] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/Common/src/CoreLib/System/Threading/Tasks/ValueTask.cs:813
  at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x0003f] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:284
  at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00070] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs:32
  at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000a0] in <a1e13f54f7de43399f5ed249a523faff>:0
  at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000be] in <a1e13f54f7de43399f5ed249a523faff>:0
  at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x0017e] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corefx/src/System.Net.Http/src/System/Net/Http/HttpClient.cs:506
  at Hyperledger.Aries.Agents.HttpMessageDispatcher.DispatchAsync (System.Uri endpointUri, Hyperledger.Aries.Agents.PackedMessageContext message) [0x0008c] in D:\a\1\s\src\Hyperledger.Aries\Agents\Transport\HttpMessageDispatcher.cs:41
  at Hyperledger.Aries.Agents.DefaultMessageService.SendReceiveAsync (Hyperledger.Indy.WalletApi.Wallet
…

By the looks of the exception System.Net.Sockets.SocketException it seems that the mobile can't access the IP/port of the WebAgent. Are they on the same WiFi? Are you using an Ngrok address? If this is iOS, are you using https instead http?

Hi, @tmarkovski  thanks for your inputs. The issue is now resolved, problem persisted in the Ngrok public address (which was not being created) and I am using an Android device.


Script to deploy Headway

Tested on Debian 11. It should also work on Ubuntu and other Debian-based distros.

After the install finishes, it is possible to check the status, stop, start and restart the Headway service:
sudo service headway status
sudo service headway stop
sudo service headway start
sudo service headway restart
But doing a reload will download and build the latest Headway, get fresh data and reprocess everything:
sudo service headway reload

I don't have a VM ready to go for testing, and if I'm going to merge this without personally testing testing I want to make sure we set expectations well.
Could you add documentation about this in BUILD.md and mention that the script was contributed by you? I want to a) attribute your work, and b) make sure people know that this isn't necessarily something that has been widely used quite yet.

Done ✔

Here, and in #171, last nit-pick I promise but could you move this script and DEBIAN_BUILD.md into a top-level contrib/ directory? I anticipate more things like this potentially happening in the future and want to keep contributed scripts and utilities separate.
https://drewdevault.com/2020/06/06/Add-a-contrib-directory.html

Done ✔


[Snyk] Upgrade datatables.net-bs from 1.10.19 to 1.13.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade datatables.net-bs from 1.10.19 to 1.13.2.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 17 versions ahead of your current version.
The recommended version was released a month ago, on 2023-02-03.

Release notes

Package name: datatables.net-bs

1.13.2 - 2023-02-03Release 1.13.2

1.13.1 - 2022-11-08Release 1.13.1

1.13.0 - 2022-11-07Release 1.13.0

1.12.1 - 2022-05-19Release 1.12.1

1.12.0 - 2022-05-12Release 1.12.0

1.11.5 - 2022-02-28Release 1.11.5

1.11.4 - 2022-01-21Release 1.11.4

1.11.3 - 2021-09-24DataTables Bootstrap 1.11.3

1.11.2 - 2021-09-08

1.11.1 - 2021-09-04

1.11.0 - 2021-09-03

1.10.25 - 2021-06-04

1.10.24 - 2021-03-09

1.10.23 - 2020-12-18

1.10.22 - 2020-09-18

1.10.21 - 2020-05-11

1.10.20 - 2019-10-01

1.10.19 - 2018-06-22

    from datatables.net-bs GitHub release notes

Commit messages

Package name: datatables.net-bs

e45c625 Sync tag release - 1.13.2
c72dd60 0ad95a4ea48669fc461afb5439c10282f525dfa3 Release 1.13.2
37f7a0b 9174a744cf8ff9b591388c85a0070bd2a3bf215b Split ConfigColumnDefs into {target} and {targets}
5428a9c ea71dc1fc660335e0aa22ac6290517718f16370c New: Use of CSS variables (with fallback for old browsers) to be able to easily change the selected row colour
5a0d7b4 5f4e76598905e70ce066eefc37ae536c172372ad Dev - example: Tidy up example for custom filtering
497b3f7 df43c8274eb62048ac713715f118f29356b96db9 New: If a table is not yet attached to the document, then we trigger the event on the table as before, but now also on the body of the document.  This is to simulate the bubbling that is normally performed by events, so we can listen for events such as `-event xhr` without needing to worry if the table is in the document or not.
8cefc6a 8138a66fde193a8cc27339093ee46e167592ba82 New: Experimental support for BigInt
10faa68 93a604c3276e8a2a8cdb26e6bacdfdf37dc37f02 Fix: Accessability improvements with additional ARIA attributes for paging control
516d06a 5a8a613c703eb99333358257c46406aaf1076076 Fix: Improvements to accessability for Bootstrap 5 paging control
b614bdf 1dd7326f25cfea59cdef8baf59ff194d71713bf3 New: `-init pagingTag` option to control the tag type that will be used by the paging control
54b306f 4f4b97da4f927bf976d26a8d6be18032f98c0af0 Dev - PHP 8.2 fix
f8bf062 7b8a960d613c8377765f835ae2441e30f21c2491 Fix: Remove template string syntax - replace with older ES5 style
c4897de 73a0747acd4250a31471b0b7f4f1309c6b869ed1 Fix: Use ES5 `var` rather than `let`
c6ee513 0bb0ae7b068b3bce2303c256176e8cd215a01b86 Update: Add a little more information about possible use of UTF8 charset
58ab30e fe28d4b2186ea62d7fece6c3c8334d3a3ab15bd0 Build: Fix for JQUI import
c5d3403 dbcf7dded778f1d85e0dfc82d49e66b83cffa9fb Build: Fix error in CommonJS loader for styling extensions. Wasn't correctly loading the extension base for the styling files.
c5701c3 Sync tag release - 1.13.1
fafee93 c7af0770ea78d18de927a72be1e56ac4c7d48aa8 Release 1.13.1
e0f7bbb a3d7d80a3e791108e3f93a7fd21fa872a98db2c9 Fix: Bootstrap 5 integration was throwing a JS error
842f40b a6eba787495929d43f602f458bb662bd6a099290 Build: Correct error when double importing a package and empty first line
f487d7d Sync tag release - 1.13.0
39ecd99 359ef6bfd56a49eba0b4ad0067548bbacd8377c1
488e596 Missing files in DataTables-DataTables
99921e0 67bf176b28501c75a5b6c4b4fa5f7fece3efffcc Fix: DataTables compact style had too much padding on header cells

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closing this PR as it was only intended as a Snyk integration functionality test in hopes of automating general security maintenance for repositories


2D scatter plot appears froze when running the code

Hi,
I tried to run the python file on my PC using readData_AWR1642.py but the 2D scatter plot will freeze every time. I attach the sceenshot of the 2D scatter plot. I am using config file for SDK 3.4 version based on the firmware from SDK 3.4.

Hi,
this repository is for the mmWave SDK 2 (when I created the repository the AWR1642 used the SDK 2 by default, lately it has changed with the ES2.0). So, in your case you should use this repository instead:
https://github.com/ibaiGorordo/AWR1843-Read-Data-Python-MMWAVE-SDK-3-

Hi Ibai, Thanks for the reply. I have done as what you suggested and it is still the same. I then flash the board with SDK2.1 and save the config file and use it. Then I use the previous repository but the same thing happened.
What I notice that I cannot even run the mmwave vizualizer demo. After I click sen config file to mmwave device, nothing happened.
What do you think the problem might come from?
Thank you for your help.

Hi,
I am not sure what might be the problem, my first guess is that the configuration does not match with the firmware version, but if you tried with different versions, then probably is another problem. Maybe try to check that the jumpers are correctly selected.
However, if the demo visualizer does not work correctly, then this demo is not going to work. Maybe you should ask in Texas Instruments' forum about it. Once you have it working on the demo visualizer, it should also work with this program.
Sorry,
Ibai

Hi,
were you able to fix the problem?

Hi,
In that case, I think the best option would be to ask about it in the Texas Instruments' forum.
But just to make sure,

What SDK have you flashed into the board?
Maybe try to flash the board with another SDK version.
Make sure that the SOP jumpers are correctly selected in functional mode.
Try to revert the selected COM ports (COM4 for data and COM3 for cfg)

Hi,
I have been doing all the suggestions above but still it does not work. I will raise this issue in TI forum.
Hopefully once this issue is sorted out, I can use your code since I want to use the radar with Rasberry PI.
Thanks again for your advice.


Added argument to param.Version to support dev versions

Added dev argument that allows dev versions to be handled like regular release versions. I'm happy to add more unit tests to make sure everyone is satisfied with this addition.

Coverage decreased (-0.4%) to 74.495% when pulling 1404048a53c758e40d6ef4cc9135c60d7db55ffc on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

Coverage decreased (-0.4%) to 74.495% when pulling 1404048a53c758e40d6ef4cc9135c60d7db55ffc on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

I'll definitely add enough unit tests to make sure test coverage increases instead of decreasing.

Looks fine by me apart from comment above.

I am also ok with this.
Thanks a lot for doing it. Despite the jokes, I appreciate it. (I will try to come up with new versions of the jokes.)
Seems unfortunate that it's necessary to support both with and without the dot

to match PEP 440 (dot MUST be there) and its implementation in packaging ("normalized" form has dot, but the dot is optional)
to match what's out there (see below)

Examples off the top of my head...
No dot:

holoviews
bokeh
datashader

Dot:

packaging
pandas
numba

@philippjfr @ceball @jbednar
I added a pep440 flag we can use to stick to the devX format instead of the PEP440 .devX format. If you agree with this approach, I'll add more unit tests and update the docstrings to explain this option.

Coverage decreased (-0.1%) to 74.763% when pulling fb282481c9762647e50ddb1ac6da4bb95fd79be4 on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

Coverage decreased (-0.2%) to 74.732% when pulling 62012e1c2dda2c185bb0fc0fac44cee6737672d2 on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

Coverage increased (+0.5%) to 75.362% when pulling 4eb324ab32ebdf76fc2d71f660a25ae267934988 on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

I think I'll go with a suggestion from @jbednar - support tags with and without the dot and return the version string with the dot. Then you have the flexibility for tagging while using the PEP440 compliant version strings.

Coverage increased (+0.5%) to 75.378% when pulling 42be0592b365e96c0b6e361eafd9ed6afd447576 on dev_versions into d79eab1e273a6b9200994a3f2a918a9beb27b9cd on master.

Looks ok to me, thanks :)


BCHN on Raspberry Pi tutorial by Josh Wong

Imported with permission from:
https://github.com/josh-wong/bitcoin-cash-node-on-raspberry-pi

I plan to add the Github link to the original article at the top of the Newsroom version to make it easier to find the original source.


Add new line

I'd have liked a bit more info about the line you added but I appreciate that the title is descriptive enough.


Logger Problem

I don't know how exactly this error occurs, but in my case i get the following error:
No handlers could be found for logger "after_response.signals"

More disturbing however is the fact that the database update I placed within the decorated function doesn't happen either.
I understand the function isn't getting executed but I have no idea why.
Any idea why this is happening?
I'm running django version 1.11.13 on Python 2.7.

The following code will print out any error messages. In my case I attached @after_response.enable to an object method so had to repass the object (for self) in ie  obj.method.after_response(obj, 'First arg')
import after_response
import logging
logging.getLogger('after_response.signals').addHandler(logging.StreamHandler());


Add version 17

Depends on https://github.com/OCA/oca-ci/pull/54

Is ruff finally going to be adopted?
About the pyproject.toml file, I'm worried about the contamination it provokes on the same module molder.

Is ruff finally going to be adopted?

I've not got much feedback. I use it on a few projects and it works really well. I propose to enable it, and we can still revert if it proves problematic.

About the pyproject.toml file, I'm worried about the contamination it provokes on the same module folder.

This is indeed a new file in each addon. In exchange we remove all setup/*/setup.py and related symbolic links.
These are very small files that will be ignored by Odoo.
And they open the possibility to declare more advanced dependencies, such as saying an addon requires version 'account_payment_order>=<IP_ADDRESS>.0' or something similar. We had that capability in setup.py before but it was not used because not known, but also harder to discover with those setup.py files hidden away in another folder than the addon.
With pyproject.toml in the addon directory, we have everything related to an addon in the same place. It is much cleaner in the end.

Let's enable ruff then.
About pyproject.toml, all the files are equal unless you need a special setup. Please don't add these files and create them "on the fly" for the build you do in whool or where it takes place, and only force to create it when something special is needed. That's the cleanest way and the way to avoid that other setups get contaminated with non needed files.

@etobella the test for 17 is red, likely because we should check for the presence of .ruff.toml instead of .flake8.

That doesn't mean that I like that (and the same for all the non-PIP people), but at least, they were in other place, not on the same module folder. As said, all of them being the default values and a very simple file, wherever they are needed, they can be created on the fly by the tooling. Don't you think it's not too much to ask?
It's also an insurance that if the format changes by whatever reason, you don't have to recreate all of them in other manner and provoke a lot of diff and noise.

As said, all of them being the default values and a very simple file, wherever they are needed, they can be created on the fly by the tooling

That is technically not possible for the CI.

Well, you know that everything is possible with some effort. I don't like that a deployment preference conditions the OCA structure.

This is not a deployment preference. All the dependency management of our CI is based on this.
And talking about effort, I maintain most of this stuff for free, and I can tell you that this approach requires much less effort to keep the system robust than what we had before. There is no way we are going to step back. This pyproject.toml is just a modernization of a system that has been working well for many years now. And after a few weeks you will not even notice these files anymore :)

Well, what do you want me to say? Of course I'm very thankful by all your work in the OCA tooling, but at the end, it's very conditioned by your deployment preference with PIP. Let's continue, as like you said, this can't be stepped back, and we are far better than where we were some years ago.

Is it possible to make PR green even if the pytoml file is absent ?
I mean, that's annoying to force contributors to run locally precommit to generate files that are useless for him.
I think we should ignore the file pyproject.toml in the diff check here,
https://github.com/dixmit/oca-addons-repo-template/blob/master2/src/.github/workflows/pre-commit.yml.jinja#L54
(same as readme.rst file that is ignored, because it will be autogenerated, once the PR is merged)

Is it possible to make PR green even if the pytoml file is absent ?

The PR yes, but then that PR would not be usable in test-requirements.txt of other PRs. That is why generating these files is in pre-commit.
What we should reinvestigate is if it is possible for pre-commit to auto-fix PRs. That would be useful for that but also any linter that can autofix. I know https://pre-commit.ci can do it so it might be applicable for us too. Not sure if it is possible with regards to permissions.

The PR yes, but then that PR would not be usable in test-requirements.txt of other PRs. That is why generating these files is in pre-commit.

that's OK for me. I just wish the PR wasn't red, for whatever "pointless reason", so people don't get discouraged.

that's OK for me. I just wish the PR wasn't red, for whatever "pointless reason", so people don't get discouraged.

Yes I totally understand that point. Even reformatting by black can be considered pointless and be a hurdle for new contributors. I'll try to reinvestigate the pre-commit autofix approach.


fix: order on task grid

Closes #91.

[x] I have reviewed my code in "Files changed" tab.
[x] I have re-read the issue and this PR fully resolves it.

@Lyams, I've gone through some grids and clicked the order buttons and noticed that
candidate (john doe) -> tasks tab -> assignee column sorting is also broken and the problem is still there on your branch. Do you think it will be reasonable to fix it in this issue, or do we need to create another one?


The Black Lotus Talents table has 3 mistaken/mis-placed entries

The Black Lotus Talents table in the Compendium has the following mistaken/mis-placed entries (as compared to the Shadowdark source):

Result-1, "Gain two Black Lotus talents", is mistakenly included in the table but should not be -- this talent instead belongs only on the Ras Godai Talents table (which it correctly does)
Result-6, "Triple Damage Assassin", is mistakenly-located as Result-6 but should instead be Result-1
Missing Result from the source, "Advantage on DEX to sneak/hide" (Result-6 in the source), is missing entirely from the table

Thanks for pointing this out! We'll get it fixed for next patch.

I think you are using an outdated version of the cursed scroll zine. The talent table in Foundry is correct according to the latest version of cursed scroll #2 zine (v2-2).

I think you are using an outdated version of the cursed scroll zine. The talent table in Foundry is correct according to the latest version (v2-2) of cursed scroll 2 zine.

Ah! Thank you, looks like I missed that wave of updates. Apologies for the red herring.


Add a graph similar to Nyx

As a first good new milestone for this project, I was wondering if a graph like the one Nyx uses could be implemented. Something that goes beyond just listing total upload/download, maybe it could directly link to the proxy itself to see how much bytes of information are going in and out in a given timeframe, like Nyx does.

not sure how would you do that with posix shell, only way I'm thinking of would be getting into ncurses which basically means re-doing the whole thing but I'm open to ideas

Personally, I believe heading down the ncurses road may be something that may have to happen with this project sooner or later, as it would make it more advanced of a monitor. I'm not quite sure how to do it with posix either, you could perhaps figure something out, but I personally am more of an onlooker at this project and have started using it on my snowflake proxy. Very excited to see where this project may head, and I may still suggest moving to ncurses may be a great thing for the project going forward. If not, you can likely somehow figure something out with posix, either way, I'm very interested in seeing the project move forward.


Revamped support for CUDA C++ compilation.

This adds slightly more robust support for compiling CUDA (*.cu) files using the CUDA compiler (nvcc) if it's available.
What this does:

Add a method cuda to Build, similar to cpp.
If CUDA compilation is enabled, replace the path of the inferred toolchain with the path to nvcc: this is either "nvcc", or it looks for the environment variable $NVCC.
Add the path of the inferred toolchain via a flag: "-ccbin=<original_compiler_path>".
Before some flags, add an extra "-Xcompiler" flag to signal to nvcc to pass them to the underlying C/C++ compiler.

Thanks! This is looking like it's getting complicated enough, though, that perhaps there could be some tests for the cuda compilation?

I was also thinking, I wonder if we should automatically detect cuda files to not require the explicit cuda option?

It's a good idea! More generally, if you have a library of mixed C, C++, CUDA C++, etc. files, it could also make sense to compile them with their respective compilers?

Apologies for the delay -- this preserves the .cuda(true) behavior, and also adds a Tool::push_cc_arg method to automatically add the nvcc-required -Xcompiler before certain flags.
One additional change I made was adding an Object struct to wrap pairs of (source file path, destination object path).

Thanks! (and sorry for the delay myself!)
Could the new apis added here be private instead of pub? (to keep the API surface area of this crate smaller). Also could the push_cc_arg function perhaps avoid taking a cuda argument and instead take the cuda boolean on construction and that way push_cc_arg just takes the parameter to push?

New methods are now private. Tool has a cuda field, as well as a new constructor Tool::with_features which takes a cuda argument.

Thanks!


[Task] Explore the use of filters

Currently there are no designs for this workflow so somebody needs to put some careful thought into how we can add a filter to a impact vector or result of vectors. We may want this functionality on the vector level as well as the list of vectors level.
For instance, I may want to filter out all RPGF round 1 recipients from a specific vector but apply a different filter to every vector. Filtering will need to support date ranges, booleans (meets a case, or does not meet a case) and numerical values.
This task is just for the exploration of what a design could look like so that we can have further discussion. Not actually implementing anything at this point.
Examples of filters:
Dates: before/after or date range
"Projects last received funding prior to this date"
"Projects started between these dates get 2x funding"
True/false statements
"Only include projects that are onchain"
"Projects whose category is 'End User Experience and Adoption'"
Numbers: greater than or less than
"Contracts deployed > 10"
"Total funding received < 5000"
Filter effects will be include, exclude, or multiplier
e.g.
"Include only projects that have no prior funding"
"Exclude projects that have VC funding"
"Multiply allocation by 1.25x for projects with a Twitter profile"
Also think about combining filters:
"Projects that have VC funding AND that have teams > 5 people"
"Projects that are onchain AND that have a Twitter account AND that were started since January 1st 2023"

MrDee has been working on the design for this. We will need to also take into account the multiplier idea in this context.

Added some examples of filters in the description.


.badge within .btn-primary within .panel-default>.panel-heading using wrong style

I have a button inside a panel heading, and the button has a badge on it. The badge is being styled based on being inside the panel heading rather than based on being inside the button, i.e. this rule:
.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}

is taking precedence over this rule:
.btn-primary .badge{color:#337ab7;background-color:#fff}

This is causing my badge to look like this:

Code example here.
Of course, I can add the correct colour styling manually to the span to solve my immediate problem, but I would suggest that the styles for badges within button types are moved to later in the CSS file than the styles for badges within panel headers.

Hi @colincameron!
You appear to have posted a live example (http://jsbin.com/pubuvixuko/1/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 25, column 11: W007: Found one or more <button>s missing a type attribute.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Code sample updated in JS Bin to include button type.

This is related to discussions in issue #13686 and PR #13687.

We can't really scope these styles any better. If we scope them with a > selector to make things more specific and prevent this inheritance, we screw up folks' implementations where they have even a single wrapping element around those badges.
Not sure we can address this in v3, so punting for now. Holler if anyone has any ideas though, save for overriding things one more time just for buttons.


Download progress

while installing a package download button doesn't shows any progress .

While installing packages no theme shows a progress bar. One Dark adds an animated background to the button. Material UI shows a spinning icon instead.


feat: forest-day colorscheme?

Description
Would it be possible to create a light variant that could be called forest-day?
Possible solution
Easy mode would be to swap the background and foreground, but the colors in between would likely need to be slightly darker

Cool idea! I'd leave this one up to @sainnhe to comment on what it would look like or if he had anything planned.
I'm interested of what it would look like just switching those two out -- if it would be still readable.

Oh woops, just found #17 . I'll go ahead and close this, but feel free to reopen if this is a possibility

I just designed a light variant based on solarized, you can update this color scheme and get it a try.

It's gorgeous! Thank you!

@Barbarossa93 See /autoload/forest_night.vim .


Tests would timeout under ReScript v11.0.0-rc.4 with uncurried: false

Just change Rescript to v11.0.0-rc.4 and add uncurried: false to bsconfig.json, npm test  will fail with timeout.
It seems like Rescript v11 adds a param to the callback of test function which causes the timeout.
with uncurried: false in bsconfig.json
function test$1(name, callback) {
  test(name, (function (param) {
          affirm(Curry._1(callback, undefined));
        }));
}

without uncurried: fase in bsconfig.json (ie: default uncurried mode)
function test$1(name, callback) {
  test(name, (function () {
          affirm(callback(undefined));
        }));
}

Here is the repo to demonstrate:
https://github.com/dsiu/rescript-jest/tree/rescript-v11-curried-mode

Not sure if this can-should be solved here.
Any suggestions @zth, @cristianoc?

When I change this line
https://github.com/glennsl/rescript-jest/blob/817581ea92b98d510bb2cc6d2529d8b0c76d6c56/src/jest.res#L138
from
@val external _test: (string, @uncurry (unit => Js.undefined<unit>)) => unit = "test"

to
@val external _test: (string, (. unit) => Js.undefined<unit>) => unit = "test"

and adapt the callsites to using (. ()) as well, it works!

I made the changes @fhammerschmidt suggested in my fork https://github.com/dsiu/rescript-jest/commit/87cbdb14e104b69b5a926afc2bbc9202debbc5a8, and all tests passed in uncurried: false with Rescript-v11.0.0-rc.6! 🎉

Does it also work seamlessly with v10?

I just hit this, and yes rescript-jest with those changes does still work if I downgrade my project to v10 (and then re-apply the changes).
That suggests @uncurry externals don't behave properly in v11 with uncurried: false - perhaps a lurking bug. Certainly I'm not sure whether it's safe to remove them all in rescript-jest.

It's a breaking change in 10 in that it requires functions to be applied with .. But let's give it a go anyway. All tests pass in 11. Users on 10 can keep using 0.10.

Should be fixed in 0.11. Let me know if there are any issues.


poc

Current dependencies on/for this PR:

main

PR #592   👈

This comment was auto-generated by Graphite.


feat: delete w3c credential record

This PR adds a method to the W3cCredentialService to remove a credential record from storage. I also renamed a few properties and methods because their previous names were somewhat misleading.

feat: add method to remove w3c credential
refactor: rename methods and props for consistancy

Codecov Report

Merging #886 (1b5fa5d) into 0.3.0-pre (8916653) will increase coverage by 0.01%.
The diff coverage is 57.14%.

@@              Coverage Diff              @@
##           0.3.0-pre     #886      +/-   ##
=============================================
+ Coverage      86.18%   86.20%   +0.01%
=============================================
  Files            498      498
  Lines          12203    12205       +2
  Branches        1967     1967
=============================================
+ Hits           10517    10521       +4
+ Misses          1686     1684       -2

Impacted Files
Coverage Δ

...ckages/core/src/modules/vc/W3cCredentialService.ts
78.83% <57.14%> (+1.79%)
:arrow_up:

Continue to review full report at Codecov.

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

Because the CI is still testing against Node v14 the tests are failing. Since the 0.3.0-pre branch itself already contains the Node v14 incompatible code I guess it's OK to merge this one, but I'd like to double check. @TimoGlastra, thoughts?

You mean Node 12?
This has already been removed in main, so if we rebase 0.3.0 with main we can see if CI now fully passess

Merging as only failing test is the bbs test


receivers: verify an updated DefaultDepository belongs to the user

Codecov Report

Merging #338 into master will decrease coverage by 4.31%.
The diff coverage is 42.85%.

@@            Coverage Diff            @@
##           master    #338      +/-   ##
=========================================
- Coverage   63.51%   59.2%   -4.32%
=========================================
  Files          57      57
  Lines        5822    5827       +5
=========================================
- Hits         3698    3450     -248
- Misses       1433    1724     +291
+ Partials      691     653      -38

Impacted Files
Coverage Δ

internal/receivers.go
57.09% <42.85%> (-0.64%)
:arrow_down:

internal/accounts.go
10.25% <0%> (-67.95%)
:arrow_down:

internal/customers/client.go
13.91% <0%> (-63.48%)
:arrow_down:

internal/database/mysql.go
10.66% <0%> (-50.67%)
:arrow_down:

internal/filetransfer/sftp.go
32.8% <0%> (-39.69%)
:arrow_down:

internal/secrets/secrets.go
75.94% <0%> (-2.54%)
:arrow_down:

internal/micro_deposits.go
65.35% <0%> (-1.31%)
:arrow_down:

internal/filetransfer/config.go
70.98% <0%> (-0.42%)
:arrow_down:

Continue to review full report at Codecov.

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


chore: bump storybook to v8.4

Bumpity bump ahead of evaluating storybook features

:tada: This PR is included in version 1.14.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add a chapter to the Chinese Laravel doc

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Everything LGTM! Thank you.


feat(sticky-header): allow mixed prefixes with warning

Related Ticket(s)
ADCMS-5224
Description
The StickyHeader utility validates all components it tracks, prior to this PR is expects the provided element's tagName to match ${ddsPrefix}-component-name. This works when all components are using the same prefix, but as we work on upgrading from v1 to v2 we'll need to mix-and-match prefixes. This PR will allow the StickyHeader to continue working despite the prefix differences
Changelog
Changed

allows StickyHeader to validate (with a warning) components that have unexpected prefixes.

Generating CDN previews.


Update all the android things

Updates Androidx:credentials to latest stable 1.2.2
Fixes exception.details - was being set to the wrong parameter and eventually overwritten
Adds new exception type with code 205 to handle the 'cooldown' case documented here

You can hit this case by dismissing the 'sign-in' prompt 4 times in the same app in the same day.
During this locked-out time the API immediately returns 202 no credentials found for all get password requests which is misleading.

Updates Gradle plugin to the latest that's completely supported by Flutter (7.4.2)
Updates kotlin to 1.9.22
Updates Java SDK to 17
Updates other dependencies to latest versions
Updates to support Flutter 3.22

Updates min Android SDK from 19 to 21 to support latest Flutter 3.22 breaking changes
Updates for Flutter's Deprecated imperative apply of Flutter's Gradle plugins
NOTE: Multidex apps that depend on this package may need a minSdkVersion of at least 24

Thanks for the contribution,Will look into this.


PT-5130 Make ochttp IsPublicEndpoint Configurable

What does this PR do?
Allows IsPublicEndpoint boolean used in opencensus' ochttp plugin to be configured, in the case where Janus is not the entry point and incoming trace metadata is valuable.
Links and references

https://github.com/census-instrumentation/opencensus-go/blob/59d1ce35d30f3c25ba762169da2a37eab6ffa041/plugin/ochttp/server.go#L63-L67

+1


bootstrapping SDK on linux distro without libgcc/libstdc++

I'm currently attempting to build dotnet 6.0 on a distro that uses an LLVM toolchain instead of a GCC one, and therefore doesn't have libstdc++ and uses libc++ instead
following the build instructions, this ends up failing because it downloads a prebuilt SDK which links to this instead of libc++
~/dev/dotnet-6/installer $ ./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=/home/dev/dotnet-6/sources
Downloading 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh'
Attempting to install dotnet from public_location.
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.

dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.106/dotnet-sdk-6.0.106-linux-musl-x64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.106/dotnet-sdk-6.0.106-linux-musl-x64.tar.gz
dotnet-install: Installed version is 6.0.106
dotnet-install: Adding to current process PATH: `/home/dev/dotnet-6/installer/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
Error loading shared library libstdc++.so.6: No such file or directory (needed by /home/dev/dotnet-6/installer//.dotnet/dotnet)
,,,
,,,
,,,
Build failed with exit code 127. Check errors above.

what is the process to build in such an environment? FWIW I was able to hack up the old buildbootstrapcli.sh and use the old bootstrap to new os instructions to get a (semi) working dotnet 3.1 SDK built, but I don't see a way to do the same for 6.0 and up, I also attempted to update that old bootscrap script to use the installer repo and updated the paths / commit detection, but it still prompts prompts for an SDK download.
is there a way forward for this or is this a bug with the current new build process?

There's some discussion at https://github.com/dotnet/source-build/issues/2930 about bringing back the buildbootstrapcli.sh script in some form.
The current approach to this issue would to set up a cross compile environment. Then you can build in an environment that has the GCC toolchain and target an environment that has the llvm toolchain.

[Triage] Closing as a duplicate of https://github.com/dotnet/source-build/issues/2930.  Feel free to continue the conversation there.


Question about handling pretrained embeddings variables

Hi,
I am using SHAP to explain the output of an autoencoder model built with Keras.
As input I have many numerical and categorical variables.
I am one-hot encoding variables with low cardinality, and substituting high cardinality variables with  embeddings learned on another task. E.g. instead of one-hot encoding or label encoding a variable with 8000 categories, I replace it with other 100 learned embedding features, as in this example:

original: [numerical_1, categorical_1, ...]
replaced with pretrained embeddings: [numerical_1, categorical_1_dim1, categorical_1_dim2, ..., categorical_1_dim100]

Following #397, in case of one-hot encoded variable:

to explain a single category, we have already a SHAP value for the [category_0, category_1, category_2 ……]
to explain the original variable BEFORE one-hot encoding, we can take the SUM over all one-hot encoded variables (SUM over [category_0, category_1, category_2 ……])

In case of pretrained embeddings [categorical_1_dim1, categorical_1_dim2, ..., categorical_1_dim100]..

to explain the original variable BEFORE embeddings, we can similarly take the SUM over all dimensions (SUM over [categorical_1_dim1, categorical_1_dim2, ..., categorical_1_dim100])

Is there any way that SHAP can explain the original category for the embedded feature? Back to the example, SHAP to provide a value to one or more of the original 8000 categories that were replaced with the pretrained embeddings.
Thanks a lot for your suggestions!

I have some ideas on this but need a bit more time to formulate/share them, will post back here later...

I have similar interests into this discussion. Basically, I use some raw features (e.g. age, gender, num_purchases etc) and I generate user embedding out of it. How can we formulate SHAP to assign values to each the raw features for a given user vector? Thank you.

Hi,
I have started to work again on the problem. I changed architecture, from the one below (where 106 features are the results of 100 embeddings dim + 6 numerical features):

to add an embedding layer that will map first the categorical features into their corresponding embeddings, and then the other numerical features are concatenated:

In this manner, the input for SHAP is only 6 features (without embeddings values), and the categorical features could then be treated by SHAP as in the "Census income classification with scikit-learn" example
@slundberg is this what you had in mind?
Many thanks!


CSP Reporting endpoint JSON content is Base64 encoded, but not mentioned or documented

The reporting option on CSP doesn't mention that the CSP content JSON that is posted to an endpoint is base64 encoded. To be added as clarification?
Also, we've used a Logic App URL HTTP end-point, but the URL length of the field is limited to 100 chars while our Logic App URL is +225 chars. Fortunately, we are using Azure API management as well, so we set it behind a shorter URL, but not all implementations will have this.

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

ID: 31dbf39f-257e-cbd1-b100-c63428608b1e
Version Independent ID: 31dbf39f-257e-cbd1-b100-c63428608b1e
Content: Content security policy - Power Platform
Content Source: power-platform/admin/content-security-policy.md
Service: power-platform
Sub-service: admin
GitHub Login: @JesseParsons
Microsoft Alias: jeparson

@philipverlinden thanks for reporting!
For the first issue, I set up a simple local Express server to reproduce.  Essentially, I just used the Hello World example (https://expressjs.com/en/starter/hello-world.html) with a couple modifications per below.
app.use(express.json({ type: ['application/json', 'application/csp-report', 'application/reports+json'] }));

app.post('/report', (req, res) => {
  console.log(req.body);
})

I then set the report-uri to http://localhost:3000/report.  The report seemed to print fine without any base64 decoding necessary.  I'm not sure if this is due to Express doing that work for us, but could you provide your handling code as well?

For the second issue, we've increased the length of this field to 4000 characters which is rolling out in the 2212.3 release.

For the second issue: thank you :)
For the first, I suspect that has to do with your Express Server.
We've used a shorteden Azure APIM link in front of the Logic App, when we look at the Run history it, it's in base64.

And the definition of our Logic App:
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Initialize_variable": {
"inputs": {
"variables": [
{
"name": "cspreport",
"type": "string",
"value": "@{base64ToString(triggerBody()?['$content'])}"
}
]
},
"runAfter": {},
"trackedProperties": {
"csp-report": "@{base64ToString(triggerBody()?['$content'])}",
"csp-source": "dev"
},
"type": "InitializeVariable"
},
"Response": {
"inputs": {
"statusCode": 200
},
"kind": "http",
"runAfter": {
"Initialize_variable": [
"Succeeded"
]
},
"type": "Response"
}
},
"contentVersion": "<IP_ADDRESS>",
"outputs": {},
"triggers": {
"manual": {
"inputs": {},
"kind": "Http",
"type": "Request"
}
}
},
"kind": "Stateful"
}

We believe this to be specific to how Logic Apps is accepting the request.  We looked at the request in Fiddler and also wrote a .NET handler which did not require any special decoding.  Please feel free to reopen if we have more evidence of being a non Logic Apps specific problem.