Registry metadata endpoint at root

In order to aid in client development supporting both v1 and v2 registries, specify a metadata endpoint which provides information related to the capabilities of the registry, which versions are supported, and what the mirror options are.  The metadata endpoint would live at the root registry URL and return a JSON configuration value.  For example an image with the name "registry.example.com/myimage" would have a metadata endpoint at https://registry.example.com/ and could have a v2 supported registry at https://registry.example.com/v2/.
The JSON value will contain a section for each version of the registry which is supported. The values for each version is defined by the version since many of the keys do not apply to each version. If the metadata endpoint cannot be loaded, then the client should assume a default configuration which is v1 only, no mirrors, and the index is at the endpoint + "/v1/".
JSON value
{
   "endpoints": {
      "v2": {
         "version": "2"                   // Version of registry
         "root": "https://endpoint/v2/",  // V2 root endpoint (default: /v2/)
         "push": true,                    // Whether push is supported or pull-only
         "fallback": "v1",                // Where to fallback on manifest 404 (default: no fallback)
         "mirrors": [                     // Pull mirrors
            {
               "root": "https://mirror/v2/", // Mirror endpoint
               "manifests": true             // Whether mirror contains manifests
            },
         ],
      },
      "v1": {
         "version": "1",                      // Version of registry
         "index": "http://indexendpoint/v1/", // V1 index endpoint (default: /v1/)
         "push": true,                        // Whether push is support or pull-only
         "mirrors": [                         // Layer mirrors (index mirroring not supported)
            {
               "root": "https://mirror/v1/"
            }
         ]
      }
   }
}

edit 1: Updated JSON format to add top level key for endpoints, mirrors as array of objects, fallback a pointer instead of a boolean, and version number

Could also add a flag for v1 whether to support push, would be the case where v1 images are still needed to be downloaded, but new images should only be pushed to v2.

I like this. Let me get out my bikeshed:
{
    "Endpoints": [{
        "Version": "v2",
        "Root": "https://endpoint/v2/",  // V2 root endpoint (default: /v2/)
        "Fallback": // .. We may want a more flexible value that bool, maybe "v1" or
        "Mirrors": [
            {
                "Version": "v2",
                "Root": "https://mirror/v2/", ..., // Pull mirrors
                ...
            },...
         ],
    },
    {
        "Version": "v1",
        "Index": "https://indexendpoint/v1/",  // V1 index endpoint (default: /v1/)
        "Mirrors": [],
    },
}

Some ideas:

The list of endpoints could be an ordered list of fallback points
They could have references to other list items to specify direct fallback, mirrors, etc.

LGTM!

Superseded by #179


Component cannot unsuspend if it suspended by infinite promise

Summary
Infinite promise suspends component without ability to unsuspend.
import { Suspense } from 'react'
import { proxy, useSnapshot } from 'valtio';
import { isLoading } from '../../engine/base/loading'

const suspender = proxy<{ suspended: boolean | Promise<boolean> }>({
    suspended: false,
});

const Suspender = () => {
    useSnapshot(suspender).suspended;

    return (

Suspender

    )
}

export default () => {
    return (
        <>
            <Suspense fallback={Suspended}>
                <Suspender />
            </Suspense>
            <button onClick={() => {
                if (isLoading(suspender.suspended)) {
                    suspender.suspended = false;
                    console.log('unsuspend');
                } else {
                    console.log('suspend');
                    suspender.suspended = new Promise(() => {});
                }
            }}>Suspend</button>
        </>
    )
}

Link to reproduction
https://codesandbox.io/s/hardcore-nightingale-9xvl1m?file=/src/App.tsx

After a small investigation I've found out that the problem hides in createProxy from proxy-compare

This is an unsupported usage. React can't do that either. You should resolve the promise on your end.
A bit of background:
Jotai can do it with a careful design. It's tricky implementation-wise.
Valtio implementation is pretty simple as just throwing a promise.
When the use hook from React lands, this technique might not be possible, and we may need to re-design the API then. So, we shouldn't do something new at this point.


⚠ Samsung has degraded performance

In 7c40bde, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2183 ms

Resolved: Samsung performance has improved in dd2fa1e.


Minor restructure for ko compatibility

Move cmd/main.go to cmd/trust-manager/main.go so that ko correctly builds as a trust-manager binary. This brings it into line with other go project structures.
This is a noop as far as the current build mechanism is concerned - it should generate the same thing in the same way, but this restructure facilitates an easier development/test cycle.

/ok-to-test


Update README.md

[Current coverage][cc-pull] is 36.11%

Merging [#6][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #6   diff @@
==========================================
  Files             1          1
  Lines            36         36
  Methods           3          3
  Messages          0          0
  Branches         12         12
==========================================
  Hits             13         13
  Misses           23         23
  Partials          0          0

Powered by Codecov. Last updated by [07d01d8...de258b4][cc-compare]
[cc-base-branch]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/compare/07d01d8460fd57f9743c13bca6222dbcd5cbf499...de258b42023979c18fbd6bc6d86b0d97e1fc1e9a
[cc-pull]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/pull/6?src=pr


avoid taking address of empty vector element

weird... I though I had fixed this one... Probably didn't push that particular commit... sorry about that... I'll check at home on my laptop if other commits for #3176 are still not merged...

Replaced by #3406 which contains another fix that was not checked in.


geojsonioauth.herokuapp.com shutting down April 1

geojson.io's auth still runs on my personal heroku account. I'm happy to transfer it to a Mapbox heroku account, or someone at Mapbox can run their own (it's just a vanilla gatekeeper instance). Setting April 1 as the sunset date for this instance, as well as localhostauth.herokuapp.com, the server that local development relies on for GitHub authentication.

@tmcw thanks for the assistance on this. The Heroku apps are running under my account today and will be transferred to a Mapbox Heroku account soon.


Write logfile with KeyVault query response on /test-destroy-env

Add extra diagnostics on /test-destroy-env to test whether the issues with destroying Key Vaults are related to #1511

/test-force-approve


Fix versionlock regex

The current regular expressions for the yum::versionlock defined type are too liberal and will match invalid strings as long as they end in an asterisk. In my experience, although the official documentation is a little vague on this, wildcard characters cannot cover the field separators.  For example, 0:bash-4.1.2-9.el6_2.*, the example from the header docs, is valid, because it uses the wildcard to cover the %{ARCH} field. However, this seemingly similar input would be invalid to yum-versionlock (but valid to the module): 0:bash-4.1.2-9*.
Fixing this will be a breaking change, so I wanted to open this before it gets tagged 1.0.0. I am working on a fix.

it's too my expirience that the asterisk only works for a single field and documentation is not very good.


Podman doesn't fail when joining a custom CNI network with rootless container

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description

Steps to reproduce the issue:

sudo podman network create customnet

podman run -it --rm --network customnet alpine ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

sudo podman run -it --rm --network customnet alpine ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: eth0@if66: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP
    link/ether 0a:70:82:4d:6b:2a brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::870:82ff:fe4d:6b2a/64 scope link tentative
       valid_lft forever preferred_lft forever

Describe the results you received:
When running rootless podman and attaching to custom network created by podman network it silently ignores network and runs without warning/error, just doesn't have network interface inside.
Describe the results you expected:
If it's not allowed to attach to network, container run should fail with an appropriate message,
Additional information you deem important (e.g. issue happens only occasionally):
Actually as workaround for rootless containers to run with custom IP range could be changing the default CNI network range.
Output of podman version:
podman version
Version:            1.6.1
RemoteAPI Version:  1
Go Version:         go1.12.9
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.9
  podman version: 1.6.1
host:
  BuildahVersion: 1.11.2
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.1-1.fc30.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.1, commit: 4346fbe0b2634b05857973bdf663598081240374'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>8
  OCIRuntime:
    package: runc-1.0.0-95.rc9.gitc1485a1.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc9+dev
      commit: 0840802d505e28d3adcbc7a275cbeadbdf64ddec
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>2
  SwapTotal:<PHONE_NUMBER>4
  arch: amd64
  cpus: 4
  eventlogger: journald
  hostname: sshnaidm.remote
  kernel: 5.3.6-200.fc30.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-4.git19d199a.fc30.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.2
      commit: 19d199a6ca424fcf9516320a327cedad85cf4dfb
  uptime: 48h 33m 26.97s (Approximately 2.00 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/sshnaidm/.config/containers/storage.conf
  ContainerStore:
    number: 3
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.6.4-2.fc30.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.6.4
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/sshnaidm/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 21
  RunRoot: /tmp/1000
  VolumePath: /home/sshnaidm/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.1-2.fc30.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):

Why that ?
I can write a c application that creates a passive endpoint for portnumber > 1024 (or more?) using the IP-device ? So why do you forbid that ?

If it would work, then we should support it. But the rootless user would need to be able to hook up the network,  I would worry about UserNamespace and potentially SELinux blocking this access.

Sorry, my fault. I have overseen den port-mapper option in the manual:
podman run  -ti -d  -p <IP_ADDRESS>:9190:80
that provides what i was looking for.
Sorry!


build: remove custom variables

Adjust the configuration of subprojects to use the CMake parameters and
export targets/imported targets rather than custom variables.  This
simplifies the builds of libdispatch, Foundation, and XCTest.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 7f80f3c59beea0162d47e50c19775c6104aeb246

Build failed
Swift Test Linux Platform
Git Sha - 7f80f3c59beea0162d47e50c19775c6104aeb246

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Generated APIs require a "jwtBearerAuth" token, which seems impossible to set

It seems that the security field in the OpenAPI spec causes the generator to require that a jwtBearerAuth token is set, but the code to set it isn't generated. This causes any call using an AuthApi client (and possibly other clients that have this securitySchema) to throw an exception.
This is where the exception is thrown (in nl.reinkrul.nuts.ApiClient)
    public void updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams,
                                    Map<String, String> cookieParams, String payload, String method, URI uri) throws ApiException {
        for (String authName : authNames) {
            Authentication auth = authentications.get(authName);
            if (auth == null) {
                throw new RuntimeException("Authentication undefined: " + authName);
            }
            auth.applyToParams(queryParams, headerParams, cookieParams, payload, method, uri);
        }
    }

The part of the OpenAPI spec that defines this securitySchema
  securitySchemes:
    jwtBearerAuth:
      type: http
      scheme: bearer

security:
  - {}
  - jwtBearerAuth: []

The part of AuthApi that requires this authentication (in nl.reinkrul.nuts.auth.AuthApi)
String[] localVarAuthNames = new String[] { "jwtBearerAuth" };
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);

You're supposed to be able to set this bearer token in the ApiClient, but the setter that's supposed to do that isn't generated and the authentications map that's supposed to contain this jwtBearerAuth authentication is immediately set to immutable.
In nl.reinkrul.nuts.ApiClient
    public ApiClient() {
        init();
        initHttpClient();

        // Setup authentications (key: authentication name, value: authentication).
        // Prevent the authentications from being modified.
        authentications = Collections.unmodifiableMap(authentications);
    }

I worked around this issue by deleting the securitySchema and security fields of the OpenAPI specs

It is caused because by generating a model-only OpenAPI (which technically isn't supported but works nonetheless, but has no authentication) for shared code as last step, which overwrote the (correctly) earlier generated API client. Moved that higher up and all is fine now. Added tests to assert it's working with both no auth and JWT bearer. Released as v5.0.1


[question] running ansible-bender inside unprivileged containers

I'm trying to use ansible-bender inside an unprivileged container run by systemd-nspawn. This runtime by default limits access to some host capabilites:

systemd-nspawn limits access to various kernel interfaces in the container to read-only, such as /sys, /proc/sys or /sys/fs/selinux. Network interfaces and the system clock may not be changed from within the container. Device nodes may not be created.
https://wiki.archlinux.org/index.php/Systemd-nspawn

So basically I'm having problems with all podman commands called by ab so far. For instance the simple-playbook fails when podman tries to run the base image:
[root@root ~]# podman run --rm python:3-alpine
ERRO[0002] unable to remove container d902bcf5a5840c56242e86c0632f399616c739ba674668b8cf66c6b953fbbf04 after failing to start and attach to it
Error: container_linux.go:345: starting container process caused "process_linux.go:281: applying cgroup configuration for process caused \"mkdir /sys/fs/cgroup/cpuset/machine.slice: read-only file system\""
: OCI runtime error

As a solution, systemd-nspawn allows to run containers adding extra capabilities:
➜  $ systemd-nspawn --capability=CAP_
CAP_CHOWN             CAP_KILL              CAP_SETFCAP           CAP_SYS_CHROOT
CAP_DAC_OVERRIDE      CAP_LEASE             CAP_SETGID            CAP_SYS_NICE
CAP_DAC_READ_SEARCH   CAP_LINUX_IMMUTABLE   CAP_SETPCAP           CAP_SYS_PTRACE
CAP_FOWNER            CAP_NET_BIND_SERVICE  CAP_SETUID            CAP_SYS_RESOURCE
CAP_FSETID            CAP_NET_BROADCAST     CAP_SYS_ADMIN         CAP_SYS_TTY_CONFIG
CAP_IPC_OWNER         CAP_NET_RAW           CAP_SYS_BOOT

Ideally I should pick the one with least privileges that allows podman to run. Which one it is? I'm a bit worried about CAP_SYS_ADMIN (full host access) just in case it messes up some config or setup on the host side (e.g. residual files).
Thanks and feel free to close if this is too much off-topic here. I've decided to ask because some others trying ab for the first time can have also these same doubts, specially when you are not very familiar with all the implications about containers.

You might get better answers if you ask at podman/buildah issue tracker.
@TomSweeneyRedHat actually blogged about running buildah in a podman container: https://developers.redhat.com/blog/2019/04/04/build-and-run-buildah-inside-a-podman-container/

Thanks for the info. Closing for now.


Separate out Moon Palace events data for Smeaton 300

Two extra headlines:

[x] Number of Moon Palace events
[x] Moon Palace total engagements

Then existing headlines will be:

[x] Total events
[x] Total engagements

Confirm with L23 if anything else

Closing #195 as completed


[Event Request] Codeunit 99000854 Inventory Profile Offsetting - OnBeforeInsertPurchLineToProfile

Hi, would it be possible to get an event OnBeforeInsertPurchLineToProfile in codeunit 99000854, procedure TransPurchLineToProfile, like this :
local procedure TransPurchLineToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; ToDate: Date)
    var
        PurchLine: Record "Purchase Line";
        IsHandled : Boolean;
    begin
        OnBeforeTransPurchLineToProfile(InventoryProfile, Item, ToDate);
        if PurchLine.FindLinesWithItemToPlan(Item, PurchLine."Document Type"::Order) then
            repeat
                if PurchLine."Expected Receipt Date" <> 0D then
                    if PurchLine."Prod. Order No." = '' then
                        InsertPurchLineToProfile(InventoryProfile, PurchLine, ToDate);
            until PurchLine.Next = 0;

        if PurchLine.FindLinesWithItemToPlan(Item, PurchLine."Document Type"::"Return Order") then
            repeat
                if PurchLine."Expected Receipt Date" <> 0D then
                    IsHandled := false;
                    OnBeforeInsertPurchLineToProfile(PurchLine,IsHandled);
                    if not IsHandled then begin
                        if PurchLine."Prod. Order No." = '' then
                            InsertPurchLineToProfile(InventoryProfile, PurchLine, ToDate);
                    end;
            until PurchLine.Next = 0;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeInsertPurchLineToProfile(PurchLine : Record "Purchase Line" ; var IsHandled : Boolean)
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Assert statements refactoring

I have made things!

Hello, first-time submitting PR here.
This PR improves the readability of the assert statements in some of the unit tests. These changes improve code quality (avoid test smells) by:

Making the assert statements more readable and consist with other asserts in the same test file, e.g., x <= var <= y.

Simplifying code management. For example, instead of simply saying "https", use the parameter name(URLScheme.HTTPS.value) so that developers could only update the value in one place.

Using more precise assert statements to restrict the assert rules.

Checklist

[x] I have read contributing guidelines

[x] I'm sure that I did not unrelated changes in this pull request

[x] I have created at least one test case for the changes I have made

[x] I have added myself to the CONTRIBUTORS.rst

Related issues

Happy to update more related issues in the test code if needed :)

@freddiewanah Great job! Thank you


Prompt being overwritten, leading to cwd being removed when venv is activated by the extension

Discussed in https://github.com/microsoft/vscode-python/discussions/22148

Originally posted by realratchet October  4, 2023
Hello,
I've been using ~6 month old vscode (1.76.2) until recently recently, when decided to update it to 1.81.1 (because 1.82 has broken sourcemap reloading) and noticed that python extension has started hiding CWD in the terminal when it activates it. I've tried looking any references to it in json/discussion/tickets but any keywords I could think off of didn't find anything useful.
Here's an example of no venv activated

Here's an example when venv is activated manually

Here's an example when venv is activated by the extension

Is there a way to disable it, I've been using this for 3 days now and I'm at my breaking point to where I permanently switch to 1.76.2. I can't seem to find any user config that disables this behaviour. I know that it shows the current directory near the terminal icon but it's way out of place because you actually have to move your focus and even then it doesn't show full path if you're dealing with directory tree that has directories with same name.
Thanks.

Also, you'll probably need to switch to latest version of VS Code.
If you decide you do not want to go this way, you can disable the experiment until you're ready to upgrade:
"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"]

Also, you'll probably need to switch to latest version of VS Code.
If you decide you do not want to go this way, you can disable the experiment until you're ready to upgrade:
"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"]

Switching to pre-release and toggling pythonTerminalEnvVarActivation flag on/off is seems to have resolved it. However, using release version alone and doing the same didn't. The release version on my vscode is v2023.16.0 pre-release is v2023.15.12301911.
This works for me.

That's great, we plan release to the fix in the release version officially this week.


Auto Merge Config

this adds the ability to merge the users config file with an example/template, allowing for an option to update the users config it it is missing any new keys/plugins. This also untracks the users config file from git allowing for the ability to update via git pull without squashing the current config with the one currently on github, this also has the nice side effect of helping to not accidentally upload your config if you are contributing to the project, or somehow accidently pushed your config via git.

Going to prioritise other stuff for the time being and come back to this on the basis that I think it will only be applicable moving from SquadJS v2.0.0 to v2.0.1+ and I don't want to revisit it each time we change the config style whilst we work on v2.


Possible typo in azure-defender-storage-configure.md

The informational part containing information about enabling Microsoft Defender for Storage on a storage account using a Bicep template talks about enabling it at the subscription level.
I think this is a typo because at that location, we are following the steps on the "Enable on a storage account" tab, hence this change to fix it for future reference.
This is also the case for enabling it using REST API.
I have copied the text from the "Enable on a storage account" tab under "ARM template" part.

@bmansheim

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Can I customize the prompt?

I want to automatically bring up the prompt after chatgpt starts. Where can I modify it? The modification I made in lambda_function.py seems to be invalid.
def generate_gpt_response(chat_history, new_question):     try:         messages = [{"role": "system", "content": "I want you to act as a spoken English teacher and improver. I will speak to you in English and you will reply to me in English to practice my spoken English. I want you to keep your reply neat, limiting the reply to 100 words. I want you to strictly correct my grammar mistakes, typos, and factual errors. I want you to ask me a question in your reply. Now let's start practicing, you could ask me a question first. Remember, I want you to strictly correct my grammar mistakes, typos, and factual errors."}]         for question, answer in chat_history[-10:]:             messages.append({"role": "user", "content": question})             messages.append({"role": "assistant", "content": answer})         messages.append({"role": "user", "content": new_question})         response = openai.ChatCompletion.create(             model="gpt-3.5-turbo-0613",             messages=messages,             max_tokens=100,             n=1,             stop=None,             temperature=0.5         )         return response['choices'][0]['message']['content'].strip()     except Exception as e:         return f"Error generating response: {str(e)}"

Yes, you can modify to make it start requesting the ChatGPT API. To do that you will need to modify the LaunchRequestHandler
Instead of:
speak_output = "Chat G.P.T. mode activated"

session_attr = handler_input.attributes_manager.session_attributes
session_attr["chat_history"] = []

You can change for something like:
prompt = "YOUR PROMPT HERE"
session_attr = handler_input.attributes_manager.session_attributes
session_attr["chat_history"] = []
speak_output = generate_gpt_response(chat_history, prompt)
session_attr["chat_history"].append((prompt, speak_output))

Thank you very much k4l1sh, the problem is solved. But I modified the next part of the code.
def handle(self, handler_input):
    # type: (HandlerInput) -> Response
    prompt = "I want you to act as a spoken English teacher and improver. I will speak to you in English and you will reply to me in English to practice my spoken English.."
    session_attr = handler_input.attributes_manager.session_attributes
    session_attr["chat_history"] = []
    speak_output = generate_gpt_response(session_attr["chat_history"], prompt)
    session_attr["chat_history"].append((prompt, speak_output))


Cloud service

This adds the Server end code for creating projects and running trajectory analysis. Trajectories analysis TESTED. Project creation UNTESTED. Merging to begin test with Tornado

If it doesn't work, we're fixing it shortly.  Ship


[spi_device] Explicit reset buffer for CSb

CSb cio_csb_i is used as a reset and a signal in SPI_DEVICE. To not be
confused, this commit added buffers to the CSb and used the buffer
signals in reset mux, sys clock, sck clock.

Regarding the "to not be confused" motivation, is that for the human reader or for tools?
In any case, this LGTM.

For Human, specifically, for future me  to not confuse the use of the signal.
For the synchronization issue, the signals may be used directly. So, I didn't sync it here but synced to create the assertion/ deassertion pulses.


using tusd handler with gorilla mux causing "NetworkControlError" warnings

Question
How to properly configure tusd handler to be used by gorilla mux without causing warnings of tusd middleware setting Read & Write Deadlines.
Setup details
Please provide following details, if applicable to your situation:

Operating System:Linux
Used tusd version: 2.4.0
Used tusd data storage: filestore
Used tusd configuration: NotifyCompleteUploads: true;
Used tus client library: -

when integrating the handler.NewHandler() into my existing gorilla mux with:
r.PathPrefix("/file/").Handler(http.StripPrefix("/file/", tusHandler))

i get alot of warnings for every request as the tusd middleware is trying to set Read & Write Deadlines which seems not supported:
WARN NetworkTimeoutError method=PATCH path=0d9b75efacca2786a9638d005c208b87 requestId="" id=0d9b75efacca2786a9638d005c208b87 error="feature not supported"

SetReadDeadline

Can you provide a minimal example to reproduce this?
The code causing this warning uses http.NewResponseController, whose documentation hints at where the error might be coming from:

The ResponseWriter should be the original value passed to the [Handler.ServeHTTP] method, or have an Unwrap method returning the original ResponseWriter.
[...]
If the ResponseWriter does not support a method, ResponseController returns an error matching ErrNotSupported.

Could it be that mux only provides you with a wrapped ResponseWriter and not the original one? What version of HTTP does your requests have? HTTP/1.1, HTTP/2 or HTTP/3 over QUIC?

hi, i adapted the basic example from the docs using gorilla mux, the warnings can be reproduced when using a middleware function with mux via r.Use().

example
package main

import (
	"fmt"
	"net/http"
	"time"

	"github.com/gorilla/mux"
	"github.com/tus/tusd/v2/pkg/filestore"
	tusd "github.com/tus/tusd/v2/pkg/handler"
)

func main() {
	store := filestore.FileStore{
		Path: "./uploads",
	}

	composer := tusd.NewStoreComposer()
	store.UseIn(composer)

	handler, err := tusd.NewHandler(tusd.Config{
		BasePath:              "/files/",
		StoreComposer:         composer,
		NotifyCompleteUploads: true,
	})
	if err != nil {
		panic(fmt.Errorf("unable to create handler: %s", err))
	}

	go func() {
		for {
			event := <-handler.CompleteUploads
			fmt.Printf("Upload %s finished\n", event.Upload.ID)
		}
	}()

	r := mux.NewRouter()

	// mux middleware causing warnings
	r.Use(timeoutMiddleware(15 * time.Second))
	r.PathPrefix("/files/").Handler(http.StripPrefix("/files/", handler))

	srv := &http.Server{
		Handler:      r,
		Addr:         "<IP_ADDRESS>:8080",
		WriteTimeout: 15 * time.Second,
		ReadTimeout:  15 * time.Second,
	}
	srv.ListenAndServe()
}

// example middleware
func timeoutMiddleware(timeout time.Duration) mux.MiddlewareFunc {
	return func(next http.Handler) http.Handler {
		return http.TimeoutHandler(next, timeout, "timeout")
	}
}

yes, i am getting a wrapped responsewriter from the middleware so that seems to cause the issue

yes, i am getting a wrapped responsewriter from the middleware so that seems to cause the issue

In this case, the wrapped ResponseWriter should either implement an Unwrap method returning the original ResponseWriter, or it should implement the necessary control methods directly (SetReadDeadline and SetWriteDeadline in our case) as is explained at https://pkg.go.dev/net/http#NewResponseController.
If the the logic for wrapping the ResponseWriter is located in the mux package, you could open an issue in their repository asking if this is possible or whether there are other workarounds.

adding an Unwrap() method to my custom ResponseController used in my middleware is fixing the issue, besides that the issue is still there when using the  TimeoutHandler from go http package. It is just not having an Unwrap() method implemented, therefor it will trigger the mentioned warnings when using tusd handler.
thanks for reaching out, i will close this question

the issue is still there when using the TimeoutHandler from go http package. It is just not having an Unwrap() method implemented, therefor it will trigger the mentioned warnings when using tusd handler.

I see, so this seems to be a shortcoming of Go's net/http package. I would recommend to report this to Go itself, so the necessary methods can be added to the TimeoutHandler's wrapped ResponseWriters.

@lukasrabener Can you share an example of how you implemented the Unwrap()?

sure, it is just returning the original ResponseWriter from my custom one.
func (crw *myCustomResponseWriter) Unwrap() http.ResponseWriter {
	return crw.ResponseWriter
}

@lukasrabener Thank you. I did this exactly the same way, but Unwrap() didn't stop the log warnings for me. I needed to add SetWriteDeadline/SetReadDeadline to my custom ResponseWriter and middleware.
`// ignoreNetworkWarnings is a required no-op because the datadog mux ResponseWriter does not support it
// But gives out warnings because it's missing. It's handled by the http.Server
// ReadTimeout and WriteTimeout config instead
type ignoreNetworkWarnings struct {
http.ResponseWriter
}
func (mw *ignoreNetworkWarnings) SetWriteDeadline(t time.Time) error {
return nil
}
func (mw *ignoreNetworkWarnings) SetReadDeadline(t time.Time) error {
return nil
}`
And I set these configurations on my server to hopefully replace what SetWriteDeadline/SetReadDeadline were doing.
// Create a new HTTP server using the mux router as the handler. 	srv := &http.Server{ 		Addr:              ":8080", 		ReadHeaderTimeout: 10 * time.Second, 		Handler:           muxTracer, 		BaseContext:       func(listener net.Listener) context.Context { return mainCtx }, 		// ReadTimeout handles what SetReadDeadline would normally configure 		// Their normal default is 60 seconds, so we'll match that 		// https://github.com/tus/tusd/blob/15f05c021c9770dc0cd2818aa4ef44b9e361f5b2/pkg/handler/config.go#L97 		ReadTimeout: 60 * time.Second, 		// WriteTimeout handles what SetWriteDeadline would normally configure 		// Their normal default is 120 seconds, so we'll match that 		// https://github.com/tus/tusd/blob/15f05c021c9770dc0cd2818aa4ef44b9e361f5b2/pkg/handler/unrouted_handler.go#L181 		WriteTimeout: 120 * time.Second, 	}

@lukasrabener Please be aware that your implementation is not equivalent to what tusd does under the hood. With http.Server.ReadTime you specify the maximum duration that the server has to read the entire body. Effectively, you do not allow requests to be longer than 60 seconds. This might be OK if you ensure that all requests are below this threshold, but some uploads might take longer than this.
What tusd does is slightly different, while we are still receiving data from the client, we always extend the read deadline by 60 seconds. Meaning that a request does not have a fixed timeout, but instead times out 60 seconds after we received the last data. This allows PATCH requests to go on as long as they want, if they continuously upload data.

I did this exactly the same way, but Unwrap() didn't stop the log warnings for me.

Could it be that the ResponseWriter returned from Unwrap also needs to implement Unwrap?

I just added some documentation regarding this issue: https://tus.github.io/tusd/advanced-topics/usage-package/#i-am-getting-warnings-regarding-networkcontrolerrornetworktimeouterror-and-feature-not-supported-why

Reported this problem to Go: https://github.com/golang/go/issues/69777


schedule pod crush

Hi @D10S0VSkY-OSS,
As I see you update the schedule image, please see the error log:
kubectl logs schedule-77ddb5d66f-58jt9 -n sld
INFO      Check_Task Add schedule
INFO      Adding job tentatively -- it will be properly scheduled when the scheduler starts
WARNING   Can't validate in the api-backend, Set user and password bot in api-backend try 999 of 1000
INFO      Get deploy by id 2 - 200 - squad1 - eup-dev
Traceback (most recent call last):
File "/app/./helpers/get_deploy_schedule.py", line 76, in get_deploy_by_id
"project_path": response["json"]["project_path"],
KeyError: 'project_path'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 4, in
uvicorn.main()
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 437, in main
run(app, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 463, in run
server.run()
File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 67, in serve
config.load()
File "/usr/local/lib/python3.10/dist-packages/uvicorn/config.py", line 458, in load
self.loaded_app = import_from_string(self.app)
File "/usr/local/lib/python3.10/dist-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/app/./main.py", line 11, in
init_check_schedule()
File "/app/./helpers/get_deploy_schedule.py", line 51, in init_check_schedule
raise err
File "/app/./helpers/get_deploy_schedule.py", line 49, in init_check_schedule
addDeployToSchedule(i)
File "/app/./helpers/get_deploy_schedule.py", line 232, in addDeployToSchedule
data = get_deploy_by_id(deploy_id)
File "/app/./helpers/get_deploy_schedule.py", line 80, in get_deploy_by_id
raise HTTPException(status_code=404, detail=f"{err}")
fastapi.exceptions.HTTPException
Thanks.

Hi @ramazulay ,
please, colud you check if in database table deploy have project_path item?
thanks!

Hi @ramazulay
Have you been able to solve it?
can we close the issue?
Regards

Hi @D10S0VSkY-OSS,
I went back to the old version(2.2.0) and that fixed it.
Thanks.


Fix tokenize endpoint

Fixes to the tokenization endpoint, missed during recent LoRA-related fixes.

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

Project coverage is 62.33%. Comparing base (fc6d899) to head (c782137).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
- Coverage   63.03%   62.33%   -0.71%
==========================================
  Files          18       18
  Lines        1285     1285
  Branches      228      228
==========================================
- Hits          810      801       -9
- Misses        398      405       +7
- Partials       77       79       +2

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


optimize performance of recompute_model

I've found and fixed some minor issues. The performance problem will by solved by #50.


automatically set up the jenkins job for projects that already have a Jenkinsfile when we import

crap, let me rebase this against master properly...

ok to test

[merge]


Ariston unavailable

Hi, again Ariston is unavailable. I'm using the latest software, everything went fine until this morning.
7_11_2022
Remotely https://www.ariston-net.remotethermo.com/ is working and from app also is working.

Hi, again Ariston is unavailable. I'm using the latest software, everything went fine until this morning. 7_11_2022 Remotely https://www.ariston-net.remotethermo.com/ is working and from app also is working.

Hi, I also have the same problem since this morning.

Me too

Hi, I'm having the same issue since this morning, Ariston web is running properly and shows that there's conection.

I experience the same issue that others mentioned. I try to investigate the issue and looks like the login page is switched to a new version and the URL where the login data is need to be posted is changed, so the server gives back 404 to the http client. I think just the login process needs some minor adjustment.

I experience the same issue that others mentioned.
I try to investigate the issue and looks like the login page is switched to a new version and the URL where the login data is need to be posted is changed, so the server gives back 404 to the http client. I think just the login process needs some minor adjustment.
Edit: Sure enough, the new POST URL is prefixed with an R2 string, so the new url is: https://www.ariston-net.remotethermo.com/R2/Account/Login and looks like every url contains that R2 string now

Cool debug, 404 is always a bad sign. Yes they change the login page now you have to select the region also or the language, maybe there is something.

Arison switched to new requests (different set of data) and new URLs for everything,
You may check  if version prepared by other developer would work: https://github.com/fustom/ariston-remotethermo-home-assistant-v3
I don't know when i'll have time to work on this vesrion soon.

I checked https://github.com/fustom/ariston-remotethermo-home-assistant-v3 its work ok. Unfortunately there are not a few sensors, your version was very good for Genus One

The same problem... Waiting for update ;) Your integration is the best @chomupashchuk

It works for me again, thanks.

It works for me again, thanks.

No way... For me not working 🤦

@chomupashchuk  I hope you have time to update your very good integration because the V3 for me does not work with Ariston Nimbus

Sorry, not working for me, all sensors are unavailable

So Ariston no longer supports requests based on which integration was written. Completely different requests and data structures within forced me to almost rewrite API part and interaction with it ( https://github.com/chomupashchuk/ariston-remotethermo-home-assistant-v2/commit/70d78c5ea6cde832d1825c8c78dcb694cbd0cb89 ).
It was updated to work for my own boiler, which has limited functionality compared to other bolers and as a result number of old sensors will not work, also some changes in configuration.yaml structure (view README.md for latest configuration).
Extended functionality would require:

option 1: get access to boilers with more functionality for me to use Fiddler to analyze requests, so that I could replicate them (I'm not a magician to code something that I have no idea how it looks like)
option 2: for you to use Fiddler or other tool for traffic analyzing and provide additional information (for example old energy use had internal markings and by comparing values with web representation it was possible to map marking to water/gas/electricity)
option 3: you make fetch the data, make a branch on github, make updates to the code and make a pull request.

It already took ~30 hours of my time this week for which I do not get payed (I have a full time job besides this).
Consider donating to support Ukrainian army (some options described in https://github.com/chomupashchuk/ariston-remotethermo-home-assistant-v2/blob/master/DONATE_README.MD ) or other humanitarian organizations. It is a stressful atmosphere in my country and thus I do not have motivation to spend a lot of my personal time on side projects unless it would at least motivate others to help out (it can be other ways such as supporting ukrainian refugees in your contry, donating drugs/food etc. not just supporting military).

Thank you for all your work. Be safe!

These 2 selectors don't work:
- dhw_comfort_temperature
- dhw_economy_temperature

Per tant, Ariston ja no admet sol·licituds basades en la qual s'ha escrit la integració. Les sol·licituds i les estructures de dades completament diferents em van obligar a gairebé reescriure la part de l'API i la interacció amb ella ( 70d78c5 ).
S'ha actualitzat per funcionar per a la meva pròpia caldera, que té una funcionalitat limitada en comparació amb altres bolers i, com a conseqüència, no funcionarà un nombre de sensors antics, també alguns canvis en l'estructura configuration.yaml (vegeu README.md per a la darrera configuració). La funcionalitat ampliada requeriria:

opció 1: obtenir accés a calderes amb més funcionalitats perquè utilitzi Fiddler per analitzar les sol·licituds, de manera que les pugui replicar (no sóc mag per codificar alguna cosa que no tinc ni idea de com es veu)
opció 2: perquè utilitzeu Fiddler o una altra eina per analitzar el trànsit i proporcionar informació addicional (per exemple, l'antic consum d'energia tenia marques internes i comparant els valors amb la representació web era possible mapejar el marcatge amb aigua/gas/electricitat)
opció 3: feu obtenir les dades, feu una branca a github, feu actualitzacions del codi i feu una sol·licitud d'extracció.

Aquesta setmana ja m'han trigat ~ 30 hores del meu temps (pot consultar els canvis de fitxers: 70d78c5 ) per les quals no em paguen (tinc una feina a temps complet a més d'això). Penseu en fer una donació per donar suport a l'exèrcit ucraïnès (algunes opcions descrites a https://github.com/chomupashchuk/ariston-remotethermo-home-assistant-v2/blob/master/DONATE_README.MD ) o altres organitzacions humanitàries. És un ambient estressant al meu país i, per tant, no tinc cap motivació per dedicar gran part del meu temps personal a projectes paralels, tret que almenys motivi els altres a ajudar (pot ser d'altres maneres, com ara donar suport als refugiats ucraïnesos al vostre país). país, donar drogues/aliments, etc. no només donar suport a l'exèrcit).

Thank you for your time and effort.

All clear, Thank you for all your work. Be safe!

DHW_STORAGE_TEMPERATURE and WATER HEATER unavailable , how can I add this sensor?
Using Fiddler i found the menu code "U6_26_5" and this is the response in main page {"id":"DhwStorageTemperature","zone":0,"kind":1,"min":-3277.0,"max":3276.0,"step":1.0,"value":41.0,"decimals":0,"options":null,"optTexts":null,"readOnly":true,"error":false,"invalid":false,"expiresOn":null,"unit":"°C"},

@pico1881 , @VoyteckPL  please create a separate tickets for new issues.
Regarding DHW comfort/economy temperatures they were not added partly intentional. In the latest version some requests are based on Android application rather than Ariston website. The reasons are less frequent changes in requests between Android/IOS API and seems to have better processing speed (in 2 days seems like different amount of errors and timeouts if to compare Android/IOS API and Web interface). The intention was to see if other boilers with DHW scheduling supported would have requests in Android application to handle it together with CH temperatures. I have rewrittem much from the scratch and removed not used data (otherwise maintenance would be terrible) and did not want to implement temporary and redo something afterwards. Using web interface requests was a plan B for this specific functionality if not supported in Android/IOS API.
My boiler does not have DHW comfort and economy, only 1 temperature.
You may start Fiddler proxy server and configure on Android proxy server from Fiddler ( https://www.telerik.com/blogs/how-to-capture-android-traffic-with-fiddler ), switch between pages and check:

if one of pages fetches DHW schedule (if supported). I expect that if there is comort and economy then schedule should be present. It is not present in my case.
If Android/IOS has option to read and set DHW comfort and economy temperatures.
if energy use is supported then provide with requests data and possibly screenshots to map data with displayed values. In my case I see lists with dictionaries with few 1-letter keys and zeros.

My water_heater is available and it might be the difference in data within the requests (for example instead of 1 parameter for DHW temperature there are in fact 2 completely different parameters that would result in issue that parameter used to identify working water_heater would differ from case to case - but it is just an assumption)


chore(deps): update common-dev-assets digest to 6db9456

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
aa3ee0a -> 6db9456

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

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


Using modified_at in lifecycle / ignore_changes generates warning

Description
In main.tf the section below includes lifecycle { ignore_changes = [ modified_at ] } which generates a warning with Terraform 1.2.1.
################################################################################
# EKS Addons
################################################################################

resource "aws_eks_addon" "this" {
  for_each = { for k, v in var.cluster_addons : k => v if local.create }

  cluster_name = aws_eks_cluster.this[0].name
  addon_name   = try(each.value.name, each.key)

  addon_version            = lookup(each.value, "addon_version", null)
  resolve_conflicts        = lookup(each.value, "resolve_conflicts", null)
  service_account_role_arn = lookup(each.value, "service_account_role_arn", null)

  lifecycle {
    ignore_changes = [
      modified_at
    ]
  }

  depends_on = [
    module.fargate_profile,
    module.eks_managed_node_group,
    module.self_managed_node_group,
  ]

  tags = var.tags
}

Error:
│ Warning: Redundant ignore_changes element
│
│   on .terraform/modules/eks_cluster.eks_blueprints.aws_eks/main.tf line 298, in resource "aws_eks_addon" "this":
│  298: resource "aws_eks_addon" "this" {
│
│ Adding an attribute name to ignore_changes tells Terraform to ignore future
│ changes to the argument in configuration after the object has been created,
│ retaining the value originally configured.
│
│ The attribute modified_at is decided by the provider alone and therefore
│ there can be no configured value to compare with. Including this attribute
│ in ignore_changes has no effect. Remove the attribute from ignore_changes
│ to quiet this warning.
╵

[x] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Module version [Required]:
18.17.0
Terraform version:
1.2.1
Provider version(s):
4.15.1 (aws)

Reproduction Code [Required]
In description
Steps to reproduce the behavior:
Just use this module with a recent release of terraform (v1.2.1).
Expected behavior
There should not be a warning or error under normal use cases.
Actual behavior
A warning is generated with every run.

Thanks @spkane  - yes, this is a particularly tricky one that we are trying to figure out how best to manage


Update adding-model.md

@tdykstra  alot of customers report PMC not working and console is working.

@tdykstra  I'm wondering if we should add the following after the CLI instructions.
Please leave a note if the PMC steps failed.
Addressed your comments.

Or give them an open-new-issue link if you think it's a recurring problem that we haven't figured out the cause for yet.

Or give them an open-new-issue link if you think it's a recurring problem that we haven't figured out the cause for yet.

We'll get dozens of pilot error issues. I'm hoping my changes will help as I've gotten alot of comments saying it doesn't work. SOme of them were running Windows 7.


small optim here?

function THasherList.FindClass(Name: String; out AClass: THasherClass): Boolean;
var Index: Integer;
begin
  Name := LowerCase(Name);
  Index := FList.IndexOf(Name);

FList.IndexOf(LowerCase(Name)) and make Name the const-param.

While this is a nice idea for how the code works now I have a plan to extend functionality of FindClass() if people find it useful.
The plan is to find THasherClasses even when "Name" is not an exact match - has unnecessary spaces, hyphens or slashes. So for example if the registered name is "CRC-16 KERMITT" then calling FindClass(" CRC16/KERMITT      ") would also find this class.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_4d6f5ff5-6ba0-44ae-95cf-6d9592c4c657/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_4d6f5ff5-6ba0-44ae-95cf-6d9592c4c657.git

Docs Build status updates of commit b3f6df0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit b3f6df0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Hydra compatibility

Required work to make this happen

tx-indexer:

Investigate and implement an alternative source for the tx-indexer

a) Hydra node as Oura source
b) using the Hydra websocket API directly as event source of tx-indexer

tx-bakery:

ChainQuery alternative source investigation and implementation:

a) using the Hydra websocket API directly as a ChainQuery client in tx-bakery
b) implement Ogmios compatibility with Hydra (likely the former will suffice)

Implement an alternative way to calculate transaction execution budget (Haskell LedgerSimulator or Rust (pallas) based tx-bakery solution)

Hydra based testing: an environment to run the same testsuites we used in Plutip

Some thoughts:
Ogmios compatibility with Hydra will be challenging but doable. My fear is to turn Ogmios into something a bit too frankenstein-ish as many parts will have to be conditionally disabled. Ogmios actually runs all 4 mini-protocols clients behind the scene and keep long-lasting connections to the node. That is necessary in many cases to smooth the user experience down the line and provide features that aren't available from the mini protocols out-of-the-box (like transaction evaluation).
Looking at the ChainQuery API in tx-bakery; I believe it should be possible to emulate each required call directly with the Hydra node API, without the need for Ogmios. I don't know if you use Ogmios for other matters than implementing the 'ChainQuery' ?

get_network: seems trivial to add as an API endpoint to Hydra, although this seems like it ought to be a configuration setting instead of being queried?

query_system_start / query_era_summaries: I believe these are necessary for the slotting arithmetic. These are mostly system globals which depend on the network. There's no "era" on Hydra (or more specifically, there's only a single era); so both are pretty static. It also sounds trivial to add an endpoint to the Hydra node to serve those through the API.

query_protocol_params: https://hydra.family/head-protocol/api-reference#operation-subscribe-/protocol-parameters

query_tip: can be tracked internally in some mutable memory variable, by subscribing to the SnapshotConfirmed from the Hydra node.

query_utxos_by_addr / query_utxos_by_ref: I haven't looked in detail but, I would expect those ones to be available via the tx-indexer already? (or else, what's the role of that indexer 😅...?). If anything, those queries can actually be implemented using kupo ( https://github.com/CardanoSolutions/kupo ) which can already be configured to synchronize data from hydra.

I agree with you 100%, we don't need a modified Ogmios, we could have a ChainQuery trait implementation for a HydraNodeClient directly.
We also have a Submitter trait, which have the following methods on it:
pub trait Submitter {
    fn evaluate_transaction(
        &self,
        tx_builder: &csl::tx_builder::TransactionBuilder,
        plutus_scripts: &Vec<csl::plutus::PlutusScript>,
        redeemers: &Vec<csl::plutus::Redeemer>,
    ) -> impl Future<
        Output = Result<
            BTreeMap<(csl::plutus::RedeemerTag, csl::utils::BigNum), csl::plutus::ExUnits>,
            SubmitterError,
        >,
    >;

    /// Submit a fully build and balanced tranasaction
    fn submit_transaction(
        &self,
        tx: &csl::Transaction,
    ) -> impl Future<Output = Result<TransactionHash, SubmitterError>>;

    /// Wait for transaction confirmation on the chain
    fn await_tx_confirm(
        &self,
        tx_hash: &TransactionHash,
    ) -> impl Future<Output = Result<(), SubmitterError>>;
}

I remember we discussed the evaluate_transaction part, we could perhaps handle this with pallas, but we also have a way to inject the ex units externally (from Haskell for example).
submit_transaction should be straightforward I think.
await_tx_confirm is instantaneous on Hydra, am I right?

On the ChainQuery methods:
get_network, query_system_start andquery_era_summaries can configurations as you just said, no need to implement an API handler for that.
query_utxos_... we treat indexing slightly differently than usual. The indexer is not general, we're only storing data that are interesting for the domain. This means that we need another source to fetch UTxOs, such as fee inputs from a user, uniqueness input for uniquely minted tokens, etc. Would this be possible to implement on the hydra node API?

await_tx_confirm is instantaneous on Hydra, am I right?

Within few milliseconds. So instantaneous for us humans, but still taking some time for a computer 😶.

The indexer is not general, we're only storing data that are interesting for the domain. This means that we need another source to fetch UTxOs, such as fee inputs from a user, uniqueness input for uniquely minted tokens, etc.

Feels a lot like what kupo provides, unless I am missing something?

Would this be possible to implement on the hydra node API?

Yes! Kupo does it 😄! ( https://github.com/CardanoSolutions/kupo/blob/master/src/Kupo/App/ChainSync/Hydra.hs )

Feels a lot like what kupo provides, unless I am missing something?

Okay, I wanted to avoid pulling in another component, maybe we'll need to implement a general UTxO storage in our indexer.


ci: modify the release.yml flow to make the release

Description:

Add required permissions to the release flow
upgraded ghaction-import-gpg action

Checklist:

[x] My PR follows the contribution guidelines of this project
[x] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked the PR title to follow the conventional commit specification

Oh nice!!!! Thx!!!


Structure with server/client

Hi,
Thanks for this comprehensive styleguide! In particular I like the idea of structuring by "Folders-by-Feature". I want to restructure a small private project of some colleages and me and scratching my head of how to structure it efficiently.
I would use the "Folders-by-Feature" structure for the angular-app. But we also have an express-server included in our project (structure of express itself found on http://expressjs.com/en/starter/generator.html). How would you build this together, do you have an advice or even better: a blog entry or similar?
Thanks!

i do this ...
src/
  client/
    app/
  server/

Thanks for the question!


Add PCR to covid policy

We need to add PCR to the covid policy:
Covid-19 Policy
In order to protect our volunteers and participants, all participants and their accompanying family members are required to show either 1) proof of vaccination or 2) proof of a negative PCR Covid-19 test within the previous 48 hours. All participants are required to bring and wear a mask for the entire duration of the class. No refunds are given for failure to comply with our COVID Policy.

Policy updated


Refmt: CRLF is treated differently than LF

When typing:
let x = 1;
/* foo */
let y = 2;

With CRLF (windows) line endings you get:
let x = 1; /* foo */

let y = 2;

With LF (unix) line endings you get:
let x = 1;

/* foo */
let y = 2;

cc @jordwalke

@bryphe do you know where this one could be coming from? I thought it would be with the input channels being marked as binary or not. We should fix this and then get it in with the next release which also has your other fix for binary input channels + merlin

Observed behavior on command line: Running on Linux, a file with CRLF were converted purely into LF. I think that is considered correct behavior because the printing is happening in Linux.
Then when we use Nuclide from Windows which uses Nuclide+LSP. Nuclide has the file in Windows with CRLF's, it sends it to Nuclide's LSP client side, then it sends the file contents to the LSP server which is running on Linux and at that point the line endings should be converted to LF, where it runs refmt on them, keeping them LF, and then the result should come back to the LSP client side which should know it's running on windows and convert all LF back to CRLF.
My guess is that refmt is not doing anything wrong and again it's the LSP. Here's how we can test:

On pure windows, does refmt someFile.re incorrectly convert CRLF to LF?
On pure windows, does cat file.re | refmt incorrectly convert CRLF to LF?
What about Reason Language Server? If RLS handles this then maybe we should just switch to RLS.
(All those above can be tested on our new Reason + esy native windows setup).

I'll check it out, I haven't dug much into refmterr yet, will be fun to look around

I thought it would be with the input channels being marked as binary or not.

Yes, I suspect this is actually the inverse case - where the channels are being set as binary, but then we're sending / hardcoding /n somewhere. I see that the line endings are being converted from CRLF -> LF when I run refmt, so that would be a problem, and suggests that there is a place we're hardcoding \n.
Something like this could be the culprit:
https://github.com/facebook/reason/blob/d5a26ac4c656f80dcdc93806f6b8c5127da5191d/src/refmttype/reason_format_type.ml#L38

Just to give an update - I did some digging and I believe this is actually a bug with the Format module in OCaml.
Specifically, here:
https://github.com/ocaml/ocaml/blob/0e5cae8dc6ed1eed4dd73e0f502ced0a1781b5a3/stdlib/format.ml#L823
Working on a minimal repro to confirm and submit an issue to core OCaml.

Alternative fix is to not use a binary channel in this case here in printer_maker.ml
let prepare_output_file = function
    | Some name -> open_out_bin name
    | None -> set_binary_mode_out stdout true; stdout

If we use open_out, then we get CRLF in the output as expected (because in non-binary mode the line endings are converted automatically). However, that's clunky.... because there are other places where we do definitely need binary mode (like when we make the output_value call here):
    output_value output_chan (
      Config.ast_impl_magic_number, filename, ast, comments, parsedAsML, false
    );

Carrying the discussion on over in the PR, but to summarize my belief about newlines here:
It seems that most libraries (and C libs too?) are written to assume that a single \n characters is a high level declarative token. You manipulate strings with these tokens inside of the strings, but then when presenting the data as a "text file" to the user or system, you convert the text to its "concrete" representation which might replace \n with CRLF. The benefit there is that now all your libraries everywhere don't have to handle the case of searching for either \n or CRLF - they can pretend everyone in the world just used \n characters. The downside is that now you have to think about if your output is going to be presented as a "text file" - vs. a "data file" where "text file" is by definition files that include CRLF wherever a Unix system would have written \n. All because some applications expect CRLF!


SSH record type

It might be nice to have a record type that stores an SSH identity file (private key) and some common configuration options, since synchronizing SSH keys and configurations across multiple hosts can be annoying.
Some usage ideas:
$ kbsecret new ssh foo user@host /path/to/key.priv -- [SSH options]

$ kbsecret ssh foo

This will probably follow from the implementation in #16.

Closing this; it'll be unnecessarily complicated and is basically a solved problem anyways (~/.ssh/config).


@octokit/auth-action picks up the token variable automatically

Looks like @octokit/auth-action will automatically use a token variable if it is set.  https://github.com/octokit/auth-action.js#createactionauth
If you set both the with: token:  setting and the environment variable GITHUB_TOKEN on the action task, or in this case in the code, it will fail with:
Error: [@octokit/auth-action] The token variable is specified more than once. Use either `with.token`, `with.GITHUB_TOKEN`, or `env.GITHUB_TOKEN`. See https://github.com/octokit/auth-action.js#createactionauth

@droidpl Minor issue with token parameters for using @octokit/action.

Oh interesting, that wasn't happening locally.


Feature: New favicon

Type of feature
🍕 Feature
Current behavior
We have new brand assets and we will need to update the favicon to the below link.
https://github.com/open-sauced/assets/blob/main/Logos /slice-Black-Orange.png

Suggested solution
The logo will need to be downloaded and renamed and replaced here 👉🏾favicon.ico. Might also need to delete the favicon.svg
Additional context
Assigning to @teachjenntech
Code of Conduct

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

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

.take

should of been https://github.com/open-sauced/assets/blob/main/logos/slice-Black-Orange.png?raw=true


Fix require('next') when this plugin is pre-installed

In production, we pre-install Build plugins in /opt/buildhome/.netlify-build-plugins. However, the repository is in /opt/build/repo. Therefore, trying to require a dependency of the site (also known as peer dependency) from a plugin does not work. This problem is described in details in this issue.
In the case of both this plugin and next-on-netlify, we are doing require('next'). We are doing this to allow users to choose their own Next.js version instead of forcing one (see #25). This currently fails in production due to the problem above.
The proper solution to this problem is detailed in this issue. However, this is not a quick fix, so we need an alternative in the meantime.
The only solution I can think of is the following: if we detect that the plugin is run in production, use require.resolve() to locate next. In practice this would mean lines like:
const { PHASE_PRODUCTION_BUILD } = require('next/constants')

would be changed to:
const requirePeerDependency = function(modulePath) {
  if (process.env.NETLIFY === 'true') {
    return require(require.resolve(modulePath, { paths: ['.'] } }))
  }

  return require(modulePath)
}

const { PHASE_PRODUCTION_BUILD } = requirePeerDependency('next/constants')

This is hacky. This would need to be done in next-on-netlify too.
What do you think?

First part done in https://github.com/netlify/netlify-plugin-nextjs/pull/56

This is more complicated than expected. next-on-netlify requires @sls-next/lambda-at-edge which also requires next:
https://github.com/serverless-nextjs/serverless-next.js/blob/d32ee16feb738becc39a651af6b8aaa6c3e25658/packages/libs/lambda-at-edge/src/build.ts#L25
Therefore, I would suggest the following:

Instead of the hack suggested above, add<EMAIL_ADDRESS>as a production dependency of @netlify/plugin-nextjs
This will make it harder for us to support Next.js 10, since this means @netlify/plugin-nextjs and next-on-netlify will use Next.js 9 even if the site is using Next.js 10. To fix this will require fixing how Build plugins are preinstalled (issue).

Done at https://github.com/netlify/netlify-plugin-nextjs/pull/57


Would this be a good place to mention the "export linked data" feature

Or at least link to it? Or is it too new as of this writing?

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

ID: c87c556b-b1da-0b24-606b-89c371c6bae8
Version Independent ID: 20141574-acfa-f5f8-b6cf-6b32b3c55b4f
Content: Export data from a Power BI visualization - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-export-data.md
Service: powerbi
Sub-service: pbi-visuals
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @nicheplayer. This issue has been assigned to the doc author for review.

Hello there - can you be more specific? Do you have a particular article in mind, and if so, please provide the link in your comments. Thanks.

Hi @nicheplayer,
I don't see an update to this Git issue, so I'm going to close it.  I did update some screenshots and added the new option for live connections.  Perhaps this was what you were referring to?
All the best,
the DOCS team


filip222

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you provide details about the issue you're having?


GH-829 : add if-exists attributes to generated episode file

Fixes #829 by auto adding "if-exists=true" attribute to generate episode file (by default)
This is long term solution from already implemented by default in maven-jaxb2-plugin (jaxb-tools) :

https://github.com/highsource/jaxb-tools/issues/41
https://github.com/highsource/jaxb-tools/issues/61

It'd be great if backported to EE8 (EE9 too ?)


Is it possible to screenshare and still see the screensharer's camera feed ?

Hi, is it possible for a user to share screen AND still share is camera ?

We currently do not provide to merge the streams in the default web UI. The easiest way to do so in a custom UI is to merge the screen stream and the local video of a user client side (e.g. using canvas).

OK thanks!


Meta: Automatically create GitHub Releases with changelog

Fixes https://github.com/sindresorhus/refined-github/issues/3198
Use https://github.com/marketplace/actions/release-with-changelog for creating release notes for every tag we create (which is also automated).
I agree that it's not perfect, but feedback welcome.

@notlmn can you finish and merge this like https://github.com/notlmn/browser-extension-template/pull/38 before the automatic deployment tomorrow?

I think you might have pushed the hotfix tag again. Please run this to delete the tags from your fork and locally, we keep pulling them from old forks and pushing some troublesome ones back to this repo
git tag -l | xargs git tag -d
git ls-remote --tags --refs origin | cut -f2 | xargs git push origin --delete

Just in time for deployment 🎉

@fregante chrome did not release yet (first time in a long time that its taking more than 15 min) anything to do with this? or there is no connection?

taking more than 15 min

It's been 1 hour since the 20.11.19 release, and in CWS it's still the previous version, 20.11.12.
I see that the relevant Submit action has failed for Chrome:
https://github.com/sindresorhus/refined-github/runs/1425836312?check_suite_focus=true

"message": "Publish condition not met: To publish your item, you must certify that your data usage complies with our Developer Program Policies. You can certify this on the Privacy tab of the item edit page of the Developer Dashboard.",

In AMO it has the latest, 20.11.19 .


add circuit composer (web based)

Add https://quantum.ibm.com/composer/ to bookmarks list and desktop menu entry

@JanLahmann Please assign this to me.


Upgrade dataproc serverless version to 1.2

https://cloud.google.com/dataproc-serverless/docs/concepts/versions/dataproc-serverless-versions#supported-dataproc-serverless-for-spark-runtime-versions
Upgrade Dataproc Serverless runtime version from 1.1 to 1.2
Needs to be done for both Java and Python.

Team if you check the difference between 1.2 and 2.2 runtime then it's only Scala version difference otherwise rest all are the same between both versions. Document
I wonder if we can dynamically allow customers to choose between both of them if possible.

I created a branch 938-upgrade-dataproc-serverless-version-to-12. Started development work for java.


[REQUEST] Disable Lolicode blocks

That will be cool instead of commenting manually the code, especially for debugging/testing some parts only

Please see here
https://github.com/openbullet/OpenBullet2/issues/317


Best practice for tracking the best and latest?

Hello!
From my understanding, it seems that when you provide a best_fn to CheckpointManagerOptions, it no longer saves checkpoints based off recency.
What if I want to save checkpoints based off both "goodness" and recency? It seems one way to do that is to have two instances of CheckpointManager, but that seems inelegant... surely it should be possible to have only one right?

You're right that providing best_fn can result in more recent checkpoints getting deleted if they have a worse score. There's some other options you could use though - keep_time_interval should allow you to preserve checkpoints at a certain time interval, say one per hour. keep_period is similar - it forces preserving checkpoints with the given period.
Unfortunately the option you would seem to be looking for would be something like preserve_last_n which will avoid deleting the last n checkpoints no matter what their metrics score, but we don't have support for that at the moment. Perhaps you could hack it by using keep_checkpoints_without_metrics=True and then avoiding populating the metrics for recent checkpoints until you're ok with potentially deleting them.


Improvement to Dino readme in line with improvements in Tex

Signed-off-by: Graham Wallis<EMAIL_ADDRESS>

@mandy-chessell Comments addressed. Can you please check you're OK with the approach taken?


mobile linker: add 'ldl' linker option

Commit Message: Without this option the app crashes when attempted to being launched on arm64 emulator. The ldl flag was removed in https://github.com/envoyproxy/envoy/pull/24806.


[DO NOT MERGE] feat: enable sampling batch to finalize with proof for curie test

enable sampling in a hack way, this feature is only used for testing.

Codecov Report
Attention: Patch coverage is 13.33333% with 39 lines in your changes are missing coverage. Please review.

Project coverage is 53.96%. Comparing base (39a9c1f) to head (c6acdfd).

Files
Patch %
Lines

rollup/internal/orm/chunk.go
0.00%
22 Missing :warning:

...llup/internal/controller/watcher/batch_proposer.go
15.00%
15 Missing and 2 partials :warning:

Additional details and impacted files
@@                             Coverage Diff                              @@
##           feat-rollup-relayer-add-zstd-compression    #1340      +/-   ##
============================================================================
- Coverage                                     54.25%   53.96%   -0.30%
============================================================================
  Files                                           156      156
  Lines                                         11851    11882      +31
============================================================================
- Hits                                           6430     6412      -18
- Misses                                         4928     4982      +54
+ Partials                                        493      488       -5

Flag
Coverage Δ

rollup
58.97% <13.33%> (-0.99%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


[globalopt] Clean up doxygen comments in GlobalOpt.cpp.

I need to fix a few things in GlobalOpt to deal with +0 changes I believe. So
while I am here, I am just cleaning up the file a little bit.

@swift-ci smoke test and merge


Angular module instalation through bower includes the vanilla file.

I'm not sure I'm doing it wright but I installed the module like this:
# bower install algoliasearch --save

But the file bower includded was always algoliasearch.min.js, instead of algoliasearch.angular.min.js.
I had to modify the bower.json for it to work. But we all know this is nasty and will fail on update. Is there a different package I should install?
Thanks in advance.

Since our module supports both angular and vanilla JavaScript, there's no clear way to do so, I think there's a provided solution in here: https://github.com/algolia/algoliasearch-client-js/issues/182#issuecomment-165465838


Custom Playback

Create a customized playback track that has chapters. Can be hidden.

Try to replace the one provided by Vimeo.


refactor: use whiskers

Adds Whiskers, Catppuccin's in-house templating tool, to build the themes. Instead of the Python build script, edit the templates/manifest.tera file and then run just build to build the output themes. You will need Whiskers (linked above) and Just installed.

I belive the outputs should be in the .crx format.


Changes made to course card border and hover boxshadow

@amirulraziqi I think the thicker border doesn't really work here. Perhaps we could use a darker colour instead? Otherwise, the shadow seems okay.


about spring.jpa.template-location

${spring.jpa.template-location:classpath:/sqls}
does it can use wildcard, sometimes there would be several model.

ok i'll consider that later , thank you for your advice!

This style will be supported in version 1.1.0
spring.jpa.template-location = classpath:**/**Sql.xml
thank you for your advice!


Release a new reversion of the Python client

Is your feature request related to a problem? Please describe.
Following #548, would it be possible to release the Python package again please?
I'm tryiong to release my Chaos Toolkit extension for it, and it fails with Python 3.10 because of the dependencies.
I can't directly pip install this repository either because the code is not at the top level as regular Python packages.
Thanks.

Hey @Lawouach I just released 0.6.0: https://pypi.org/project/pxapi/. Let me know if you have any issues. I tried out the chaos toolkit and it seemed to work for me on Python 3.10.4 w/ pxapi==0.6.0
By the way, thanks for your feedback on the Pixie Python API. Glad to see that Pixie can be useful for you!

Thanks!
Happy to. I was integrating Pixie with the Chaos Toolkit.


Code in markdown files isn't formatted and styled properly

Align code properly (according to the content)
Search how to apply syntax highlighting


"Show the complaint" and "Show the Request" does nothing

Describe the bug
When I click on Instructor/Tutor dashboard and select Complaints or More Feedback Requests (for programming exercises), I'm redirected to a List of complaints/List of More Feedback Requests. When I click on Show the complaint/Show the Request - nothing happens
To Reproduce

possibly related: #1030

Yes. Resolving complaints and feedback requests for programming exercises is not yet fully implemented and will be possible soon. @maxr96 is working on it in #1030

It was fixed in #1030


docs: update samples

:white_check_mark: Build TheIdServer 6.2.2-user-ole1-0071 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/2503ac4cb3 by @)


[BUG] Issues installing requirements.txt

Describe the bug
Unable to replace blinker 1.4 and Issues running gpt3discord.py, so far I have been unable to run screen gpt3discord and executing gpt3discord.py leads to missing files that some I cant install
To Reproduce
After running python3.9 -m pip install -r requirements.txt I was greeted with this error:
DEPRECATION: distro-info 0.23ubuntu1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of distro-info or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
DEPRECATION: python-debian 0.1.36ubuntu1 has a non-standard version number. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of python-debian or contact the author to suggest that they release a version with a conforming version number. Discussion can be found at https://github.com/pypa/pip/issues/12063
Installing collected packages: blinker, beautifulsoup4, backoff, anyio, annotated-types, aiostream, aiofiles, youtube_transcript_api, tiktoken, scikit-learn, pytest-asyncio, pydantic, pinecone-client, pandas, huggingface-hub, httpx, google-auth, flask, dataclasses-json, aiohttp, transformers, replicate, py-cord, openai-whisper, openai, langsmith, google-auth-httplib2, google-api-core, e2b, sentence-transformers, pycord-multicog, langchain, google-api-python-client, llama-index
Attempting uninstall: blinker
Found existing installation: blinker 1.4
ERROR: Cannot uninstall 'blinker'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

If I were you I would run it in docker, it is made exactly to avoid such dependencies issues.

Hi @transparentdino sorry for the late response, can you try doing
python3.9 -m pip install flask==3.0.0 --ignore-installed
and then run the regular install from requirements command again and let me know what sort of output you get?


Binary executable

Using go get github.com/keybase/saltpack doesn't generate an executable (at least, not under macOS). How to accomplish this?

I think we originally had a standalone binary, but it became really complicated really quickly. Take for instance a simple decryption in which the sender wants to remain anonymous.  Then, the binary would have to look up the sender's public key halfway through the decryption operation.  So almost immediately you need the concept of a "keyring" that the library can call out to.  Etc.  It's doable but it would be rather complicated.  What use cases were you considering, maybe we can put something together for some simple use cases.

@maxtaco recently on Hacker News there was a post about modern alternatives to PGP. Somewhere in the post, and the comments it generated, Saltpack was mentioned. Thus my quest to gain access to a binary of it.

Thanks, I saw that tweet going around, maybe it morphed into a post?  Yeah, well it's the same answer either way.  We have tests, etc, but nothing in a simple binary because there are lots of moving pieces and more important the interface is just quite wide. We might consider some work in the future here, but we're not there yet.


Enable transactional classfile manager in scala plugin.

Issue: #13392
Signed-off-by: Sheliak Lyr<EMAIL_ADDRESS>
Fixes #13392
Context

Fix for the issue:
https://github.com/gradle/gradle/issues/13392
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

I have some problems with the current master: failures when building documentation, forbidden access to libs-releases repo and failing tests in ScalaCompilerDaemonReuseIntegrationTest. Not sure if this is specific to my host / system configuration.

I have updated the target branch of this PR so we get a chance to have it in Gradle 6.6. Pay attention to only rebase on release for now.

CI was unhappy with the branch so I rebased it on the latest release and force pushed.

Thanks for this fix!