meta: setup continuous benchmarking

Get a new bare metal server
Run benchmarks nightly
Upload data somewhere
Ensure concurrency of 1 somehow (?) = Never run multiple things at the same time on the benchmarking server.
Dashboards, pretty charts
Alerts

@ankush you may want to check out Bencher: https://github.com/bencherdev/bencher
Bencher supports 2, 3, 5, & 6 out of the box, for free for public projects. Points 1 & 4 are also available. I'm the maintainer of Bencher, so I would be more than happy to help answer any questions.


WebCard URL Endpoint

ITS-Pro time category: https://its-pro.ucsd.edu/browse/MA-66
This is complete when:

[x] The WebCard defined in the default card list has the entry point URL endpoint defined

Done in #951

Done in #951


Separate out computationally intense bits to make it compatible with web workers

If the clustering parts of this library were separated from the leaflet parts of this library then it would be easy to run that part in another process.  The main issue it seems to have is that quickhull assumes it's working with a leaflet point object and there seems to be some recursion in the main files which I'm not sure has to be tied to the dom.
This seems like something that might not be hard per-say but might require a considerable re-factoring of the entire code base.

Could we re-open this issue? I'm in a case where all-in-all, it takes 700ms to create the markers and cluster all of them. You might say it's fast, but pretty much anything above 33ms is slow on the main thread (33ms here is just for 30fps). So to clarify, I'm not looking to speed it up, although if it's an option that would be even better. I only want to get that work out of the main thread.


Fix dynamic text on settings headers and footers

Task/Issue URL: https://app.asana.com/0/414709148257752/1199241778510997/f
Tech Design URL:
CC:
Description:
Fixes the text sizes of the headers on footers on the GPC settings page, and the Unprotected sites pages
Steps to test this PR:

Test both pages with a variety of text sizes

Copy Testing:

[ ] Use of correct apostrophes in new copy, ie ’ rather than '

Orientation Testing:

[x] Portrait
[x] Landscape

Device Testing:

[x] iPhone SE (1st Gen)
[x] iPhone 8
[x] iPhone X
[x] iPad

OS Testing:

[x] iOS 11
[x] iOS 12
[x] iOS 13
[x] iOS 14

Theme Testing:

[x] Light theme
[x] Dark theme

Internal references:
Software Engineering Expectations
Technical Design Template

Looks solid to me! I only ran into a couple tiny issues, neither of which are blockers:

The text size doesn't change in the GPC settings if you're already on that screen when Dynamic Type changes. If you back out of it to the main settings screen and then back in again, it's fine, so this is a bit of an edge case – not a blocker. 🙂
I changed the Dynamic Type setting in an iOS 12 simulator while on the main settings screen and it caused a few labels to vanish. I don't think this is the fault of this PR, and it doesn't happen on later iOS versions. Dismissing the settings screen then showing it again fixes it.

Thanks a lot for the review!
Re #2 we definitely have a lot of issues around dynamic type in general, I think we have an asana task for it somewhere
Re #1 That's a good point, although in general I'm not sure it's worth worrying about changing dynamic type with the app open, at least not for cases like this where we have to do some manual management of text sizes


What about adding an undo feature?

Hey, really loved this project. As it is mentioned that this is your dear project, have you ever thought of implementing an undo feature?

Hey. Since then i learned much more about react but my current job which i am trying to change is eating all my possible time. I have no chance to even git clone the repo and add the feature. I cannot even remember the state but the project can be done with contexts and providers and state or local storage snapshots and on the fly loading.

We also really like this project at 3DStreet! We are using a modified version of the A-Frame inspector for our "editor". Sounds like you're busy at the moment but we're always interested in meeting people working on similar projects, and we do have contract work available but not yet full time. If you ever get a spare moment drop a line! (see contact info on my github profile)


[stable/cerebro] fix ValidationError

What this PR does / why we need it:
Fixes indentation in deployment.yaml which causes the following error while trying to install the chart:
$ helm install --name cerebro stable/cerebro
Error: validation failed: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.containers[0].livenessProbe.httpGet): unknown field "initialDelaySeconds" in io.k8s.api.core.v1.HTTPGetAction, ValidationError(Deployment.spec.template.spec.containers[0].readinessProbe.httpGet): unknown field "initialDelaySeconds" in io.k8s.api.core.v1.HTTPGetAction]

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @davidkarlsen

/ok-to-test
/lgtm
/assign


Unity log location?

Required Info

Operating System & Version
Win 10

Platform
PC

SDK Version
2.20

Language
unity

Issue Description
While running some test code to generate a point cloud, the processing block returned this error:
InvalidOperationException: Error while running PointCloud processing block, check the log for info
but there is no log file anywhere in the project that I can find. I have already defined LRS_LOG_LEVEL="WARNING" in the symbols.
Any idea where this log is or how I turn it on?

Unity has its own editor log file.  Details for finding and accessing it are in the Unity manual link below.
https://docs.unity3d.com/Manual/LogFiles.html

OK, follow up then
here's the log. What on earth could the error be?
InvalidOperationException: Error while running PointCloud processing block, check the log for info
at Intel.RealSense.ProcessingBlock.Process[T] (Intel.RealSense.Frame original) [0x0004e] in <441657b0dbbd43269996475b2c92e0df>:0
at Intel.RealSense.ProcessingBlock.Process (Intel.RealSense.Frame original) [0x00001] in <441657b0dbbd43269996475b2c92e0df>:0
at RsPointCloud.Process (Intel.RealSense.Frame frame, Intel.RealSense.FrameSource frameSource) [0x00049] in C:\Users\stephen\Documents\GitHub\RealSenseExploration\RealSenseTest\Assets\RealSenseSDK2.0\Scripts\ProcessingBlocks\RsPointCloud.cs:59
at RsProcessingPipe.ProcessFrame (Intel.RealSense.Frame frame, Intel.RealSense.FrameSource src) [0x0006b] in C:\Users\stephen\Documents\GitHub\RealSenseExploration\RealSenseTest\Assets\RealSenseSDK2.0\Scripts\RsProcessingPipe.cs:99
UnityEngine.DebugLogHandler:Internal_LogException()
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
RsProcessingPipe:ProcessFrame(Frame, FrameSource) (at Assets\RealSenseSDK2.0\Scripts\RsProcessingPipe.cs:119)
Intel.RealSense.CustomProcessingBlock:ProcessingBlockCallback(IntPtr, IntPtr, IntPtr)
Intel.RealSense.NativeMethods:rs2_process_frame()
Intel.RealSense.CustomProcessingBlock:Process(Frame)
I'm creating frames in a software device with the following code, then feeding it to a processing pipe the same way that a realSense device was doing so in the examples.
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Intel.RealSense;
using System;
public class RSSoftwareDevTest : RsFrameProvider
{
public float[] intrinsicsCoeffics = new float[] { 0, 0, 0, 0, 0 };

//the device by which we generate our frames
private SoftwareDevice framegenerator;
private SoftwareSensor colorGenerator, depthGenerator;
private VideoStreamProfile colorStream, depthStream;
private Syncer sync;
private int imgWidth, imgHeight;

public int fps = 30;

void Awake()
{
    framegenerator = new SoftwareDevice();
    depthGenerator = framegenerator.AddSensor("Depth");
    colorGenerator = framegenerator.AddSensor("Color");
    framegenerator.SetMatcher(Matchers.Default);
    Application.targetFrameRate = fps;
}

//this is a frame provider
/// <summary>
/// Notifies upon streaming start
/// </summary>
public override event Action<PipelineProfile> OnStart;

/// <summary>
/// Notifies when streaming has stopped
/// </summary>
public override event Action OnStop;

/// <summary>
/// Fired when a new frame is available
/// </summary>
public override event Action<Frame> OnNewSample;

public Texture2D colorTex;
public Texture2D depthTex;
int frameNumber = 0;
private ushort[] depthData;

// Update is called once per frame
void Update()
{
    if (colorTex.width != imgWidth || colorTex.height != imgHeight)
    {

        var intrinsics = new Intrinsics
        {
            width = colorTex.width,
            height = colorTex.height,
            ppx = imgWidth / 2,
            ppy = imgHeight / 2,
            fx = colorTex.width,
            fy = colorTex.height,
            model = Distortion.BrownConrady,
            coeffs = intrinsicsCoeffics
        };

        var colorProfile = new SoftwareVideoStream
        {
            type = Stream.Color,
            index = 0,
            uid = 101,
            width = colorTex.width,
            height = colorTex.height,
            fps = fps,
            bpp = 3,
            format = Format.Rgb8,
            intrinsics = intrinsics
        };

        colorStream = colorGenerator.AddVideoStream(colorProfile);

        var dpthIntrinsics = new Intrinsics
        {
            width = depthTex.width,
            height = depthTex.height,
            ppx = depthTex.width / 2,
            ppy = depthTex.height / 2,
            fx = depthTex.width,
            fy = depthTex.height,
            model = Distortion.BrownConrady,
            coeffs = intrinsicsCoeffics
        };

        var depthProfile = new SoftwareVideoStream
        {
            type = Stream.Depth,
            index = 0,
            uid = 100,
            width = depthTex.width,
            height = depthTex.height,
            fps = fps,
            bpp = 2,
            format = Format.Z16,
            intrinsics = dpthIntrinsics
        };

        depthStream = depthGenerator.AddVideoStream(depthProfile);
        //depthGenerator.AddReadOnlyOption(Option.DepthUnits, 1.0f / 5000);

        depthGenerator.Open(depthStream);
        colorGenerator.Open(colorStream);
        sync = new Syncer();
        colorGenerator.Start(sync.SubmitFrame);
        depthGenerator.Start(sync.SubmitFrame);

        var extr = new Extrinsics();
        extr.rotation = new float[] { 1, 0, 0, 0, 1, 0, 0, 0, 1 };
        extr.translation = new float[] { 0, 0, 0 };

        depthStream.RegisterExtrinsicsTo(colorStream, extr);

        //load depth data once
        depthData = new ushort[depthTex.width * depthTex.height];
        var depthpix = depthTex.GetPixels32();
        for(int i =0; i < depthpix.Length; i++)
        {
            depthData[i] = depthpix[i].r;
        }

        //different frame shape therefore we have to setup the streams
        imgHeight = colorTex.height;
        imgWidth = colorTex.width;
    }

    //update our position
    if (sync != null)
    {
        colorGenerator.AddVideoFrame<byte>(colorTex.GetRawTextureData(), colorTex.width * 3,
            3, System.DateTime.Now.Millisecond, TimestampDomain.HardwareClock, frameNumber, colorStream);
        depthGenerator.AddVideoFrame<ushort>(depthData, depthTex.width * 2,
           2, System.DateTime.Now.Millisecond, TimestampDomain.HardwareClock, frameNumber, depthStream);

        using (var frameset = sync.WaitForFrames())
        {

            var depthframe = frameset.FirstOrDefault(Stream.Depth);
            var colorframe = frameset.FirstOrDefault(Stream.Color);

            if (colorframe == null) Debug.LogWarning("colorframe was null");

            if (depthframe == null) Debug.LogWarning("depthframe was null");

            //send it using the RS pipeline
            var onNewSample = OnNewSample;
            if (onNewSample != null)
            {
                if(depthframe != null && colorframe != null)
                    onNewSample(frameset.AsFrame());
            }
            else
            {
                Debug.LogWarning("OnNewSample is null");
            }
        }
        frameNumber++;
    }
}

void OnEnable()
{
    if (OnStart != null)
        OnStart(ActiveProfile);
}
void OnDisable()
{
    OnNewSample = null;

    if (Streaming && OnStop != null)
        OnStop();

    if (ActiveProfile != null)
    {
        ActiveProfile.Dispose();
        ActiveProfile = null;
    }

    Streaming = false;
}
void OnDestroy()
{
    // OnStart = null;
    OnStop = null;

    if (ActiveProfile != null)
    {
        ActiveProfile.Dispose();
        ActiveProfile = null;
    }
}

}
`

As a rule of thumb, when debugging I focus on the first errors that are logged.  This is because subsequent errors in the log may not be actually faulty, but rather be triggered by a cascade of problems that is flowing downhill from the earlier error.  The first error in your log is:
at Intel.RealSense.ProcessingBlock.Process[T] (Intel.RealSense.Frame original) [0x0004e] in <441657b0dbbd43269996475b2c92e0df>:0
This initial error and the couple of subsequent similar ones seems to cause the program to fail on line 59 of the processing block's point cloud script.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/ProcessingBlocks/RsPointCloud.cs#L59
It then subsequently has a problem at line 99 of the RsProcessingPipe script, presumably because it is relying on the pb.Process instruction, which had a problem earlier in the log in the processing block's point cloud script (i.e potentially a bug that is not a bug, but is cascading downwards from the earlier error).
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RsProcessingPipe.cs#L99
So the key to debugging it is probably to find out what causes the first error:
at Intel.RealSense.ProcessingBlock.Process[T] (Intel.RealSense.Frame original) [0x0004e] in <441657b0dbbd43269996475b2c92e0df>:0
I do not know what that error means though.  One of the Intel team members on this Github may be able to help you with interpreting that.

Hi @stephen-systemfriend,
You can try to add below C# code in the script (ex: RsDevice.cs). Then, when you run the unity app, a librealsense log file should be generated for further debug.
Intel.RealSense.Log.ToFile(Intel.RealSense.LogSeverity.Debug, @"debug.txt");

Thanks, that works a treat

Hi @stephen-systemfriend
Did you manage to get to the bottom of this? I'm seeing the same error...

Our debug log shows:

23/12 16:48:11,478 WARNING [9364] (types.cpp:48) Device does not support option Depth Units!

Which makes me think it might be related to this: https://github.com/IntelRealSense/librealsense/issues/5416

It's working for us using a recorder built-in to https://github.com/keijiro/Rsvfx, but recordings we make using the RealSense Viewer's built-in recorder are throwing the above error.


podman is removed when ceph nodes are in kubernetes node group

Describe the bug
When I assign ceph nodes in kubernetes node group, podman which is installed
from ceph playbook is removed when k8s playbook is running.
inventory hosts file sample
# ceph nodes
[mons]
control[1:3]

[mgrs]
control[1:3]

[osds]
control[1:3]
...
[kube_node]
control[1:3]
control1
compute[1:2]

To Reproduce
Steps to reproduce the behavior:

Set control hosts in ceph mons, mgrs, osds group.
Install ceph by executing ./run.sh ceph.
Make sure podman package is installed.

$ sudo dnf list podman --installed
Installed Packages
podman.x86_64         4:4.9.4-12.module+el8.10.0+1843+6892ab28          @burrito

Install kubernetes by executing run.sh k8s.
Check podman package is still installed.

$ sudo dnf list podman --installed
Error: No matching Packages to list

Expected behavior
The podman package should not be removed when running k8s playbook.
Versions (please complete the following information):

OS: Rocky Linux 8.10
Burrito 2.1.1

I added a patch file -
patches/18-patch-kubespray-container-engine-runc-tasks-main.txt
not to remove a runc rpm package if the host is for ceph servers.
The commit f8976edd5860ca13dcc46fc8c376727e6ebf0b08 solved this issue.


Support extract on intervals

This is an early draft PR to demonstrate an Arrow change (see below for details).
Which issue does this PR close?
Closes #6327.
What changes are included in this PR?
This PR simply allows Interval types to be passed through to Arrow. It will require an Arrow upgrade to work since it depends on https://github.com/apache/arrow-rs/pull/6071 (currently Arrow is patched for the CLI in this PR, this will only work if you have modified Arrow in a sibling folder to DataFusion, I'll remove this and update the PR when there is an Arrow release).
Are these changes tested?
Tested in Arrow. Tests to come here.
Are there any user-facing changes?
The extract function will now work with intervals.

https://github.com/apache/arrow-rs/pull/6071 has landed. It just missed the 52.2 release of Arrow, so hopefully will be in 53. Once that is released (scheduled for September), I'll resurrect and rebase this PR and add some tests.

After some testing, I found a couple of bugs due to the seconds function making assumptions about date_part which don't hold for Interval/Duration. Calling date_part to get the nanos from an Interval or Duration will often return Null due to overflow, which will cause date_part/extract to return null, even if we should have ignored the nanos and just used the whole seconds (e.g, extracting seconds from a 1000000 second duration should return 1000000, not null). Furthermore, extract(second from interval '1 second') would return 2 because the one second was queried as seconds and nanoseconds.
Both those bugs are fixed, but because the formatting of Intervals has changed with the Arrow update, it is difficult to write tests, so those will come after the proper Arrow update.

Closed in favour of https://github.com/apache/datafusion/pull/12514


Sync AC State

The integration has been working great, this is a feature request. I'm having an issue related to the physical Cielo device itself where occasionally the AC doesn't see the IR signal and the app and AC get out of sync. I've tried manually setting the state in Home Assistant with a python script, but it seems that if the Cielo app still thinks it's on, it won't respond accordingly. The app does have an option to sync the AC state as shown in the screenshot. Is there any way to integrate this functionally into your integration to call it from HA?

I wasn't aware of that website, but good to know for the future. It appears the option exists there. If you hit the "Settings" cog in the upper right corner, you get this dialog with the "Sync" option as a tab on the left:

Sync gives you the option to tell it that the system is actually off, or that the system is actually on and what mode and temperature.
I'd love this functionality so that I can set up an automation in Home Assistant to monitor either the Cielo thermostat temperature (or another sensor in my garage) and when the temperature gets several degrees out of range, indicating that the system is not on or off as the Cielo thinks, Home Assistant can trigger a sync to tell Cielo the actual state of the system. From there, I can either have HA manually change the state of the AC or test to see if Cielo figures out it's still out of range and turns on by itself.

Well i understand if i have others requests i'll do it. ;) You are also welcome to do it and make a pull request to add it to the repo.
You have really a weird behavior.

I'll wait to see if it gets added. This is not an ideal scenario, this is just meant as a workaround for the fact that the Cielo Breeze seems to miss an IR command on occasion and gets out of sync with the AC.

Just to remind you i'm the one who make the integration and for now I'm the only one work on it. ;) So i will close this issues who is not a issue. Maybe i'll do it when i add a other features.

@montesn the release 1.4.1 support the Sync AC State. Have fun!

@montesn the release 1.4.1 support the Sync AC State. Have fun!

Thanks for your hard work!


🌱 Update self-references for release 0.23.1

Summary
This PR updates the self-references for release 0.23.1.
Website preview at https://mikespreitzer.github.io/kcp-edge-mc/doc-prep-0231/
Related issue(s)
Fixes #

/cc @KPRoche
/cc @clubanderson

/lgtm

/approve


A method to directly read the document by it's _id

Right now to find a document by it's _id the system will go through all the checks it has to fetch data from documents.
As the file name of a document is identical to its _id and as this id will be auto generated by the system so I think it's safe and efficient to have a method findById which will directly read a json file of that store and return the data instead of going through all the steps.

Sounds awesome!

Will be done with #75

Will be done with #75


Add my first file

I have created a branch, created a file and made a commit!

My first pull request!


fix: switch cl recovery mode off when finished

fixes: #3838

This might not cover all edge cases, but don't want it to be a blocker, merging now.


[question]: what's the use case for onStart hook?

I just came across the onStart hook, could you provide an example for it?

onStart hook is designed for the mcr CLI only.


⚠ PrivateHD has degraded performance

In 7a56993, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1940 ms

Resolved: PrivateHD performance has improved in 94a96f8.


Generated output stays empty

http://purl.allotrope.org/json-schemas/adm/core/REC/2022/12/core.schema generates no files at all. No error message is displayed. I wonder what is wrong about it.

Hi
Based on schema I believe there are 2 things at play:

#1123 - at present jsonschema2pojo does not process items from definitions/$defs unless they're being referenced
#831 - at presnet neither allOf/anyOf nor oneOf are supported (thus if N1 would be fixed some of the items still wouldn't be processed)


process HH files

We can't process HH files ;
https://github.com/umr-lops/xsarsea/blob/b12c73140137ba95197f8693c648c0e2d52bea67/src/xsarsea/windspeed/windspeed.py#L78
2 future solutions =>

use VV GMF (cmod5n)
implement HH GMF

@vincelhx Can you recall which PR closed this issue?


feat: bad haml

testing that we can't merge a PR where the github actions fail

You don't have automerge set up on this repo, do you? This looks suspiciously like it will allow a merge if @davidrapson reviews it

You don't have automerge set up on this repo, do you? This looks suspiciously like it will allow a merge if @davidrapson reviews it

We don't - and yes it does look like that so that's what I wanted to test.  Will see when @davidrapson  approves it

That's better. Thanks @simonwgill!

👏🏻


Injected scripts work only on pages with cordova.js

This is an interesting issue that I just realised. Although it was made by design, I realised that people may want just plain vanilla .html pages but also want autoreload, console, etc to work when on that particular page.
So if a particular .html page does not have this string:

None of the scripts will inject!
Sources:
https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/zip.js#L74
https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/update.js#L61
This could also be the cause of many people's issues with autoreload. If they make a page and do not include the cordova.js script tag, then they get no updates from the server.

and replaceText is hardcoded https://github.com/phonegap/connect-phonegap/blob/master/lib/util/injector-transform.js#L46


Fixing linuxkit detection on the latest versions of Docker for Mac

Recent versions of Docker can have leading spaces in the output of
docker info, which the regexes used to detect linuxkit didn't account
for. Fixing that, and also consolidated the calls to docker info as it
can take half a second every time to return.
Signed-off-by: Jean Rouge<EMAIL_ADDRESS>

The test failure is unrelated, as evidenced by the same failure appearing on https://github.com/kubernetes-sigs/kubeadm-dind-cluster/pull/314, which doesn't change anything.


Added license, changed package name

The package name was already used. My bad... Turns out if you make the package then delete it you still can't use the name. Sorry. I changed the name in setup.cfg to figure it out.
I also changed some stuff with setup.py and added a setup.cfg. It now follows most/all the best practices.
You can find the logs for the latest runs here:
https://github.com/Yot360/mc-server-python/actions

I suggest a squash. This has repeated commit messages.

Nice

It works!


Add Kube Controller, Worker, and Load Balancer security groups modules

Add three new security group modules, one each for the Kube Controller, Worker, and Load Balancer.

[x] Add the modules to Kube Stack Private
[ ] Test running the plan and apply it

@ketzacoatl Thanks addressing your comments

I have opened #94 to take this one over the hill (closing in favor of the new PR)


Print () instead of (void) for function types

More chipping away on #16

Coverage increased (+4.2%) to 76.715% when pulling 3e9e05d7e7926c3f85a7b3a744a63f06a88ed191 on libiberty-test-compat into 21fa91a76428e54ab856cce0cf0d8897cbfa8526 on master.


Unexpected error with IPAuthentication and enabled debug

Describe the bug
There was an unexpected error (type=Internal Server Error, status=500).
Cannot invoke "java.lang.Boolean.toString()" because "org.dspace.authenticate.IPAuthentication.useProxies" is null
useProxies (https://github.com/DSpace/DSpace/blob/b2d64c52e4e7bf93f2951437ef2adbac5a9fbadd/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java#L58) is never initialized but is called from https://github.com/DSpace/DSpace/blob/b2d64c52e4e7bf93f2951437ef2adbac5a9fbadd/dspace-api/src/main/java/org/dspace/authenticate/IPAuthentication.java#L253
I'm running 7.2 at the moment but there seem to be no changes in the later versions
To Reproduce
Steps to reproduce the behavior:

Have plugin.sequence.org.dspace.authenticate.AuthenticationMethod = org.dspace.authenticate.IPAuthentication among auth methods
set log level to debug on that class (or the whole package) like this:

+
+        <!-- AUTH is the name of the appender for the Authentication classes -->
+        <Appender name='AUTH'
+                  filePattern="${log.dir}/authentication.log-%d{yyyy-MM-dd}"
+                  type='RollingFile'
+                  fileName='${log.dir}/authentication.log'>
+            <Layout type='PatternLayout'
+                    pattern='%d %-5p %equals{%X{correlationID}}{}{unknown} %equals{%X{requestID}}{}{unknown} %c @ %m%n'/>
+            <policies>
+                <policy type='TimeBasedTriggeringPolicy'>yyyy-MM-dd</policy>
+           </policies>
+           <!-- TODO MaxLogs=0 -->
+        </Appender>
+
+
     </Appenders>

     <Loggers>

+        <Logger name='org.dspace.authenticate'
+                level='DEBUG'
+                additivity='false'>
+                <AppenderRef ref='AUTH'/>
+        </Logger>
+
+

access /api

Expected behavior
Should not get 500

It looks like this was accidentally caused by #2207, which removed the usages of useProxies from IPAuthentication, but didn't remove the variable or the info from that log.debug().
I think the fix here is to simply remove useProxies variable and all usages.  It shouldn't be in this class anymore.
Needs a volunteer & it's likely a simple fix.


Able to Change theme of app

As a user, I am able to change the theme of the app so that I can feel beautiful

#19


Run CI subject to ignorelist [just an idea - do not merge]

Issue
When we make changes to e.g. *.md files, we don't need to run itests (or any CI currently) on pull request.
(Entire CI still runs on release-to-edge, which is good.)
TODO:

[ ] Support globs

Solution

Create a ci.ignorelist for explicit, manual, opt-in for individual files.
Run the pull-request CI only if the diff includes file(s) that are not listed in the ignorelist.

Alternative: https://github.com/marketplace/actions/get-diff-action

Minor aesthetic suggestion, could we rename the ci.ignorelist file to something like .ciignore? I like the consistency with .gitignore

Implementing in the shared CI with https://github.com/canonical/observability/pull/58.


[feature request] pouch command can support --userns flags

Ⅰ. Issue Description
docker can support userns flags when the containerd run in the special namespace. but in the pouch env, it cannt support this flag. so it can cause some bug.
Ⅱ. Describe what happened
pouch run --userns=host
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Working on this,  I also find other namespace flags implements bad, I will fixed simultaneously.

After discuss with @hkebao offline, he does not need usens now, so I think it can be implement later, @hkebao , wdyt ?


Added plugin section to Azure setup instructions

@DaRosenberg Do you recall what set of steps you followed that lead to you getting an error here?  In general, our goal is that pulumi plugin install is not needed under any normal circumstances - that should happen automatically as part of installing NPM or PyPI packages.  It may make sense to add additional docs here - but ideally we would not be guiding folks to do this as part of the mainline experience as they shouldn't have to (and we should fix or document any bugs that are currently getting in the way of that).

@lukehoban I first followed the steps in this page just to get Azure CLI 2.0 installed and do the authentication. I then created a new project based on the typescript-azure template. I believe the npm install happened automatically at this point, because I got full IntelliSense for all the Azure-specific stuff. As soon as I tried to do a pulumi preview on that new project however, Pulumi showed an error message which stated that the plugin had to be installed.

Sorry for a long delay @DaRosenberg.
We really want to avoid users having to explicitly run pulumi plugin install manually in any normal situation.  So I'd prefer not to take this PR as-is.  I would still love to get to the bottom of why plugins aren't getting installed correctly for you.  If you are still seeing this - could you open an issue to track in the https://github.com/pulumi/pulumi repo?  In particular, I'd love to see the output of your npm install command in CI, as well as the output of pulumi plugin ls after running npm install.


Add referential integrity check on ServiceBroker for Service/Plan

Follow up to #1307

Functionality wise looks good, just couple of thoughts and comments.

@vaikas-google reworked per your suggestion.


Document how to keep the tool updated to latest released version

What should we add or change to make your life better?
Please document how to keep the dotnet global tool up-to-date with the latest version
I'm on 0.1.0-alpha.20175.1 (as the getting started doc specifies. I'm trying the DAPR recipe. Getting a "Property 'extensions' not found" message. Then, assuming i'm on an older release.
The only way (to my knowledge) to find out the current release was to run dotnet tool update -g Microsoft.Tye --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json . As no version is specified, got this
error NU1103: Unable to find a stable package microsoft.tye with version
error NU1103:   - Found 62 version(s) in dotnet-core [ Nearest version: 0.1.0-alpha.20181.1 ]
error NU1103:   - Found 0 version(s) in /usr/share/dotnet/sdk/NuGetFallbackFolder
error NU1103:   - Found 0 version(s) in nuget
error NU1103:   - Found 0 version(s) in bedrockframework
error NU1103:   - Found 0 version(s) in featherhttp
Tool 'microsoft.tye' failed to update due to the following:
The tool package could not be restored.
Tool 'microsoft.tye' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool

So, that's how I know the latest (nearest, in the second row) version. Is there a handier way to do it?
Why is this important to you?
For quick catch up.

You can do this like the following:
dotnet tool update -g Microsoft.Tye --version "0.1.0-*" --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json

For some reason, you need to manually specify --version "0.1.0-*" to allow the use of a prerelease version. I need the quotes as well on ZSH - YMMV.
I'll update the docs to include this info.

Sorry @rynowak . I've rushed into closing the issue. Should've waited for action confirmation on your end? Please close it when you consider.

I'm ready to close it. Please let us know if you need anything else 😁


net/http: TestCancelRequestWhenSharingConnection failures on longtest builders

2020-12-02T14:20:12-0433845/linux-amd64-longtest
2020-12-01T21:42:10-7fca39a/windows-amd64-longtest
2020-12-01T20:42:53-20e2518/linux-amd64-longtest
2020-12-01T19:47:12-50b16f9/linux-amd64-longtest
Marking as release-blocker because this test was introduced Dec. 1 (in CL 257818).
CC @fraenkel @neild @bradfitz @golang/release

There is also what appears to be a deadlock in this test:
2020-12-01T21:41:39-7430266/windows-amd64-longtest

This fix is incorrect and should be reverted.

Sorry, the fix is mostly correct. Confusing myself on the issue.
I need to see why the test fails sometimes which still means there is more to this.

CL 257818 did fix the case where:
Req 1 does a GET, the readLoop puts the persistconn back
Req 2 gets the pc, and has its context closed which drives cancelRequest -> pc.closech prior to Req 1 leaving roundtrip.
The new issue is similar but makes me believe there is a bigger issue afoot.
The first request starts to cancel (roundtrip), but puts the pc back into the pool (readLoop).
A second request picks up the pc.
The cancel completes, and the second request is cancelled.

There are multiple goroutines that fiddle with the cancelFn but most are blindly setting it rather than looking to see if its already been "cancelled".

@fraenkel will this get backport for #41600?

@networkimprov Yes, see https://github.com/golang/go/issues/42935#issuecomment-789056758.


Adding darcy cubed sphere

Hi @santiagobadia, @fverdugo,
in this PR I add the necessary code to perform a systematic convergence study of a  Darcy problem on a sphere, i.e., a 2D manifold embedded in 3D space.
To discretize the sphere, the code uses the so-called cubed sphere mesh, i.e., a quasi-uniform quadrilateral mesh of the sphere which is ubiquitous in geophysical flows codes (because it enjoys a number of desirable properties).
In particular, I have implemented two variants of the cubed sphere mesh:

click here Arbitrary degree polynomial approximation of the cubed sphere. I consider this implementation to be clean in the sense that it re-uses the data types in Gridap.Geometry, and perfectly fits the software architecture.
click here Analytical mapping cubed sphere with Jacobian calculated with AD. While functional, I consider this implementation to be odd/dirty. I think this is caused by the current design of Gridap.Geometry  somehow assuming a polynomial approximation of the geometry of the domain.

Can you please take a look and let me know your thoughs about this? Thanks!

Feel free to merge to this repo!

Feel free to merge to this repo!

Ok, thanks! I am currently committing the Manifest.toml file.
Once we have the PR https://github.com/gridap/Gridap.jl/pull/638 merged into master and released a new Gridap patch release, I will be able remove the Manifest.toml file.


Problems with -d (--direction)

i2cssh v.2.2.0
iterm2 v.3.0.10
I would like my sessions to stack vertically instead of next to each other. I assume this can be accomplished with the -d (--direction) option or the -R (--rows) option. I'm getting the following error in both cases.
i2cssh --direction=row rprqa-app1 rprqa-app2
/Library/Ruby/Gems/2.0.0/gems/rb-scpt-1.0.1/lib/rb-scpt.rb:542:in `_send_command': CommandError (Appscript::CommandError)
        OSERROR: -1719
        MESSAGE: Access for assistive devices is disabled.
        OFFENDING OBJECT: app("/System/Library/CoreServices/System Events.app").processes["iTerm2"].menu_bars[1]
        COMMAND: app("/System/Library/CoreServices/System Events.app").processes["iTerm2"].menu_bars[1].menu_bar_items["Window"].menus["Window"].menu_items["Select Split Pane"].menus["Select Split Pane"].menu_items["Select Pane Above"].click()
    from /Library/Ruby/Gems/2.0.0/gems/rb-scpt-1.0.1/lib/rb-scpt.rb:642:in `method_missing'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:103:in `block (2 levels) in split_session'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:102:in `upto'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:102:in `block in split_session'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:101:in `upto'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:101:in `split_session'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/lib/i2cssh.rb:26:in `initialize'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/bin/i2cssh:298:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/i2cssh-2.2.0/bin/i2cssh:298:in `<top (required)>'
    from /usr/bin/i2cssh:23:in `load'
    from /usr/bin/i2cssh:23:in `<main>'

Some progress... I was able to get the -R option to work once I enabled accessibly access (http://mizage.com/help/accessibility.html). However, I still can't get -d  to work. No errors displayed... it just doesn't work.

I am having this same issue ^^


Nuxt 3 Support

Is your feature request related to a problem? Please describe.
Nuxt 3 provides various features where components, composables, etc. are made available without the need to explicitly import them.
Describe the solution you'd like
The Nuxt 3 plugin should be able to look at the project structure and resolve uses of components, composables, etc.  without the need to use import them into Vue or Typescript files.
Describe alternatives you've considered
Moving to Visual Studio Code.
Additional context
No response

Are there plans to support Nuxt3 using this plugin?

JetBrains charges 160€/year, yet depends on third-party to implement the fundamentals. I am not surprised that nobody is willing to get along with that and instead use a free, yet even better working, alternative (VS Code)

@MrEAlderson In JetBrain's defense, and even though I love Nuxt ; Nuxt isn't near to being considered as a "fundamental". Maybe that day will come, where they bundle NuxtJS support alongside Vue, but 0.95% market share won't do the trick lol

Download IntelliJ Nuxt.js Plugin-2.0.14.zip
pluginUntilBuild = 242.*
Install


[TEST] Show that custom phpdoc tags without space afterwards are unexpectedly changed

Summary
This adds a test for the (current bug) behaviour of https://github.com/barryvdh/laravel-ide-helper/issues/666
It shows that

@SuppressWarnings(PHPMD.ExcessiveClassComplexity)
is changed to
@SuppressWarnings (PHPMD.ExcessiveClassComplexity)

If this ever gets fixed, this fails and needs to be adapted,
ensuring it won't break again.

Shouldn't we add a breaking test and perhaps skip it for now? Seems a bit weird to add a wrong test.

I understand but the problem is, you've to "remember" (manually / in your head) that once this bug is fixed to remove the skip.
My take is: I don't think too much, when this get fixed this test basically says "hello, I already exist, I just need to be adjusted".
Also means that we already have the test before the implementation (but it makes sense because we acknowledged it's a bug we would like to see fixed) and the test just needs to change the line some comments.
It's kind of a forward-preparation.

Yeah but now it looks like custom behavior?

Sorry, parse error :) Can you elaborate?

Like expected behavior*
I'll think about this, how we can just fix it. (Perhaps dirty to just remove the space with a str contains check?

(Perhaps dirty to just remove the space with a str contains check?)

🙀

Btw, the idea for this PR was simply that I don't have time to work on a fix right now but I figured we want a test anyway to ensure it works so already adding now one once something finds time saves already having to create a test the next time :}
But if you take look at it now, that would be great: still you would want to use this test I assume, since it's already "there".


新增授权成功通知和授权更新通知以及获取这两个通知的方法

Codecov Report

Merging #338 into master will decrease coverage by <.01%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##           master     #338      +/-   ##
==========================================
- Coverage   73.86%   73.85%   -0.01%
==========================================
  Files          74       74
  Lines        2479     2494      +15
==========================================
+ Hits         1831     1842      +11
- Misses        648      652       +4

Impacted Files
Coverage Δ

wechatpy/component.py
73.89% <57.89%> (-0.04%)
: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 c159271...5bd3587. Read the comment docs.

可以返回原始xml字符串，也可以返回一个对象；返回一个对象易于理解。有些人觉得用字符串方便，有些人觉得用对象方便。

我的意思是解密操作需要执行两次，而且xml里已经有type了，没必要让用户在外面在判断一次调用哪个函数吧

updateauthorized直接忽略掉了？


feat: Use CocoaPods directly from Cordova iOS - Remove broken hook

Based on my PR #527 this PR will add CocoaPods directly from Cordova iOS (no need for a third party cordova plugin anymore). Furthermore it removes the broken install hook (see #529) which leads that the branch cordova plugin will not be added as plugin to Android and iOS
More information about the cordova iOS Podspec here -> See: https://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#framework -> type="podspec"
The spec attribute is required, but I don't know how to get the latest version of Branch automatically
Anyone who wants to test it, take a look at https://www.npmjs.com/package/innomobile-branch-cordova-sdk (cordova plugin add innomobile-branch-cordova-sdk)

thanks for making some efforts solving this problem.
But i get compiling errors in xcode after including your innomobile-branch-sdk:
ld: library not found for -lBranch

Yeah, something Cordova iOS related - Just run pod install inside /platforms/ios or run it inside Xcode.
The Pod wasn't installed correctly (https://guides.cocoapods.org/using/pod-install-vs-update.html). Afterwards it should work

pod install gave me following error:
`Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Branch":
In snapshot (Podfile.lock):
Branch (= 0.25.9, ~> 0.25.8)
In Podfile:
Branch (~> 0.25.8)
Specs satisfying the Branch (~> 0.25.8), Branch (= 0.25.9, ~> 0.25.8) dependency were found, but they required a higher minimum deployment target.
`

And if you change in the Podfile the version from "~> 0.25.8" to "0.25.9"?

pod install still gives an error:
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Branch":
  In snapshot (Podfile.lock):
    Branch (= 0.25.9, ~> 0.25.8)

  In Podfile:
    Branch (~> 0.25.9)

Specs satisfying the `Branch (~> 0.25.9), Branch (= 0.25.9, ~> 0.25.8)` dependency were found, but they required a higher minimum deployment target.

The error after trying to build changed into this:

BranchSDK.h:4:9: fatal error: 'Branch.h' file not found
#import "Branch.h"
        ^~~~~~~~~~

Did you removed the platforms/ios folder before adding the plugin?

ok, after uninstalling your plugin, installing/updating the pod, and reinstalling.
the pod install worked.
but i have still the compile issue. (on cordova build and on xcode build)

My steps (I am using<EMAIL_ADDRESS>which uses explicit Branch SDK 0.25.8):

Remove platforms/ios folder and plugins/ios.json (also remove innomobile-branch-cordova-sdk from plugins folder)
cordova run ios
Build succeed without problems this time

Paul, thanks a lot!
With 3.1.7 it has worked now!


PPF-329: fix dropdown code path

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (ae12190) compared to base (7a5915a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #330   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines          554       559    +5
=========================================
+ Hits           554       559    +5

Impacted Files
Coverage Δ

PyPDFForm/core/watermark.py
100.00% <ø> (ø)

PyPDFForm/middleware/checkbox.py
100.00% <ø> (ø)

PyPDFForm/middleware/element.py
100.00% <ø> (ø)

PyPDFForm/middleware/text.py
100.00% <ø> (ø)

PyPDFForm/core/filler.py
100.00% <100.00%> (ø)

PyPDFForm/core/patterns.py
100.00% <100.00%> (ø)

PyPDFForm/core/template.py
100.00% <100.00%> (ø)

PyPDFForm/core/utils.py
100.00% <100.00%> (ø)

PyPDFForm/middleware/constants.py
100.00% <100.00%> (ø)

PyPDFForm/middleware/dropdown.py
100.00% <100.00%> (ø)

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Remove ranged injection/feeding

About the PR
They make no sense and they were clearly only added because 'it's funny' but I have only seen them used to kill people with lexorin, mercury, etc.  The pie was literally a ranged hypospray that made no checks and went directly into your bloodstream. I left the component system for that because some specialized shotgun ammo, etc uses it and that seems like a decent use case. I hope no one ports syringe guns though.
Changelog

:cl: Rane

remove: Pneumatic cannons and cream pies no longer can be used to instakill people hyperoptimized poison mixes.

Arguments for removing:

The pie right now is literally just a ranged hypospray that injects directly into your bloodstream with no checks.
 Forcefeed doafters exist for a reason, because it's easy to make a pill that can take you from full health to dead.
I have literally never seen anyone use them in a remotely funny way but I have seen people use them to inject instakill poison plenty of times. These don't make logical sense so their justification is supposed to be that they are funny. Instakill poison is not funny.

syringe guns suck, theres no counterplay to it and i dont think we should have ohk projectile weaponry commonly available like that

i'm ok with removing this

remove: Pneumatic cannons and cream pies no longer can be used to instakill people hyperoptimized poison mixes.

Do you mean

remove: Pneumatic cannons and cream pies no longer can be used to instakill people with hyperoptimized poison mixes.

remove: Pneumatic cannons and cream pies no longer can be used to instakill people hyperoptimized poison mixes.

Do you mean

remove: Pneumatic cannons and cream pies no longer can be used to instakill people with hyperoptimized poison mixes.

yeah


[fix](hash join) fix stack overflow caused by evaluate case expr on huge build block (#28823)

Pick from #28823
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run clickbench


[BUG]: Unable to exec into Pods using kubectl (GUI works)

Rancher Server Setup

Rancher version: 2.7.5
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): GKE 1.26.6

Information about the Cluster

Kubernetes version: 1.26.6
Cluster Type (Local/Downstream): Any (Local and Downstream clusters)

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Imported

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin

Describe the bug
After upgrading from Rancher 2.6.8 to 2.7.5 we are no longer able to 'exec' into Pods on any of the clusters through Rancher when using 'kubectl'. Exec through the GUI still works as expected.
To Reproduce
Have a GKE cluster with preemptive nodes and Rancher 2.6.8.
Upgrade Rancher to version 2.7.5 using Helm Chart
Result
Helm upgrade ran successful but after that we are unable to 'exec' into any Pod on any cluster that's imported into Rancher, including the 'Local' cluster running Rancher.
When logging in on the Rancher GUI we can 'Execute shell' on any Pod.
Expected Result
Ability to 'exec' into a any Pod on any cluster like before the upgrade.

Any progress here?

Nothing, not even a response or acknowledgment from the community. Looks like nobody is paying attention to this.

Same issue here:
downstream cluster version :  v1.25.15 +rke2r2
Rancher 2.7.4
Istio v. 102.3.1+up1.18.2
Launching kubectl exec with -v=5:
I0117 15:03:33.172455 1680576 podcmd.go:88] Defaulting container name to alpine
I0117 15:03:33.216039 1680576 helpers.go:246] server response object: [{
"metadata": {},
"status": "Failure",
"message": "Upgrade request required",
"reason": "BadRequest",
"code": 400
}]
Error from server (BadRequest): Upgrade request required
Any news about this?
Regards

I'm experienceing the same issue. I can exec into a pod from the UI, but I cannot attach or exec into a pod using kubectl. I am using the kube config downloaded from the UI. I am the Default Admin and I have the Cluster Owner permissions. My expectation is that I would have the permissions to complete this operation. That is assuming that this is a permissions issue.
kubectl -v=5 exec multitool -n default -- sh
I0408 11:26:01.208241   96211 podcmd.go:88] Defaulting container name to container-0
I0408 11:26:01.274251   96211 helpers.go:246] server response object: [{
  "metadata": {}
}]
Error from server:

kubectl -v=5 attach multitool -c container-0
If you don't see a command prompt, try pressing enter.
I0408 11:25:26.985248   96186 helpers.go:246] server response object: [{
  "metadata": {}
}]
Error from server:

After doing some research, looks like port-forward, exec and a couple more use SPDY protocol, that is not supported by AWS ALB and that is causing the issue.
Starting from Kubernetes 1.31, kubectl will use websockets, but that is still some way away.
For now, the workaround is exposing Rancher via NLB and terminating SSL on the ingress controller.


SnapshotVolume for Schematic API usage

Currently, we have a pending issue for working on a proper Schematics API where by an interface is needed to extend BlockVolume and have the ability represent non-live Entity objects (possibly as alternates of EntitySnapshots) and non-live TileEntity objects.
The limitation for both is that the SnapshotVolume (working name for now) cannot extend Extent. This is partially related to the #546 issue that has been sitting for a while now.
Some of the objects proposed needed for Schematics in general (And overall usability for plugin developers):

SnapshotVolume: A volume that has blocks at coordinates, has a pseudo mutable BlockSnapshot like object at each position (optionally, as air is not represented)
FabricatedBlock: A mutable DataHolder that has a BlockState and possibly DataManipulators and a high possibility of directly supporting current NBT compound access and modification of BlockEntity information
FabricatedEntity: A mutable DataHolder that has an EntityType and likely all related optional data to set on the entity (including inventory).

More to come as it is discussed.

Can you reference the pending issue with the Schematic design? I'd like to get a feel for the format (if a sample is provided).

Any update on this? It's critical to a plugin I'm writing. Might put a bounty on it.

There's a spec if you look at the SpongePowered repos.

I don’t need a spec, I need an implementation.

On Mar 31, 2016, at 8:37 PM, Kenzie Togami<EMAIL_ADDRESS>wrote:
There's a spec if you look at the SpongePowered repos.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/SpongePowered/SpongeAPI/issues/1137#issuecomment-204200467

I don’t need a spec, I need an implementation.

Any update on this? It's critical to a plugin I'm writing. Might put a bounty on it.

Patience is a virtue. It'll get done when it gets done.

@20zinnm If you're up for it, give it a shot of writing up the SnapshotVolume, the premise would be of course that it has a bounds, adds a new sort of BlockBlueprint of sorts that has various info, such as the raw DataContainer for the tile entity information, the BlockType, and any relative DataManipulators can be used (or optionally BlockState would suffice). As it cannot be using a Location object, it must use a customized Vector3i for the position relative to a certain point. Likewise, the same treatment would have to be applied for Entity objects as they cannot be EntitySnapshots. It may be possible to explore the Inventory suffice that there's a way to implement custom inventories for such things.
Preferably you'd also use some sort of BlockBuilderPalette that is attached to said SnapshotVolume for key'ed blocks to positions, this way you can ultimately save space memory wise (and likely includes easing up the implementation on applying the volume since most blocks tend to need to be applied in specific orders).

This was fixed with #1330


Service click save and deploy no response

Describe the bug

Steps to reproduce

Create a service.
Use kubernetes-mysql template.
Click save and deploy.

Result

No response.
Expected behavior

Succesfully save and deploy.
Environment

Walrus version: dev-ed9e02d

Additional context
Add any other context about the problem here.

dev-4019ea4
https://github.com/seal-io/walrus/assets/45061862/40b10d45-5fdd-4f89-be2e-79d5c619bca3

Verified in main.


Validation in modal form

Hi I have the following situation:
I have a form (bound to the validator) and one of the form's field is a calculated field linked to a modal form that asks for additiondal data to calculate the field. The modal form is bound to the validator too, and I have no issue having two forms to validate on the same page. I'd just like to trigger the first form's validation when I submit (and validate correctly) the modal form (but don't want to submit the first form). This would help to avoid having the user puzzled by having calculated the filed but seeing the file still 'red' on the original form. If I try to trigger the form validation by something like $('#formId').validator('validate') I got an error 'validator is not a function'.
Regards,
Sergio

I think this question is better suited for StackOverflow. Also,  'validator is not a function' means the plugin hasn't been loaded on your page when you are making that call.


⚠ Bofrost.be has degraded performance

In 7a03c5a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1001 ms

Resolved: Bofrost.be performance has improved in 1c1f4bc after 24 minutes.


Serialize and persist BlobGlobalState to disk

Serialize and persist entirety of BlobGlobalState to disk on every update so we can populate BlobList when we re-open the app. We can just implement Codable protocol and skip all the SQLite stuff for now... which would probably be overkill anyway.

Using SwiftData


Yash/fix 31

Fixes #31
This pull request includes changes to the index.html and src/css/index.css files to add a footer section and improve the site's overall styling. The most important changes include adding a new footer section in the HTML, updating the CSS to style the footer, and making several color and layout adjustments for better visual consistency.
HTML Changes:

Added a new footer section with copyright information and links to the privacy policy and terms of

CSS Changes:

Updated the global styles to include box-sizing: border-box and set the height of html and body to 100%.
Styled the new footer section, including background color, text color, padding, and alignment.
Changed the text color of menu links and login button in the header to white for better contrast.
Added responsive styles for the footer to ensure proper layout on smaller screens.

@mansiruhil13 I have raised this PR to fix the issue #31. Review this PR & Add labels to this issue.

[IMPORTANT]

@mansiruhil13 I request you to assign only one person to an issue, assigning more than 1 person leads to conflict and is not recommended by GSSOC community.
Only I have solved this issue no one else was involved, so please edit the main issue #31 to only show me as assigned, remove the others.

if you have problems regarding the assignment of issues, then I can work on simple workflows that will automatically assign the issue to the first person who comment on it.
With this in mind I will be raising few more features, to be involved before. Assign them to me also.

bobble ai is random name of repository, my project based on ambulance monitoring system, so logo based on that and second, in footer section.. terms policy not clickable

@mansiruhil13

bobble ai is random name of repository, my project based on ambulance monitoring system, so logo based on that and second, in footer section.. terms policy not clickable

I can raise another issue to fix the logo if you want.
Currently I created & applied CSS changes to position the footer. The reason its not clickable as these changes are particularly best if done by the main org, in this case you and the other collaborators.
A beginner to open-source such as me has little to no knowledge about terms policy so I thought it would be better to leave it for someone who is more adapt to those things.

You could raise a issue from your side to have people work on that.

[IMPORTANT]

Is your project approved to be part of Hacktoberfest'24

logo issue already assigned.

@mansiruhil13

bobble ai is random name of repository, my project based on ambulance monitoring system, so logo based on that and second, in footer section.. terms policy not clickable

I can raise another issue to fix the logo if you want.
Currently I created & applied CSS changes to position the footer. The reason its not clickable as these changes are particularly best if done by the main org, in this case you and the other collaborators.
A beginner to open-source such as me has little to no knowledge about terms policy so I thought it would be better to leave it for someone who is more adapt to those things.

You could raise a issue from your side to have people work on that.

[IMPORTANT]

Is your project approved to be part of Hacktoberfest'24

yes its' approved in hacktoberfest'24.


Ripul handoo/relationship/pod distribution budget

Notes for Reviewers
This PR fixes #

Relationship between Pod Distribution Budget and other K8s resources.
fixes path for event component.

Signed commits

[x] Yes, I signed my commits.

Working Proof of this PR.
https://github.com/meshery/meshery/assets/107461226/9fd4215a-e7ce-457e-829b-3d1b9fd1aa51

Working Proof for Relationship between Event and other k8s resources.
https://github.com/meshery/meshery/assets/107461226/591869ed-a7bf-479b-b017-07390890038d

Merge conflicts, @RipulHandoo

Let's start breaking out these relationships into different files at some point.


Can't Preview Recycle Bin

Microsoft PowerToys version
0.76.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
Click Recycle Bin.
press ctrl space.
Error message, and option to report bug.
✔ Expected Behavior
To see what's in the folder
❌ Actual Behavior
Didn't get to see what's in the folder
Other Software
No response

Yes, my own error thanks.


Icons not viewable when we select the folder on the treeview.

Hi @laranz :wave:, thanks for your contribution :+1:
It is currently not possible to customize the icon color based on the state of the selected item in the tree. In short: There is only a single key to change the color of this icon (with a default color of '808080), but no other key that would be used when the tree item is selected in order to prevent color contrast collisions like this.

Hi @arcticicestudio Thank you so much for the great work. 👍
I am not asking for the icon color change, for example if you check this "Gradianto theme" you can understand it.

Here the icon is shown just fine, but not on our Nord theme ( Check the previous screenshot ).

Duplicate of #161
I don't think Nord has a good "selected but transparent" color like the screenshot you sent does, and personally I think it shouldn't be so transparent
However you could do something like the default theme does and just use a darker color where you keep the text white


Fix offset anchor in FAQ

This PR fixes the offset anchors in the FAQ so that the heading linked to is not covered by the header.
For example, this link looks like this in production (the "How do I use HMR with SvelteKit?" is covered by the header)...

And like this with my changes applied...

The implementation was copied from the Docs component.
I also fixed the permalink focus styles in the FAQ.

What browser are you on?
I'm on Chrome. For me the header disappears, so when I click the link you provided I don't see an issue

I'm on Firefox -- checked Chrome, and you're right that the header disappears there. However, iOS Safari shows the same issue as Firefox (see below)

FWIW, this is the same offset method the svelte.dev docs and FAQ use.

How does your PR look on Chrome? Will it leave a gap in the nav disappears?

With my PR the gap will always be there, whether or not the header is visible. You can try it out on the deploy preview. Weirdly enough, I'm seeing some inconsistent Chrome behavior -- occasionally it still shows the header on page load when navigating to a fragment.
This should behave the same way as the Kit docs, where the gap is always there.
We could possibly put the open state of the nav in a store and adjust the gap accordingly, though that might be over-complicating things. I'm also not sure if that would work consistently, or if it would be too late by the time the page is loaded.

The deploy preview site is working better for me. In Chrome it looks just like your screenshot
Do you think we can get rid of the bit of extra gap? I.e. make it so that the text "SvelteKit is currently in beta..." is not showing and it starts directly with the linked heading

How does this look? It's not an exact science; I got it as close as I can without cutting the heading off on mobile. I also made the changes on the Kit docs for consistency.
Desktop:

Mobile:

thanks!


Gampad Unplug Error "timestamp"

Phaser version(s): Phaser CE v2.11.1
What steps produce the bug: Unplug Gamepad while game is running
What should happen: No Error
What happens instead: Uncaught TypeError: Cannot read property 'timestamp' of undefined
Last change to the Gamepad was: https://github.com/photonstorm/phaser-ce/pull/423
Would be great, if anyone already has some idea, why this started to happen. It used to be no problem. If nobody has any clew, let me know and I start digging.

its certainly at: https://github.com/photonstorm/phaser-ce/blob/04204f5180af319e3abdc895190543a9f9f9b7f3/src/input/SinglePad.js
Line: 216
this._rawPad.timestamp

But also the:
game.input.gamepad.onConnectCallback

is not working. When game started with unplugged gamepad and plugging while game is running. No error there, but also no callback.


[spacefi-blp] add blp strategy

Fixes # .
Changes proposed in this pull request:

README.md

Hi @SpaceFinance Could you please add a readme to this strategy? will help users know more about it

Added, please check

should add strategy to /src/strategies/index.ts like all other strategies

Added Completed

Tests are failing can take a look? try running yarn test --strategy=spacefi-blp --more=500 in your local

Tests are failing can take a look? try running yarn test --strategy=spacefi-blp --more=500 in your local

Modified, please check


Missing library: RevitAPIMacros.dll

The pack is missing missing RevitAPIMacros.dll, think it could be added?

Sure, I'll add it today. Can I have more information, what are you using this library for?

I'm not really sure, it's a requirement in my company's Revit addin, from what I can tell we have a macro manager form that creates revit macros and uses the library as a dependency, I don't know much more than that.

@MaddoScientisto
Nuget pushed https://www.nuget.org/packages/Nice3point.Revit.Api.RevitAPIMacros/
Rep updated

If you need more libraries, please get in touch


ImportError: DLL load failed while importing KTransformersOps: The specified module was not found.

Error during model run

Everything seems to be in place, but the error won't go away.
I use ktransformers-0.1.1+cu125torch24avx2-cp311-cp311-win_amd64.whl

Tried to build the project via .bat
An error occurred.

Do you have CUDA installed and set in the environment variables?
I see the final compilation error is due to failing to get the CUDA version.

Maybe I didn't patch it correctly?

Update

I'm very sorry about it. The Windows server I previously used for testing was tested with CUDA 12.5, but not with CUDA 12.6. The script failure might be due to the version update. I will upgrade my Windows server and re-test to verify this issue.

Thank you. I will keep an eye on your project. Very high hopes.


V2 - Corporate Console - Email is sent to alternate email of the signatory when CLA is signed

Create CLA Group with CCLA enabled
Login to Corporate Console as user having primary email and alternate email. I had made alternate email as primary and vice versa
Sign CLA for a project
Observed "EasyCLA: CLA Signature Signed" email notification is sent alternate email of the signatory

@nirupamav I have verified this ticket and I had made alternate email as primary and vice versa and signed cla so email is coming to my primary email.

Issue is still reproducible

This is in the python models/docusign_model.py file.

@dealako I have checked it's calling from python cla-backend/cla/models/docusign_models.py on this file line no 1488 calling function get_public_email() which will give any email most likely.

@rinkeshbhutwala @dealako
Observed this issue for V1 as well. I have updated the issue description with screen shots


Provide a way to support OpenAPI Specification

OpenAPI Specification is an API description format for REST APIs. If Armeria supports OpenAPI Specification, users can utilize the following open-source tools built around the OpenAPI Specification.

Swagger Editor – browser-based editor where you can write OpenAPI specs.
Swagger UI – renders OpenAPI specs as interactive API documentation.
Swagger Codegen – generates server stubs and client libraries from an OpenAPI spec.

I'm working on it


Fix x wait example

Please provide a description of this PR:
Running the example will have the error:
istioctl experimental wait --for=distribution --threshold=.99 --timeout=300 virtualservice bookinfo.default
Error: invalid argument "300" for "--timeout" flag: time: missing unit in duration "300"

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster_istio
d6f907df0baedaddaf1af1926b8c2a9ca92a0698
link
unknown
/test integ-pilot-multicluster_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-multicluster_istio


Delete stack with no event polling

Hi
Thoughts on an override option (--no-events?) for delete to not poll the event output?
There's times when you just want to
Aws::CloudFormation::Client.delete_stack()
and not block on the event output.

--no-wait perhaps?

I'm getting familiar with the codebase. I'll do a PR shortly.

You can close this - no longer required.


mask generation

In generate_mask.py, can I use "logs/anomaly-checkpoints/checkpoints/embeddings.pt"(the results of main.py) instead of “logs/mask-checkpoints/cable-bent_wire/checkpoints/embeddings.pt”（the results of train_mask.py)?  I don't know the functions of train_mask.py. It seems that only main.py can learn the mask generation.

In generate_mask.py It use “logs/mask-checkpoints/cable-bent_wire/checkpoints/embeddings.pt” which is made by train_mask.py.
train_mask.py generate embedding.pt <-- ('sample'=True, 'inpaint'=False)
main.py genereate embedding.pt <-- ('sample'=False, 'inpaint'=True)
Notice me any question.

@DonghoonPark12 , @TerryMelody , @sjtuplayer
So, if I want to augment the mvtec-ad dataset to create a new dataset, and then train a model to generate masks using the new dataset, should I use the run_mvtec.py code to train the model with train_mask.py and generate the embedding.pt file for the new dataset? After that, should I generate images using the generated_mask.py and generated_with_mask.py codes?
I'm also confused, just like the previous questioner!
Is using run_mvtec.py the correct way to train a custom dataset and then use the trained .pt file to generate images??

ment the mvtec-ad dataset to create a new dataset, and then train a model to generate masks using the new dataset, should I use the run_mvtec.py code to train the model with train_mask.py and generate the embedding.pt file for the new dataset? After that, should I generate images using the generated_mask.py and generated_with_mask.py codes?
I'm also confused, just like the previous questioner!
Is using run_mvtec.py the correct way to train a custom dataset and then use the trained .pt file to generate images??

Yes, you are right. For a new dataset, you should first train the whole model by:
python main.py
After that, you can run run-mvtec.py, which will generate the mask and then the anomaly images.

After training my custom dataset using main.py, where should I place the generated checkpoint files, such as embeddings.pt and spatial_encoder.pt, and how should I use them?
After training my custom dataset with main.py and generating the .pt files, do I need to further train train_mask.pt using the run-mvtec.py code?
I’m a bit confused about the difference in roles between main.py and run-mvtec.py (train_mask.py). How should I correctly use the checkpoints created from main.py?
Could you please provide more details on how to use the checkpoint files created from main.py?

I trained a new custom dataset using main.py and then moved the generated embedding.pt and spatial.pt files to the logs/anomaly-checkpoint folder. However, after running run-mvtec.py, the images were not generated correctly, so I’m asking for help!
Below is a picture of the images generated in the mask-checkpoint folder during the train_mask.py process after running run-mvtec.py.


boss crash - bgh251f2

Supposed to spawn some soldiers when you blow it up but just crashes the game instead. The encounter looks ok, the soldiers are slotted where they should be etc.
Quick access: seed<PHONE_NUMBER> at the Balamb Hotel

The tank's death script calls the 1st soldier, who calls the next one, etc. But they're the same kind of soldiers you fight elsewhere so the script actually has to check the encounter number before it runs. Which obviously I've changed, so it doesn't run.
(Strangely though it doesn't crash with rebalancing turned off... I think I'm still upsetting the monster data files somehow)
So I either need to find & fix every script that references encounter codes, or make it so the bosses bring their encounter IDs with them. This would be a lot easier if MiniMog was finished!!

Fixed the battle scripts, there weren't too many (7029517)
This battle works fine now with rebalancing off, but still crashes when it's turned on.

Rebalanced fight no longer crashes (06da13e) - turned out to be a division-by-zero error on some of the new stat values. The soldiers now pop out of the tank like they're supposed to, screaming & on fire, with way too much HP & hardly any STR (#3).


Update README.md

Maybe you should point people to the new TSLint page, cause the current link points them to a page saying TSLint was deprecated.
Cheers,

oops, I clicked in the wrong link! ;/


Add sticky options

Hi again!
This adds the ability to make options unremovable after they're selected.
In our app we share a form with 2 LiveViews and use LiveSelect to handle a nested association, in one of the pages we pre-set a default option that can't be removed but the user is still allowed to add/remove other options.
I've tried to follow your library standards and any feedback to improve my contribution is welcome.
Thanks!

Thanks for taking the time to review. I've implemented your suggestions.

looks great! Thanks again. I will release a new version tomorrow


Lock files out of date

… ~/black> git rev-parse HEAD
a4399f3054206eac52a89832a415e31077bafa0a

… ~/black> pipenv install
Pipfile.lock (1d69ac) out of date, updating to (1480f9)…
[...]

The lock file diff is quite large and I'm not sure what was the relevant change.
Last commit to touch Pipefile was 866be066463fc8fd01c16559596641f6ead1e797
@fried @willingc

Fixed in 5b01a8e3b07f2bbf4b0bd9071853364254f308ca

as a sidenote, Pipfile.lock might be different on each platform, and the commit above was generated using python 3.7.3 on a 64bit Linux platform


TST: xfail problematic test for 1.2.x LTS branch

Related to #9777, but I'll want to keep that issue open for now for a more detailed fix / consideration on master branch.
This is the only failing test both locally and in wheel builds when 1.2.1 is built with NumPy < 1.14.0. The bisection of NumPy hashes / analysis is available in the linked issue.

All green, in it goes. Thanks @tylerjereddy

The same fix can be applied in master IMO.
The test is not very intetesting: it simply checks that a refactoring of scipy.interpolate (which went in in scipy 1.0) did not break obscure cases of back compat. Unless there's more refactoring of fitpack (unlikely), both splrep and _impl_splrep either both raise or both print stuff to stderr.


Quota exceed

Nice plugin, unfortunately I can't generate quizzes,even with 1 document that has a token length of 300, using gpt-4. It tells me that I have exceeded the token quota.

Which usage tier is your OpenAI account? If your account is the free tier, you can't use GPT-4. You can check your account tier at the bottom of this page.

ok, perfect, i didn't know it went to sleep if you didn't use the api for a while. it was back to tier free.
i've been looking for a plugin like that for a while. it's cool.
only one feedback i can give you so far, is that; some of the multiple answer options sometimes seem to be too long and get lost left and right in the container. but otherwise it's phenomenal.
i look forward to trying the fill-in-the-blank and matching modes, as well as other models like those provided by groq.
thanks again, and I will definitely support the plugin !!!

Da: Edward Cui @.>
Inviato: lunedì 4 marzo 2024 11:32
A: ECuiDev/obsidian-quiz-generator @.>
Cc: calimbrasti94 @.>; Author @.>
Oggetto: Re: [ECuiDev/obsidian-quiz-generator] Quota exceed (Issue #3)
Which usage tier is your OpenAI account? If your account is the free tier, you can't use GPT-4. You can check your account tier at the bottom of this pagehttps://platform.openai.com/account/limits.
—
Reply to this email directly, view it on GitHubhttps://github.com/ECuiDev/obsidian-quiz-generator/issues/3#issuecomment-1976266002, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6OYQX5WAM6WET2QRES2DTYWRETVAVCNFSM6AAAAABEE3I6KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZWGI3DMMBQGI.
You are receiving this because you authored the thread.Message ID: @.***>

I'm glad you like the plugin and thank you for the support!
As for multiple choice options getting lost in the UI, would it be possible for you to attach an image showing what you mean?

other examples..
[cid:976d8f42-abd9-44f9-bb6f-c18fd1234fdd]

Da: lorenzo leone @.>
Inviato: lunedì 4 marzo 2024 12:27
A: ECuiDev/obsidian-quiz-generator @.>
Oggetto: R: [ECuiDev/obsidian-quiz-generator] Quota exceed (Issue #3)
maybe i have over complicated the meaning, simply the answer boxes don't contain (they don't wrap, or anything else) the full answer, but just centering the text, thus losing part of the answer. as you see in the image, it is a short answer test, so it seems to happen with other modalities besides MCQ.
for more background; I study biology and am Italian, so the length of the answers I get is also by linguistic necessity, and argumentation, longer.
[cid:72cdfd6a-9f30-4c23-abc8-8b1f543eb993]

Da: Edward Cui @.>
Inviato: lunedì 4 marzo 2024 12:15
A: ECuiDev/obsidian-quiz-generator @.>
Cc: calimbrasti94 @.>; Author @.>
Oggetto: Re: [ECuiDev/obsidian-quiz-generator] Quota exceed (Issue #3)
I'm glad you like the plugin and thank you for the support!
As for multiple choice options getting lost in the UI, would it be possible for you to attach an image showing what you mean?
—
Reply to this email directly, view it on GitHubhttps://github.com/ECuiDev/obsidian-quiz-generator/issues/3#issuecomment-1976346019, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS6OYQTFMFYEY52JAHQ2VETYWRJTTAVCNFSM6AAAAABEE3I6KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZWGM2DMMBRHE.
You are receiving this because you authored the thread.Message ID: @.***>

All I see is the CID (Content ID) instead of the actual image. Perhaps try attaching them through the GitHub website instead of replying to the notification email?

sorry, here are the images sent earlier.

Hmm, that's strange. When I try with a pretty long question my text wraps around just fine. It still works even after I translate it to Italian.
Could you show the raw text for your questions in source mode? The plugin is a bit picky with question formatting.

here is a video of the text from which he generated the answers, I hope I understand the request.
also, for more background, i use the "minimal" theme by kepano, i don't know if it can be useful information.
https://github.com/ECuiDev/obsidian-quiz-generator/assets/79490114/2c87ea7e-badf-4278-b622-03b92c2bd24f

Ah, I meant the text of the actual questions (you'll need to save the generated questions), not the text the questions were generated from.
For example, the text of the two questions I sent earlier (saved in callout format) is
> [!question] In the realm of artificial intelligence ethics, consider the development of autonomous weapon systems (AWS). Advocates argue that AWS can minimize human casualties in warfare, while critics express concerns about the lack of human control and potential ethical implications. Applying an ethical framework, which option aligns with a consequentialist perspective?
> a) Reject the use of AWS to preserve human control and uphold moral principles.
> b) Implement strict regulations and oversight to balance the benefits and risks of AWS.
> c) Embrace AWS deployment to reduce overall casualties and enhance military effectiveness.
> d) Encourage international collaboration to establish a global consensus on AWS usage.
>> [!success]- Answer
>> c) Embrace AWS deployment to reduce overall casualties and enhance military effectiveness.

> [!question] Nel campo dell'etica dell'intelligenza artificiale, consideriamo lo sviluppo di sistemi d'arma autonomi (AWS). I sostenitori sostengono che AWS può ridurre al minimo le vittime umane in guerra, mentre i critici esprimono preoccupazione per la mancanza di controllo umano e le potenziali implicazioni etiche. Applicando un quadro etico, quale opzione si allinea con una prospettiva consequenzialista?
> a) Rifiutare l'uso di AWS per preservare il controllo umano e sostenere i principi morali.
> b) Implementare normative e controlli rigorosi per bilanciare i vantaggi e i rischi di AWS.
> c) Adottare l'implementazione di AWS per ridurre le vittime complessive e migliorare l'efficacia militare.
> d) Incoraggiare la collaborazione internazionale per stabilire un consenso globale sull'utilizzo di AWS.
>> [!success]- Risposta
>> c) Adottare l'implementazione di AWS per ridurre le vittime complessive e migliorare l'efficacia militare.

ahah, i knew i was doing it wrong, sorry. here is the raw text generated in callout format.
more info: at the time of generation i had simultaneously activated both the option to save questions in spaced repetition format and in callout. in the text pasted below i selected only the callout format, but for spaced it was same text with different organization (obviously).

[!question] Cosa indica il termine 'biodisponibilità' nei farmaci?
a) La quantità di farmaco eliminato attraverso la bile
b) La frazione inalterata di farmaco presente nella circolazione sanguigna
c) La capacità di un farmaco di alterare l'appetito
d) La velocità con cui un farmaco è assorbito dal tratto gastrointestinale

[!success]- Answer
b) La frazione inalterata di farmaco presente nella circolazione sanguigna

[!question] Cosa accade a livello molecolare quando il succo di pompelmo interagisce con certi farmaci?

[!success]- Answer
Il succo di pompelmo inibisce in maniera selettiva una specifica isoforma del citocromo P450 del tratto gastrointestinale, aumentando così la biodisponibilità di alcuni farmaci metabolizzati da questa isoforma.

[!question] Il succo di pompelmo può inattivare un'isoforma del citocromo P450.
True or false?

[!success]- Answer
True

[!question] Qual è l'effetto del consumo di alimenti contenenti tiramina in pazienti che assumono MAOI?

[!success]- Answer
Il consumo di alimenti contenenti tiramina in pazienti che assumono MAOI può portare a un accumulo di tiramina, che promuove il rilascio di grandi quantità di catecolamine e può causare una crisi ipertensiva.

Hmm, that's weird. I pasted your questions into a new note and they get displayed properly.

could it be a theme compatibility issue? i have modified several things in the theme granularly, i don't know if it could adversely affect the UI of your plugin.

Yup, that was it. I just installed Minimal and now my question text isn't wrapping either. Some of my CSS styles are probably being overridden by Minimal somewhere. I'll see if I can find a fix.

This bug has been fixed as part of the next release.


TypeError: n.replaceAll is not a function

TypeError: n.replaceAll is not a function
    at /Users/jhh/git/heusalagroup/create-backend/dist/create-backend.js:456:100
    at Array.forEach (<anonymous>)
    at Function.copyTextFileWithReplacements (/Users/jhh/git/heusalagroup/create-backend/dist/create-backend.js:456:73)
    at Function.copyTextFileWithReplacementsIfMissing (/Users/jhh/git/heusalagroup/create-backend/dist/create-backend.js:458:39)
    at /Users/jhh/git/heusalagroup/create-backend/dist/create-backend.js:917:64
    at Array.forEach (<anonymous>)
    at /Users/jhh/git/heusalagroup/create-backend/dist/create-backend.js:917:24
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

$ node --version
v14.20.1

This is because NodeJS v14 does not have "".replaceAll().

Fixed problems with HG's replaceAl() so that can be used again now as a replacement:
https://github.com/heusalagroup/fi.hg.core/issues/29

Fixed in version 1.0.6


Roll versions forward

Move sundials version to latest (6.5.1)
Move rust edition to 2021
Move bindgen to latest
Update simple_ode test to work with new version of sundials
Roll package version to 0.3.0, reflecting breaking changes introduced by sundials

@Chris00 thoughts on this?

Shouldn't the vendored version be updated as well and be used if it is detected that the system libraries are too old (with a message to the user)?

The vendor submodule is updated to the commit corresponding to the latest release. I don't plan to change the linking logic on this PR.

I see what you mean about needing to select the sundials version during build - working on a solution for that on a different branch and I'll bring it into this one once I have something reasonable

Added some logic to the build.rs to figure out what version of SUNDIALS we built bindings for, and set a config flag based on the version to allow testing against either older or newer versions. This may drive a small amount of maintenance in the long run, but avoids making the crate specific to a given version of SUNDIALS or implementing platform-specific fallback logic

Rolled rustfmt formatting back and rebased to reduce commit debris

As you may have noticed, I updated the sundials version to the latest (and compile the vendored version if the one present on the system is not the latest).


updated requirements list in readme

Cleaned up the basic requirements and added remote hosted bot requirements above the docker instructions

@denverquane I made you a new PR. Not sure if that was the right way to do it or not, but here you go.


Az CLI login non-interactive with username and password throws ascii encode error

This is autogenerated. Please review and update as needed.
Describe the bug
Login to Azure using CLI  az login non-interactive throws 'ascii' codec can't encode characters in position 1617-1618: ordinal not in range(128)
Command Name
az login -u naveenkumar.td@** -p ****
Errors:
The command failed with an unexpected error. Here is the traceback:
'ascii' codec can't encode characters in position 1617-1618: ordinal not in range(128)
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 660, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 723, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 716, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\six.py", line 703, in reraise
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 694, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 331, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/init.py", line 811, in default_command_handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 162, in login
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 215, in find_subscriptions_on_login
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 885, in find_from_user_account
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/authentication_context.py", line 164, in acquire_token_with_username_password
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/authentication_context.py", line 128, in _acquire_token
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/authentication_context.py", line 162, in token_func
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/token_request.py", line 285, in get_token_with_username_password
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/token_request.py", line 258, in _get_token_username_password_federated
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/token_request.py", line 210, in _perform_username_password_for_access_token_exchange
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/token_request.py", line 197, in _perform_wstrust_exchange
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/wstrust_request.py", line 169, in acquire_token
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/wstrust_request.py", line 126, in _handle_rstr
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/wstrust_response.py", line 238, in parse
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\adal/wstrust_response.py", line 217, in _parse_token_by_re
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1617-1618: ordinal not in range(128)
To Reproduce:
1.Login using az login non interactive command. Pass username and password as arguments.
Expected Behavior
Login should successful.
Environment Summary
Windows-10-10.0.14393-SP0
Python 3.9.1
Installer: MSI

azure-cli 2.21.0 *

Additional Context
az login with service principal and interactive is successful.

@jiasli for awareness

This issue happens in Windows server 2016

Looks like a same issue as https://github.com/Azure/azure-cli/issues/17444. We fixed it in https://github.com/AzureAD/azure-activedirectory-library-for-python/pull/251 and released it in 2.22.0. Please update to the latest version and see if the issue persists.

Thank you @jiasli. I have upgraded to latest version and it is working as expected.