[Event Request] Codeunit 31000 "Sales-Post Advances ".CalcLinkedPmtAmountToApply

Please add these events.
    local procedure CalcLinkedPmtAmountToApply(SalesAdvanceLetterLine: Record "Sales Advance Letter Line"; TotalAmountToApply: Decimal; var TempCustLedgEntry: Record "Cust. Ledger Entry" temporary; var CustLedgEntryLink: Record "Cust. Ledger Entry")
    var
        CustLedgEntry: Record "Cust. Ledger Entry";
        AdvanceLink: Record "Advance Link";
        AmountToApply: Decimal;
        //---------------------------------------OnAfterGetCustLedgEntry:BEGIN
        Handled: Boolean;
        //---------------------------------------OnAfterGetCustLedgEntry:END
    begin
        if TotalAmountToApply = 0 then
            exit;

        SumAmountToApply := SumAmountToApply + TotalAmountToApply;

        SetCurrencyPrecision(SalesAdvanceLetterLine."Currency Code");
        AdvanceLink.SetCurrentKey("Entry Type", "Document No.", "Line No.", "Posting Date");
        AdvanceLink.SetRange("Entry Type", AdvanceLink."Entry Type"::"Link To Letter");
        AdvanceLink.SetRange("Document No.", SalesAdvanceLetterLine."Letter No.");
        AdvanceLink.SetRange("Line No.", SalesAdvanceLetterLine."Line No.");
        AdvanceLink.SetRange(Type, AdvanceLink.Type::Sale);

        if AdvanceLink.FindSet then
            repeat
                if CustLedgEntry.Get(AdvanceLink."CV Ledger Entry No.") then begin
                    //---------------------------------------OnAfterGetCustLedgEntry:BEGIN
                    OnAfterGetCustLedgEntry(TotalAmountToApply, AdvanceLink, AmountToApply, Handled);
                    if not Handled then begin
                    //---------------------------------------OnAfterGetCustLedgEntry:END
                        case true of
                            TotalAmountToApply < AdvanceLink."Remaining Amount to Deduct":
                                AmountToApply := TotalAmountToApply;
                            TotalAmountToApply = AdvanceLink."Remaining Amount to Deduct":
                                AmountToApply := TotalAmountToApply;
                            TotalAmountToApply > AdvanceLink."Remaining Amount to Deduct":
                                AmountToApply := AdvanceLink."Remaining Amount to Deduct";
                    end;
                    //---------------------------------------OnAfterGetCustLedgEntry:BEGIN
                    end;
                    //---------------------------------------OnAfterGetCustLedgEntry:END
                    TotalAmountToApply := TotalAmountToApply - AmountToApply;
                    AdvanceLink."Remaining Amount to Deduct" := AdvanceLink."Remaining Amount to Deduct" - AmountToApply;
                    AdvanceLink.Modify();

                    if AmountToApply <> 0 then begin
                        if TempCustLedgEntry.Get(CustLedgEntry."Entry No.") then begin
                            TempCustLedgEntry."Amount to Apply" := TempCustLedgEntry."Amount to Apply" + AmountToApply;
                            TempCustLedgEntry.Modify();
                        end else begin
                            CustLedgEntry."Applies-to ID" := AppPrefTxt + Format(CustLedgEntry."Entry No.");
                            CustLedgEntry.Modify();
                            TempCustLedgEntry := CustLedgEntry;
                            TempCustLedgEntry."Amount to Apply" := AmountToApply;
                            TempCustLedgEntry."Currency Code" := AdvanceLink."Currency Code";
                            TempCustLedgEntry.Insert();
                        end;
                        if CustLedgEntryLink.Get(CustLedgEntry."Entry No.") then begin
                            CustLedgEntryLink."Amount to Apply" := CustLedgEntryLink."Amount to Apply" + AmountToApply;
                            CustLedgEntryLink.Modify();
                        end else begin
                            CustLedgEntryLink := CustLedgEntry;
                            CustLedgEntryLink."Amount to Apply" := AmountToApply;
                            CustLedgEntryLink."Currency Code" := AdvanceLink."Currency Code";
                            CustLedgEntryLink.Insert();
                        end;
                    end;
                end;
            until (AdvanceLink.Next = 0) or (TotalAmountToApply = 0);
    end;

[IntegrationEvent(false, false)]
local procedure OnAfterGetCustLedgEntry(TotalAmountToApply: Decimal, AdvanceLink: Record "Advance Link", var AmountToApply: Decimal, var Handled: Boolean)
begin
end;

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.


Update masks to use ClimaArtifacts or upload masks to ClimaArtifacts

Currently, the masks are files in ClimaAnalysis. The file should be moved to ClimaArtifacts or ClimaAnalysis should use the masks in ClimaArtifacts if they exist.

closes by #174


Fix: upd bal on swap and move send/receive btns

Not entirely sure why the previous (and more elegant) solution isn't working. Perhaps something to do with changing how we query balances in the sidebar now vs before.
queryKeys: [offerAsset, askAsset]
      .filter((asset) => asset && AccAddress.validate(asset))
      .map((token) => [
        queryKey.wasm.contractQuery,
        token,
        { balance: address },
      ])


Unusable on Ruby 2.7.0 because of thwait and e2mmap being missing

From https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/
The following libraries are no longer bundled gems. Install corresponding gems to use these features.
CMath (cmath gem)
Scanf (scanf gem)
Shell (shell gem)
Synchronizer (sync gem)
ThreadsWait (thwait gem)
E2MM (e2mmap gem)

thwait is required here
and looks like it wants e2mmap to function

+1 here

see #299
temporary workaround: add the missing dependencies to your Gemfile.
gem 'e2mmap'
gem 'thwait'

I'm working on a new gem (not sidekiq related) and as soon as I tested it with 2.7 and several things broke to get around this I added the following snip to my generated Gemfile.
# Gems required for running several rails components with RUBY_VERSION >= 2.7
if RUBY_VERSION >= '2.7'
  gem 'e2mmap'
  gem 'thwait'
end

Should remain open.

...thanks bot

@dwightwatson I think this problem already was resolved with https://github.com/moove-it/sidekiq-scheduler/pull/299, right?

Yeah, this looks good now.


lower some debug to trace

Weird.  Must have pushed an intermediate commit for this instead of the locally correct one.  Should work now.


This may be caused by the extension triggering the 'cmake.projectStatus.selectConfigurePreset' command

Brief Issue Summary
When attempting to configure a CMake project and choose a preset,an error occurs with the message "Cannot configure: No configuration preset is active for this CMake project. This may be caused by the extension triggering the 'cmake.projectStatus.selectConfigurePreset' command."
CMake Tools Diagnostics
{
  "os": "darwin",
  "vscodeVersion": "1.85.2",
  "cmtVersion": "1.16.32",
  "configurations": [
    {
      "folder": "/Users/ryan/Desktop/development/cpp/sectran",
      "cmakeVersion": "3.23.1",
      "configured": false,
      "generator": "",
      "usesPresets": true,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log
No response
Additional Information
cmake version
cmake version 3.23.1
here is my configure
{
    "version": 3,
    "cmakeMinimumRequired": {
        "major": 3,
        "minor": 23,
        "patch": 1
    },
    "configurePresets": [
        {
            "name": "macos-base",
            "hidden": false,
            "displayName": "macos base",
            "generator": "Unix Makefiles",
            "binaryDir": "${sourceDir}/cmake-build-${presetName}",
            "cacheVariables": {
                "CMAKE_C_COMPILER": "gcc",
                "CMAKE_CXX_COMPILER": "g++",
                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
            },
            "condition": {
                "type": "equals",
                "lhs": "${hostSystemName}",
                "rhs": "macos"
            }
        },
    ]
}

Running the command 'cmake.projectStatus.selectConfigurePreset' error: Cannot configure: No configuration preset is active for this CMake project. This may be caused by the extension triggering the 'cmake.projectStatus.selectConfigurePreset' command.

@BinaryRyan Could you run the "CMake: Reset CMake Tools Extension State" (NOTE: It will reset your CMake Tools extension state, so you might want to save your settings somewhere so you can restore them at some point if needed), this will restore everything to get to a base state to help us understand what might be going on.
Thanks! Also, if you could try to configure with this on the command-line as well, we could narrow down that this isn't an issue with the preset itself. Thanks!

I tried to reset the cmake tool but an error window popped up:"The command "CMake: Reset CMake Tools Extension Status (for troubleshooting)" caused an error,Unable to configure: No configuration presets have been activated for this CMake project"


Is there a "Format Selection As ..." command?

I spend a lot of time writing Markdown with lots of JSON examples. Often my sources of JSON don't do a good job of formatting the JSON, or I manually write the JSON but make some mistakes in formatting. Would love to be able to select everything within the Markdown code block and say "Format Selection As ... " and choose JSON.
Or better yet, have the command detect the format option from the fenced code block  (```json in this case).
Current work around is to copy/paste to a JSON doc. Format Document. Copy/Paste back to markdown doc.

Hi, any update on this feature? There is a design discussion about the implementation? If there is something already defined I may candidate to implement it.

I'm glad this issue is in the backlog, and I hope there can be some progress made on it. I wish to have this feature too.
In my current case, I work with Shopify themes which can have several different formats in the same file: CSS, JavaScript, JSON, HTML, Liquid, etc. So it will be useful to highlight parts of the file, issue a "Format Selection As" command and choose a certain language to format that selection alone.
Noting here also that this was asked before #27073 but was closed in the issue grooming exercise then.

@michaelgwelch another workaround: You can temporarily rename the markdown file extension to .md.json, format your JSON code blocks, then rename it back to .md 🙂

ⅰ. I'd really like to see this implemented as well.  Similar to what others have mentioned here and in #27073, I'm not interested in syntax-highlighting which requires VSCode to programmatically conjecture the parsing, and final language designation, selected from a set of more than one language, to each element of the result, i.e. any functionality which enhances or generalizes VSCode's ability to highlight syntax of all correctly-formatted¹ code in a file, where language value, used to verify and highlight syntax, is not atomic² nor provided as a parameter (or functionally equivalent)³ to the process highlighting syntax.⁴  Instead, I'm only looking for the ability to manually designate a substring within the file to be parsed using a specified language, after which existing syntax highlighting procedures would be applied, using already installed language extensions, would operate similarly, but, instead of a language being associated with a file, it would be associated with some substring object.  The substring object could be defined in multiple ways.  The worst-case scenario would be an assignment which is purely static relative to position in the file (e.g., start and end positions defined by constant row and column coordinates), but, ideally, it would be dynamic—I envisioned something that functions like 𝘙𝘢𝘯𝘨𝘦 objects in Wᴏʀᴅ, relying on procedures weighing multiple parameters to evaluate bounds dynamically, to provide acceptable tolerance of common, foreseeable edits⁵, to adjust 𝘙𝘢𝘯𝘨𝘦 bounds in a manner consistent with reasonable user-expectations (forcing language designation of a 𝘙𝘢𝘯𝘨𝘦 at creation should make a robust function for tracking bounds relatively feasible).  Finally, some kind of graphical indicator would dramatically improve usability, e.g. an outline enclosing the range, revealed on mouse-over or when the cursor position is within the range, with resize handles at the bounds (adjustment using these would resemble highlighting text with a mouse), and possibly on the top and bottom edges (which would increment or decrement entire rows from the range), and using different outline colors for each range, or for each set of ranges with the same language designation.
────────────────────────────────────────────────────────────

VSCode must be able to validate formatting, which excepts from this requirement, any code written in a language which 𝘩𝘢𝘴 𝘯𝘰𝘵 been installed.

𝘢𝘵𝘰𝘮𝘪𝘤, here, is used reference a type which is a single value, in contrast with 𝘤𝘰𝘮𝘱𝘰𝘴𝘪𝘵𝘦 types, which contain multiple values (e.g., an 𝘢𝘳𝘳𝘢𝘺, 𝘭𝘪𝘴𝘵 or 𝘤𝘰𝘭𝘭𝘦𝘤𝘵𝘪𝘰𝘯).

Here, 𝘧𝘶𝘯𝘤𝘵𝘪𝘰𝘯𝘢𝘭𝘭𝘺 𝘦𝘲𝘶𝘪𝘷𝘢𝘭𝘦𝘯𝘵 is meant to include any states where language, as used for the syntax-highlighting procedure, is atomic and initialized when the syntax-highlighting procedure is called.

An example of a request like this, which references automated language assignment on files which contain both PHP and HTML, can be found here: #14447.

E.g., to dynamically (𝑎) grow or shrink the 𝘙𝘢𝘯𝘨𝘦's upper bound to accord with insertions or deletions made, therein, or (𝑏) advance or retreat the 𝘙𝘢𝘯𝘨𝘦's lower bound in response to changes in the length of text preceding it.
 			***

ⅱ. Also, I just wanted to note that @bkmeneguello's comment from May 16ᵗʰ doesn't seem like spam.  I'm not sure if it was automatically flagged for some reason, but I may also be missing something.

Related on Stack Overflow: Formatting contents of a Markdown code fences in VS Code (or other embedded language code). For that question, #14447 was also related.

Here is another related item (#183466), this time referring to JavaScript and a missing "Format Selection With..." command, which would also solve this problem, and is apparently available in other contexts within VS Code.


I can't include mkl.h.

I'm very interested in this.
I'm going to compile this code but i can't compile.
I can't include mkl.h
what do i have to do?
thanks in advance.

@yongjong111 Sorry It's been late to reply. Please make sure you have installed Intel MKL correctly. May the install guide https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-2018-install-guide would help you.


Redux Using combineReducers throw error: 'Uncaught Error: Objects are not valid as a React child (found: object with keys {postsBySubreddit, selectedsubreddit}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.'

follow the  official example:
import React from 'react'
import  { combineReducers } from 'redux'
import {
    SELECT_SUBREDDIT, INVALIDATE_SUBREDDIT, REQUEST_POSTS,
    RECEIVE_POSTS
} from './AsyncActions'

const selectedsubreddit = (state = 'reactjs', action) => {
    switch (action.type) {
        case SELECT_SUBREDDIT:
            return action.subreddit
        default:
            return state
    }
}

function posts(state = {
                   isFetching: false,
                   didInvalidate: false,
                   items: []
               }, action) {
    switch (action.type) {
        case INVALIDATE_SUBREDDIT:
            return Object.assign({}, state, {
                didInvalidate: true,
            })
        case REQUEST_POSTS:
            return Object.assign({}, state, {
                isFetching: true,
                didInvalidate: false
            })
        case RECEIVE_POSTS:
            return Object.assign({}, state, {
                isFetching: false,
                didInvalidate: false,
                items: action.posts,
                lastUpdated: action.receivedAt
            })
        default:
            return state
    }
}

const postsBySubreddit = (state = {}, action) => {
    switch (action.type) {
        case INVALIDATE_SUBREDDIT:
        case RECEIVE_POSTS:
        case REQUEST_POSTS:
            return Object.assign({}, state, {
                [action.subreddit]: posts(state[action.subreddit], action)
            })
        default:
            return state
    }
}

export default combineReducers ({
    postsBySubreddit,
    selectedsubreddit
})

when i put two reducer function in the combineReducers it will throw error in the web page console
Uncaught Error: Objects are not valid as a React child (found: object with keys {postsBySubreddit, selectedsubreddit}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.
how can i fixed this?

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux. Thanks!


Some issues with the examples

The examples did not work for me, out of the box. I found a couple of things:

Typo in de documentation (git command)
Building the examples depends on building the binding itself first. This fails on my machine (will look into this further, but seems to be going haywire on the ppx extension). I changed the examples to use the published packages, and bumped some versions.
Typo in the name of an icon.

End result is that yarn install; yarn bs:build; yarn example now works.
This is probably no replacement for the current flow that allows you to test the example with the development version of the bindings, but I believe having self-contained examples is what a prospective user needs. Maybe we can create a separate repo with just the examples?

Makes sense, much appreciated!


tmt: Add tmt test export to shell format.

Provide data dict in form which is better formated by shell.
Example of format:
key: value
name: test1
\n
\n
key: value
name: test2
If more tests are present \n\n sequence is used as a delimiter.

Also we need new test for this format - ideally exporting complicated metadata (dict, quoting...)

What is the expected usage? I'm not sure about the resulting format as we have dictionaries there.

To have freedom to work with data in another form? However, it looks like yq and yaml output can be way how to reach goals also.

What is the expected usage? I'm not sure about the resulting format as we have dictionaries there.

To have freedom to work with data in another form? However, it looks like yq and yaml output can be way how to reach goals also.

Let me rephrase - How should dictionary be presented?

Hi. Work on reopening of this MR. My fault. Close of this MR was not intended. Just force pushing around to my devel master branch on different repo :(. Ok. So now I know how github behaves in this situation.

Reopening again. Hope there will be way how to change branch in opened state.

What are the plans with this pull request? Is the use case still valid?

Hello. Oh. This commit again. Sorry I made cleanup of my tmt fork and I just forgot about this one.
We should leave (or switch) it in closed state.

Ok, closing.


Fixed expanded detail

Hi,
I'm trying to figure out how to set expanded content position fixed. That is, when I have a long table and scroll, the detail is still in the same place and moving with it.
Any idea?
Thanks, Knapeto

umm.. we dont support this kind of feature currently. it's sorry.but do you have any detail explain to your requirement, I'm not very clear about "how to set expanded content position fixed". thanks


Nvm npm 7

Summary
Node 14 is bundled with npm 6. npm 6 only knows about lockfile version 1 in package-lock.json, and so it ends up making a lot of changes to the lock file that the user didn't intend when doing an npm install. When you install & manage node/npm with nvm, you can  nvm install-latest-npm to manually install a version >= 7, which understands & does not modify the newer lock file.
Ticket Link
No known ticket

Thanks for the PR, @neallred! I didn't realize I'd forgotten to update these docs.
We actually went through the process of upgrading the web app to build with Node 16 partly to avoid the extra step of having to upgrade NPM separately after installing Node 14. We're also looking at using some Node 16-specific features in the near future, but those changes aren't in yet.
Would you mind changing this PR to recommend using Node 16 instead?

Sure, sounds good to me!


fix: do not dllexport symbols in core static libraries

On Windows, we now compile all core .os twice, once with and without dllexport, for use in the shipped dynamic and static libraries, respectively. On other platforms, we export always as before to avoid the duplicate work.

@tydeu I believe the only remaining issue is that supportInterpreter test binaries now fail on Windows as we've now basically implemented our own -rdynamic distinction! So Lake would need to include LEANC_SHARED_LINKER_FLAGS when building a supportInterpreter executable on Windows.

@Kha The Lake linking fixed on of the tests, but the other is now failing with l_System_FilePath_join was replaced (log).

Interesting. I can only assume that means that we try to both statically and dynamically link against this function, but I don't know why that should happen if -lInit_shared does land in front of -lInit. Would be great if you could locally test what clang invocation makes this work.

I believe I have fixed everything I can on the Lake side and everything now can function, so I will hand this back to you @Kha.

@Kha Added the release note. Feel free to merge when convenient.


Investigate moving away from ConfigMaps based leader election

This affects anything that uses wrangler/pkg/leader to do leader election. Currently it's hardcoded to use ConfigMap here:
https://github.com/rancher/wrangler/blob/39dd8bf93e9f99e647e910d5c9a968bc76c57d51/pkg/leader/leader.go#L34
There are alternatives (leases/LeaseLock amongst others), this issue is to discuss if and if yes, we can migrate to a less resource intensive way.
RKE 1.21 leader election:
$ kubectl -n kube-system get lease
NAME                      HOLDER                                                AGE
kube-controller-manager   ip-172-26-1-95_f77ef5d1-75b8-4c84-a5ab-5e20604e4cf8   81m
kube-scheduler            ip-172-26-1-95_5aa3864b-2f08-44f5-8e83-b47c83bb51e2   81m

K3s 1.21 leader election:
$ kubectl -n kube-system get lease
NAME                       HOLDER                                                   AGE
cloud-controller-manager   k3s-server-t0j9sv_6607d8f2-0235-4f3f-be3c-c6a92770de41   20m
kube-controller-manager    k3s-server-t0j9sv_505bde77-ebc4-483f-a058-4433895426c2   20m
kube-scheduler             k3s-server-t0j9sv_35c35465-3050-4a23-b216-4bf528a998a6   20m

Upstream ref: https://github.com/kubernetes/kubernetes/issues/80289

This could be a good initiative. Since in GKE autopilot rancher 2.7.0 installation fails:
E0122 15:04:02.951245      32 leaderelection.go:334] error initially creating leader election record: configmaps is forbidden: User "system:serviceaccount:cattle-system:rancher" cannot create resource "configmaps" in API group "" in the namespace "kube-system": GKE Warden authz [denied by managed-namespaces-limitation]: the namespace "kube-system" is managed and the request's verb "create" is denied


DAC_CHANNEL_MAX not declared

Hy,
My very bare bones code gives me the following error: /libraries/DacESP32/src/DacESP32.cpp:117:23: error: 'DAC_CHANNEL_MAX' was not declared in this scope; did you mean 'DAC_CHANNEL_2'?
#include <DacESP32.h>

DacESP32 dac1(GPIO_NUM_25);

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial.println("Hello, ESP32!");
}

void loop() {
  // put your main code here, to run repeatedly:
  delay(10); // this speeds up the simulation
}

Thanks, Kurt

Hi Kurt,
when building for ESP32 then DAC_CHANNEL_MAX is declared in "C:\Users\yourName.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32\include\hal\include\hal\dac_types.h" which should start like this:
#pragma once

#include "soc/soc_caps.h"
#include "hal/adc_types.h"
#include "sdkconfig.h"

typedef enum {
    DAC_CHANNEL_1 = 0,    /*!< DAC channel 1 is GPIO25(ESP32) / GPIO17(ESP32S2) */
    DAC_CHANNEL_2 = 1,    /*!< DAC channel 2 is GPIO26(ESP32) / GPIO18(ESP32S2) */
    DAC_CHANNEL_MAX,
} dac_channel_t;
....
....

Building for ESP32-S2 or ESP32-C3 will fail for those MCUs don't have a DAC module integrated.
And of course, always make sure you use the latest ESP32 framework.
Cheers
Thomas

I don't know what I'm missing.
I include the library via the Arduino IDE and upload the sketch to the ESP32. Other code ran fine that way.
I have the same problem with the Arduino IDE/physical ESP32 and Wokwi.

Make sure you have all recent updates for IDE, framework & libs. If no success then a clean IDE install might help.
Just did a build with settings as below.

Here the complete build log just for reference:
DacESP32-Build.log

I have the same problem, the definition changed in the latest version of the esp32 libraries.

Ok, I'll have a look at it.

Just released V1.1.1. Please give it a try and have a look at the release info.


Groq llama3 model works with errors

Basically, I'm experiencing similar issue to the one described in #84 (in particular https://github.com/AndraxDev/speak-gpt/issues/84#issuecomment-2064759775). I'm using v3.22 downloaded from Google Play
After every response I get an error message. The response from API is fine, so the model works.

Issue
Same chat, next message
API url
Model
Event log (not sure if it's relevant)

Full chat log: c23975d31601afd39aae3feb0d1e95498b77dafaff4a0b1213e2635bbf67ef94.json
Crash log is empty. Ads log is not relevant I think here.
It looks like speak-gpt app adds this text somewhere here, I guess, so it's not an issue with configuration or the API, it's an issue with error handling logic inside speak-gpt app. It fires when it shouldn't, I think.

A you can see this message appends only when exception is happened. It means that library used in SpeakGPT is not fully compatible with other endpoints. The only thing I can do is to add ability users can hide error messages.

only thing I can do is to add ability users can hide error messages.

I think this is an acceptable solution for now. After all the model works just fine, it's just UI that is annoying at the moment.

library used in SpeakGPT is not fully compatible with other endpoints

Should I create an issue with the library used? If yes, please point me in the right direction.

https://github.com/aallam/openai-kotlin

Users doe not see such errors when using official OpenAI endpoint.

Starting from SpeakGPT 3.23 you can disable error messages. Usually it takes 1-2 business days before Play Store version becomes available.


Adds a  element and style="" attribute for compactly specifying multiple attributes.

ed03474:
Implements <span> tag element, as a ChildTextTagElement in TextTagElements.
Returns a StyledTagElement.
d0ac165:
In ElementParsingUtils, added: parseStyleAttribute().
From the documenting comment:

Allow for using style="..." attribute values to compactly specify multiple attributes.
These compact attributes may be in 'key:value' or boolean form.
Booleans can be negated with a leading '!'; both forms may have short names or synonyms.
Example: style="!obfuscated,b,em,color:lavender,bg:0 #4a38d0"

In TagProvider's mapAttributes():

If current tag has a "style" attribute present:

parse it (via parseStyleAttribute() mentioned above)
insert these into attributes, via putIfAbsent so "normal" attributes take precedence.

Hello. Bump.

OK, got it all back.
Well, that was a learning experience, lol if it wasn't just a stooopid goof in the first place.


Incorrect matching of dynamic route

Describe the bug
I have an issue where a dynamic route is prioritised over a static route.
Your Example Website or App
https://stackblitz.com/edit/github-wtkw8q?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue

Click on the "Collection Item" navigation link. The app will navigate correctly to the detail page for collection item 1
Click on the "Create Collection" navigation link. The app will also navigate to the collection item detail page instead of the create collection
Now update the routeTree and comment out the collectionsDetailIndexRoute, e.g.const routeTree = rootRoute.addChildren([
  indexRoute,
  collectionsRootRoute.addChildren([
    collectionsIndexRoute,
    collectionsCreateRoute,
    collectionsDetailRootRoute.addChildren([
      // collectionsDetailIndexRoute,
      collectionsDetailGeneralRoute,
    ]),
  ]),
]);

Refresh the app and click on the "Create Collection" navigation link again. This time, the app will navigate correctly to the Create Collection page

Expected behavior
I expect the app to navigate correctly to the create collection route when I go to /collections/create instead of to the collections detail page.
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Firefox
Version: 0.0.1-beta.265

Additional context
No response

This issue is fixed in beta.279, see
https://stackblitz.com/edit/github-wtkw8q-p9hidz?file=src%2Fmain.tsx


Be able to switch zocalo environment

For testing artemis/experimental plans off the beamline we should be able to use e.g. devrmq instead of artemis, to allow "processing" by a mock zocalo. But, zc.activate_environment("zocalo") is hardcoded throughout artemis, including in unit tests.
acceptance criteria:

zocalo env can be specified at runtime e.g. through parameters or --dev flag
tests on zocalo interaction reflect this

@DominicOram @evalott100
how do you think this is best implemented? parameters or runtime arg / flag?

So what we currently have is:

A command line arg for whether we log to real/fake graylog
We use the beamline parameter to say whether we use the real/simulated beamline

I think, like you said, a parameter would be good. It should default to using the zocalo environment if not specified

@DominicOram I think we should default to a dev environment if not specified, see #356


Bug: the IDE failed to output the expected error.

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

I have the kcl program as below:
The_first_kcl_program = 'Hello World!'

schema SchemaInMainK:
    msg: str

schema_in_main_k = SchemaInMainK(msg='I am the instance of SchemaInMainK')

2. What did you expect to see? (Required)
This is not a correct KCL program, the IDE should show me the error.
$ kcl main.k
error[E3M38]: EvaluationError
 --> /Users/main.k:6:1
  |
6 | schema_in_main_k = SchemaInMainK(msg='I am the instance of SchemaInMainK')
  |  attribute 'msg' of SchemaInMainK is required and can't be None or Undefined
  |

3. What did you see instead (Required)
The LSP is still work,but failed to output errors.

4. What is your KCL components version? (Required)

I build the KCL from the branch main.
$ kcl --version
Version: 0.5.4-20ab3eb4b9179219d6837a57f5d35286
Platform: aarch64-apple-darwin
GitCommit: a15a3157608079eb93d2b95d4a1f809bbff5aa46

KCL IDE only checks for syntax and semantic errors, not contains runtime errors


no_proxy doesn't work

using proxy  to visit internet,
we setup  a minio server behind the proxy in the intranet,
set no_proxy ,which works for curl and Web browser, but it doesn't work for
goofs, it still visit proxy .
no_proxy=<IP_ADDRESS>,localhost,10.160.*
Hope it can be fixed soon.

What's the --endpoint argument that you are using?


replace copyrights headers/comments in kogito-online-staging

I can not find such repository in apache org:
https://github.com/apache?q=kogito-online-staging&type=all&language=&sort=
should we close this ticket?

Will be moved to Apache as part of https://github.com/apache/incubator-kie-issues/issues/428
Repo still located with kiegroup for now: https://github.com/kiegroup/kogito-online-staging


how to run with a vlc streaming in as rtsp

Hi
thanks for sharing. am new to deepstream and gstreamer. i had encountered the following issues and would like to seek your advice. i am running a vlc to send rtsp stream to the app. However, i noticed when i run the app, it will shows as  " Error starting userland proxy: listen tcp <IP_ADDRESS>:8554: bind: address already in use." which is so as the vlc is also binding to the same port and address. any advice how to solve this problem?

If you are already using the default port that slipstream uses for output, then you can either change the port you are using, or change the port that slipstream uses for output. To change the port that slipstream uses for output, just provide that new port number in the environment variable, RTSPOUTPUTPORTNUM. You'll need to pas this with -e when you docker run the container. Take a look in the Makefile to see how I pass other environment variables like RTSPINPUT into the container.


[nitro-protocol] Run chain tests concurrently

This cuts down nitro test run time by about a half (10 mins to about 5) on circle.
It also closes the gap between local development (where tests will run concurrently, and fail some of the time because of that) and circle (where they do not).
The key fix was not asserting on the balance of one of our test accounts (e.g. one that deploys contracts).
Other fixes that I put in to avoid interference between tests:

generate a psuedorandom nonce for each channel used in each test, using the hash of the test name as a seed.

This is god's work! 👍


Kommunicate Docs and Wifi CSI Phase Research

Added research on Communicate as a tool to be integrated with Dialogflow, as well as discussing alternative tools.
Added research on WiFi CSI data—a basic overview of the concept with a more in-depth dive into phase data and how it can be effectively used in machine learning applications.

[
Wifi CSI data interpretation.pdf
](url)


[feature-wip][multi-catalog] Support s3 storage for file scan node

Proposed changes
Issue Number: close #xxx
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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...

OK

2022年7月19日 23:53，Mingyu Chen @.***> 写道：
hi @SaintBacchus https://github.com/SaintBacchus , we had just fix the p0 test, please rebase to pass it.
—
Reply to this email directly, view it on GitHub https://github.com/apache/doris/pull/10977#issuecomment-1189226471, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYP2GBDNFIDNBKEX7FAKNLVU3FOLANCNFSM533XH66Q.
You are receiving this because you were mentioned.


Remove moot version property from bower.json

Per bower/bower.json-spec@a325da3
Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property

:+1:  Thanks. So bower just get's the latest v every time? Not that familiar with bower...

It never uses version it gets the git tags and always has used those not the version in the file


Number of FASTA/FASTQ files in input can indeed be 0

Hi Guillaume,
I am playing around with minimal (not yet) working examples of your new Bifrost-v1.2.0 release. I am trying to use the new ColoredCDBG<>::read() function as introduced on Jun 11, 2022 (with 96761d9392ca72b798999c0d3663370caee380c8) to read a graph from gfa, bfi and color.bfg files.
Problem:
My small example fails due to no FASTA/FASTQ being present.
    ColoredCDBG<> ccdbg;
    bool build_status = false;

    build_status  = ccdbg.read(opt.filename_graph_in, opt.filename_index_in, opt.filename_colors_in, opt.nb_threads, opt.verbose);
    build_status &= ccdbg.buildGraph(opt);
    build_status &= ccdbg.buildColors(opt);

    if (!build_status){
        std::cout << "Error building the graph" << std::endl;
        return 1;
    }

Error log:
ColoredCDBG::read(): Reading graph.

CompactedDBG::read(): Reading graph from disk

CompactedDBG::read(): Finished reading graph from disk
ColoredCDBG::read(): Reading colors.

DataStorage::read(): Reading color sets from disk
ColoredCDBG::loadColors(): Joining unitigs to their color sets.
CompactedDBG::build(): Number of FASTA/FASTQ files in input cannot be 0.
ColoredCDBG::buildColors(): Graph is invalid (maybe not built yet?) and colors cannot be mapped.
Error building the graph

Expected behavior:
When using graph files (gfa, bfi, color.bfg), I shouldn't need any FASTA/FASTQ.
Proposal:
I traced this case down to the function CompactedDBG<>::build() (overwritten in class ColoredCDBG). Maybe the condition in the snippet below is out of date for Bifrost's colored dBG?
https://github.com/pmelsted/bifrost/blob/c15674193efeeef395ae5ff9b02a3c4805e02f96/src/CompactedDBG.tcc#L553

Hi @Krannich479,
I appreciate the detailed description of the issue, I'll look into it asap. I'm currently on my way back to Iceland, hopefully I can push a fix for this on Friday at the earliest ;)
I'll keep the issue open in the meantime and will update as soon as the fix is pushed.
Thanks,
Guillaume

Hi @Krannich479,
I had a quick look into it and I think this is actually the expected behavior no matter what version of Bifrost you use. What you want to do here is to read the graph and its colors, which is simply achieved by the first call to ColoredCDBG::read(), after that the graph is fully loaded in memory with its colors and ready to use. Subsequent calls to buildGraph() and buildColors() will clear the graph you just read and try to build a new graph with colors out of input FASTA/FASTQ you do not have, hence the error message.
Guillaume

Sorry for the confusion and thanks for clarification!
Verified: Minimum working example works now of course.

Great :) Will close this issue but as always, don't hesitate to open another one if you have issues/questions!

If I may add one last thing: I changed the reading functions in ColoredCDBG such that a failed reading would put the graph in an invalid state (which apparently was not the case before).


Automated Gateway mTLS

Problem Statement
The ControlPlane resource is capable of communicating with the exposed admin api of the DataPlane using mutual TLS (mTLS). The purpose of this task is to add automation that creates and manages this mTLS configuration for new instances of the DataPlane, and ensures that instances of ControlPlanes attached to those DataPlane resources can be consumers of those Secrets and communicate with the DataPlane via the underlying certificates.
Acceptance Criteria

[ ] when a DataPlane resource is created, mTLS credentials are generated for it by the dataplane-controller
[ ] any Deployments created for a DataPlane resource are automatically configured with the mTLS credentials on their admin API listen server
[ ] when a ControlPlane becomes attached to a DataPlane, it is configured with the mTLS credentials needed to securely authenticate with the admin API
[ ] when a ControlPlane becomes detached from a DataPlane the mTLS credentials it had previously are dropped
[ ] when a DataPlane resource is deleted, it's mTLS Secrets are deleted

Additional Notes

[ ] TODO comments which linked to this issue are removed once resolved

Some thoughts looking around this initially:

Kubernetes provides a standard CSR to certificate pipeline, but it's a bit clunky. To use it, instances would generate a cert/key pair internally and a CSR resource from it. Signing requires a controller that watches for these resources, checks if it's approved, and issues a certificate if so. There are decent example implementations for parts of these. We'd then need to manually stuff the signed certificate and key into a Secret to mount on the Kong instances.
cert-manager avoids writing a signer/approver and Secret manager, but isn't standard and uses custom resources, so it's not compatible with something else that uses the standard CSR API.
If we're implementing our own signer, and it's part of the same project as the application manager, is there any reason to actually create the CSR resources? We can just pass the structs around internally.
Do we have approval criteria beyond matching our signer name? If we do use CSRs, have the same CA for both issuing client certificates and server certificates, what's to stop a malicious application from either stealing secrets out of the config blob or impersonating a control plane? The model seems predicated on manual credential creation and distribution. Short circuiting the actual CSR resource does essentially avoid this, however, since there's no longer any way to actually request a certificate.

I'd like to be able to import the example signer more or less as-is internally, but it doesn't look like it exposes an external interface that'd let us avoid its normal API server interactions, so we probably need to vendor bits of the code.

Talked with Travis about the above comment in a zoom: I'm in favor of the approach where we manage a private CA belonging to the operator for the initial purposes of mTLS auth setup as this covers our immediate needs and has the least attack vectors of the proposed options.


numpy: Cross-references for functions/classes signatures (docstring sections)

Support automatic cross-references for documented functions/methods and classes signatures through the corresponding docstring sections.

Not sure what you mean exactly , but I got cross-reference working in my docstring using the TOC entry.
This part of the doc got me on the track :

Then I managed to reference a method of separate class in docstring using
[Link Label][my_package.module.function]

Thanks for helping!
Here's what I meant. In your docstrings, you can write sections to document available classes, functions or methods:
class Flags:
    ...

class A:
    """Class A.

    Methods:
        method_a(value): Method a.
        method_b(flag=Flags.NONE, store=False): Method b.
    """
    def method_a(self, value: str):
        """Method a."""

    def method_b(self, flag: int, store: bool):
        """Method b."""

The goal here is to re-parse these signatures (method_a(value) and method_b(flag=Flags.NONE, store=False)), which are just text in the docstring, as Griffe expressions, which will allow the renderer to automatically add cross-references to the parameters (value maybe, flag and store for sure) or values (flags.None).


Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause. In either case, please report this assertion by filing a bug on GitHub:

Hi @nihalAlaghbari
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly.
More specifically, please provide the information indicated below:

A completed and minimal reproducible code sample
The output of flutter doctor -v
Reproduction steps

I am closing this issue since little or no information has been provided. Once you update the issue with more information, please write in the comments and I will re-open this for further discussion. Thanks!


Fatal error: Uncaught Error: Class "Theme_Sniffer\Core\Plugin_Factory" not found

Hi, I am trying to activate the plugin but it has a problem:
 Fatal error: Uncaught Error: Class "Theme_Sniffer\Core\Plugin_Factory" not found in C:\Users\Lion\Local Sites\wptest\app\public\wp-content\plugins\theme-sniffer-development\theme-sniffer.php on line 58
WordPress: 5.8
PHP: 7.3.5 - 8.0.0 (Tested on several version)

If you've just downloaded the zip from the GH you'll need to bundle it as described in the readme. Otherwise use the release zip


Make the commit message configurable

It would be lovely to have the commit message to be configurable via a template.
This way the commit message could be made compliant to the commit convention used in the repo.
WDYT ?

@leodido - thanks for the idea, I like it. Feel free to submit a PR if you already have something worked out.


Ensure testkit works across groovy version boundaries

Adds test coverage for running testkit tests using old
gradle versions while targeting new (post-groovy3)
gradle versions.
Fixes #16490

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test this

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Add version API?

Hi,
How to add the version of API Rest?.......in the base url?......
Thanks.

Yeah - you'd have to version the url    .../v1    .../v2

Thanks @dstroot.

Your file app_cluster.js, run automatically when the app is running? or must be called.....


Artifact portal effect changes

About the PR
Artifact portal lifespan reduced from 120 seconds to 1 second
Why / Balance
right now when an artifact causes a portal effect and position change with a random player, the portal hangs for 2 minutes, so usually the artifact is dragged back in and the person goes outside and gameplay continues as normal.
Now the portal will only work for 1 second: This means that in most cases people will not have time to react, and the artifact will end up in a random place on the station, with the person locked in the artifact chamber. This will add interaction between players: the human needs to get out of the lab, and the scientists need to ask the human where he was to find the artifact.
Changelog
:cl:

tweak: Artifact portal lifespan reduced from 120 seconds to 1 second

Why not just simply swap with someone randomly on the station? The artifact already can teleport to a random area without a portal

That way there's a chance the person will run out in time, and the scientists have a chance to notice who it was. There are more possible outcomes in this scenario.

Perhaps, but I've also seen a case where a nukie got teleported into the artifact chamber - a bit of a fluke but the portal let them run back out

I don't see the problem, sounds like fun.

fan of this change

Perhaps, but I've also seen a case where a nukie got teleported into the artifact chamber - a bit of a fluke but the portal let them run back out

I let an entire nukie team and syndie cyborg onto the station once as a sentient artifact who opened a portal to the nukie shuttle.
Good times.
Personally I feel like chasing down the artifact really doesn't add much over the occasional (granted infrequent) funny moments that happened if the portal landed somewhere with a group of people. The portal almost always resulted in me as a scientist interacting with the group of people randomly using the portal throughout the entire time it was open which also added danger because I would typically continue on with research while the portal was still open, rather than it'll be now with just the one person in that moment. But that's just my experience.


Fixing indentation spacing.

Fixing indentation spacing.
Minor change on datetime function to improve readability.
Testing:
11:26:38 00:03     [pytest]
11:26:38 00:03       [cache].
                   Using cached artifacts for 8 targets.
                   tests/libs/google:google_gmail_tests                                            .....   SUCCESS
                   tests/libs/google:google_calendar_tests                                         .....   SUCCESS
                   tests/libs/google:google_oauth_tests                                            .....   SUCCESS
                   tests/libs/google:google_controller_tests                                       .....   SUCCESS
                   tests/libs/google:google_drive_tests                                            .....   SUCCESS
                   tests/libs/google:google_admin_tests                                            .....   SUCCESS
                   tests/libs/pagerduty:pagerduty_tests                                            .....   SUCCESS
                   tests/libs/duo:duo_tests                                                        .....   SUCCESS
11:26:38 00:03     [junit]
               Waiting for background workers to finish.
11:26:38 00:03   [complete]
               SUCCESS

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Iulian seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[20.09] dovecot: add patches for CVE-2021-29157 & CVE-2021-33515

Motivation for this change
https://security.archlinux.org/CVE-2021-29157
https://security.archlinux.org/CVE-2021-33515
This firstly enables the tests (in an ugly fashion) to give greater confidence about the validity of the patching. From the commit message:

this is not how i would want to do it in master, but there's added
usefulness in adding this here & now given we're about to add
significant patches

Suggestions welcome as to how we could do this more neatly for master but I think this is good enough for a dead-end branch (the problem is that the test harness seems like it clear the test's PATH or otherwise does something weird that prevents it from finding utils without their absolute path).
CVE-2021-29157's fix required a little mangling, mostly to work around the results of a source-formatter run they did. Happily includes tests. Please do check up on me that the patch file largely is the combination of the 4 linked commits with minor formatting changes, plus a bit of the source-formatting commit that I needed.
CVE-2021-33515's fix applies cleanly.
Not included: fix for CVE-2020-28200 as it's "only" an excessive resource consumption bug and common opinion is that it's too architecturally significant to backport, looking at it I'm inclined to agree.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[ ] Fits CONTRIBUTING.md.

Hmm, think I'm going to have to disable the tests for darwin.

Result of nixpkgs-review pr 127943 at e750ba36 run on x86_64-linux 1

3 packages built successfully:

dovecot
dovecot_fts_xapian
dovecot_pigeonhole


Add an email sending package to the project

Hello contributors, i want someone to add an email sending service to user, either to confirm their email or other purpose, will you be able to do that ??

Hey @arpittyagi102, can I add sendgrid email services for this task, and also for forget password api.

Hello @mahi25soni, I have assigned you the issue, you may start working on it.

@arpittyagi102 I have completed this, and sent a PR also


Update comment of example in README.md

Hi! Just stumbled over a copy n paste slip. Very exiting Package!!!

Thanks. I will merge this pull request when I'm back from holidays.


add convenient assertSoftly for arbitrary commands

Check List:

Unit tests : YES
Javadoc with a code example (API only) : YES

simplified approach of PR #1460 (Add method to use SoftAssertions with any custom Assertions)

Thanks, we will look at it after releasing 3.13.0.

Nice, basically it provides the same functionality as org.junit.jupiter.api.Assertions.assertAll(...) from jUnit5

Maybe it make sense to add the functionality to pass multiple conditions(varargs) to all satisfy methods as well. Implementation is the done by assertAll(conditions)

Sorry for the long delay


Auth and such are using subprocesses that invoke cmd and tasklist, so windows only.

Are there no options to use this library on mac / UNIX?
Or do I have to change all the subprocess windows commands to UNIX equivalents?
e.g. FileNotFoundError: [Errno 2] No such file or directory: 'tasklist' when trying to see if there is an active running gateway...
Kind regards,
Kristof

If you want I extend this on another branch and open a PR for you....

Also running into this issue, would love that pr

Hi @areed1192 I just hit this issue, should this work with osx?
J$ python3 test.py
Traceback (most recent call last):
  File "/Users/username/Documents/python/ibkr/interactive-brokers-api/test.py", line 29, in <module>
    auth_service.login()
  File "/Users/username/Documents/python/ibkr/interactive-brokers-api/ibc/utils/auth.py", line 47, in login
    is_running_response = self._is_already_running()
  File "/Users/username/Documents/python/ibkr/interactive-brokers-api/ibc/utils/auth.py", line 90, in _is_already_running
    content = subprocess.run(
  File<EMAIL_ADDRESS>line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File<EMAIL_ADDRESS>line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File<EMAIL_ADDRESS>line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'tasklist'

Hey! I've got the same issue, anyone know how to change all the subprocess commands? Thanks!

I didn't see any PR for posix support so, I created it myself.
Do check it out. I understand it was way back in the past so, might not be relevant to you anymore.
https://github.com/areed1192/interactive-brokers-api/pull/6


fix file sample_node_husky.launch

Hi,
Thanks for the PR. You didn't have issues with the orientation of the camera ?


[compatibility] version 4.6.9 broken on IE 11

Your Environment

flatpickr version used: 4.6.9
Browser name and version: IE 11
OS and version: Windows 10

Looks like it's because of polyfill for Object.assign (node_modules/flatpickr/dist/esm/utils/polyfills.js) that uses spread operator ... in function definition params:
"use strict";
if (typeof Object.assign !== "function") {
    Object.assign = function (target, ...args) {
        if (!target) {
            throw TypeError("Cannot convert undefined or null to object");
        }
        for (const source of args) {
            if (source) {
                Object.keys(source).forEach((key) => (target[key] = source[key]));
            }
        }
        return target;
    };
}

The last working version is 4.6.6
This breaks es5 compilation so IE11 gets es6 code and won't load.

The last working version is 4.6.6
This breaks es5 compilation so IE11 gets es6 code and won't load.

From what I can tell, the problem is now package.json specifies "module": "dist/esm/index.js", so if you're doing bundling, it defaults to using that file (which contains the ES6 code)
I got flatpickr working in IE11 by putting the following in my webpack config:
  resolve: {
    alias: {
      'flatpickr$': 'flatpickr/dist/flatpickr.js',
    },
  },

which tells webpack to specifically use the transpiled ES5-compliant file.
Hope that helps.

From what I can tell, the problem is now package.json specifies "module": "dist/esm/index.js", so if you're doing bundling, it defaults to using that file (which contains the ES6 code)
I got flatpickr working in IE11 by putting the following in my webpack config:
  resolve: {
    alias: {
      'flatpickr$': 'flatpickr/dist/flatpickr.js',
    },
  },

which tells webpack to specifically use the transpiled ES5-compliant file.
Hope that helps.

We are having the same issue, but happens when using 4.6.8 (via NPM) but not 4.6.7).
This is the IE console error:

And the corresponding code:

flatpickr version used: 4.6.8 (NPM version)
WebPack 4
Browser name and version: IE 11
OS and version: Windows 10

We are having the same issue, but happens when using 4.6.8 (via NPM) but not 4.6.7).
This is the IE console error:

And the corresponding code:

flatpickr version used: 4.6.8 (NPM version)
WebPack 4
Browser name and version: IE 11
OS and version: Windows 10

From what I can tell, the problem is now package.json specifies "module": "dist/esm/index.js", so if you're doing bundling, it defaults to using that file (which contains the ES6 code)
I got flatpickr working in IE11 by putting the following in my webpack config:
  resolve: {
    alias: {
      'flatpickr$': 'flatpickr/dist/flatpickr.js',
    },
  },

which tells webpack to specifically use the transpiled ES5-compliant file.
Hope that helps.

You are right, this won't work unless you specify the alias:
const flatpickr = window.flatpickr = require("flatpickr");

Thanks for reporting @fmagaldea.
I will find a way to fix this or at least document the solution by @robinchow

IE11 reached its EOL on June 15, 2022. So I think we can close this issue.


adding Sirepo references to the README.md file

The Sirepo/Warp PBA and Sirepo/Warp VND apps are a different case from the existing code references. I added text to reference them in a manner that seems consistent with what is being done for other software.
Here is a little more context for the record:
Warp PBA is a prototype app for laser-plasma and beam-plasma wakefield simulations.
It uses the r-z mesh with azimuthal modes.
Warp VND is an app for doing electrostatic PIC with complicated conducting boundaries and dielectrics. The VND stands for vacuum nanoelectronics. The primary problem domain that has been considered is thermionic converters.
For both Warp PBA and Warp VND, the data files are using the OpenPMD standard.

Thank you for the PR and again congratulations on the implementation!


Remove BitKassa

Confirmed closure May 17th per https://www.bitkassa.nl/.
Closes #187

Thanks Pardus


[video_player][ios]: live m3u8 video always returns duration 0:00:00.001000

I tried to load a live m3u8 video but the controller.value.duration is returned differently from android and iOS.
On iOS, it always returns a duration is 0:00:00.001000.
As I printed the values of position and duration,
debugPrint('${_controller.value.position}/${_controller.value.duration}');
The results are different:

Android:

I/flutter (11699): 0:01:29.036000/0:02:00.000000
I/flutter (11699): 0:01:29.036000/0:02:00.000000
I/flutter (11699): 0:01:29.540000/0:02:00.000000

iOS:

flutter: 0:02:49.442000/0:00:00.001000
flutter: 0:02:49.941000/0:00:00.001000
flutter: 0:02:50.442000/0:00:00.001000

 Sample code
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

/// An example of using the plugin, controlling lifecycle and playback of the
/// video.

import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

void main() {
  runApp(
    MaterialApp(
      home: _App(),
    ),
  );
}

class _App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      key: const ValueKey<String>('home_page'),
      appBar: AppBar(
        title: const Text('Video player example'),
      ),
      body: _BumbleBeeRemoteVideo(),
    );
  }
}

class _BumbleBeeRemoteVideo extends StatefulWidget {
  @override
  _BumbleBeeRemoteVideoState createState() => _BumbleBeeRemoteVideoState();
}

class _BumbleBeeRemoteVideoState extends State<_BumbleBeeRemoteVideo> {
  late VideoPlayerController _controller;

  @override
  void initState() {
    super.initState();
    _controller = VideoPlayerController.network(
      'https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8',
      videoPlayerOptions: VideoPlayerOptions(mixWithOthers: true),
    );

    _controller.addListener(() {
      debugPrint('${_controller.value.position}/${_controller.value.duration}');
      setState(() {});
    });
    _controller.setLooping(true);
    _controller.initialize();
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      child: Column(
        children: <Widget>[
          Container(padding: const EdgeInsets.only(top: 20.0)),
          const Text('With remote mp4'),
          Container(
            padding: const EdgeInsets.all(20),
            child: AspectRatio(
              aspectRatio: _controller.value.aspectRatio,
              child: Stack(
                alignment: Alignment.bottomCenter,
                children: <Widget>[
                  VideoPlayer(_controller),
                  ClosedCaption(text: _controller.value.caption.text),
                  _ControlsOverlay(controller: _controller),
                  VideoProgressIndicator(_controller, allowScrubbing: true),
                ],
              ),
            ),
          ),
        ],
      ),
    );
  }
}

class _ControlsOverlay extends StatelessWidget {
  const _ControlsOverlay({Key? key, required this.controller})
      : super(key: key);

  static const List<Duration> _exampleCaptionOffsets = <Duration>[
    Duration(seconds: -10),
    Duration(seconds: -3),
    Duration(seconds: -1, milliseconds: -500),
    Duration(milliseconds: -250),
    Duration(milliseconds: 0),
    Duration(milliseconds: 250),
    Duration(seconds: 1, milliseconds: 500),
    Duration(seconds: 3),
    Duration(seconds: 10),
  ];
  static const List<double> _examplePlaybackRates = <double>[
    0.25,
    0.5,
    1.0,
    1.5,
    2.0,
    3.0,
    5.0,
    10.0,
  ];

  final VideoPlayerController controller;

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        AnimatedSwitcher(
          duration: const Duration(milliseconds: 50),
          reverseDuration: const Duration(milliseconds: 200),
          child: controller.value.isPlaying
              ? const SizedBox.shrink()
              : Container(
                  color: Colors.black26,
                  child: const Center(
                    child: Icon(
                      Icons.play_arrow,
                      color: Colors.white,
                      size: 100.0,
                      semanticLabel: 'Play',
                    ),
                  ),
                ),
        ),
        GestureDetector(
          onTap: () {
            controller.value.isPlaying ? controller.pause() : controller.play();
          },
        ),
        Align(
          alignment: Alignment.topLeft,
          child: PopupMenuButton<Duration>(
            initialValue: controller.value.captionOffset,
            tooltip: 'Caption Offset',
            onSelected: (Duration delay) {
              controller.setCaptionOffset(delay);
            },
            itemBuilder: (BuildContext context) {
              return <PopupMenuItem<Duration>>[
                for (final Duration offsetDuration in _exampleCaptionOffsets)
                  PopupMenuItem<Duration>(
                    value: offsetDuration,
                    child: Text('${offsetDuration.inMilliseconds}ms'),
                  )
              ];
            },
            child: Padding(
              padding: const EdgeInsets.symmetric(
                // Using less vertical padding as the text is also longer
                // horizontally, so it feels like it would need more spacing
                // horizontally (matching the aspect ratio of the video).
                vertical: 12,
                horizontal: 16,
              ),
              child: Text('${controller.value.captionOffset.inMilliseconds}ms'),
            ),
          ),
        ),
        Align(
          alignment: Alignment.topRight,
          child: PopupMenuButton<double>(
            initialValue: controller.value.playbackSpeed,
            tooltip: 'Playback speed',
            onSelected: (double speed) {
              controller.setPlaybackSpeed(speed);
            },
            itemBuilder: (BuildContext context) {
              return <PopupMenuItem<double>>[
                for (final double speed in _examplePlaybackRates)
                  PopupMenuItem<double>(
                    value: speed,
                    child: Text('${speed}x'),
                  )
              ];
            },
            child: Padding(
              padding: const EdgeInsets.symmetric(
                // Using less vertical padding as the text is also longer
                // horizontally, so it feels like it would need more spacing
                // horizontally (matching the aspect ratio of the video).
                vertical: 12,
                horizontal: 16,
              ),
              child: Text('${controller.value.playbackSpeed}x'),
            ),
          ),
        ),
      ],
    );
  }
}

video_player: ^2.4.0

Thanks for the report and code sample. Using it, I observed that the m3u8 live video provided in the sample plays properly on iOS:
https://user-images.githubusercontent.com/67046386/164712074-9a38d4a0-42a6-4b4d-bf4a-5e3ca7788c33.mov
But the console shows below for the duration:
flutter: 0:01:46.458000/0:00:00.001000
flutter: 0:01:46.957000/0:00:00.001000
flutter: 0:01:46.957000/0:00:00.001000
flutter: 0:01:47.457000/0:00:00.001000
flutter: 0:01:47.457000/0:00:00.001000
flutter: 0:01:47.457000/0:00:00.001000
flutter: 0:01:47.958000/0:00:00.001000
flutter: 0:01:48.458000/0:00:00.001000
flutter: 0:01:48.458000/0:00:00.001000
flutter: 0:01:48.458000/0:00:00.001000
flutter: 0:01:48.458000/0:00:00.001000

I am not completely sure but I think I've seen a similar issue reported earlier but can't seem to find it though, so will label it as it is replicable specifically on iOS.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.5 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (12 hours ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.680, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.680 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 0d9c51c732 (2 hours ago), 2022-04-21 22:49:07 -0400
    • Engine revision c6ea046c2c
    • Dart version 2.18.0 (build 2.18.0-43.0.dev)
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thank @darshankawar for the correction.
By this issue, the controller couldn't call the seekTo properly in the case position > value.duration
Future<void> seekTo(Duration position) async {
    if (_isDisposedOrNotInitialized) {
      return;
    }
    if (position > value.duration) {
      position = value.duration;
    } else if (position < const Duration()) {
      position = const Duration();
    }
    await _videoPlayerPlatform.seekTo(_textureId, position);
    _updatePosition(position);
  }

Hi @darshankawar
Is there any update on this issue?
Thanks!

Any Update on this?

Hello! I also faced this issue and used this workaround:
videoController.addListener(durationChanger);

void durationChanger() {
  if (!Platform.isIOS) {
    playerController!.removeListener(durationChanger);
  }

  if (playerController!.value.position == Duration.zero) {
    return;
  } else {
    final newDuration = playerController!.value.position;

    playerController!.value = playerController!.value.copyWith(
      duration: newDuration,
    );

    playerController!.removeListener(durationChanger);
  }
}

Any update on this?

This problem is still in Android platform. any updates on this?


[21.11] icecat-bin: mark as insecure

Motivation for this change
This was EOL by the time it was introduced into nixpkgs and should have
never gotten merged in the first place.
Browsers are complex beasts, and those that haven't seen an update in
two years simply cannot be secure.
cc https://github.com/NixOS/nixpkgs/pull/128961#issuecomment-1040209246
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

ok


autoLayout not working in Deployment Diagrams with relationship between deployment nodes

Hello,
I tried to generate a deployment diagram but I had to disable autoLayout to be able to get it as expected. I created a sample DSL code to help me on explaining the issue so you can also reproduce it.
I have a container diagram like this (see #All_Containers):

So, as a summary, a mobile app calls to multiple APIs through an API Gateway. The APIs have integration with database and 3rd party APIs.
For creating the deployment diagram, I added a the API Gateway as an infrastructure node, and enabled relationships between mobile app -> api gw -> apis. On the other hand, I represented a deployment of the APIs in multiple regions.
In the first try, I got the following diagram (See #All_Deployment_1):

That deployment diagram was confusing, as it included all relationships, when some of them are not valid from deployment point of view. e.g., API 1 deployed to US is not connected to the database in EU. On the other hand, once I introduce the API Gateway into the diagram, the direct relationship between mobile app and APIs must be hidden.
I've been able to implement the expected diagram using the feature that allows including/excluding especific relationships (See: #All_Deployment_2):

However, I had to disable autoLayout and manually distribute the elements in the diagram. If I enable autoLayout, I get the following diagram:

I would like to use the autolayout feature, as I do for other diagrams. I would appreciate if you can improve it to allow autolaout in that scenario.
Please let me know if I doing something wrong or I should I take a different approch to generate the deployment diagram as expected.
Thanks for your support.
Sample DSL:
workspace "Amazon Web Services Example" "An example AWS deployment architecture." {
    model {
        springPetClinic = softwaresystem "Spring PetClinic" "Allows employees to view and manage information regarding the veterinarians, the clients, and their pets." "Spring Boot Application" {
            app = container "Mobile App" "Show information regarding the veterinarians, the clients, and their pets." "android" "Mobile App"
            api1 = container "API 1" "API 2" "Java and Spring Boot"
            api2 = container "API 2" "API 2" "Java and Spring Boot"
            database = container "Database" "Stores information regarding the veterinarians, the clients, and their pets." "Relational database schema" "Database"
        }
        thirdPartyApi1 = softwaresystem "Third-Party API 1"
        thirdPartyApi2 = softwaresystem "Third-Party API 2"

        app -> api1 "manages data" "AWS API Gateway"
        app -> api2 "manages data" "AWS API Gateway"
        api1 -> database "Reads from and writes to" "JDBC/SSL"
        api1 -> thirdPartyApi1 "Get 3rd pary data" "HTTP"
        api2 -> thirdPartyApi2 "Get 3rd pary data" "HTTP"

        deploymentEnvironment "Live" {

            mobilePhone = deploymentNode "Customer's mobile device" "" "Android" {
                appInstance = containerInstance app
            }

            deploymentNode "Amazon Web Services" "" "" "Amazon Web Services - Cloud" {

                apiGw = deploymentNode "API Gateway" "" "" "Amazon Web Services - API Gateway" {
                    infrastructureNode "API Gateway" "" "" "Amazon Web Services - API Gateway Endpoint"
                }

                deploymentNode "US-East-1" "" "" "Amazon Web Services - Region" {

                    apiUsGroup = deploymentNode "Autoscaling group" "" "" "Amazon Web Services - Auto Scaling" {
                        api1UsDeploymentNode = deploymentNode "Amazon EC2 - API 1" "" "" "Amazon Web Services - EC2" {
                            containerInstance api1
                        }
                        api2UsDeploymentNode = deploymentNode "Amazon EC2 - API 2" "" "" "Amazon Web Services - EC2" {
                            containerInstance api2
                        }
                    }

                    rdsUs = deploymentNode "Amazon RDS" "" "" "Amazon Web Services - RDS" {
                        deploymentNode "MySQL" "" "" "Amazon Web Services - RDS_MySQL_instance" {
                            containerInstance database
                        }
                    }

                }

                deploymentNode "EU-West-1" "" "" "Amazon Web Services - Region" {

                    apiEuGroup = deploymentNode "Autoscaling group" "" "" "Amazon Web Services - Auto Scaling" {
                        api1EuDeploymentNode = deploymentNode "Amazon EC2 - API 1" "" "" "Amazon Web Services - EC2" {
                            containerInstance api1
                        }
                        api2EuDeploymentNode = deploymentNode "Amazon EC2 - API 2" "" "" "Amazon Web Services - EC2" {
                            containerInstance api2
                        }
                    }

                    rdsEu = deploymentNode "Amazon RDS" "" "" "Amazon Web Services - RDS" {
                        deploymentNode "MySQL" "" "" "Amazon Web Services - RDS_MySQL_instance" {
                            containerInstance database
                        }
                    }

                }
            }

            thirdPartyInfra = deploymentNode "3rd party infrastructure" {
                softwareSystemInstance thirdPartyApi1
                softwareSystemInstance thirdPartyApi2
            }

            mobilePhone -> apiGw
            apiGw -> apiUsGroup "Forwards requests to" "HTTPS"
            apiGw -> apiEuGroup "Forwards requests to" "HTTPS"

            api1UsDeploymentNode -> rdsUs
            api1UsDeploymentNode -> thirdPartyInfra
            api2UsDeploymentNode -> thirdPartyInfra

            api1EuDeploymentNode -> rdsEu
            api1EuDeploymentNode -> thirdPartyInfra
            api2EuDeploymentNode -> thirdPartyInfra
        }
    }

    views {
        container springPetClinic "All_Containers" {
            include *
            autoLayout
        }
        deployment springPetClinic "Live" "All_Deployment_1" {
            include *
            autoLayout
        }

        deployment springPetClinic "Live" "All_Deployment_2" {
            include *
            exclude * -> *
            include mobilePhone -> *
            include apiGw -> *
            include api1UsDeploymentNode -> *
            include api2UsDeploymentNode -> *
            include api1EuDeploymentNode -> *
            include api2EuDeploymentNode -> *
            //autoLayout
        }

        styles {
            element "Element" {
                shape roundedbox
                background "#ffffff"
            }
            element "Database" {
                shape cylinder
            }
            element "Mobile App" {
                shape MobileDeviceLandscape
            }
            element "Infrastructure Node" {
                shape roundedbox
            }
        }

        themes https://static.structurizr.com/themes/amazon-web-services-2020.04.30/theme.json
    }
}

There's a todo in the DotFileWriter for deployment node to deployment node relationships ... so those aren't supported at the moment I'm afraid. I will take a look at that early next year.

Sounds great. Thank you

It turns out I have a fix for that todo, which hasn't been committed to GitHub yet. If you try again, how does that look now?

Much better now. Thanks a lot such a quick fix!


Fix swarmapi tests and add more cases

This PR fixes the swarm tests and yet another swarmapi related panic reachable through only the swarmapi "unit tests". It also adds a two new cases which would had been quite ugly add to under tests/.
First of all, the test had been broken long time ago in a rust-libp2p update when the listening address adding became asynchronous.
The additional panic exposed by now working test case comes from the inject_connected never arriving when only using SwarmApi as the only behaviour. It uses the DummyProtocolHandler which opens no streams and demands keepalive, the connection is immediatedly closed.
The additional test cases cover connecting to wrong peerid, and dialing multiple addresses when only first one succeeds, the second errors.

bors r+


RTM API not available for modern scoped apps

Hey there,
are there any plans to move away from Slack's Real Time Messaging API (and use the Events or Web API instead?
Currently, the Node-RED nodes are not compatible with modern scoped apps and only run with "classic"/legacy apps.
At least the documentation could be extended to provide some guidance:

create a "classic" app via https://api.slack.com/apps?new_classic_app=1
create a "legacy bot user" (and don't "update scopes")

Cheers,
TT

Yeah it needs better documentation about the API requirements for sure. You can use the web API 100% but it simply uses the same bot token as the rtm aspect.
I don't see moving from RTM for this package honestly but if others want to chime in I'm listening. This is a full blown bot as it stands. If needs are limited creating simple http in (events API) and http out (web API) seems sufficient.


Multi-monitor causing app hanging

Bug description
It seems as though some multi-monitor configurations cause bevy to hang.
What is the expected behavior?
Examples launch
What is the actual behavior?
(breakout)

Examples that spawn windows show a blank, unresponsive window that cannot be closed with the window's 'x'
System configuration
AMD Ryzen 9 4900HS
NVIDIA RTX 2060 max-Q 452.06/ video bios <IP_ADDRESS>.03
16GB 3200mhz RAM
Pluggable USB-C 4K dock
Windows 10 Pro 1909 - 18363.1016
Laptop Display resolution - 1920x1080
Monitor 1: ASUS V248QE - 1920x1080 - HDMI
Monitor 2: Benq BL3200PT - 2550x1440 - DP - bottom port in dock
Monitor 3: ASUS V248Q - 1080x1920 (portrait) - DP - top port in dock
Display combinations
Laptop only ✔
Laptop + M1 ✔
Laptop + M2 ❌
Laptop + M3 ✔
Laptop + M2 + M3 ✔
Laptop + M1 + M2 ❌
Laptop + M1 + M3 ✔
Additional notes
Setting the primary display to displays other than M2 seems to sometimes fix the issue but this is something I'll need to investigate further.

Encountering a similar if not the same issue:
In addition here is my backtrace if its of any use
C:\dev\test\bevy\bevy>cargo run --example breakout
    Finished dev [unoptimized + debuginfo] target(s) in 0.30s
     Running `target\debug\examples\breakout.exe`
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `0`,
 right: `-2005270523`', C:\Users\fopsd\.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-dx12-0.6.2\src\device.rs:2242:9
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/f44c6e4e288e4f49c5c257b2e2cb2ad5918f26a3\/library\std\src\panicking.rs:475
   1: std::panicking::begin_panic_fmt
             at /rustc/f44c6e4e288e4f49c5c257b2e2cb2ad5918f26a3\/library\std\src\panicking.rs:429
   2: gfx_backend_dx12::device::{{impl}}::bind_buffer_memory
             at C:\Users\fopsd\.cargo\registry\src\github.com-1ecc6299db9ec823\gfx-backend-dx12-0.6.2\src\device.rs:2242
   3: wgpu_core::device::Device<gfx_backend_dx12::Backend>::create_buffer<gfx_backend_dx12::Backend>
             at C:\Users\fopsd\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.6.0\src\device\mod.rs:438
   4: wgpu_core::hub::Global<wgpu_core::hub::IdentityManagerFactory>::device_create_buffer<wgpu_core::hub::IdentityManagerFactory,gfx_backend_dx12::Backend>
             at C:\Users\fopsd\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-core-0.6.0\src\device\mod.rs:969
   5: wgpu::backend::direct::{{impl}}::device_create_buffer
...
...

@sY9sE33, can you reproduce this on Bevy 0.6? There have been several relevant rewrites since this issue was filed.


Content is pushed only after screen resize

Title says it all.
The content is only pushed after I resize the screen.
<ng-sidebar-container fxLayout="row">
    <ng-sidebar #sidebar [(opened)]="_opened" [mode]="mode" autoCollapseWidth="959">

Sidebar contents

    </ng-sidebar>

            <router-outlet></router-outlet>

</ng-sidebar-container>

That's my template
import { Component, OnInit, ViewChild } from '@angular/core';

@Component({
    selector: 'app-layout',
    templateUrl: './layout.component.html',
    styleUrls: ['./layout.component.scss']
})
export class LayoutComponent implements OnInit {
    @ViewChild('sidebar') sidebar;

    private _opened: boolean;

    private mode = 'push';

    constructor() {
    }

    ngOnInit() { }

    private _toggleSidebar() {
        this._opened = !this._opened;
    }
}

And that's the component.
When I debug on ngOnInit(), the configurations are set to default (mode is over, no autoClose).

Are you debugging the ngOnInit() of the actual Sidebar component?

No, I was debugging my own component's ngOnInit().

@renannobile I don't really see any reason why the Sidebar's input options wouldn't be taking effect properly. Unfortunately, setting breakpoints in your own component's ngOnInit() won't reveal much.

Sounds like a change detection issue on your end. Closing this for now, feel free to reopen if it still happens.


Updated GCE features

Added missing GCE dependency to features and moved to load order. Tested deployment on GCE (which was previously not working).

thanks @drigodwin, I wonder if we shouldn't use this https://github.com/jclouds/jclouds-karaf/blob/master/feature/src/main/feature/feature.xml and import, for example, https://github.com/jclouds/jclouds-karaf/blob/master/feature/src/main/feature/feature.xml#L32 to avoid this issues

@andreaturli I agree ... has this been included in a JClouds release yet?

not yet

I agree @andreaturli, we should use this when it becomes available. I think we should also make this change in the meantime however as this fixes GCE in the short term.

lgtm

testing locally and merging shortly

thanks @drigodwin


Oracle Upgrades

This can be looked into in late 2024/early 2025 but we should consider a more robust oracle strategy. Chainlink is not very good for censorship resistance.

@rndquu @gitcoindev @molecula451 I have concerns around using Chainlink and censorship resistance. Chainlink is a centralized point of failure for the protocol. Why not use the on chain TWAPs instead? Perhaps we can have a planned upgrade sometime in late 2024 to change the oracle(s)?

We'll gradually move to smth like "take the median price from chainlink, curve, uniswap, other oracle provider". Right now chainlink is the fastest to implement, safest and most reliable solution.

Originally posted by @rndquu in https://github.com/ubiquity/ubiquity-dollar/issues/830#issuecomment-1914232535

I wanted to create a separate issue for a more robust chainlink implementation but since there is already one I will just post the audit's low severity issues which point to how exactly we could improve current chainlink integration:

https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/123 (oracle fallback)
https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/110
https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/161
https://github.com/sherlock-audit/2023-12-ubiquity-judging/issues/202 (circuit breaker if chainlink is outside of min or max prices, not sure if relevant)

Hey @rndquu any new ideas here?


Empty HTTP 500 Errors after successful auth only via chef (manual route works with same configs)

Hello, I am relatively new to Chef and I am still learning how to properly use the providers. Per your documentation it is mentioned to config the proxy with specifics such as oauth callback, client ID, and redirect URL, etc etc. This section could use some clarification so users understand exactly how to write these configs. Should they modify the file within the Providers directory? Do you have to create a seperate recipe folder? I'm not sure but would really appreciate the guidance. If I have to create a new file all together to enter this information, I'd love to know where that file goes/what it must be named/etc
Thanks!
Matthew

Update: Looks like you just need to create a new recipe and include the information from "How to use the provider" inside of your new recipe. For my situation I was able to make progress by creating a recipes folder +default recipe.rb file within, all in the google_auth_proxy cookbook since this has no default recipe. After getting the basics down it looks like I am able to pull up the Google Auth page and submit credentials, unfortunately I am stuck after the auth. It looks like the proxy is simply running into a brick wall rather than handing off to the upstream nginx server. Looking in my nginx access logs I basically only get this now:

[15/Jan/2015:22:56:24 +0000] "GET / HTTP/1.1" 500 0 "https://accounts.google.com/o/..........

Would really appreciate some help if anyone else has seen something similar.
For reference I am using the same exact nginx configs as i have on a 2nd host that uses google_auth_proxy sans chef. 443 For Oauth proxy, 80 for cleartext web service on the same localhost.
Thanks,
Matthew

Hi!
Just figured this out myself actually. And wow is the solution equally horrifying and simple:
sudo reboot
Yup, that's it! It looks like every time I was issuing out a sudo chef-client command to update the recipe, it  was not killing the previous Google Auth Proxy process. By rebooting I suppose it effectively restarts the google auth proxy process, with whatever current configurations you may have defined in the script. If anyone else is having similar 500 error code problems, I encourage you to simply reboot your boxes!
I suppose another way about this would be to define in your chef recipe, to restart the Google Auth Proxy process on any chef-client updates. Hope this helps some people out there!

Matthew


feat: go back after network switch

Breaking Changes
N/A
Changes
Fixes behavior on goBack in network selection.

feat: close modal after network switch if no other history is present other than network select.
fix: modal closing when history was present (e.g. coming from account)
chore: allow replaces in single history and add goBackOrCloseModal util in scaffold.

Associated Issues
closes #1482
Tested
Wallet Login + Wagmi [X]
Wallet Login + Ethers [X]
Wallet Login + Wagmi SIWE [X]
Wallet Login + Ethers SIWE [X]
Mail Login + Wagmi [X]
Mail Login + Ethers [X]
Mail Login + Wagmi SIWE [X]
Mail Login + Ethers SIWE [X]
Notes

Not sure about the location of my navigation util. Ended up exporting from the core package but I'm not sure if there's restrictions on to that and if that's the case, not sure where to locate the file.
Any feedback is appreciated! 🙏

Approved, can be merged if you update branch


Failed login not working?

The package mentions about failed logins but this is not being logged on the authentication_log table and email notifications aren't being sent.
Am I missing anything?

I had same problem. In my case it was that I had overridden the default fortify method for authentication.
in file app\Providers\FortifyServiceProvider.php i had in boot method:
Fortify::authenticateUsing(function (Request $request) {


Update rustix to 0.38.6

What does this PR try to resolve?
Resolve build breaks for LoongArch: https://github.com/rust-lang/rust/pull/114364
How should we test and review this PR?
cargo build --target=loongarch64-unknown-linux-gnu

Additional information
None

r? @weihanglo

We can't seem to compile 0.38.5 in CI despite 0.38.4 building just fine

:pushpin: Commit a28c597e174b3a65d2c6946fbd5a70ddd6e1a834 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit a28c597e174b3a65d2c6946fbd5a70ddd6e1a834 with merge 020651c52257052d28f6fd83fbecf5cfa1ed516c...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 020651c52257052d28f6fd83fbecf5cfa1ed516c to master...


Native Contract Debugging

This task is to allow contracts to be compiled natively and debugged with a C++ debugger in nodeos.
This was previously worked under the JIRA-551. The existing work was functional on the branch DAWN-551-Contract-Debugging-Merge, but needs to be refactored to allow for the redesigned wasm_interface class.
From Paul:
Investigate using native C++ debuggers to debug EOS contracts in a controlled environment. Develop a debugging approach and define the necessary work tasks.
I created a PR (https://github.com/EOSIO/eos/pull/1482) for review of my approach. Below are my implementation notes

What you need to do to debug a contract:
Add your contract cpp file to the debug_plugin's CMakeLists.txt
Register handlers in the debug_plugin for each action
Modify eosiod CMakeLists.txt to include debug_plugin
Add the debug_plugin to your config.ini
Start the eosiod node (in the debugger - set breakpoints as necessary)
Create the account and do a "set contract" like you normally would (the wasm code will not be called because the native registrations in debug_plugin take precedence, but we still need the to set the contract in order to unpack the actions)
Issue actions like you normally would
Changes I had to make
Created a debug_plugin that will coordinate native contract debugging
Contract code is compiled into the debug plugin using a relative path and the EOSIO_NATIVE_CONTRACT_COMPILATION flag
I had to rename the "time" type to eosio_time in contracts/eosiolib/types.h and other places in contracts/eosiolib/*
I had to conditionally compile some things in and out in eosiolib
chain_controller::_set_apply_handler() had to become public
I had to add alternate constructors for some types used by intrinsics (array_ptr, null_terminated_ptr, context_aware_api, context_free_transaction_api)
I had to add native registration macros for each intrinsic. These macros define an extern "C" function with the same name as the intrinsic that calls the appropriate member function in the *_api classes. I am working towards merging the two intrinsic registration (wasm and native) macros.
Questions/Issues:
Should all my changes in libraries/chain and eosiod be conditionally compiled (so you would have to do a #define to enable native debugging) or should it always be available (at least in debug builds)?
I can only natively debug one contract at a time (because each defines a global function called apply(), only one can exist in a C++ program). Is this limitation acceptable?
Do we want some sort of script that automates setting up your contract for debugging (I think this can handle steps 1-3 above)?
There are a number of intrinsics with issues such as no declaration in eosiolib and different numbers of parameters. I tried to call these out in comments.
There are conflicts with certain intrinsics that have compiler-defined implementations. For some of these intrinsics (for example memcpy), I simply let the compiler-defined version take over. For others, such as abort and __divti3) I have commented them out because I cannot define my own definitions without conflicting with the compiler's version. I would like to rename the intrinsic names in some of these cases. Is this something we can do?
There are lots of inconsistencies and issues with the intrinsic parameter and return value types. It would be nice to normalize these especially to limit the use of platform-dependent types such as int, size_t, etc. A type like int may represent a lot of different things (including pointers). In addition, one parameter may be referred to by different types in the declaration (in eosiolib), the intrinsic definition (macro), and *_api implementation function.
There is very sparse testing for the intrinsic functions and what there is is difficult to perform with the "native" versions. I would like to see a more comprehensive set of intrinsic tests that would hopefully cover both wasm and native contracts. I am convinced that some of them have problems even in the wasm version. Is there someone working on intrinsic/api testing?

@wanderingbort @heifner If we want to be able to use any of @PaulCalabrese work we need to plan to do something with this soon, otherwise it will be OBE, especially with the CDT changes.

@larryk85 I think I saw a telegram from you that sounded like you  were working on a test bed for contracts, am I remembering correctly?  If so, would this continue to be desired?

OBE.
See CDT -fnative, available since CDT v1.6.0.