when i upload file, it tells me 'Error save file failed:, e0dd8b40-eaa4-47e7-8eb4-88d5caa483b3.'(run locally)

+1, the response is the following:

local in Mac , change public/uploads to /tmp and it worked!

Your image leaked your OpenAI key!!! I have deleted your images. Please try uploading again and attach an accurate error message.

Thx, I have resolved this question by manually creating 'public/uploads' directory！
The reason is The program could not automatically create this directory, as for what caused it, I haven't read the code carefully, so I don't know the final reason

but i still have problems:

Is this error related to my proxy settings or the target url?

this is the response:

I seem to be having a similiar issue, also running local.
For the life of me can't get the file to upload.
Tried creating pulblic/uploads manually, but still no luck.
Any suggestions on what I can try?

local in Mac , change public/uploads to /tmp and it worked!

I got the same error, and i fix public/uploads to /tmp , that not works, from the network error : '400' , that same like the network error, I change the open ai base url to another url , maybe that is the key to solve the error . here is the error slots

You can create a docker volume when deploy the project.
version: '2.2'
services:
  chatfiles:
    image: guangzhengli/chatfiles:latest
    container_name: chatfiles
    ports:
      - 3000:3000
    environment:
      - OPENAI_TYPE=${OPENAI_TYPE}
      - OPENAI_API_KEY=${OPENAI_API_KEY}
      - AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY}
      - AZURE_OPENAI_API_DEPLOYMENT_NAME=${AZURE_OPENAI_API_DEPLOYMENT_NAME}
      - AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME=${AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME}
      - AZURE_OPENAI_API_INSTANCE_NAME=${AZURE_OPENAI_API_INSTANCE_NAME}
      - AZURE_OPENAI_API_VERSION=${AZURE_OPENAI_API_VERSION}
      - SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}
      - SUPABASE_URL=${SUPABASE_URL}
      - NEXT_PUBLIC_CHAT_FILES_UPLOAD_PATH=public/uploads
      - NEXT_PUBLIC_CHAT_FILES_MAX_SIZE=0
    volumes:
      - ./files:/app/public/uploads


Direct log to device

Having issue to direct access to device. This I adding to address /tally?deviceid=f06a3d41
looks like this: http://my-ip:4455/tally?deviceid=f06a3d41

What's the issue?

I am trying to connect to a device directly but am unable to. Instead, it's taking me to the home page with camera section options.

Are you sure that's a valid DeviceId? Are you running TA 1.5.9? It works just fine for me over here. I tried it in multiple browsers.

Thanks for answer. Just finished update and now this feature work.
God Bless


A request to remove an unsupported Stockalike Station Parts Redux mod.

Background
CKAN Version:
1.25.1
KSP Version:
1.3.1
Operating System:
Windows 10
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
Yes
Affected mods and mod versions:
No idea what mods got affected. I'm still solving this issue.
Problem
What steps did you take in CKAN?
Installed this mod with a check and pressed "Apply Changes" button
What did you expect to happen?
I wanted to have a great time playing with that mod
What happened instead?
I got an error message when loading my game (on screenshot). In the thread it says that this mod does not support (screenshot included) CKAN.
Screenshots:

That means that we need to determine whether the mod is correctly installed.

What version of B9PartSwitch does CKAN say you have installed?
If you look in GameData/B9PartSwitch/ folder, you should see 6 files and a Plugins folder, with the Plugins folder containing a single DLL file
Make sure you have "Stockalike Station Parts Expansion Redux" rather than "Stockalike Station Parts Expansion". The latter is retired, but both are available for KSP 1.3.1 in CKAN.
Look in GameData/StationPartsExpansionRedux/ folder, you should see six folders and a single file called SSPXScienceDefs.cfg
Open GameData/StationPartsExpansionRedux/Versioning/StationPartsExpansionRedux.version and check that the version reported there matches the version shown in CKAN.
Search for 57E818B6-StationPartsExpansionRedux-1.0.2.zip file in your cache directory and compare the files under /GameData/StationPartsExpansionRedux/ in the zip with what you have in your GameData directory.
If you still haven't found an issue, uninstall StationPartsExpansionRedux, NearFutureProps and B9PartSwitch in CKAN and install them manually from the zip file mentioned above and see if the game runs ok with that. If there's still a problem, you can report it in the forum thread without CKAN being involved.

Probably not a CKAN related issue.
Here's where SSPX defines that tank type:
B9_TANK_TYPE:NEEDS[CommunityResourcePack,!MKS]
{
	name = SSPXRocketParts
	tankMass = 0.0000
	tankCost = 0.0
	RESOURCE
	{
		name = RocketParts
		unitsPerVolume = 1
	}
}

The text between the brackets defines some conditions; if you have CommunityResourcePack installed and NOT  UKS, this tank type would be available, otherwise not. My guess is you had that situation previously, created a craft with this tank type, then removed CommunityResourcePack or installed UKS, and loaded your game, causing the mod to attempt to use this tank type when it's not defined. The solution would be to install CommunityResourcePack and/or uninstall UKS (whichever is the problem, or both).


multiboot2: fix memory issue in boxed_dst_tag

This fixes multiple memory issues (wrong allocation and wrong fat pointer creation) that were introduced in #133 with 544e1ca555fb740eea272b936a41672eeef4d1ce.
I found the issues by running miri.

@YtvwlD FYI. There were two memory issues in your boxed_dst_tag function. Not blaming you, just FYI :)

Yeah, I thought so. It's a minefield, could have happened to me as well :)


Add arch support for f-droid

Issue is described here : #192
It is now possible to download a specific variant of an app with the arch= option:
apkeep -a<EMAIL_ADDRESS>-d f-droid -o arch=arm64-v8a .

Fixes #192

Thanks for the contribution!  PR looks good, I'm inclined to merge as is.  One question: I'm curious about the design decision to make this an option which applies to all apps on a given run, rather than a per-app specification like e.g. org.videloan.vlc@3.5.4@arm64-v8a.  I could see some utility in, for instance, downloading a set of apps in one architecture and another set of apps in a different architecture on the same run.


NullAway does not recognize null-check methods properly

Code example:
public class Example {
    @Nullable
    private String text;

    @NonNull
    public String getText() {
        // NullAway raises error here
        return StringUtils.isEmptyOrNull(text) ? "Hello World!" : text;
    }
}

// isEmptyOrNull method
public static boolean isEmptyOrNull(@Nullable final CharSequence value) {
    return value == null || value.length() == 0;
}

Error message says
Error:(50, 13) error: [NullAway] returning @Nullable expression from method with @NonNull return type
(see http://t.uber.com/nullaway )

Error is gone when I inline isEmptyOrNull method call.
NullAway version is 0.1.7.

NullAway is not able to reason across procedure calls to prove the original example safe.  Doing so could slow the tool down considerably.  That said, is this a well-known StringUtils class from a standard library?  If so we could maybe add a library model to catch this case.

No, this is my own utility class. Actually, I used TextUtils#isEmpty(CharSequence) initially, but migrate to my own method because IntelliJ IDEA code inspections running on CI server were not able to analyze these situations properly. If NullAway is ok with android method I can potentially migrate back (which I don't want to do, because it is a LOT of code), but there are many other places in app, where similar null-checking logic involved. I also don't like to supress those warnings because I have to supress whole method, which is ok for above example, but may be unacceptable for larger methods. Maybe add an option to supress warning using comments similar to how Lint inspections being supressed?
//noinspection Unchecked
return StringUtils.isEmptyOrNull(text) ? "Hello World!" : text;

I think a good option here would be for you to add your own library model actually.  The process is documented here, but the docs are a bit sparse.  We should add a sample library model to show how it's done.  We'll work on that, but if you figure it out in the meantime let us know.

In addition to these options, NullAway will look for any classes implementing the com.uber.nullaway.LibraryModels interface...

It seems I have to use compile dependency instead of annotationProcessor to do so, which will add a lot of uneccessary dependencies (including huge Guava library) to my project, which I want to avoid.

@bejibx I just added a sample library model on master; see #53.  It's used by the sample app just by adding an annotation processor dependency; no need to pollute your app's classpath.  Does this look like a reasonable solution?

btw for targeted suppressions, you can "downcast" any particular expression from @Nullable to @NonNull with a castToNonNull utility method; see here

Gonna close this out as I think it's solved; @bejibx please let us know if you need further help

Sorry for late response, yeah, I managed to fix those errors by implementing LibraryModels in separate module.


Is there a way to launch widgets to work on their own?

As far as I understand it's not possible now to run several widgets to work on its own.
Imagine that there are several widgets per user. For each widget I have TChan so all users should receive changes per exact widget. Is it possible to run them in parallel or switching context per each user?
I'd like to run each widget on it's own recursively, update their state by incoming message from TChan like that:
widget = action >>= \case
   One -> ... *> widget
   Another -> ... *> widget

I've tried to use orr, but it seems that to make it work I should listen to events from all widgets.

Can you give a longer example? orr should do exactly that?

Example is pretty complicated, I use orr: https://gist.github.com/iokasimov/e0cccc1b8308186a95f2585a1071c16btm
The problem is that state doesn't update correctly, it seems to be widgets kinda stuck in loops.

I removed all unnecessary things as much as possible. This is actually an improvement of chat example from examples directory with HTTP authentication and chatrooms:
module Main where

import "concur-core" Concur.Core.Types (Widget (step), unsafeBlockingIO)
import "concur-core" Control.MultiAlternative (orr)
import "concur-replica" Concur.Replica (HTML, stepWidget)
import "concur-replica" Concur.Replica.DOM (button, ul, li, text, input, p)
import "concur-replica" Concur.Replica.DOM.Events (BaseEvent (target), targetValue, onClick, onInput)
import "concur-replica" Concur.Replica.DOM.Props (value)
import "focus" Focus (Focus, adjust)
import "lens" Control.Lens (_1, (%~))
import "list-t" ListT (toList)
import "replica" Replica.VDOM (defaultIndex)
import "replica" Replica.VDOM.Render (renderHTML)
import "replica" Network.Wai.Handler.Replica (websocketApp)
import "stm" Control.Concurrent.STM (STM, TVar, atomically, newTVarIO, readTVar, modifyTVar')
import "stm" Control.Concurrent.STM.TChan (TChan, dupTChan, newTChan, newTChanIO, readTChan, writeTChan)
import "stm-containers" StmContainers.Map (focus, new, insert, lookup, listT)
import "websockets" Network.WebSockets (ServerApp)
import "websockets" Network.WebSockets.Connection (defaultConnectionOptions)
import "wai" Network.Wai (Application, Middleware, responseLBS)
import "wai" Network.Wai.Internal (Request (requestHeaders))
import "wai-extra" Network.Wai.Middleware.HttpAuth (basicAuth, extractBasicAuth)
import "wai-websockets" Network.Wai.Handler.WebSockets (websocketsApp)
import "warp" Network.Wai.Handler.Warp (run)
import "http-types" Network.HTTP.Types (status200)

import qualified Data.ByteString.Lazy           as BL
import qualified Data.Text.Encoding             as TE
import qualified Data.Text.Lazy                 as TL
import qualified Data.Text.Lazy.Builder         as TB

import qualified "stm-containers" StmContainers.Map as STM (Map)

import Cantor.Prelude hiding (Map, insert, toList, lookup)

-- A simple chat app demonstrating communication between clients using STM.
-- The chatWidget is waiting for either the user to send a message or
-- another client to alert a new message. When a client sends a message
-- the chatWidget will update the messageHistory and then alert the other
-- clients by writing to messageAlert.

type Message = Text

type RoomName = Text

type Chatroom = ([(Username, Message)], TChan (Username, Message))

data EditorAction
    = Typing Message -- The message the user is currently typing
    | Send Message -- The message the user sends to other users

data ChatAction
    = NewMessageToPost RoomName Message -- Message from one client to the others
    | NewMessagePosted RoomName (Username, Message)

allChats :: Maybe Username -> [(RoomName, Chatroom)] -> Widget HTML ChatAction
allChats Nothing _ = p [] [text $ "Who are you?"]
allChats (Just username) rooms = orr $ uncurry (chatroom username) <$> rooms

chatroom :: Username -> RoomName -> Chatroom -> Widget HTML ChatAction
chatroom username roomName (messageHistory, roomChan) = do
    let newMessageToPost = NewMessageToPost roomName <$> (messageEditor "" <|> messagesList messageHistory)
    let newMessagePosted = NewMessagePosted roomName <$> (liftIO . atomically . readTChan $ roomChan)
    newMessagePosted <|> newMessageToPost >>= \case
        NewMessagePosted roomName (from, newMessage) -> do
            chatroom username roomName (messageHistory, roomChan)
        NewMessageToPost roomName newMessage -> do
            liftIO . atomically $ writeTChan roomChan (username, newMessage)
            chatroom username roomName ((username, newMessage) : messageHistory, roomChan)
  where

    messageEditor :: Message -> Widget HTML Message
    messageEditor typing = do
        let textInput = Typing . targetValue . target <$> input [value $ typing, onInput]
        let submitButton = Send typing <$ button [onClick] [text "Send"]
        -- Wait for whatever editorAction to happen first
        textInput <|> submitButton >>= \case
            Typing tm -> messageEditor tm
            Send msg -> pure msg

    messagesList :: [(Username, Message)] -> Widget HTML Message
    messagesList messageHistory = ul [] $ uncurry messageItem <$> messageHistory where

        messageItem :: Username -> Message -> Widget HTML Message
        messageItem username message = li [] [text $ username <> ": " <> message]

type Username = Text

currentUser :: Request -> Maybe Username
currentUser request = TE.decodeUtf8 . fst <$>
    (find ((==) "Authorization" . fst) (requestHeaders request) >>= extractBasicAuth . snd)

backupApp :: Application
backupApp _ r = r . responseLBS status200 [("content-type", "text/html")]
    . BL.fromStrict . TE.encodeUtf8 . TL.toStrict . TB.toLazyText $ renderHTML (defaultIndex "Chat" [])

users :: [(ByteString, ByteString)]
users = [("admin","love"), ("user","evil"), ("newby","newby")]

authorization :: Middleware
authorization = flip basicAuth "Realm" $
    curry (pure . isJust . flip find users . (==))

main :: IO ()
main = do
    (mainChan, updatesChan) <- atomically $ (,) <$> newTChan <*> newTChan
    let mainChatroom = ("main", ([], mainChan))
    let updatesChatroom = ("updates", ([], updatesChan))
    let replicaApp usr _ = allChats usr [mainChatroom, updatesChatroom]
    let wsapp usr = websocketApp (step <$> replicaApp usr) stepWidget :: ServerApp
    let app req res = websocketsApp defaultConnectionOptions (wsapp $ currentUser req) req & maybe ((authorization backupApp) req res) res
    run 8080 app

I removed all unnecessary things as much as possible. This is actually an improvement of chat example from examples directory with HTTP authentication and chatrooms:
module Main where

import "base" Control.Applicative ((<|>))
import "base" Control.Monad.IO.Class (liftIO)
import "base" Data.Foldable (find)
import "base" Data.Maybe (isJust)
import "bytestring" Data.ByteString (ByteString)
import "concur-core" Concur.Core.Types (Widget (step))
import "concur-core" Control.MultiAlternative (orr)
import "concur-replica" Concur.Replica (HTML, stepWidget)
import "concur-replica" Concur.Replica.DOM (button, ul, li, text, input, p)
import "concur-replica" Concur.Replica.DOM.Events (BaseEvent (target), targetValue, onClick, onInput)
import "concur-replica" Concur.Replica.DOM.Props (value)
import "replica" Replica.VDOM (defaultIndex)
import "replica" Replica.VDOM.Render (renderHTML)
import "replica" Network.Wai.Handler.Replica (websocketApp)
import "stm" Control.Concurrent.STM (atomically)
import "stm" Control.Concurrent.STM.TChan (TChan, newTChanIO, readTChan, writeTChan)
import "text" Data.Text (Text)
import "websockets" Network.WebSockets (ServerApp)
import "websockets" Network.WebSockets.Connection (defaultConnectionOptions)
import "wai" Network.Wai (Application, Middleware, responseLBS)
import "wai" Network.Wai.Internal (Request (requestHeaders))
import "wai-extra" Network.Wai.Middleware.HttpAuth (basicAuth, extractBasicAuth)
import "wai-websockets" Network.Wai.Handler.WebSockets (websocketsApp)
import "warp" Network.Wai.Handler.Warp (run)
import "http-types" Network.HTTP.Types (status200)

import qualified Data.ByteString.Lazy           as BL
import qualified Data.Text.Encoding             as TE
import qualified Data.Text.Lazy                 as TL
import qualified Data.Text.Lazy.Builder         as TB

import Prelude

-- A simple chat app demonstrating communication between clients using STM.
-- The chatWidget is waiting for either the user to send a message or
-- another client to alert a new message. When a client sends a message
-- the chatWidget will update the messageHistory and then alert the other
-- clients by writing to messageAlert.

type Message = Text

type RoomName = Text

type Chatroom = ([(Username, Message)], TChan (Username, Message))

data EditorAction
    = Typing Message -- The message the user is currently typing
    | Send Message -- The message the user sends to other users

data ChatAction
    = NewMessageToPost Message -- Message from one client to the others
    | NewMessagePosted (Username, Message)

allChats :: Maybe Username -> [(RoomName, Chatroom)] -> Widget HTML ChatAction
allChats Nothing _ = p [] [text $ "Who are you?"]
allChats (Just username) rooms = orr $ uncurry (chatroom username) <$> rooms

chatroom :: Username -> RoomName -> Chatroom -> Widget HTML ChatAction
chatroom username roomName (messageHistory, roomChan) = do
    let newMessageToPost = NewMessageToPost <$> (messageEditor "" <|> messagesList messageHistory)
    let newMessagePosted = NewMessagePosted <$> (liftIO . atomically . readTChan $ roomChan)
    newMessagePosted <|> newMessageToPost >>= \case
        NewMessagePosted (from, newMessage) -> do
            chatroom username roomName ((from, newMessage) : messageHistory, roomChan)
        NewMessageToPost newMessage -> do
            liftIO . atomically $ writeTChan roomChan (username, newMessage)
            chatroom username roomName ((username, newMessage) : messageHistory, roomChan)
  where

    messageEditor :: Message -> Widget HTML Message
    messageEditor typing = do
        let textInput = Typing . targetValue . target <$> input [value $ typing, onInput]
        let submitButton = Send typing <$ button [onClick] [text "Send"]
        -- Wait for whatever editorAction to happen first
        textInput <|> submitButton >>= \case
            Typing tm -> messageEditor tm
            Send msg -> pure msg

    messagesList :: [(Username, Message)] -> Widget HTML Message
    messagesList newHistory = ul [] $ uncurry messageItem <$> newHistory where

        messageItem :: Username -> Message -> Widget HTML Message
        messageItem from message = li [] [text $ from <> ": " <> message]

type Username = Text

currentUser :: Request -> Maybe Username
currentUser request = TE.decodeUtf8 . fst <$>
    (find ((==) "Authorization" . fst) (requestHeaders request) >>= extractBasicAuth . snd)

backupApp :: Application
backupApp _ r = r . responseLBS status200 [("content-type", "text/html")]
    . BL.fromStrict . TE.encodeUtf8 . TL.toStrict . TB.toLazyText $ renderHTML (defaultIndex "Chat" [])

users :: [(ByteString, ByteString)]
users = [("admin","love"), ("user","evil"), ("newby","newby")]

authorization :: Middleware
authorization = flip basicAuth "Realm" $
    curry (pure . isJust . flip find users . (==))

main :: IO ()
main = do
    (mainChan, updatesChan) <- (,) <$> newTChanIO <*> newTChanIO
    let mainChatroom = ("main", ([], mainChan))
    let updatesChatroom = ("updates", ([], updatesChan))
    let replicaApp usr _ = allChats usr [mainChatroom, updatesChatroom]
    let wsapp usr = websocketApp (step <$> replicaApp usr) stepWidget :: ServerApp
    let app req res = maybe ((authorization backupApp) req res) res $ websocketsApp defaultConnectionOptions (wsapp $ currentUser req) req
    run 8080 app

Is it possible that you need a dupTChan somewhere?


[freerdp] Install missing parts of CMake config

Fixes https://github.com/microsoft/vcpkg/issues/37581 key issue. (But not the ios question.)

Seems reasonable, thanks


(SERVER-155/SERVER-260) Update submodules and eliminate duplicated code

This PR addresses two tickets, both of which required small enough changes and complemented each other well enough that I felt it was better to open one PR to address both.
This PR updates the submodules to the latest commit on the master branch of each repo, addressing SERVER-260. It also eliminates duplicated code by calling into the new functions in Puppet::ApplicationSupport added by @KevinCorcoran, a change which required the submodule updates.

We decided to drop this until the relevant commits are in Puppet and Facter, so I'm closing this PR for now.


Upgrade acorn to v5.x

Fixes #118

Looks good. Thanks for the fix!
I'll release when I get home. If it's not out by tomorrow just ping me..

released as v1.1.14 🎉


bottle --merge: check for all prefixes and repositories

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

Review period skipped due to critical label.

This fixes (on linux):
Error: --keep-old was passed but there are changes in:
cellar: old: "/home/linuxbrew/.linuxbrew/Cellar", new: :"/home/linuxbrew/.linuxbrew/Cellar"


Listing on cyclonedx.org

Is your feature request related to a problem? Please describe.
Discoverability of the tool
Describe the solution you'd like
CycloneDX has a dedicated Tool Center which lists all available OSS tools. We should add the rollup/vite plugin to this list.

Pull request opened at https://github.com/CycloneDX/cyclonedx.org/pull/289, will close once PR gets approved and merged.

Merged, now available in Tool Center 🎉


Remove unused development code

Is this being used for anything?
Originally posted by @niharikasingh in https://github.com/plocket/docassemble-cucumber/pull/168#discussion_r593939985

count was for development and shouldn't be there, but we'll get rid of it in the future when we're testing better and it's safer.

Do we need to return elem.scrollTop [in scope.setVariable]? We don't seem to be using that value.
Originally posted by @niharikasingh in https://github.com/plocket/docassemble-cucumber/pull/169#discussion_r593941800
Reply:
Good eye. No, it's just left over from development.

elem.scrollTop return has been removed in one of the recent PRs.


Appstudio update test-custom-default-branch-auvy

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-yrqk-on-pull-request-
creating pipelinerun test-annotations-yrqk-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-ynkp-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Making requests to validate URL

This code seems a little bit unintuitive. I would expect ValidUrl to test whether the string URL is valid, not make an API call. Perhaps we need to checks here? ValidUrl and EndpointIsOnline?
https://github.com/ShreyaR/guardrails/blob/cb9d1d7683eb539e65cd78d4185bddd1b1a356a6/guardrails/validators.py#L700

@woop 2 validators ValidUrl and EnpointOnline sounds pretty reasonable. This would be a breaking change in the behavior of ValidUrl, so it would be good to add a warning that mentions the change in behavior, and suggests users use EndpointOnline if they want to check if the URL is live.


Error with is_near_target method?

I noticed a mistake with the is_near_target() method related to the try_carry_food and try_drop_food methods. The issue is that is_near_target() only returns true when we artificially add the center_offset value to the ant's coordinates. Without adding these extra values, the method doesn't return true, which makes try_carry_food not work as expected. This leads to incorrect positioning of the ant relative to the food when determining if it's close enough to carry food.
For the tests of try_carry_food and try_drop_food to pass, I had to add +45 to each of the ant's coordinates for now. We need to find a solution to this so we can remove the adjustment.
Let me know if this is clear. I'm not sure of the best solution yet. And please let me know if it really is an error or i am not understanding something correctly
I mean our simulation is working but i still wanted to share this.
(ps. i forgot to mention this in the meeting today. so here is what i wrote once in an earlier pull request)

In our GUI, when food is placed on the canvas area, the photo is positioned so that its coordinate origin (bottom left) is at the clicked location. Therefore, a center offset, known as center_offset, needs to be added. This can be automated by halving the size of the photo.
For our food photo of 100x100 dimensions, the center_offset is therefore 50. The radius can also be automated.
def draw_food(self):
    with self.canvas:
        for food in sim.food:
            Image(source="../images/apple.png", pos=food.coordinates, size=(100, 100))

We chose 45 for the center_offset because it's more precise for the shape of the apple, though 50 would also work.
It would be convenient if the center_offset and radius were automatically calculated and passed to the method. However, this isn't strictly necessary since we only have two types of images: apple and colony.

I hope this answer clarifies the issue. Otherwise, feel free to ask any questions regarding this.

firstly, thanks for the detailed explanation :) I now understand the offset and how it's calculated.
but is it good that we need to test the method with the ant coordinate +45? I mean it makes sense because then the ant is in the center of the food object actually. But is that a good way to do it?

but is it good that we need to test the method with the ant coordinate +45? I mean it makes sense because then the ant is in the center of the food object actually. But is that a good way to do it?

Yes, it's a good way to test if the ant is near the food. It doesn't have to be exactly +45, something like +40 or +55 would also work. The important thing is that the ant is within the food's radius. If your question is answered, you can close the issue :)


Added Reply to bug and feature template for github

Reply is new addition to compose sample, so adding it to bug and feature request template for compose samples github.

Could we remove Rally from here as well?


Make script Kodi 18 compatible.

Kodi 18 API removed onPlayBackStarted from xbmc.Player() and uses onAVStarted() instead.
Please note: This PR will stop the script being compatible with Kodi 17 due to the function change. This is a Kodi 18 ONLY PR
https://codedocs.xyz/AlwinEsch/kodi/class_c_application.html#ac7bb3dfcbbd434a485644ae7c4084af8

Function: onPlayBackStarted()
onPlayBackStarted method.
Will be called when Kodi player starts. Video or audio might not be available at this point.
v18 Python API changes:
Use onAVStarted() instead if you need to detect if Kodi is actually playing a media file (i.e, if a stream is available)

Seeing as this script is not in development by the dev the PR will not get merged. It is better for me to close it and link to the forked Kodi 18 version
https://github.com/lorkadiscovery/script.kodi.hue.ambilight


always cover at least the first 4 GiB of physical memory

Always cover at least the first 4 GiB of physical memory. That area contains useful MMIO regions (local APIC, I/O APIC, PCI bars) that we want to make accessible to the kernel even if no DRAM exists >4GiB.
Closes #447
Cc @xuanplus

CI is failing because semver checks doesn't support the current nightly.

Thanks!

CI is failing because semver checks doesn't support the current nightly.

Maybe we should pin the semver checks job to some older nightly?


capo.js web app client

The default behavior of capo.js is to output logs to the console. The extension does that plus visualizing the color bar in HTML.
Create a new client type that outputs both the color bar and logs in HTML. We can embed that in the documentation site to enable users to interactively paste static HTML snippets and see how it would be evaluated. With some HTML presets, we can also use it to demo some of the script's capabilities.

With a storage layer, it could also be possible to create a permalink for users to share around or revisit later. Similar to the Lighthouse viewer, which relies on the users' own Gists for storage.

Update: The demo page is live and it takes HTML snippets or a URL. It logs to the console but the plumbing is in place to be able to write to the DOM instead, just need to emulate the console methods. Will create separate issues for that and storage.


The request header is converted into a snake like naming convention

i want to all uppercase header key.

func (Header) Set ¶
func (h Header) Set(key, value string)
Set sets the header entries associated with key to the single element value. It replaces any existing values associated with key. The key is case insensitive; it is canonicalized by textproto.CanonicalMIMEHeaderKey. To use non-canonical keys, assign to the map directly.


javax.net.ssl.SSLException: SSLEngine closed already for gateway requests

Cloud Gateway version:2.1.3 RELEASE
Reactor Netty version: 0.8.5 RELEASE
In our production system, we are observing "javax.net.ssl.SSLException: SSLEngine closed already" exceptions. The exception encounter rate depending on the route count and traffic.
I'm using the elastic pool(default) and below is the stack trace from logs:
reactor-http-nio-150 HttpClientConnect - [id: 0x21e26b17, L:/<IP_ADDRESS>:29974 - R:localhost/<IP_ADDRESS>:8872] The connection observed an error
javax.net.ssl.SSLException: SSLEngine closed already
        at io.netty.handler.ssl.SslHandler.wrap(...)(Unknown Source)

I am suspecting the connection is already closed on other end, but elastic connection pool is still trying to use the same connection which is causing this issue. seems netty connection pool not doing health checks whether the connection is already broken or not.

Hey @violetagg , could you please take a look at this issue if it's not related to reactor-netty?

I believe this has been fixed in the latest versions of Reactor Netty and thus can be closed


Add parser data save capability

Currently the parsers can only load data. They should be able to reversibly load and save data.

Fixed in 23ef22ca0bca69bdfbaf70d4c854751fedd2e6ab with unit tests.


feat: experimental multiple windows in native automation

Decided to check here if multiple mode enabled

I've checked it. In general, we cannot pass the experimentalMultipleWindows option into the openBrowser function, since browser can be opened before the experimentalMultipleWindows options is set (as in our tests).
So, I'll merge it as is. If it would be neccessary, I'll check the possible fixes for this in near future.

All tests passed. I just add fix for package-lock.json file.


Analyze .build_script_log and provide a summary of the time execution.

@swift-ci smoke test

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - e02660f8ca9fd20db4d9aa1a5a8880dd8b6722c6

Merged -> https://github.com/apple/swift/pull/41223


whitespace testing

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/36/
Test PASSed.

we're good to go!  closing this.


Fix from <import> use <blob|enum>

Resolves issue #595.
I believe this is working. I crammed in a few more tests, although I am unsure if they are very good.

nice!. try running cargo fmt again.

Might also be worth to rebase...

I rebased into 3 commits from 6, removing the formatting ones for instance, do you want me to squash them all to one?

It is fine to keep it like that. We will probably merge this when the conflicts are fixed.


Code examples don't work, neither demo app

I tried to cut and paste example code
`
final gemini = Gemini.instance;
gemini
    .text("Write a story about a magic backpack.")
    .then((value) => print(value?.output))

    /// or value?.content?.parts?.last.text
    .catchError((e) => print(e));

`
and the response is
**GeminiException** => This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configured to throw for this status code.
So I tried other code examples, and none of them work. Then I tried demo app, and TADAAA, it doesn't work either.
I guess there is something wrong :D
Edit: it seems to be related to my local region (Italy).

I'm having the same problem. Japan region.

The same problem... Russia, Thailand

Please pull the latest code, the issue is from the model, Gemini pro is depreciated so it has been changed to Gemini flash


Batcher buffers merging optimization

Batcher consists of multiple parts:

Collecting information on batch groups.
Figuring out individual batches based on mesh differences.
Merging meshes buffers with additional transformation.

This PR focuses on the third case by decomposing some math functions that are called frequently, which results in significant performance gains in some of our tests.
In a scene with 749 batches, on test machine currently it takes:
~1658ms to apply position transformations and 612ms on normals transformations.
With this PR these numbers become:
~216ms to apply position transformations and 155ms on normals transformations.
In this specific case we have x7.7 time speed up on positions and x3.9 times speed up on normals.
We've tested multiple cases, and gains can vary from x1.5 to x10, depending on number of meshes per batch and how large these meshes are.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

cherry picked to engine v2 as well


Can't get past esp.ready()

Hi,
I'm trying to get the example work, but it does not get past while(!esp.ready()); line.
MQTT and REST, both examples stop at this line, and on the debug port there's some random gibberish, something like B..aC^<kpWp~v| just after esp.ready() call. And I also see small blink of blue LED on ESP module.
I even updated the Arduino lib from pull request posted few hours ago on this repo. Still same result.
Any pointers where I should look for? wiring? baud rate setting?

try delay(1000)
maybe reset command take a  long time

Please update new commit, maybe the reason is CH_PD incorrect

I had the same issue -- in my case it was because I had forgotten that I'd burned the "AT" firmware to the ESP8266 board I was using.  Re-flashing with the espduino firmware and fixing that CH_PD issue got me past that.
Other than that, seeing garbage on the debug port is, I think, most likely to be a baud rate mismatch.

Thanks guys for your reply. Gonna re-flash and update the espduino lib and try again.
I will post here my result soon. Thanks again.

i've changed proto buffer size of arduino from 1024 to 512 bytes, it's ensure everything better

I downloaded new update, re-flashed the espduino firmware and updated lib in arduino.
BTW, I am using Arduino Mega 2560 and have it wired like this:

Also, updated the sample with correct Serial port representation. Using Serial as debug port, and Serial1 for ESP8266 module.
Now with everything updated, I see it would stop on esp.ready() call. Red and blue both LEDs are full on ESP module. There's one thing I noted, on Mega's 3.3v pin there's actually 3.6v.
Still trying to get it working.

Now getting this:

While researching, I found another firmware NodeMCU, which flashed and started up on first try. For now I gonna play with a bit more. Will try espduino again when I get the time. Thanks for your support, and keep up the good work you're doing on this project.

According to your wiring in the photo you are connecting the ESP directly to the MEGA? Be carefull ESP is 3.V Mega is 5v.


Wand box

The issue im having is with the wand damage, when ever I want to add damage to a item to change its texture, it stays the same texture and same damage it was originally
Example:
icon: diamond_hoe:2

The wand box is special:
wandbox:
    icon: wood_hoe,gold_axe,gold_pickaxe
    randomize_icon: wood_step

The "icon" property in this case should be a list of icons, a random one of which gets chosen when the box is opened and becomes a wand.
To change the appearance of the box itself, you need to change "randomize_icon" instead.


Spring Metrics doesn't support Spring Expression Lanuage

Just added port="#{appProperties['graphite.port']}" in applicationContext-metrics.xml. However, the metrics-spring will first validate port field and then throw an exception about failure validation. I checked the code in line 220 of AbstractReporterElementParser, it turns out the SpEL is not supported, since "^\\$\\{.*\\}$" is just a placeholder regex. It could be nice if SpEl is supported.

SpEL has proven to be exceptionally difficult to support. I don't forsee being able to support this at any point in the near future. If anyone can help with this issue I would welcome the assistance.

this problem can be fix it ？


fix(api): update logic to check schedule week date

:tada: This PR is included in version 3.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


HAWQ-1355. Fix namespace check may occur multiple times in first query.

Please review, thanks!

I'm wondering whether rename *.ans.orca
https://github.com/apache/incubator-hawq/pull/1146#diff-6d2d67ad13a2a11e3e525ec0fff5be11
->
*.orca.ans and for *.ans.planner -> *.planner.ans. This helps potential
wildcard processing in the future.
The line number could change again with code change. Maybe you could use
the init_file mechanism to avoid some ans file change.
2017-02-27 11:40 GMT+08:00 Xiang Sheng<EMAIL_ADDRESS>
@stanlyxiang approved this pull request.
+1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-hawq/pull/1146#pullrequestreview-23908958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHI5jPjTOvN3urj0lPpHuxT46yZfcEU-ks5rgkWRgaJpZM4MMpw9
.

+1

@paul-guo-  This PR already use init_file, please check incubator-hawq/src/test/feature/lib/global_init_file for details.


Notepad link gives a 404

There are two places that refer to NotePad when you click on this link it takes you to https://github.com/solid/userguide/blob/master/views/views/notepad/userguide.md which gives a 404 error.

@SharonStrats the fixed link is (but don't get too excited because there's not much there...) this one: https://github.com/solid/userguide/blob/master/views/notepad/userguide.md

Hmmm, if only we could find a volunteer to fill out more details in that user guide page for the Notepad... ;)
Someone who knows a lot about the Notepad, maybe, hmmm.. ;)

Okay, no problem!  I will fix it :)


Use with Application Insights - Traces or Events

We're using dotnet core 2.1, and it seems like serilog is modifing the request sent to Application Insigths.
Is it possible to use the default behavior of Application Insights, and Serilog together? As it is now (maybe I get it wrong) we need to send all telemetry to either  ApplicationInsightsTraces or ApplicationInsightsEvents.
In the azure portal (AI blade) a request are listed as a traces or a custom event.

Would it make sense to allow us to configure that we want to use AI-based request tracking and we provide the template in which you can parse it?
For example, serilog-aspnetcore's Request logging uses the HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms format which can be used, or do you need more information.
Sounds a bit messy but would actually make sense and be a wonderful feature. The reason why I would love this is to make it more explicit that this is a request in application insights so I don't have to plow through the traces.
On the note of ASP.NET, the default is a bit chatty in my opinion and I'm actually looking to disable that in favor of something like the request logging and tweak that a bit more.

Closing this one as stale, but sounds like an interesting area for investigation if anyone's keen on exploring further/creating a proposal? Let me know if so 👍


Maven plugin: support ant patterns in includes/excludes

Implemented in https://github.com/gatling/gatling-maven-plugin/commit/d87e277fbf4a7f825435a4022fbf2ccccad04b5f


Issue #41: Update healthcheck instructions for interaction and deployment

Here's the fix for the basic http booster: https://github.com/openshiftio/appdev-documentation/pull/93


All monaco-vscode packages are peerDependencies

This fixes #789 and is related to https://github.com/CodinGame/monaco-vscode-api/issues/544

@CGNonofr the approach works with npm, pnpm and yarn.

is there a list of dependencies we need now to prodivde?

@cdietrich no, there should be no change on your end needed, but if you have an incompatible monaco-vscode package it will now flag this during install. Depending on the default setting of the package manager the install will fail immediately (npm) or a warning is written (pnpm).

@CGNonofr if you agree with this I will perform the final release of the packages (finally 😆) later today or tomorrow.

hmmm
i had to add more in order for it to work
   "dependencies": {
+    "@codingame/monaco-vscode-api": "~11.1.2",
+    "@codingame/monaco-vscode-configuration-service-override": "~11.1.2",
+    "@codingame/monaco-vscode-editor-api": "~11.1.2",
+    "@codingame/monaco-vscode-extensions-service-override": "~11.1.2",
     "@codingame/monaco-vscode-keybindings-service-override": "~11.1.2",
+    "@codingame/monaco-vscode-languages-service-override": "~11.1.2",
+    "@codingame/monaco-vscode-localization-service-override": "~11.1.2",
+    "@codingame/monaco-vscode-log-service-override": "~11.1.2",
+    "@codingame/monaco-vscode-model-service-override": "~11.1.2",
-    "monaco-editor-wrapper": "6.0.0-next.11",
-    "monaco-languageclient": "9.0.0-next.11",
-    "vscode-ws-jsonrpc": "^3.3.2"
+    "monaco-editor-wrapper": "6.0.0-next.14",
+    "monaco-languageclient": "9.0.0-next.14",
+    "vscode-ws-jsonrpc": "3.4.0-next.14"
   },

@cdietrich this verification example https://github.com/TypeFox/monaco-languageclient/blob/issue-789/verify/peer/package.json will fail with npm

we are using yarn.
with
  "dependencies": {
    "@codingame/monaco-vscode-keybindings-service-override": "~11.1.2",
    "monaco-editor-wrapper": "6.0.0-next.14",
    "monaco-languageclient": "9.0.0-next.14",
    "vscode-ws-jsonrpc": "3.4.0-next.14"
  },

yarn will complain about missing peers
but at runtime it will fail with e.g.
✘ [ERROR] Could not resolve "@codingame/monaco-vscode-languages-service-override"

    ../../node_modules/monaco-languageclient/lib/vscode/services.js:8:40:
      8 │ import getLanguagesServiceOverride from '@codingame/monaco-vscode-languages-service-override';

so i added all of these

@cdietrich yes, yarn needs more (it used to be like that before) it does not automatically install required peers (npm and pnpm do). Had to do the same:  https://github.com/TypeFox/monaco-languageclient/blob/main/verify/yarn/package.json
Even with latest yarn there is not argument available that allows to install peer dependencies directly. Don't ask me why.🤷♂

@CGNonofr figuring this out was time-consuming (more than I expected). I don't know how many times I installed packages today.

@CGNonofr and @cdietrich final version are released:
https://www.npmjs.com/package/monaco-languageclient/v9.0.0
https://www.npmjs.com/package/vscode-ws-jsonrpc/v/3.4.0
https://www.npmjs.com/package/monaco-editor-wrapper/v/6.0.0
<EMAIL_ADDRESS>

@CGNonofr one very important thing to note here. The peerDependencies work nicely with released packages available via npm. The enforcement does not work inside a workspace. I had a wrong devDependency defined in monaco-editor-wrapper and it did not lead to errors (see https://github.com/TypeFox/monaco-languageclient/commit/12bcdf92ffbdd63dc62e793a9385395e4e7f4ee0). Fortunately it was only a devDependency and therefore did not require to updated the released version. Btw, that's also the reason why I released multiple next releases yesterday, becaus only then I was able to tell am approach works for real.


Enforced check of that all notebooks has matching SG version installed

This PR fixes a small issue with regex in checking version of SG package (Now both pip install super-gradients and pip install super_gradietns commands are parsed correctly)
It also simplify Makefile by splitting NOTEBOOKS variable into NOTEBOOKS_TO_CHECK and NOTEBOOKS_TO_RUN
These variables are no multi-line, which makes it easier to merge PRs where notebooks are added.
And lastly, now check_notebooks_version_match is a part of breaking change test to enforce our notebooks are up-to-date.

You are correct. When we want to release, we have to update version in SG notebook and (ideally) run them against this new version.
So the workflow is the following

when we think we are ready to release (all stuff is already merged):
update version
pip install -e . (If it's not already)
make run_and_convert_notebooks

Commit changes to reflect updated docs in documentation


Feature Request: Flag for alternative formatting of line number output

Is this a BUG REPORT or FEATURE REQUEST?:

[ ] bug
[X] feature

Description of Bug or Feature
I'm using interrogate a lot right now to go through projects and add missing docstrings (- vv flag mostly). VS Code (and other IDEs?) can convert the path to a file in the output as a link, so I can click to a file missing docstrings (technically with output from interrogate, I believe it's actually searching for the file. In my case, if the paths included another level or two, it would be a be proper link). If the path to a file is followed by :line_number, clicking the link jumps to the line of code.
It would be nice to have a flag which would include file_path:line_number in the output for each function found, so a user could jump to the function even faster.
So instead of something like this:
==================== Coverage for /Users/lynn/dev/interrogate/ ======================
--------------------------------- Detailed Coverage ---------------------------------
| Name                                                                  |    Status |
|-----------------------------------------------------------------------|-----------|
| tests/unit/__init__.py (module)                                       |   COVERED |
|-----------------------------------------------------------------------|-----------|
| tests/unit/test_badge_gen.py (module)                                 |   COVERED |
|   test_save_badge (L14)                                               |   COVERED |
|   test_get_badge (L35)                                                |   COVERED |
|   test_get_color (L44)                                                |   COVERED |
|   test_create (L61)                                                   |   COVERED |
|-----------------------------------------------------------------------|-----------|

The user could ask for this type of output
==================== Coverage for /Users/lynn/dev/interrogate/ ======================
--------------------------------- Detailed Coverage ---------------------------------
| Name                                                                  |    Status |
|-----------------------------------------------------------------------|-----------|
| tests/unit/__init__.py (module)                                       |   COVERED |
|-----------------------------------------------------------------------|-----------|
| tests/unit/test_badge_gen.py (module)                                 |   COVERED |
|   test_save_badge                                                     |   COVERED |
|       tests/unit/test_badge_gen.py:14                                 |           |
|   test_get_badge                                                      |   COVERED |
|       tests/unit/test_badge_gen.py:35                                 |           |
|   test_get_color                                                      |   COVERED |
|       tests/unit/test_badge_gen.py:44                                 |           |
|   test_create                                                         |   COVERED |
|       tests/unit/test_badge_gen.py:61                                 |           |
|-----------------------------------------------------------------------|-----------|

I'm not sure the best way to format it all, and it would be "messier", but would make it really easy to jump through these functions. I mostly use VS Code, but I'm not sure if other IDEs have similar linking.

Interesting - I can see how this would be helpful. Let me give it some thought!

Sure thing @econchick . Just putting it on your radar. It helps in my case, but I'm not sure if it fits in your broader plan.


Error with async method

Hi,
I need to perform a request using the Oauth2RestTemplate in an async method, but im getting an error with the Oauth2ClientContext (the session scope in not available in the new thread):
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.oauth2ClientContext': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:362) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:35) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:193) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at com.sun.proxy.$Proxy121.getAccessToken(Unknown Source) ~[na:na] 	at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:125) ~[spring-security-oauth2-2.2.2.RELEASE.jar:na] 	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:698) ~[spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:457) ~[spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at net.baymark.lokiadmin.repository.impl.RecipientRepositoryImpl.importToGroup(RecipientRepositoryImpl.java:47) ~[classes/:na] 	at net.baymark.lokiadmin.service.impl.RecipientServiceImpl.importToGroup(RecipientServiceImpl.java:105) ~[classes/:na] 	at net.baymark.lokiadmin.service.impl.RecipientServiceImpl.lambda$bulkUpload$0(RecipientServiceImpl.java:46) ~[classes/:na] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_121] 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_121] 	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[na:1.8.0_121] 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_121] 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_121] 	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_121] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_121] 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_121] 	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_121] 	at net.baymark.lokiadmin.service.impl.RecipientServiceImpl.bulkUpload(RecipientServiceImpl.java:46) ~[classes/:na] 	at net.baymark.lokiadmin.service.impl.RecipientServiceImpl$$FastClassBySpringCGLIB$$97d8b459.invoke(<generated>) ~[classes/:na] 	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69) ~[spring-security-core-5.0.6.RELEASE.jar:5.0.6.RELEASE] 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) ~[spring-aop-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_121] 	at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121] Caused by: java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request. 	at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131) ~[spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.web.context.request.SessionScope.get(SessionScope.java:55) ~[spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:350) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE] 	... 29 common frames omitted
There is a way to propagate the session scope in the new thread?
Thanks!

Hi! I have the same problem.
Thank you!

Same trouble here. Not being able to propagate security scope to Oauth2RestTemplate.

@cernadasjuan Can you provide some additional detail on how you are launching the asynchronous task? For example, it is initially launched from HTTP traffic, or is it, say, on a timer?
Generally speaking, request and session-scoped beans are not available out of the box when on a separate thread. They need to be manually propagated when the thread is launched.
If you are using @Async, then customizing the async executor may work for you: https://stackoverflow.com/questions/23732089/how-to-enable-request-scope-in-async-task-executor/33337838#33337838
Or, I might not yet be understanding your issue--if you can provide a small sample that represents the behavior, then I'll play with it and see if I have any other recommendations.

@cernadasjuan I'm closing this, but feel free to reopen if you still need a hand.

@jzheaux  i am facing same issue while using CompletableFuture with @Async annotation for parallel processing. Is there any way to share the session and request scope beans between parent and child thread apart from way suggested in stackOverflow link provided above ?

@MayankManwansh I guess I don't understand how you are combining CompletableFuture with @Async, which is why this sounds like a really good question for StackOverflow, and I'd recommend that you ask it there.
Spring Security OAuth doesn't provide anything special to help out with this.
See if this helps: https://stackoverflow.com/questions/47351435/spring-async-with-completablefuture
If not, please post your question to StackOverflow with the spring tag. (I would not recommend the spring-security tag as, at this point, it sounds like it isn't specific to that)


Request: is there a way to generate a credential without subject id?

Describe the bug
The issuer node allows for link generation where the subject is unknown at the time the credential is created. Is there a way to implement this use case with the JS SDK? Can we put something other than the subject DID in the credentialSubject?
In our implementation, we do not necessarily have access to the issuer private key at the time the user clicks on the link to issue the credential, but there's no way to pre-sign the credential if we do not know the subject DID, right?
Thank you!

Ok thank you, very clear. Is that how links are created and used in the issuer node?

By following the flow  I would say yes.


Expose more controls to the user

Currently, a number of important functions (such as camera focusing and stage translation) require modifier keys and/or middle mouse button scrolls/clicks. It's fine to keep these shortcuts, but there should also be buttons or drop-down menus that can be used instead.

update: stage translation is now controllable via the Targeting Dialog (crosshairs button). camera focusing relies on ctrl+shift+scroll wheel - i will implement a dialog window to control this from the screen.
i believe all other keyboard shortcuts have buttons analogs, but let me know if i'm missing anything


"return_url" does not get passed correctly

When passing "return_url", it renders this input tag:
<input id="id_payment-return_url" name="return" type="hidden" value="return-url-here">
which shows an "return_url is required" error message.
Changing the name to payment-return_url removes this error.

Please see the docs for how to use IPN/PDT:
https://django-paypal.readthedocs.org/en/stable/

Seems default example for IPN payments should be updated, as it's not works now, since variables are not properly defined:
    # What you want the button to do.
    paypal_dict = {
        "business"<EMAIL_ADDRESS>        "amount": "10000000.00",
        "item_name": "name of the item",
        "invoice": "unique-invoice-id",
        "notify_url": "https://www.example.com" + reverse('paypal-ipn'),
        "return_url": "https://www.example.com/your-return-location/",
        "cancel_return": "https://www.example.com/your-cancel-location/",
        "custom": "Upgrade all users!",  # Custom command to correlate to some function later (optional)
    }

https://django-paypal.readthedocs.io/en/stable/standard/ipn.html
And docs at https://django-paypal.readthedocs.org/en/stable/ does not  have clear information about variable names.

@inoks - your comments seem to be about something different from the original post, please create a new issue. But please include exact details, I can't guess what is wrong. In addition, the docs do have clear information about variable names. This page links to the PayPal docs, which are best source. To quote:

For a full list of variables that can be used in paypal_dict, see PayPal HTML variables documentation

@spookylukey No, my problem was i try t send form data back to Django, instead of PAYPAL_ENDPOINT via form.get_endpoint().


Oracle Java SE Language Server not enabled

After downloading the Java JDK it will not initialise the repo and come with the the bellow error.
Launching Oracle Java SE Language Server with default system JDK and userdir /Users/adamcatle/Library/Application Support/Code/User/workspaceStorage/877f31bc97700973c317e40a9e464de9/Oracle.oracle-java
LSP server launching: 30905
LSP server user directory: /Users/adamcatle/Library/Application Support/Code/User/workspaceStorage/877f31bc97700973c317e40a9e464de9/Oracle.oracle-java
Cannot run on older versions of Java than Java 17.
Please install Java 17 or newer or use --jdkhome
switch to point to its installation directory.
Cannot find org.netbeans.modules.java.lsp.server in the log!
Please refer to troubleshooting section for more info: https://github.com/oracle/javavscode/blob/main/README.md#troubleshooting
Request to kill LSP server.
Cannot kill: Requested kill on 30905, current process is None
Oracle Java SE Language Server not enabled

Hi @castlea121. Thanks for reaching out.
The extension requires JDK 17 or higher to run, while your projects can use a different JDK, which is version 8 and above.
Please refer to the Getting Started and JDK Downloader sections. The JDK Downloader page allows you to also select the path to the JDK home folder of a one that is already installed on your machine. This will set the value of the jdk.jdkhome setting. Note, that on MacOS, the JDK home folder is the Contents/Home/ folder inside the jdk package.
For setting up the JDK for individual projects, refer to the Selecting the JDK section, specifically the jdk.project.jdkhome workspace setting.
I hope this helps you get started. Please let us know if you have any other issues or questions. Thanks.


[extractor/crunchyroll] Extract other language versions

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Some shows on crunchyroll now have multiple audio languages attached to them e.g. This one. When switching to a different language in the video player, the URL changes to a different video ID. Currently the extractor only extracts the formats of one language.
My MR changes this and allows to specify languages to extract (or all). By default it will still only extract a single language, since extracting other ones is expensive. But when required, this can be enabled using the language extractor argument.
Since these languages are distributed over multiple pages you will get different titles, season_ids and season names. I therefore added these fields to every format returned (if more than one language is being extracted). This way when the user requests a format (with -f ...) the default info dict returned will be overwritten with the correct arguments (titles, etc.) from the selected format.
Summary: The way the extraction process works is still the same as before. The only thing that really changed is that the extractor can now iterate through multiple versions and extract their formats as well.
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Closed because Grub4K's PR will change all the code in the extractor. This PR could not be merged after his one goes life. So I closed this PR, rewrote the code (based on his version) and opened a new PR which does the same as this one.


Allow E-Mails to be instantly deleted (without sending them to trash)

I would like to ask for a feature to allow to delete mails directly without sending them to the trash folder first.
Expected behavior
Allow to choose to delete mails without sending them to trash
Actual behavior
On deletion, mails are always moved to the trash folder

Set 'Account settings > Folders > Trash folder' to 'None'.
Please consider using the mailing list to ask for help before assuming something is not working as it should or is a missing feature.

I was aware of this setting, but it is not what I meant.
This setting is kind of a permanent one. I generally want to go deleted E-Mails to trash, but be able to skip trash for certain E-Mails, such as spam or advertisement mails.

Hi,
I was aware of this setting, but it is not what I meant.
This setting is kind of a permanent one. I generally want to go deleted E-Mails to trash, but be able to skip trash for certain E-Mails, such as spam or advertisement mails.
Please take this into consideration.
Regards
Thomas
Am 24. April 2020 22:51:09 MESZ schrieb cketti<EMAIL_ADDRESS>
Set 'Account settings > Folders > Trash folder' to 'None'.
Please consider using the mailing list to ask for help before assuming something is not working as it should or is a missing feature.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/k9mail/k-9/issues/4692#issuecomment-619233091

I see. Do you have a suggestion on how this should be handled in the UI? I don't like the idea of just adding another button for it. I wouldn't know how to name the action either.
I don't even see an entry for this in Thunderbird's (IMHO overloaded) menu. As far as I can tell the functionality is only available via the keyboard shortcut SHIFT + DEL.
For now I don't think this functionality is important enough to justify including it.

Not sure about the UI, actually. Is it possible to act on this with a
long press on the trashcan button and then provide a new option "Delete
permanently"? That would stick as close to Thunderbird's behavior with
Shift-Delete as I can imagine.
I agree that it is not an essential feature, but it would be nice to have.


release scripts for kokoro

@akerekes @jmicco

PTAL @jmicco

LGTM (however I have no kokoro knowledge yet)


Just stopped working entirely

Script version
3.2
Describe the bug
It's not blocking any ads anymore as of the last couple days
Expected behavior
It worked fine for a long time, blocking video ads and ads on my homepage
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Opera GX
Version: Windows 10

Additional context
Like I said before, the adblock thing has been working great for a couple months now but just suddenly stopped working. I've checked to make sure my browser is updated properly, the adblock is updated properly, and I've tried rebooting my computer several times. I really love this extension and can't find another one like it, I really want to fix it! Thank you for whatever help you can offer!

Check out 3.3, This should now be fixed.

same issue, went and verified the updated version was downloaded too. still getting ads


Ingesting repositories from lots of organizations

Motivation
Unfortunately, search is not a reliable way to find repositories because in GitHub Enterprise, search is limited to 1000 results.
Approach
Use the REST API to retrieve one organization at a time and each repository for this organization.

📣 NOTIFICATION
You are receiving this message because we did not publish any packages.
Generated by @thefrontside/actions


Bump Traveling Ruby to 20150715

Otherwise the tests won’t run in Ruby 2.2.2.

I think it would be better to attempt to fetch the Traveling Ruby string from ENV in the tests, in that way it would be possible to use different versions for different Ruby versions on Travis. i.e. add something like:
let :traveling_ruby_version do
  ENV.fetch('TRAVELLING_RUBY_VERSION', nil)
end

And then specify different versions in .travis.yml. Thoughts?

Good idea. Travis tests should be fixed now.

On second thought it is not a good idea to change the default Traveling Ruby version since it might break existing setups. I have extracted the Travis fix to a separate PR: https://github.com/mthssdrbrg/tara/pull/11.


thriver:work: Tertiary menus aren't always generated

Many tertiary menus are not automatically generated as they should be.

This was either resolved in the past or was a non-issue (empty tertiary menus were appearing for pages that had no H3 elements.)


Adafruit_Python3_Raspberry_Pi

I've written a version under Python3 for Raspberry and i'll publish it soon

Oh wow, nice!  If it's not too radically different we can merge it in to better support Python 3 in this library.  It's been on my todo list for a while, but if you've already knocked it out that's awesome. :)

Hi Tony,
i’have some problem:

 English language

 Know-how on Github

 Not many time for me

I think the second and third can be resolved… I’m italian and my english is very… let it be!
I have modified the software relative to Pi because i not own a BB and then i can’t test it.
I’m learning about Github but if you want (and i prefere) i can send to you the entire directory modified so you can test it and maybe get the modify on Rasp and replicate on BB. The most important modify interest the driver and it can be replicated on BB driver.
Waiting for news from you
Roberto
Da: Tony DiCola<EMAIL_ADDRESS>Inviato: sabato 3 gennaio 2015 20.31
A: adafruit/Adafruit_Python_DHT
Cc: bob60
Oggetto: Re: [Adafruit_Python_DHT] Adafruit_Python3_Raspberry_Pi (#9)
Oh wow, nice! If it's not too radically different we can merge it in to better support Python 3 in this library. It's been on my todo list for a while, but if you've already knocked it out that's awesome. :)
—
Reply to this email directly or view it on GitHub https://github.com/adafruit/Adafruit_Python_DHT/issues/9#issuecomment-68606419 .  https://github.com/notifications/beacon/AH_2XdGdT-HvFZ6nAVamzek1l6LfjHcrks5neDrXgaJpZM4DN-ow.gif


Add openapi.json (OAS3) to published REST

@sbont @stefanus-heath just would like to confirm the release date for this, this will be released in SP10.1 (so the July release)?

@MarkvanMents for SP 10.1 release in July


Move Assistant: if all possible variations have the same value, then no colors are shown

min and max have the same value. Ex: start position e pawn selected.

Changed the way the colors are calculated in v2.3.79


Tensorflow2

Hi,
Do you have any plans to update this repository to Tensorflow 2? I am working with your SegGradCAM code for explainable AI, but my modifications to  allow for use of Tensorflow 2 have not been successful yet (since my model is built in Tensorflow 2). So far I have found the main difference to be how the gradients are computed (GradientTape() vs gradient()). Thanks!

Hi,
No, sorry, it's not on my plan.


sign method does not work in the Chrome extension version

Sollet Chrome extension v0.2.3
OS Ubuntu 20.04
Chrome Version 89.0.4389.90 (Official Build) (64-bit)

Using sol-wallet-adapter library:
const wallet = new Wallet(window.sollet);
await wallet.connect();
const data = new TextEncoder().encode("My message");
await wallet.sign(data, 'utf8')

The wallet.sign results in a blank pop-up, looking at the console logs gives:
Error: Data must be an instance of Uint8Array

Which is this error: https://github.com/project-serum/spl-token-wallet/blob/699558770eff7d78c1fe3890eb4f83ee8a268309/src/pages/PopupPage.js#L237
I confirmed that what is sent in the postMessage method is effectivement a Uint8Array. I wonder if it gets somehow transformed/serialized when it is passed to the Chrome extension. The same code works well with sollet.io as used as a provider instead of the Chrome extension.

Going to assign to you as discussed in Discord :P. Let me know if you want to pass it off / encounter any roadblocks!

The following code handles the deserialization properly:
  const urlParams = new URLSearchParams(window.location.hash.slice(1));
  const request = JSON.parse(urlParams.get('request'));

  if (request.method === 'sign') {
    const dataObj = request.params.data;
    // Deserialize `data` into a Uint8Array
    if (!dataObj) {
      throw new Error('Missing "data" params for "sign" request');
    }

    const data = new Uint8Array(Object.keys(dataObj).length);
    for (const [index, value] of Object.entries(dataObj)) {
      data[index] = value;
    }
    request.params.data = data;
  }

  return [request];

I can make the PR once the current issue with the extension on master is fixed.

Hey, I think this should be unblocked now.

Great, I have submitted a PR https://github.com/project-serum/spl-token-wallet/pull/177


version on react + run prettier

fix #534
/claim #534
Please describe the changes this PR makes and why it should be merged:
Status

[x] Code changes have been tested against prettier, or there are no code changes
[ ] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[x] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[x] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

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

So found that the errors in react 16 & 17 were of using createRoot (as it's not available in those versions).
Tested with all the versions, react 16, 17 and 18 with a vite project, by replacing the node_modules/million/dist with the locally built one (by pnpm build)

@aidenybai
Do I need to do anymore changes?

good work!


Can't load content at the moment

I did authorize against the university samba quite well and can also see folders without files (so folders which include others folders seem to work).
If I click on a folder with files, the view is empty with a message "Can't load content at the moment".
Checking or unchecking "Safe data transfer" does not seem to help either.
Would be very cool to have this working.
I don't know if this is an issue with the SMB server or with my device
Android 13 - Fairphone 4 - iodeOS

I don't know the cause if it's just the indicated environment...
Were there any other errors displayed?


A fatal exception occurred

I was going back and forth the "Memory" and "Watch" windows when the exception occurred.
Below is the message copied from the message box.
[Window Title]
Fatal Exception

[Content]
A fatal exception (code 0xc0000005) occurred. The process is terminating.

Press Ctrl+C to copy this text to clipboard, then create a new issue in
https://github.com/EpicGames/raddebugger/issues

Call stack:
0. [0x7ff76df21159] df_eval_watch_view_build +21753, df_views.c line 1628
1. [0x7ff76dea4ebc] df_view_ui_Watch +140, df_views.c line 6641
2. [0x7ff76df5e7e6] df_window_update_and_render +149014, df_gfx.c line 5691
3. [0x7ff76dfb70c4] update_and_render +4932, raddbg.c line 285
4. [0x7ff76df69b44] entry_point +5860, raddbg.c line 577
5. [0x7ff76dfb9592] WinMain +930, raddbg_main.cpp line 350
6. [0x7ff76dfc14ee] __scrt_common_main_seh +262, exe_common.inl line 288
7. [0x7ffb307f257d] KERNEL32
8. [0x7ffb3166aa58] ntdll

[Close]

What version were you using, and/or which commit hash did you build from?

Hi, I'm pretty sure I encountered the same bug but on the latest commit.
Unfortunately I just can't figure out how to reproduce it reliably. I was only able to trigger it twice. It happened when I was clicking one of the items in the globals Panel.
I did however have a look at it in remedy and it said that "commit_row" was null on the same line for the latest commit.
[Window Title]
Fatal Exception

[Content]
A fatal exception (code 0xc0000005) occurred. The process is terminating.

Press Ctrl+C to copy this text to clipboard, then create a new issue in
https://github.com/EpicGames/raddebugger/issues

Call stack:
1. [0x7ff6cb71f1ea] df_eval_watch_view_build +33594, df_views.c line 1669
2. [0x7ff6cb69d9cc] df_view_ui_Globals +156, df_views.c line 6766
3. [0x7ff6cb6e2213] df_window_update_and_render +151171, df_gfx.c line 5707
4. [0x7ff6cb722911] update_and_render +4369, raddbg.c line 286
5. [0x7ff6cb739fd0] entry_point +5664, raddbg.c line 577
6. [0x7ff6cb56245d] WinMain +877, raddbg_main.cpp line 348
7. [0x7ff6cb73bc22] __scrt_common_main_seh +262, exe_common.inl line 288
8. [0x7ffd33f47344] KERNEL32
9. [0x7ffd35b026b1] ntdll

Version: 0.9.8 [c757388]

[Close]

This looks like it's being caused by starting an edit on the value, expression, or view rule of a row in a watch or watch-like tab, scrolling away from it, then clicking somewhere else (thus ending & attempting to commit an edit, for a row which is no longer in view).
There are two options for the debugger here: (a) it can go through with the commit anyways (I'd have to move away from using an actually visualized row's information, since the row which is being edited is out-of-bounds and thus has no UI built for it), or (b) I can abort the edit if the row is out of bounds.
I've gone ahead with (b). While it's somewhat idiosyncratic with the way edits work while a row is in view (e.g. where clicking away actually commits the edit), it's a bit more conservative w.r.t. making non-obvious changes to the user, and so I'm leaning in that direction.
So, long story short, this is fixed in e637f7237c338ead02026e15754f44b2cf15429e.

I have had this bug occur again recently
[Window Title]
Fatal Exception

[Content]
A fatal exception (code 0xc0000005) occurred. The process is terminating.

Press Ctrl+C to copy this text to clipboard, then create a new issue in
https://github.com/EpicGames/raddebugger/issues

Call stack:
1. [0x7ff683df3eff] df_eval_watch_view_build +22367, df_views.c line 1669
2. [0x7ff683d7540c] df_view_ui_Watch +140, df_views.c line 6721
3. [0x7ff683e323af] df_window_update_and_render +151119, df_gfx.c line 5707
4. [0x7ff683e8bb54] update_and_render +4932, raddbg.c line 285
5. [0x7ff683e3da94] entry_point +5860, raddbg.c line 577
6. [0x7ff683e8e052] WinMain +930, raddbg_main.cpp line 348
7. [0x7ff683e95fae] __scrt_common_main_seh +262, exe_common.inl line 288
8. [0x7ffee01f257d] KERNEL32
9. [0x7ffee0b4aa58] ntdll

Version: 0.9.8 [c757388]

[Close]

@achalpandeyy You are on a version that was released before this fix was pushed. git checkout dev, git pull, and build to have the fix applied.


Don't follow API redirects; return a 404 instead

:eyeglasses: @curioussavage
Sometimes the API decides to send back a 302 instead of a 404; for example, unfound subs will redirect you to the search page. This kills the client.

:fish:


MLKit breaks deployment

What
Resolving dependencies of `Podfile`

Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
  CDN: trunk Relative path downloaded: CocoaPods-version.yml, save ETag: "61df179f-38"
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "google_ml_barcode_scanner":
  In Podfile:
    google_ml_barcode_scanner (from `.symlinks/plugins/google_ml_barcode_scanner/ios`)

Specs satisfying the `google_ml_barcode_scanner (from `.symlinks/plugins/google_ml_barcode_scanner/ios`)` dependency were found, but they required a higher minimum deployment target.

dependency were found, but they required a higher minimum deployment target.

I see this on the simulator

So the Android went through (I replaced bintray() by maven())
MLkit enabled or not, I can't scan anymore, and I can't see the intro card

This goes on me, fix incoming, but is the deployment completely working and can you merge your changed into develop

Closing this one, there are build issues, but only on iOS, and now different.


No way to stop event bubling.

Problem
Before 68d2fdbc59c274a2f5794bdb8a8222804a4ecf73, Event::stop_propogation works inside Callbacks. After that, bubbling is always enabled, even if stop_propagation is called, the ancestor's callback will still gets called.
Steps To Reproduce
minimal testing code:
use yew::prelude::*;

struct Model;

impl Component for Model {
    type Message = ();
    type Properties = ();

    fn create(ctx: &Context<Self>) -> Self {
        Self
    }

    fn update(&mut self, ctx: &Context<Self>, msg: Self::Message) -> bool {
        false
    }

    fn view(&self, ctx: &Context<Self>) -> Html {

        let parent_onclick = ctx.link().callback(|_|{
            gloo_console::info!("Parent callback!");
        });

        let child_onclick = ctx.link().callback(|e: MouseEvent|{
            gloo_console::info!("Child callback!");
            e.stop_propagation();
        });

        html! {

        }
    }
}

fn main() {
    yew::start_app::<Model>();
}

Click on the child, and the parent's callback gets called despite there is a stop_propogation.
Expected behavior
stop_propogation should stop the bubbling.
Environment:

Yew version: [master]
Rust version: [1.55.0]

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

#1542 registers all event handlers on to the body element and then Yew performs the event bubbling based on the event target. #1542 introduced a global switch to enable or disable bubbling on events but this is global and doesn't stop bubbling at a specific point in the tree traversal but stops it happening at all.
#1542 added some comments regarding this issue:https://github.com/yewstack/yew/blob/e65688e20c8a4b08c84b4b40723558aa626d654f/packages/yew/src/virtual_dom/listeners.rs#L24-L34 https://github.com/yewstack/yew/blob/e65688e20c8a4b08c84b4b40723558aa626d654f/packages/yew/src/virtual_dom/listeners.rs#L512-L514
This comment in the PR suggests that Yew could stop bubbling using Event::cancel_bubble and the behaviour is defined in the WHATWG living standard so I think we are okay in terms of compatibility to use this.

@mc1098 Thanks for your help! it's not a bug but an expected behavior then. We definitely need a documentation section on bubbling and introduce pub fn set_event_bubbling as an alternative to stopPropogation

We definitely need a documentation section on bubbling

Agreed, I didn't add this to the event page but I think that's the best home for it!

pub fn set_event_bubbling as an alternative to stopPropogation

I don't think it particularly is because it will prevent event bubbling for every event handler unless changed back, whereas stop_propagation is specific to the event it's applied to.


Fix macOS fcntl/fsync usage properly

When fcntl fails, don't check errno when deciding whether to call fsync, as there are different possible errno results and they are not documented in the man page. Instead, always fall back to fsync. Worst case is that it's only slightly slower but that should only happen when something is wrong anyway so that's not a big deal.
Also see: https://github.com/vim/vim/pull/4016 for the first attempt to fix this.

Per my response on the vim_mac mailing list:

Hi Bram, you have already merged my pull request, but I looked at the corresponding commit in Neovim that got spawned from this change, and it referenced this commit in libuv that has more details: https://github.com/libuv/libuv/pull/2135
From that commit I think we are currently missing a case for webdav because we are not handling the case where it sets errno to "EINVAL". I think we should probably just do what that commit does and ignore errno altogether. The worst case is it will be slightly slower but that's only if something is wrong anyway. Otherwise it will be whack-a-mole with random undocumented errno's that are probably not intended to be used this way. I would think Apple just assumes the programmer fall back to fsync if fcntl failed for whatever reason.

Codecov Report

Merging #4025 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4025      +/-   ##
==========================================
- Coverage   79.15%   79.14%   -0.02%
==========================================
  Files         105      105
  Lines      141126   141126
==========================================
- Hits       111707   111689      -18
- Misses      29419    29437      +18

Impacted Files
Coverage Δ

src/fileio.c
75.44% <ø> (ø)
:arrow_up:

src/gui_beval.c
61.57% <0%> (-0.88%)
:arrow_down:

src/gui.c
58% <0%> (-0.57%)
:arrow_down:

src/gui_gtk_x11.c
48.32% <0%> (-0.15%)
:arrow_down:

src/window.c
83.49% <0%> (-0.14%)
:arrow_down:

src/sign.c
93.38% <0%> (-0.13%)
:arrow_down:

src/ui.c
50.14% <0%> (-0.08%)
:arrow_down:

src/terminal.c
78.21% <0%> (-0.05%)
:arrow_down:

src/screen.c
80.32% <0%> (+0.02%)
:arrow_up:

src/channel.c
83.22% <0%> (+0.07%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


endpoint, proxy: Fix deadlock in writeHeaderfile

This fixes a deadlock with the IPCache and the endpoint mutex where writeHeaderfile calls into the proxy to fetch the endpoint's DNSRules while holding on to the endpoint mutex. That pattern causes a deadlock, because the proxy code itself then calls into IPCache while the endpoint mutex is held. This violates the assumed lock ordering, as we require that the IPCache mutex is always acquired before any endpoint mutex.
We fix this deadlock by hoisting call to update the endpoint's DNSRules out of writeHeaderfile and into the syncEndpointHeaderFile function, which is triggered whenever there is a change in DNSRules.
Fixes: cilium/cilium#23836
Ref: cilium/cilium#20915

/test

/test

Found another one, it seems:
(e *Endpoint) runPreCompilationSteps holds EP lock
(e *Endpoint) addNewRedirects
(e *Endpoint) addNewRedirectsFromDesiredPolicy
(p *Proxy) CreateOrUpdateRedirect takes Proxy lock
(dr *dnsRedirect) UpdateRules
(dr *dnsRedirect) setRules
(p *DNSProxy) UpdateAllowed takes the DNSProxy lock

this establishes EP > Proxy > DNSProxy which violates DNSProxy > EP :disappointed:

Found a direct violation of IPCache > Endpoint, we have code that does Endpoint > IPCache:
https://github.com/cilium/cilium/blob/b021b64dcf13047082b96c3d6060d52ac1d74a88/pkg/endpoint/policy.go#L66
(namedPortsGetter is IPCache)

Superseeded by https://github.com/cilium/cilium/pull/24672


lambda issue

I saw this issue with a lambda function but I think it's a more general issue.
The example to reproduce it is the following

The case which doesn't work was ok with a previous version.

I think that this is related to https://github.com/QuantStack/xeus-cling/issues/148.

I saw that issue and I'm agree with you.
Since it worked before, I don't think it's a cling bug. I think it could be
due to the semicolon check in xeus-cling.
Le ven. 20 avr. 2018 à 13:49, Sylvain Corlay<EMAIL_ADDRESS>a
écrit :

I think that this is related to #148
https://github.com/QuantStack/xeus-cling/issues/148.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QuantStack/xeus-cling/issues/150#issuecomment-383071794,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHKaFc5cGTtzYiJDyyjp_cedPYrOp_3uks5tqcsrgaJpZM4TdUjq
.


tortoise beacon: count late following vote as a vote for the next round

Description
We can't use a vote that arrives after we started a weak coin round. We still may use that vote in a future round.
See full discussion in https://github.com/spacemeshos/go-spacemesh/pull/2775#discussion_r706230080

conversation from slack research channel:
kimmy
@Tal would like to double-check with you on the current impl regarding tortoise beacon
votes that arrive after weak coin started for round N, we don't count them until round N+1
Q: is there any concern that we simply drop those late votes and not count them?

Tal
Yes, we have to count these votes. The security of the consensus algorithm relies on the
fact that honest parties can only disagree about messages received in the last x seconds
(where x is the network latency). If some honest parties discarded vote messages and
some didn't honest parties would disagree forever about these messages, and consensus
would no longer be guaranteed


sap.ui.core.mvc.ControllerExtension does not allow multiple extend calls

OpenUI5 version: latest
Browser/version (+device/version): CR latest
URL (minimal example if possible):
ce = sap.ui.core.mvc.ControllerExtension.extend('my.ns', {test: function(){console.error('bla')}})
ce.extend // undefined

compared to
b = sap.m.Button.extend('my.ns', {test: function(){console.error('foo')}})
b.extend // allows subclasses

What is the expected result?
ControllerExtension does not allow inheritance & reuse of ControllerExtensions is therefore limited e.g I can't have the same base extension in a lib and 2 specialized extensions, inheriting the base one's functionality in apps.

I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.

Hi @dfenerski,
I discussed this topic with the responsible colleagues and the behavior you're seeing is actually intentional.
Extending a ControllerExtension by class inheritance conflicts with the override mechanism provided by the extensions.
So basically, multiple inheritance layers are not supported as of now.
On a technical level, the second subclassing is prevented by making the extension class final: true.
The reasoning is that a ControllerExtension must only be "extended" via the overrides, where final flags and the privacy setting (public: true or public: false) can be correctly validated.
See also here for the override functionality:
https://ui5.sap.com/#/api/sap.ui.core.mvc.ControllerExtension%23methods/sap.ui.core.mvc.ControllerExtension.override
To be fair the documentation is rather lacking and there already are two internal backlog item for the team to enhance the documentation:

CPOUI5FRAMEWORK-117
CPOUI5FRAMEWORK-150

Hope that helps you out a bit.
Best regards,
Thorsten


Stackable {resolver,builder}_context for flexible builder/resolver selection.

Describe your problem
There are cases where we need to mixuse of a set of builder/resolver in the same context, e.g., when resolving a pd.DataFrame as a xgboost dataset ( see also #394 ), we need to

resolve numpy.ndarray in the index value into a numpy array
resolve numpy.ndarray in the columns payload into a xgboost DMatrix

Our current implementation for the builder/resolve yields a "overwrite" behaviour, which doesn't match with our expectation when resolving/building a complex data structure.
Additional context
The resolver/builder context needs to be

nested and stackable
support fast lookup for certain typename and certain python type
provide flexible syntax

/cc @andydiwenzhu Any comment on this proposal ?


Get integer max value instead of long for infinispan lifespan value.

Something is wrong when expirationPolicy.getTimeToLive() value equal<PHONE_NUMBER>854775807L like in TimeoutExpirationPolicy. If I get this policy, created ticket has bad expiryDate e.g.
{     ...,     "expiryTime" : Date(-9223370446792350779) }
so ticket is immediately removed from registry and authentication fail. I think proposed change fix this problem (similar trick in JwtTokenTicketBuilder:getTimeToLive)

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

LGTM. Could you also put together a test case that demonstrates the fix?


As a user, I'd like to be able to translate the contact roles and still have the soft credits rollups working

From https://powerofus.force.com/_ui/core/chatter/groups/GroupProfilePage?g=0F980000000CjRe&fId=0D58000001eDlUz

**lurch: attach W-007277

Tracking W-007277

This has been marked as "Never" internally.