Adjustment of confidence categories for combined confidence results according to HOLAS II

Confidence categories | Scores (as used in the eutrophication assessment of HOLAS II, should be the same for HOLAS III, adjust categories to these boundaries)
High | ≥ 75
Moderate | 50-74
Low | < 50
Confidence categories | Scores (as used in the biodiversity assessment of HOLAS II, originally proposed to be included in HEAT to harmonize assessments)
High | > 75
Moderate | 50-75
Low | < 50

Done

@birgitheyden is it correctly understood that HEAT should use High >= 75 while COMPEAT uses High > 75?

@HjalteParner, it should be used for both assessments of HEAT and COMPEAT to harmonize as much as possible. We have to accept then that it does not fit exactly with BEAT, but the higher priority should be the consistency with the eutrophication assessment and the use of the same class boundaries as done in HOLAS II.


PSFramework Quick-Wins

Heya, thanks again for the help on PSModuleDevelopment.
I must admit, I got a bit curious on about what you were using it for and found this rather interesting project here :)
Wow, you spent quite some time on all this 👍
That said, I've found a few things where I thought "Huh, a few pointers might make it more convenient for you", so ... while there's nothing wrong, really, I found a few things I wanted to show how PSFramework can make your life a bit easier :)
Type Conversion and Select-PSFObject

Example Location)

Select-PSFObject can also do inline type-conversion.
This ...
Select-PSFObject -TypeName D365FO.TOOLS.Azure.Blob "name", @{Name = "Size"; Expression = { [PSFSize]$_.Length } }, @{Name = "LastModified"; Expression = { [Datetime]::Parse($_.LastModified) } }

... could also be that:
Select-PSFObject -TypeName D365FO.TOOLS.Azure.Blob "name", 'Length as Size to PSFSize', @{Name = "LastModified"; Expression = { [Datetime]::Parse($_.LastModified) } }

And possibly even this
Select-PSFObject -TypeName D365FO.TOOLS.Azure.Blob "name", 'Length as Size to PSFSize', 'LastModified as DateTime'

More Awesome things Select-PSFObject can do

Enabling Stop-PSFFunction

Example Location

You are currently using Stop-PSFFunction mostly as an enhanced Write-Warning.
Not a problem, but here's what else it can do (and what I had in mind for it):
function Invoke-Division {
    [CmdletBinding()]
    param (
        [int]
        $Number,

        [int]
        $DivideBy,

        [switch]
        $EnableException
    )

    Write-PSFMessage -Level Host -Message "Starting Math"
    try { $Number / $DivideBy }
    catch {
        Stop-PSFFunction -Message "Math Failed" -ErrorRecord $_ -EnableException $EnableException
        return
    }
    Write-PSFMessage -Level Host -Message "Done with Math"
}

The fun part is now:
When a user actually does want a red error (e.g. for a try/catch), they can enable it on demand:
# Just the warning:
Invoke-Division -Number 2 -DivideBy 0

# Kill it with red fire
Invoke-Division -Number 2 -DivideBy 0 -EnableException

Documentation

You may also find this other command quite helpful when it comes to executing code that might fail.
Parameter Type for Paths

Example Location

Sometimes you want to accept paths as parameter.
Which then means we usually take a string and then later test, whether it exists, etc..
Example:
[string] $OutputPath = "c:\temp\d365fo.tools\WebConfigDecrypted"

With PSFramework, you can add path resolution (relative, wildcards, etc.) and validation to the module:
[PsfDirectory] $OutputPath = "c:\temp\d365fo.tools\WebConfigDecrypted"

Currently it is limited to allowing multiple paths (as if it were a string-array), the next version will have single-item variants.

Documentation

Hashtable Cloning made easy

Example Location

You are doing hashtable cloning to simplify splatting using Get-DeepClone:
$Params = Get-DeepClone $PSBoundParameters
if($Params.ContainsKey("ComputerName")){$null = $Params.Remove("ComputerName")}
if($Params.ContainsKey("OutputServiceDetailsOnly")){$null = $Params.Remove("OutputServiceDetailsOnly")}
if($Params.ContainsKey("OnlyStartTypeAutomatic")){$null = $Params.Remove("OnlyStartTypeAutomatic")}

PSFramework can help with that:
$Params = $PSBoundParameters | ConvertTo-PSFHashtable -ReferenceCommand Get-ServiceList

Not a PSFramework thing, but while I'm at it ... IsNullOrEmpty

Example Location

In pretty much all cases, you can replace [string]::IsNullorEmpty with -not:
if (([string]::IsNullOrEmpty($AccountId) -eq $true) -or
    ([string]::IsNullOrEmpty($Container)) -or
    (([string]::IsNullOrEmpty($AccessToken)) -and ([string]::IsNullOrEmpty($SAS)))) {
}

Could be:
if (
    (-not $AccountId) -or
    (-not $Container) -or
    (-not $AccessToken) -and (-not $SAS)
) {
}

Moved this to https://github.com/d365collaborative/d365fo.tools/issues/870


refactor(Data.Stream.*): unify files for Stream'

I override data structure of Stream' and override some definitions for Stream' by csimp in #7512 as follows:
noncomputable def map (f : α → β) (s : Stream' α) : Stream' β where
  get n := f (get s n)

def mapComputable (f : α → β) : Stream' α → Stream' β :=
  corec (f ∘ head) tail

@[csimp]
theorem map_eq_mapComputable : @map.{u, v} = @mapComputable.{u, v} :=
  sorry

To use csimp, I want to unify the definition file (Data.Stream.Defs) and the theory file (Data.Stream.Init).

This PR is integrated to #7512.


Test HTML generation for IList<T> properties, not just at top level

Tests such as HtmlGenerationTest.HtmlGenerationWebSite_GeneratesExpectedResults() cover HTML generation for enumerable and list top-level models. However, we lack end-to-end testing of enumerable or list properties. Add those.
See #5655 for an example CSHTML snippet.

1672820e4


Document how to post-process reports

Some users are already doing post-processing. It has been suggested the plugin could bake in support, somehow. This may happen eventually, but for now I think we can get a lot of mileage out of documenting how it may be done in a build script. Here's a simple example:
// app/build.gradle
afterEvaluate {
    def adviceTask = tasks.named("adviceFlavorDebug", com.autonomousapps.tasks.AdviceTask)
    def myTask = tasks.register("myTask") {
        def fileProperty = objects.fileProperty()
        fileProperty.set(adviceTask.flatMap { it.adviceReport })
        doLast {
            def adviceJson = fileProperty.get().asFile.text
            println("text: $adviceJson")
        }
    }
    adviceTask.configure {
        finalizedBy myTask
    }
}

This simple script configures one of the registered AdviceTasks in this project's app module:

The advice task should be finalized by a new, ad hoc task
The ad hoc task gets the output of the advice task wired in as a dependency, via the RegularFileProperty named adviceReport.
The ad hoc task prints out the text of the file. You can deserialize this into com.autonomousapps.advice.Advice model objects with whichever library you like (moshi, gson). Note to self: make deserializer utilities public.

Please note that these module-specific advice tasks will be automatically run if you execute ./gradlew :buildHealth.

If you're using Kotlin DSL, you can adjust the doLast {} block like so:
import com.autonomousapps.internal.utils.fromJsonSet

doLast {
    val advice = fileProperty.get().asFile.readText().fromJsonSet<com.autonomousapps.advice.Advice>()
    println(advice.joinToString("\n"))
}

that's using a util from the plugin to deserialize the advice. Something similar could be done with Groovy, using MoshiKt.fromJsonSet.... Still considering whether I want to move that all to a "public" package for a future release. Maybe when I shade moshi.

This has now landed on master in the readme.


How I run and host my personal website and blog

https://github.com/mersocarlin/mersocarlin.com/pull/182

https://github.com/mersocarlin/mersocarlin.com/pull/182


pass args via config file

Issue #, if available: N/A
Description of changes:

args can be passed as JSON via --config-file flag

config file will take precedence over args provided via CLI or as Env Vars

Updated userConfig accessibility from private to public to leverage JSON marshal + unmarshal
Updated tests and documentation
Fix bucket creation as e2e tests sometimes stall and fail due to 'bucket already created' error

Testing:

make clean && make test locally

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Generally, cli args have precedence over config files.
Usually this is the order:

CLI Args
ENV VARS
Config File


Callback is not working asynchronously

I have written a function to get all users from mongodatabase
router.get("/", handler: getAll)

private func getAll(request: RouterRequest, response: RouterResponse, next: () -> Void) {
        Log.info("outside")
        usersDBI.get() {
            users, error in
            do {
                guard error == nil else {
                    try response.status(.badRequest).send(json: JSON(["error":["code": 400, "message": error.debugDescription]])).end()
                    Log.error(error.debugDescription)
                    return
                }
                guard let users = users else {
                    try response.status(.internalServerError).end()
                    return
                }
                try response.status(.OK).send(json: JSON.parse(string: "\(users)")).end()
                Log.info("inside")
            } catch {
                Log.error("Communication error")
            }
        }
        Log.info("end")
    }

I have added log outside the callback, one inside and one in the end of the program
But I get the output like this
 INFO: getAll(request:response:next:) UsersController.swift line 36 - outside
 INFO: getAll(request:response:next:) UsersController.swift line 50 - inside
 INFO: getAll(request:response:next:) UsersController.swift line 55 - end

My Users Model looks like this
public func get(oncompletion: @escaping ([Document]?, Error?) -> Void ) {

        do {
            if !server.isConnected { try server.connect() }

            let cursor = try collection?.find()

            let users = Array(cursor!)

            oncompletion(users, nil)

        } catch {
            oncompletion(nil, error)

        }

    }

How can database calls work asynchronously like it works in Node.js

@sujaykakkad You said you are using MongoDB. Whose driver/sdk are you using? Are you sure it's asynchronous under the covers?

I am using MongoKitten as mongodb driver
I also tried redis call with SwiftRedis driver but still the call is not working asynchronously
public func get(key: String, oncompletion: @escaping (RedisString?, Error?) -> Void ) {
        // Outside redis db call
        Log.info("outside")

        self.redis.get(key){
            result, error in

            // Inside redis db call
            Log.info("inside")
            guard error == nil else {
                Log.error("Failed to return list of all document ID(s)")
                oncompletion(nil, error)
                return
            }

            oncompletion(result, nil)
        }

        //End code
        Log.info("end")
    }

The output is same
 INFO: getAll(request:response:next:) UsersController.swift line 36 - outside
 INFO: getAll(request:response:next:) UsersController.swift line 50 - inside
 INFO: getAll(request:response:next:) UsersController.swift line 55 - end

If you used Kitura-redis, then while the APIs are asynchronous looking, the implementation for the moment is synchronous. The idea at the time was that it is easier to implement a synchronous API than an asynchronous one. We made the API look asynchronous so that when we get to making it truly asynchronous, there won't be any API breakage.

The API signature might not change, but the semantics of the API would - hence making a change like this would be breaking from a user's point of view. Or have I missed something?

Ok so at this point it is synchronous but in the future the API signature will be same but inside implementation will change making it asynchronous so we don't have to change the code all over.
So how long when the asynchronous working api will be ready?

We don't have any immediate plans to work on this, as the APIs are currently functional, just synchronous.

We'll reopen if/when we come to work in this area.


[FLINK-26779][rest] OperationKey implements Serializable

These are used in some RPC calls for triggering savepoints and must be serializable in case the request was sent from a standby JM.

@flinkbot run azure


Coloring NavigationButtons in ActionBar [Android]

Hi,
I realise this might be a ridiculously simple issue (hence why I couldn't find it in the open or closed issues). But take this code below.
<script>
    import { isAndroid } from "tns-core-modules/platform";
</script>

<actionBar class="bar">
    {#if isAndroid}
        <navigationButton class="bar" android.systemIcon="ic_menu" android.color="#fff" />
    {:else}
        <actionItem class="bar" on:tap
            ios.systemIcon="9" ios.position="left"
            android.systemIcon="ic_menu" android.position="actionBar" />
    {/if}
    <stackLayout orientation="horizontal" class="top-bar">
        <label text="Some App" fontSize="24" color="#fff" verticalAlignment="center" />
    </stackLayout>
</actionBar>
<style>
    .bar {
        background-color: #0f3c37;
        color: white;
    }
    navigationButton {
        color: #ffffff;
    }
</style>

The navigationButton (which in this case is OS dependent, see this link here to how I came up with this answer), won't color white. I've tried various ways to do this (#fff, #ffffff, rgb(255, 255, 255) etc.) and various approaches (applying class to the button itself, to the actionBar etc.) nothing seems to work.
Can you advise if there's some clever trick to coloring the actionBar buttons, because the NativeScript instructions don't seem to work?

Closed because I think this is a NativeScript issue:
https://github.com/NativeScript/NativeScript/issues/6309


Update GENERATED_copts.bzl

aarch64-none-linux-gnu-gcc: error: unrecognized command-line option '-maes'
aarch64-none-linux-gnu-gcc: error: unrecognized command-line option '-msse4.1'
trying to fix the problem above

Please see
https://github.com/abseil/abseil-cpp/blob/ed37a45a374dce32f78ca65d873902364963dfc2/absl/copts/GENERATED_copts.bzl#L1-L5
I suggest filing an issue and providing complete reproduction instructions first.


Add smartypants remark plugin

https://github.com/silvenon/remark-smartypants
Smartypants automatically translates straight quotes ( " and ' ) into “curly” quote HTML entities

"Test 123". I'm testing.

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @andreancardona @francinelucca @jdharvey-ibm

Confirmed no sonarcloud alerts on the regex in https://github.com/silvenon/remark-smartypants/blob/master/index.js (what https://github.com/retextjs/retext-smartypants uses in the background) so we're good to move forward!


Why qx = 1.0 in Eagle2?

https://github.com/SafeAILab/EAGLE/blob/35854779f60db028ec646d945cacbdebdce490bb/eagle/model/utils.py#L387

Because top-k sampling is used in the draft phase, when a previous draft token is rejected, the sampling probability of the current draft token is 1.

Hi @Liyuhui-12 , Haha, I finally got it, thank you for your reply!


Control + R history commands does not scroll with the mouse as all other fzf things do including Control + T

[ ] I have read through the manual page (man fzf)
[X] I have the latest version of fzf
[X] I have searched through the existing issues

Info

OS

[ ] Linux
[X] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
While I do Control + R, I get a history search widget as expected. but the history commands does not scroll with the mouse as all other fzf things do including Control + T. Am I missing anything?
below does not scroll through with the mouse. I have to use up or down keys to scroll through

below control + T scrolls through with the mouse wheel

Works for me. Can you reproduce the problem with a minimal config?
mkdir -p /tmp/fzf-test
cp ~/.fzf.zsh /tmp/fzf-test/.zshrc
ZDOTDIR=/tmp/fzf-test zsh

It's still an issue for me. I don't remember if something has changed with my iterm2. but then I wonder how does it work correctly with Control + T
With minimal configuration you provided, it's still the same issue for me.

Here is a working snippet with Control + T with minimal configuration.

You seem to have configured the bindings with environment variables. Please post the output of
env | grep FZF

Please see below -

Are you using a non-official implementation of the key bindings? Because the screenshots show that you have non-default options enabled such as --inline-info and --prompt.

$ seq 10 | FZF_DEFAULT_OPTS= fzf --height 50% --reverse
>
  10/10
> 1
  2
  3
  4
  5
  6
  7
  8
  9
  10

vs.
$ seq 10 | FZF_DEFAULT_OPTS= fzf --height 50% --reverse --inline-info --prompt '~ '
~   < 10/10
> 1
  2
  3
  4
  5
  6
  7
  8
  9
  10

I have a non-default options. But even if i comment that out and use default options, scrolling is still an issue with control + R.
Below are my key bindings. This is the snippet from my ~/.fzf.zsh which sources keybindings from "/usr/local/opt/fzf/shell/key-bindings.zsh".
`
CTRL-R - Paste the selected command from history into the command line
fzf-history-widget() {
local selected num
#setopt localoptions noglobsubst noposixbuiltins pipefail no_aliases 2> /dev/null
setopt localoptions pipefail no_aliases 2> /dev/null
selected=( $(fc -rl 1 | perl -ne 'print if !$seen{($_ =~ s/^\s*[0-9]+\s+//r)}++' |
FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS --query=${(qqq)LBUFFER} +m" $(__fzfcmd)) )
local ret=$?
if [ -n "$selected" ]; then
num=$selected[1]
if [ -n "$num" ]; then
zle vi-fetch-history -n $num
fi
fi
zle reset-prompt
return $ret
}
zle     -N   fzf-history-widget
bindkey '^R' fzf-history-widget
} always {
eval $__fzf_key_bindings_options
'unset' '__fzf_key_bindings_options'
}
`

This also happens to me. I've tried several things such as --multi option for ctrl-r,  not using oh-my-zsh's fzf plugin but sourcing directly the functions in /usr/local/opt/fzf/shell, etc., but still no mouse scroll support on the ctrl-r history viewer.

I can reproduce the issue, but only if the history is large, if the input is small the problem does not appear.
mkdir -p /tmp/fzf-test
cp -f ~/.fzf.zsh /tmp/fzf-test/.zshrc
seq 100000 > /tmp/fzf-test/zsh_history
ZDOTDIR=/tmp/fzf-test HISTSIZE=100000 HISTFILE=/tmp/fzf-test/zsh_history zsh


@json blade directive support

Hi, I use a lot the @json blade directive, to send data to javascript files.
This directive is not supported in the vscode plugin "Blade syntax por php" version 0.1.11

Sorry for the long respond, didn't notice&have much time recently haha.
It should be supported tho, could you check again if you have other blade plugins conflicting?

I'll close this for now, but feel free to continue replying to this thread :).


[VkBridge] Add option to hide reposts

Disabled option (default): https://feed.eugenemolotov.ru/dev-vk/?action=display&bridge=Vk&u=a.n.shilov&hide_reposts=on&format=Html
Enabled option: https://feed.eugenemolotov.ru/dev-vk/?action=display&bridge=Vk&u=a.n.shilov&hide_reposts=on&format=Html (only one non-reposted message)

Thanks for the PR ! And thanks for giving a link every time so we can quickly check the result ! On a side note, I noticed that the titles of non-reposts were all "untitled", is that supposed to be that way ?

Yep. getTitle is responsible for that. Perhaps, I should rewrite logic of this function.


Windows installation dont work

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

Hello, I wanted to also include that this issue is happening with Linux builds with the bin/youtube-dl contents having the HTML that @Reegzy provided above.

The image is a black rectangle for me. Always post diagnostics as text and do actually WRITE DESCRIPTION HERE as asked.

[x] I've verified that I'm running youtube-dl version 2021.12.17

Review #30839 as asked to see why this is expected to fail and how to find and use a version that is more likely to work (but still fails at #32905).

That is interesting that the image is not loading for you.
I can however provide exactly what is contained in it, it happens to be the same error users see if they navigate to the initial download location from the installation instructions. This link Shows the following HTML (This is what is pictured above):

Access denied

  Due to a ruling of the Hamburg Regional Court, access to this website is blocked.

Zugriff gesperrt

  Aufgrund eines Urteils des Landgerichts Hamburg ist der Zugriff auf diese Website gesperrt.

This also is the same text that linux users get when examining the bin file (Presumably because the download goes to that link which only has this HTML available to download) So when trying to execute, at least from a Linux perspective, all we see is the Header tag for Access Denied.

So in fact you didn't get to running 2021.12.17, but the resolution of your duplicate issue is clearly explained here

Review #30839 as asked ...


Cursorline option to set visual selection color

I cant find an option to set the color to be used for visual selections.

Is the a way to set the color for visual selection, I can change the highlight group, but it would be nice to still be able to use the cursorline settings.
I think it would be better to have a option to set the bg color in cursorline which would then be used in the blend.
Instead of having a theme option.
If there is not something like that implemented and you are interested, I could make a pr for it?

heres a commit for it on my alts fork: https://github.com/5-pebbles/nordic.nvim/commit/6eca1004874050740731233d5bb22ba4e0911086

I did not mean to click that button....

Thanks for the commit link!
Would you be keen to make a PR?
Just a tip, if you make PR, please only include the changes you intend to make.  I see you made a bunch of smaller changes in the linked commit :)

Unfortunately I think those are need for it to work, I could hardcode the color, in the defaults which would substantially cut back on changes.
But if I don't, I need to move all option related changes, to a function (extend_colors) or I get a circular import.

That pull request uses a hardcoded value, I will add use of the palette for default options in a different one.


favicon is not working?

I added a favicon.ico file into static folder, it has no effect at all

In case anyone else has this issue, I struggled with the same problem for a while.  It turned out my browser (Edge) caches favicons really aggressively; using an inprivate/incognito window is not enough to clear the favicon cache.  I can only check if my favicon is updating by opening my site in an incognito window in a browser I almost never use (Chrome for me).


[kong] schedule.lua:172 [job prefetch]Redis bgsave failed. Error: ERR unknown command 'bgsave'

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
3.5.0
Current Behavior
We are running the kong on a EKS managed cluster. We are using the AWS elasticache serverless as REDIS. This is working pretty well, but we are getting the error message:
[kong] schedule.lua:172 [job prefetch]Redis bgsave failed. Error: ERR unknown command 'bgsave'
every 10 minutes.
Expected Behavior
We need to get rid of this error message for our monitoring an alerting.
I hope there is an enviroment variable to disable the scheduler
Steps To Reproduce
in every enviroment every 10 minutes, in the logs the same message
[kong] schedule.lua:172 [job prefetch]Redis bgsave failed. Error: ERR unknown command 'bgsave'
Anything else?
No response

Hi @ticteam. bgsave is not supported in the library that kong uses (see here).
Also, I can't find the source of the file that raises the error. Is schedule.lua a custom file by any chance?

thank you for your invest. this message is not produced by kong. your answer in enough for my understanding. now I can get to the right team.
have a nice day.


Solution Imp - GO LIVE & Post LIVE Review

9/29/21 - 2.418 results from 5/25/21 thru 9/28/21 were submitted to LA-DOH.  Everything looks good so far.

Working with Starla to make sure the file names are unique to help prevent duplicates results.  When we get the resolved.  We'll be ready to hand-off daily operations to GUC.  In the meantime, I'll continue to manually send results and monitor the data quality.


Merge few csv rows on some condition

I have few rows which have related information and that all rows needs to be merged into single json object
Example CSV:
Id, name, business, location
1, praveen, electronics, india
2, rajesh, electronics, india,
3, praveen, electronics, Japan
4, praveen, motors, Japan
Condition:
if name and business is same then merge those rows into single object
Output:
[{
"id" : [1, 3],
"name" : "praveen",
"business" : "electronics",
"location" : ["india", "Japan"]
},{
"id" : [4],
"name": "praveen",
"business": "motors",
"location" : ["japan"]
},
{
"id" : [2],
"name" : "rajesh",
"business" : "electronics",
"location" : ["india"]
}]
Any simple steps to achieve this instead of writing large for loop to compare object.

Nope. you will need to write a custom script for it in .subscribe function. However loop is not really needed. Instead you can use hashmap and use name/business as key.

I found solution to my problem.
Thanks @Keyang


Use pyproject.toml for setup/build

Equivalent of https://github.com/cancervariants/gene-normalization/pull/279

closed in #161


Improve docs.

Add a contributing guide for newcomers, and remove references to pygmentize in the development docs. During development, there is no pygmentize.

New commit seems to be the same as the old?

Indeed, because I forgot to add the changed files :)

Nice!


Warning prevents field-level validation after updating to 7.0.3

Are you submitting a bug report or a feature request?
Bug
What is the current behavior?
Here is the form with just one field which has validate and warn props. In 6.8.0 if you focus input and then blur it, validation triggers and Required message displayed. But in 7.0.3  version nothing happens. Also try to input one letter and result will be the same (nothing happens, but warning should be displayed).
https://codesandbox.io/s/4027jpj2nx
What is the expected behavior?

Required is displayed when input is blured.
Warning is displayed when you start typing something in input

Sandbox Links
7.0.3 (has bug): https://codesandbox.io/s/4027jpj2nx
6.8.0 (worked as expected): https://codesandbox.io/s/oxryy81n99
What's your environment?
redux-form 7.0.3
Ubuntu 16.04, Google Chrome
node v.8.1.3
Other information

Refers to this #3288


imx_gpio: use small lock in arch/arm/src/imx6/imx_gpio.c

Summary
imx_gpio: use small lock in arch/arm/src/imx6/imx_gpio.c
reason:
We would like to replace the big lock with a small lock.
Impact
imx_gpio
Testing
ci

[Experimental Bot, please feedback here]
No, this PR does not fully meet the NuttX requirements as described.  The provided information is insufficient in several areas. Here's a breakdown:

Summary: While the "what" is mentioned (replacing a big lock with a small lock), the "why" and "how" are lacking detail.  Why is this change necessary? What problem does the big lock cause? How does the small lock implementation differ and ensure the same functionality? What specific functions within imx_gpio.c are modified?  Issue references are missing.

Impact: The impact section is extremely vague. Simply stating "imx_gpio" doesn't explain the consequences of this change.  All the "NO/YES" questions need to be answered explicitly with explanations where relevant.  For example, even if the answer to "Impact on user" is NO, it should still explicitly say "NO".  Does this change affect any specific IMX6 boards? Does it impact performance?

Testing: "ci" is not sufficient testing information.  Provide details about the build host (OS, compiler version, etc.) and the target platform (specific board, configuration).  The "Testing logs before change" and "Testing logs after change" sections are empty.  Actual logs demonstrating the issue before the change and the corrected behavior after the change are crucial.  What tests were run?

In short, the PR needs significantly more detail to meet the NuttX requirements.  It needs to clearly articulate the motivation for the change, the technical implementation details, and provide evidence of testing that demonstrates the fix or improvement.


Update WalletConnect eth_RequestAccounts flow along with update WC deps and add new optional params

Description
Update WalletConnect eth_RequestAccounts flow as there was an issue with creating the connect listener after the connect() method was called
Update WC deps:
"@walletconnect/ethereum-provider": "2.4.10" -> "2.5.4"

Add new optional params qrModalOptions?: Web3ModalConfig exposed with the new WC dep:
type WalletConnectOptions = {
  bridge?: string // default = 'https://bridge.walletconnect.org'
  qrcodeModalOptions?: {
    mobileLinks: string[] // set the order and list of mobile linking wallets
  }
  connectFirstChainId?: boolean // if true, connects to the first network chain provided
  /**
   * Optional function to handle WalletConnect URI when it becomes available
   */
  handleUri?: (uri: string) => Promise<unknown>
} & (
  | {
      /**
       * Defaults to version: 1 - this behavior will be deprecated after the WalletConnect v1 sunset
       */
      version?: 1
    }
  | {
      /**
       * Project ID associated with [WalletConnect account](https://cloud.walletconnect.com)
       */
      projectId: string

      /**
       * Defaults to version: 1 - this behavior will be deprecated after the WalletConnect v1 sunset
       */
      version: 2
      /**
       * List of Required Chain(s) ID for wallets to support in number format (integer or hex)
       * Defaults to [1] - Ethereum
       * The chains defined within the web3-onboard config will define the
       * optional chains for the WalletConnect module
       */
      requiredChains?: number[] | undefined
      /**
       * `undefined` by default, see https://docs.walletconnect.com/2.0/web3modal/options
       */
      qrModalOptions?: Web3ModalConfig
    }
)

Fixes #1608
Checklist

[ ] Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
[ ] Check the box that allows repo maintainers to update this PR
[ ] Test locally to make sure this feature/fix works
[ ] Run yarn check-all to confirm there are not any associated errors
[ ] Confirm this PR passes Circle CI checks
[ ] Add or update relevant information in the documentation

When trying to connect an infinity wallet via walletconnect on the demo- I get the following errors in the console:
Is there another way I can test this update?
@leightkt
Not all wallets(in fact not very many) support walletconnect v2 fully. You can try Trust Wallet mobile or use the WC teams recommended testing tool: https://react-web3wallet.vercel.app/walletconnect

@leightkt for a more complete list of larger wallets that do and dont support walletconnect v2 checkout - https://medium.com/walletconnect/weve-reset-the-clock-on-the-walletconnect-v1-0-shutdown-now-scheduled-for-june-28-2023-ead2d953b595


Add events for October 2018

Events can be hackathon, start-up event or a conference

https://github.com/geekyd/Event-Buddy/pull/82


chore: bump dependencies version

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


In java client, what function is create timeseries after set schema template?

For example, I create a schema template:
`
Template template = new Template("treeTemplate_1", true);
    TemplateNode iNodeGPSX = new MeasurementNode("x", TSDataType.FLOAT, TSEncoding.RLE, CompressionType.SNAPPY);

    template.addToTemplate(iNodeGPSX);

    session.createSchemaTemplate(template);

`
then set it in a prefix:
session.setSchemaTemplate("treeTemplate_java", "root.java.unaligned");
the next step in shell, the next code is (reference)
create timeseries of schema template on root.java.unaligned
but in java client, I don't know what function like this?

(1) Yes, there is not a NoSQL interface for this SQL, we will add one later.
Except for Writing data, other NoSQL APIs are just the simple form of SQL(maybe can not cover all function of SQL).
So, if you find there is a SQL do not has a NoSQL API, you could execute it by one of the two interfaces:
executeQueryStatement(), executeNonQueryStatement()
In this case, the create timeseires of schema template is a nonQuery, so you could use the executeNonQueryStatement interface.
(2) For schema template, "create timeseries of schema template" is not needed, you could directly write data under the root.java.unaligned, we will create timeseries and use the template automatically.

Thanks for your advice! and PR #6180 and #6181 (for rel.13) may solve the problme. PTAL~


Support for HTTP/2

Hi,
Can you update ApnsPHP with HTTP/2 connexion ?
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html
Thanks !

+1 ! Would be very nice to have the newer, simpler system. Of course its a big task - perhaps requires a new repo altogether.

+1 ! thanks

I hope this helps, I haven't be able to test it yet (there is no support for HTTP/2 in Google App Engine yet)
<?php

/**
 * Apple Push Notification Service implementation
 *
 * @see https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH101-SW1
 */
class PushNotification_Service_APNS2 extends PushNotification_Service_Base
{
    const PAYLOAD_MAXIMUM_SIZE = 2048;
    const NOTIFICATION_TTL_MS = 5000;

    private static $_urls = [
        'https://api.development.push.apple.com:443',
        'https://api.push.apple.com:443',
    ];

    /**
     * @var GuzzleHttp\Client
     */
    private $_client;
    private $_notification;

    public function __construct($certificate, $passphrase = null, $guzzle_settings = [])
    {
        $this->id = 'apns';

        defined('CURL_HTTP_VERSION_2_0') || define('CURL_HTTP_VERSION_2_0', 3);

        $this->_client = new GuzzleHttp\Client(
            $guzzle_settings + [
                GuzzleHttp\RequestOptions::SYNCHRONOUS => true,
                GuzzleHttp\RequestOptions::CERT        => [$certificate, $passphrase],
                'curl'                                 => [
                    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_2_0,
                ],
            ]
        );
    }

    /**
     * @inheritdoc
     */
    public function prepare($notification)
    {
        $this->_notification = $notification;
    }

    /**
     * @inheritdoc
     */
    public function prepare_message($message, $data = [])
    {
        $this->prepare(
            array_merge_recursive(
                [
                    'aps' => [
                        'alert' => $message,
                        'sound' => 'default'
                    ]
                ],
                $data
            )
        );
    }

    /**
     * @inheritdoc
     */
    public function send($to, $extra = [])
    {
        $body = $this->_notification;

        if (!empty($extra)) {
            $body = $extra + $body;
        }

        if (is_array($to) || $to instanceof Traversable) {
            foreach ($to as $t) {
                $this->_send($t, $body);
            }
        } else {
            $this->_send($to, $body);
        }
    }

    private function _send($to, $body)
    {
        $url = self::$_urls[$this->sandbox ? 0 : 1];

        $response = $this->_client->post(
            $url . '/3/device/' . $this->_on(self::GET_TOKEN, $to, null, true),
            [

                GuzzleHttp\RequestOptions::JSON => $body,
            ]
        );

        $code = $response->getStatusCode();

        if ($code == 200) {
            return true;
        } elseif ($code == 410) {//The device token is no longer active for the topic.
            $this->_on(self::ERROR_INVALID_TOKEN, $to);
            return false;
        }

        //Generar error
        $statuses = [
            200 => 'Success',
            400 => 'Bad request',
            403 => 'There was an error with the certificate.',
            405 => 'The request used a bad :method value. Only POST requests are supported.',
            410 => 'The device token is no longer active for the topic.',
            413 => 'The notification payload was too large.',
            429 => 'The server received too many requests for the same device token.',
            500 => 'Internal server error',
            503 => 'The server is shutting down and unavailable.'
        ];

        if (isset($statuses[$code])) {
            $message = "APNS Error: " . $statuses[$code];
        } else {
            $message = 'Unknown APNS error';
        }

        throw new PushNotification_Exception(
            $message, [
                'to'       => $to,
                'body'     => $body,
                'response' => $response->getBody()->getContents(),
            ]
        );
    }
}

Please, checkout branch 'http2' for the first implementation of the HTTP/2 Protocol.


[Feature Request] logarithmic scale

Is it possibly to override something to get out line chart in logarithmic scale?
P.S. what branch is perspective now? why 2.0-dev is closed?

you can make a logarithmic scale for v2.0. It's actually not too hard. I prototyped one a while ago, but it never got fully complete.
V2.0 is still in alpha. @tannerlinsley is using it in production already. it should be fairly stable

@morskoyzmey this has been implemented in #1456


[tf1] add support for TFOU

fixes #4620
can't get the test to pass though - seems to be looking for the wrong json file? any idea what i am doing wrong?

video id in test is wrong.

doh! i stared at that for ages!
should all be fixed now.
thanks.

Thanks.


How to display full valueDisplay?

Hi all,
How to display complete title value after selected the item instead of 3dots in the last? Any help would be appreciated.

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


Fix for ACS and 3 new Journals

There is an error in the ACS list, messed up some of my entries so I fixed it.
physica status solidi (a);Phys. Status Solidi B
physica status solidi (b);Phys. Status Solidi C

Also added three new journals that I found in my database at the same time. Cross checked against https://cassi.cas.org/search.jsp.

LGTM


Backslash in a string

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Fixed. Just write a double backslash: \


Added volume to docker-compose-cassandra in order to support data per…

…sistency
Signed-off-by: nmarcetic<EMAIL_ADDRESS>

LGTM


rename a to alpha in background color option

fixed issue: https://github.com/lovell/sharp/issues/673

Coverage remained the same at 99.491% when pulling e14bb533b789edd4a04c6e853d79277f4fc920d1 on zilongshanren:fixExtendBackgroundColorDoc into 7e2eca3d1e58938740dbfc3a58498b54975511e1 on lovell:master.

Thank you / 谢谢


[FEATURE] IR Normalization on NAM plugin IR loader

The IR loader on NAM does not normalize the output level of IRs. This causes some IRs to be very loud and others to be very quiet.
Demo video (unlisted):
https://youtu.be/xqpA6RBFz1U
Link to IRs used in video:
https://drive.google.com/file/d/14k9mRz8k2wqyYeyQPGwVkb1BNKTinwev/view?usp=drive_link
It would be great if the IR loader could be enhanced to normalize the IR that is loaded into it.
These are example IRs of the exact same tone, exported with different volumes.
If you load these IRs into any popular external IR loader (NadIR, MConvolutionEZ, etc) they will all have the same output volume. If you load them into NAM, they have different output volumes.
Additional context
This would prove very useful for a project I am working on that would allow me to very easily integrate JZIR into NAM where I would have 2 IRs in series. The first IR which would load into NAM would be the "eq correction" IR which would standardize the EQ output of every NAM profile (this IR is very quiet right now which is primarily why Im asking for this enhancement) then the 2nd IR would be loaded in an external IR loader and that would have the band/song/album tone. You can download my example workflow for possible NAM integration for JZIR here:
https://drive.google.com/file/d/12uLZNhOp3l4m8ACo_3FPx94SJWYKNGij/view?usp=drive_link

If you load these IRs into any popular external IR loader (NadIR, MConvolutionEZ, etc) they will all have the same output volume.

I wasn't aware of this. Do you happen to know how the normalization is done? I can think of a few ways (e.g. RMS of the IR), but if there's something that is known to work well and make people happy I might as well do it that way.

... add this as a feature request to the plugin side of things rather than here -
https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues

Ah yep, what Dom said 😉  I'll probably lose it here by tomorrow 😅

Fixed. My bad!
https://github.com/sdatkinson/NeuralAmpModelerPlugin/issues/313


use Protver 7.0 if babbage supported

Build failed.
Needs comma after "ProtVer 7 0" and npcTestEnableDevelopmentHardForkEras definition needs to be removed ( or used via some dummy code ).

Closing this in favour of https://github.com/input-output-hk/cardano-node/pull/4030


fix(icons-angular): remove massive default entrypoint

closes #350
Essentially just removes a whole bunch of dead code. since we were already building the NgModules as part of the components, consumers just have to import { SomeIconSizeModule } from "@carbon/icons-angular/lib/some-icon/size" (Instead of importing the module directly from the index)

Thanks @cal-smith! 🎉 Will include in the next release 😄


Feature Request: generate the conda environment yaml based on uv.lock

Based on this issue: #6007  we have already support export the requirement.txt file based on uv.lock. is it possible to support export the conda environment yaml file as well?

It's probably possible. Can you share more about your use-case?

I have a remote server environment where I am required to use Anaconda for training the model. I want to manage and align the Anaconda environment with our build environment, and I think uv is a perfect tool for this. I'm curious about the long-term plan for uv in terms of supporting Anaconda. Exporting the Anaconda environment file would be sufficient for our needs. If you think this design aligns with your long-term plan, I am happy to help with its implementation.

I think it's okay to support if it works, but I'm not sure how well it will translate since Conda has, for example, different names for some packages. We can't actually perform a resolution with Conda.


Added function to get the alert list templates provided by Microsoft

Added the Get-AzSentinelAlertRuleTemplates function to get alert rules list templates provided by Microsoft. It can be useful to keep an automatic tracking of new templates deployed into Sentinel.

Summary of the Pull Request
...

References
...

PR Checklist
By submitting this pull request, I confirm the following:
please fill any appropriate checkboxes, e.g: [X]

[ ] Closes #xxx
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx
[x] I have made only one major change in my proposed changes.
[x] I have commented my proposed changes within the code.
[x] I have tested my proposed changes, and have included unit tests where possible.
[x] It is compatible with the MIT License
[x] I have squashed any insignificant commits. (git rebase)

Detailed Description of the Pull Request / Additional comments
New function called Get-AzSentinelAlertRuleTemplates has been developed in order to try to use when new alert rule templates can be deployed by microsoft into Sentinel to start using them.

Validation Steps Performed
Validation steps were the use of debugger to check step by step each ways in the code.
How does this PR accomplish the above
New Functionality added to try to deploy some tool for automatic detection when rew rules would be added into Sentinel alert rules template.
What documentation changes (if any) are needed to support this PR
Not needed any change to use the new functionality

You must follow the template instructions. Failure to do so will result in your pull request being closed.

hi @ramirezversion, I want to merge your pr and release it in the upcoming version. unfortunately something is going wrong from your branch. can you please resolve the conflicts and update your branch/repo.
Thanks, Pouyan

Hi @pkhabazi ,
I am pretty new with merge request functionality. What errors have you found? if possible try to contact me and i will solve them as soon as possible.
Thanks!

hi @ramirezversion in your last commit the white spacing of some files is changed (I think this is IDE related). Normally you don't commit this changes but in your case the files are proposed as "new" changes. This files are currently also updated in the development branch and this triggers the merge conflict. You can solve this by updating your fork and updating your branch or by creating a new fork and adding your changes there (this way you have the last changes in your fork). please let me know if you need more assist.
Another idea I had, is it maybe to add a "Kind" filter.
for example something like:
Get-AzSentinelAlertRuleTemplates -workspace "" -kind "scheduled"

I have created a new fork and updated only the new file. I am going to create a new PR with my new repo. Sorry for any inconvenience, I am so noob using git. After that I will add some filters to the function.


HTML

No description provided. If you have an issue, please reopen this issue with description. Thank you.


feat: display ai app pod's status using health

What does this PR do?

Use the health of the pod in addition to the general status to display more accurately the status of an AI App, in both Recipe details and in AI Apps list.
In the AI Apps list, removes the Status column displaying the latest task, and move it to the left with the icon indicating the status

Screenshot / video of UI
https://github.com/containers/podman-desktop-extension-ai-lab/assets/9973512/73681d3a-603c-4e4c-82f5-01bfc93a7880
What issues does this PR fix or reference?
Part of #265
How to test this PR?
Start a recipe and check the status is correct

I'm stuck on loading spinner

This is happening every time you start/restart an app, or is it something flaky?

I'm stuck on loading spinner

This is happening every time you start/restart an app, or is it something flaky?

Everytime

I'm stuck on loading spinner

This is happening every time you start/restart an app, or is it something flaky?

Everytime

Is it also happening in the Recipe page, in the AI App details?

Here is a full video.

I checkout latest

https://github.com/containers/podman-desktop-extension-ai-lab/assets/42176370/cc970bd7-a79a-4824-b6c8-b34db0f6dab1
The error in the log

Introduced by #715 an issue with health checks (see #742 (comment)) it should probably be better to fix it before merging this

OK, thanks, I'll work on this issue first

Introduced by #715 an issue with health checks (see #742 (comment)) it should probably be better to fix it before merging this

OK, thanks, I'll work on this issue first

Thanks you !! And sorry for the response delay ^^

Introduced by #715 an issue with health checks (see #742 (comment)) it should probably be better to fix it before merging this

OK, thanks, I'll work on this issue first

Thanks you !! And sorry for the response delay ^^

No problem, thanks for helping find the root cause of the issue.
This PR is now rebased with #746 merged


[msal-browser] Storage optimization

This PR improves getCache() and setCache() implementations of the msal-browser component by minimizing the references to the exact cache type and introducing helpers as needed.
Todo:

Remove type wherever it isn't needed
Pass/add UT as needed

This PR will be addressed with #2415. Please follow that PR instead.


Research suitable frontend framework/technology

What is the most suitable frontend?
what functional needs do I have?
what technical needs do I have?

For now I have chosen to go with MudBlazor.com, because with Blazor I can program my frontend with C#.


Introduced a fix for a hash key collision when using just query ID as…

… a key
Hi Phillip,
I faced the same problem as described in #8 and spent some time to fix it by changing the key from just query ID to a combination src port -> dest Port:query ID. We deployed this change in prod and it looks really good.
Could you please review my changes when you get a chance?
Regards,
Artyom

Thanks!  I worry a little about the perf impact of the use of strings for this PR.  Did you do any perf testing before and after the patch?  is there some other transform we could do that avoids the string conversions but still fixes the problem?

Thanks for a quick reply.
I was considering to stay in the uint32/int64 space, but decided to try and to first  go with a simple concatenation. The idea was to rely on a very efficient hashing function in Go itself rather than implementing/using any other algorithm.
I did a canary deployment on one of our servers and  was monitoring our performance metrics for a few hours. I didn't notice any performance degradation at all (or it was very insignificant).

Cool.  I'll run my benchmark suite and make sure it looks good before I merge.  Should have time this weekend

@artyomtkachenko I'm good with this.  Unfortunately I just merged in a change from another contributor that created some conflicts.  could you rebase and I'll merge?

Hi @Phillipmartin ,
My apologies for a long delay for this one. I have finally managed to find some time and  do a rebase. I also changed the key type from string to int64 + did some minor performance enchantments which reduced CPU usage by ~ 10%


No products generated, start/stop outside data takes

I'm trying to simulate L0 step 2 processing.
In this kind of processing, the CPF sets the start/stop times in the job order using the theoretic start/stop times of the slice to be processed, even if the slice is partial (i.e. the data take starts after slice theoretic start or stops before slice theoretic stop).
In the scenario being simulated, slice 2 have the following start/stop times:
[2017-03-02T06:07:21.530,2017-03-02T06:09:08.546]
but the data take starts at 2017-03-02T06:07:23.674 (i.e. partial slice).
I have executed test with the working directory and scenario configuration included in L0PFS2_slice2_WD_scenario.zip.
 Set metadata_source in output section.
2021-11-15T12:54:20.951170 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines to 314841
2021-11-15T12:54:20.951182 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines_corrupt to 0
2021-11-15T12:54:20.951191 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines_missing to 0
2021-11-15T12:54:20.951199 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set mission_phase to Interferometric
2021-11-15T12:54:20.951209 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite global_coverage_id from NA to 01
2021-11-15T12:54:20.951217 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite major_cycle_id from 1 to 02
2021-11-15T12:54:20.951224 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite repeat_cycle_id from __ to 03
2021-11-15T12:54:20.951231 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite track_nr from 0 to 1
2021-11-15T12:54:20.951239 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set slice_frame_nr to 2
2021-11-15T12:54:20.951249 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite begin_end_position_from_toi from False to True
2021-11-15T12:54:20.951598 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Output directory is /opt/pnode/data/WD-L0PFS2-7217244-02/outputs
2021-11-15T12:54:20.951620 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Use begin_position as input for validity start time
2021-11-15T12:54:20.951629 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Use end_position as input for validity stop time
2021-11-15T12:54:20.951694 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [I] No products generated, start/stop outside data takes?
2021-11-15T12:54:20.951955 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [I] Cannot "merge" incomplete H or V slices, no data from input files available. Set metadata_source in output section.
2021-11-15T12:54:20.951979 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines to 314841
2021-11-15T12:54:20.951990 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines_corrupt to 0
2021-11-15T12:54:20.951998 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set num_l0_lines_missing to 0
2021-11-15T12:54:20.952007 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set mission_phase to Interferometric
2021-11-15T12:54:20.952016 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite global_coverage_id from NA to 01
2021-11-15T12:54:20.952028 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite major_cycle_id from 1 to 02
2021-11-15T12:54:20.952042 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite repeat_cycle_id from __ to 03
2021-11-15T12:54:20.952057 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite track_nr from 0 to 1
2021-11-15T12:54:20.952072 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Set slice_frame_nr to 2
2021-11-15T12:54:20.952090 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Overwrite begin_end_position_from_toi from False to True
2021-11-15T12:54:20.952175 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Output directory is /opt/pnode/data/WD-L0PFS2-7217244-02/outputs
2021-11-15T12:54:20.952223 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Use begin_position as input for validity start time
2021-11-15T12:54:20.952234 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [D] Use end_position as input for validity stop time
2021-11-15T12:54:20.952299 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [I] No products generated, start/stop outside data takes?
2021-11-15T12:54:20.952317 node-name L0PFS2 01.00 L0PFS2 [0000007073]: [I] Task done, exit with code 0

As you can see, Procism logs [I] No products generated, start/stop outside data takes? and no products are generated.
To allow Procsim to generate products I have to update the start/stop time in the Job Order as follows:
<Request>
  <TOI>
    <Start>2017-03-02T06:07:23.674000</Start>
    <Stop>2017-03-02T06:09:08.545000</Stop>
  </TOI>
</Request>

I propose to change this behavior such that Procsim emits the warning:  [W] start/stop outside data takes?  (please note the changed logging level) and generates the output using the intersection (i.e. the overlap interval) between the TOI in the Job Order and the data take interval.
Do you agree?

Indeed, this was an oversight that has been fixed with PR #18. In the even that the data take start occurs in the middle of a slice, the product generation start time is simply shifted to the data take start time.

@mivermeu thank you, it works!


chore: set stable channel as default when using fvm config

Hi, thank you for creating this!
I made the default channel set "stable" when using the fvm config because the plugin selected the unexpected latest release.
For instance;
Flutter SDK version "3.22.0" has below versions:
3.22.0-stable
3.22.0-0.1.pre-beta
3.22.0-0.2.pre-beta
3.22.0-0.3.pre-beta

If the .fvmrc was this:
{
  "flutter": "3.22.0"
}

It will attemp to get "3.22.0-0.3.pre-beta"

Sorry for the late reply. Thanks for your contribution!


Debugger Object inspection

[ ] ability to expand the fields of an object in the variables view. It currently filters out fields starting with __ but it's quite verbose as you see for the sprite.

(It took me a while to realize that we do have 2 debuggers, which need to be merged eventually)

Humm.. we do right?

From: Michał Moskal<EMAIL_ADDRESS>Sent: Monday, April 23, 2018 12:49:19 PM
To: Microsoft/pxt
Cc: Peli de Halleux; Author
Subject: Re: [Microsoft/pxt] Debugger Object inspection (#4199)
@mmoskal approved this pull request.
LGTM
I guess later we will want to add a sim message to return an object with arbitrary ID when the user unfolds?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F4199%23pullrequestreview-114467318&data=02|01|jhalleux%40microsoft.com|b6a271c9036f42384dcb08d5a93a284a|72f988bf86f141af91ab2d7cd011db47|1|0|636600989608717702&sdata=7MTj1UMuoLqySTjXqy5H4YGuqOPC7G2j7aZmsFV9bfY%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4Kc5_085TejJcNJFHaYAPgcfLfxRUks5trgYPgaJpZM4TfvTr&data=02|01|jhalleux%40microsoft.com|b6a271c9036f42384dcb08d5a93a284a|72f988bf86f141af91ab2d7cd011db47|1|0|636600989608727706&sdata=BtytEo8XIW4R1VED%2BUhc77fn9YG01qXYnRsDioVJIY0%3D&reserved=0.

Maybe try creating a circular data structure in JS and see if it works (i.e., expands infinitely)

It should... lemme try.

From: Michał Moskal<EMAIL_ADDRESS>Sent: Monday, April 23, 2018 12:58:33 PM
To: Microsoft/pxt
Cc: Peli de Halleux; Author
Subject: Re: [Microsoft/pxt] Debugger Object inspection (#4199)
Maybe try creating a circular data structure in JS and see if it works (i.e., expands infinitely)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F4199%23issuecomment-383647282&data=02|01|jhalleux%40microsoft.com|520c5e0ea0194e38172d08d5a93b7300|72f988bf86f141af91ab2d7cd011db47|1|0|636600995158322245&sdata=zuWwjimQRcG1gL8kdgvsNVTL7GiKWtc2SHnpPvPrqKw%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KZ3LIVZalaANDLijsc-0ziSrtME3ks5trgg5gaJpZM4TfvTr&data=02|01|jhalleux%40microsoft.com|520c5e0ea0194e38172d08d5a93b7300|72f988bf86f141af91ab2d7cd011db47|1|0|636600995158332254&sdata=VnkZTgr%2BJ2kp8QJG8owkGSMKHMlUxdx2v0lsBVszjhY%3D&reserved=0.

Yeah agreed on the UI, could be good to have an expand icon near the code that can be expanded (kinda like a tree expand / collapse icon)

No effort work at ALL was done on the expand. Not even clear it is useful for blocks.

From: Sam El-Husseini<EMAIL_ADDRESS>Sent: Monday, April 23, 2018 4:03:32 PM
To: Microsoft/pxt
Cc: Peli de Halleux; Author
Subject: Re: [Microsoft/pxt] Debugger Object inspection (#4199)
@samelhusseini approved this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F4199%23pullrequestreview-114534700&data=02|01|jhalleux%40microsoft.com|3f1cca728783486acb6508d5a9554a93|72f988bf86f141af91ab2d7cd011db47|1|0|636601106148373822&sdata=MeXX5d4jYW1DWz%2FxVutemd7erVBYRUbqU3IvCZimLto%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KS_bOCjQxHCXqd9ffigVTho9SHoTks5trjOTgaJpZM4TfvTr&data=02|01|jhalleux%40microsoft.com|3f1cca728783486acb6508d5a9554a93|72f988bf86f141af91ab2d7cd011db47|1|0|636601106148383827&sdata=%2BJVXJdwLPpNGCUt2SL565Mtahn7dGoZhdd3zuEyrUWg%3D&reserved=0.


Pandas Update Compatibility

Instead of directly appending a dictionary to the DataFrame, we create a new DataFrame called new_row that contains the data we want to add
We use pd.concat() to concatenate the original DataFrame (frame) with the new DataFrame (new_row). The ignore_index=True parameter ensures that the index is reset after concatenation

Hello, thank you for the contribution :)
I ran the CI and it was failing but this wasn't due to your change. It's just because it's been a while since that CI has run and there have been some changes in the ecosystem which I detailed and fixed in https://github.com/kiran94/dgraphpandas/pull/29 and https://github.com/kiran94/dgraphpandas/pull/30
That is all fixed now, the main branch CI is passing and the latest release from my changes were published https://github.com/kiran94/dgraphpandas/actions/runs/12389882253/job/34583796574. Could you update your fork with the latest changes so we can try again?
Could you also update the version in this PR, you can find it here: https://github.com/kiran94/dgraphpandas/blob/7189ada53bbb92ba65f23919546bc0ea8b3afe97/dgraphpandas/init.py#L2
Also if you don't mind, I usually have the PR titles and subsequent squashed commits following conventional commit. You can see some examples here https://github.com/kiran94/dgraphpandas/pulls?q=is%3Apr+is%3Aclosed

made the update to my fork it should be ready  for the pull now

made the update to my fork it should be ready for the pull now

Thanks! CI is passing now

Could you also update the version in this PR, you can find it here:

Could you also bump the version please :)

Is everything okay now

Is everything okay now

Once you update the version as I mentioned in https://github.com/kiran94/dgraphpandas/pull/28#issuecomment-2550835075 on this branch then I am happy to merge
The version needs to be bumped so when it's deployed to pypi, it's deployed as a new version. For this change 0.1.5 should be good

Still new to this whole github thing.Thanks for the headsup.

Still new to this whole github thing.Thanks for the headsup.

No problem :) thanks again for the contribution
Your change has been published as v0.1.5:

https://github.com/kiran94/dgraphpandas/releases/tag/v0.1.5
https://github.com/kiran94/dgraphpandas/actions/runs/12392105164/job/34590565198
https://pypi.org/project/dgraphpandas/#history


Post to Discord Missing

The Post to Discord Button is missing.
for a few days everything was fine now its missing

This issue can be closed.
See https://github.com/aussig/BGS-Tally/pull/33

Sorry I've only just seen this.
As @Sakurax64 mentions in his patch, the issue is caused because Discord have changed their webhook URLs from https://discord.com/api/webhooks/xxxxx to https://discordapp.com/api/webhooks/.
The plugin does a rudimentary check on the URL just to ensure it looks like a correct Discord webhook and this check is now failing for the new style URLs.
I actually fixed this in commit 73e9aa93f1db30ec05f42e6ab4e8be5c424dd70f but I like @Sakurax64 's fix better as it accounts for more URL formats, so I'll merge that change in.


PLT-355: Add hlint to CI

Currently only one hint is enabled: Unused LANGUAGE pragma, and it only checks against PlutusCore.* modules, because we have too many unused pragmas to fix in one PR.

I think normally we would set this up as a test that runs in Nix, but I see that the action has some nice effects in terms of how it presents the results, so I guess I'm fine with it.
Did you want to tell it to sometimes fail, so that it actually acts as a gate?
Also, you should update CONTRIBUTING.

Did you want to tell it to sometimes fail, so that it actually acts as a gate?

It fails if there are one or more hints. I don't know whether failure blocks merging or not; I don't have access to the merge settings of this repo.

Oh I see. Why not use https://github.com/rwe/actions-hlint-run? That puts the hints in as github annotations, and has a configurable fail-on field.

Why not use https://github.com/rwe/actions-hlint-run?

It doesn't seem to support specifying the --hint argument, which means it would use ./.hlint.yaml :unamused:

You can do that by setting hlint-bin, see e.g. https://github.com/haskell/haskell-language-server/blob/master/.github/workflows/hlint.yml

You can do that by setting hlint-bin

Oh, good to know!


Reduce DB contention.

Attempt to reduce contention at the DB.

Avoid tag processing if the tag list hasn't changed.
Move tag changes to their own transaction.

@karmakaze https://app.asana.com/0/240948654418221/260617946270295

:+1: pending semaphore


Wrap Fit into Dedicated Object

Currently the fit and the confidence interval are returned separately by curve fit, while the x-axis used for resampling is not returned at all. Instead all of these variables should be wrapped in a fit object and returned as thus. This provides multiple advantages:

Ease of use, as only as single object has to be handled
Error Scenarios are reduced as confidence resolution can be handled by the object
Functions required by plot_fit can be saved to this object
Access to these variables is maintained
The scope of returned variables can be expanded in the future while preserving backward compatibility

However this also carries some disadvantages:

The function of the script and the returned parameters are obscured
Implementing this change would break early adopters programs

Thus I would like to delay this change until after 1.0.0 and combine it with extensive documentation and manuals on how to access and modify the wrapped data.
Example on how this would affect use:
Current
params, cov, lower_conf, upper_conf = curve_fit(model, x, y, yerror=dy, confidence_resolution = 100)
fig, ax = plot_fit(x, y, model, params, lower_conf, upper_conf, xerror=dx, yerror=dy, confidence_resolution = 100)
plt.show()

New
fit = curve_fit(model, x, y, yerror=dy, confidence_resolution = 100)
fig, ax = plot_fit(x, y, fit, xerror=dx, yerror=dy)
plt.show()

Change completed with a845c760628ef8b49c48496048a84e2a2ca1a434
Tests are passing
When requiring the old scheme the Version 1.0.1 can be used. See:
#17 Or download here: https://pypi.org/project/fitting-toolkit/1.0.1/


Update current App.properties

Describe the solution you'd like
The app.properties need to be updated with the new codacy badge

@abiodunaremu  can you please explain better or leave a link that can guide me with the steps

Done


Add a "Development" guide

The guide should cover pull request and testing expectations, coding style (re: this note), and any platform-specific requirements.

I covered the PR part of this issue in https://github.com/apple/swift-argument-parser/pull/53 . What remains is:

Testing expectation
Coding style

Did I miss anything now?
Regarding Coding style: in Swift Crypto we have a sanity script (relevant lines), being run by CI, which invokes swiftformat (nicklockwood/SwiftFormat) - with this config, and reports failure if the output of swiftformat does not equal the committed code - effectively ensuring proper formating. At least that is one part of coding style that might be automated.

@natecook1000 What do you think about swiftformat and/or possibly swiftlint for code style?
I can't remember why Nick Lookwoods (excellent repo) was used instead of Apple's own swiftformat in swift-crypto. Maybe @tomerd or Lukasa knows?

Still working on getting CI set up for this project — once that's in place we can look at adding steps to it. I'd love to have a linter take care of this, but we'll need a first round to get to a state where we could use it going forward. Do you want to see if a lenient set of rules could get us passing without too much churn?


feat: multiple delta

This is used by mathport. delta foo, bar is like delta foo but it simultaneously unfolds any of the declarations in the list in the chosen targets.

Do we have a top-level comma-separate list anywhere else in the tactic syntax? Why not space-separated?

I added docstrings and used space-separated lists for unfold / delta tactic and conv.

It's also used in unfold. We could go back to space separated though.

Oh wow, that is unexpected. Don't we need colGt now though?
@leodemoura Do you agree that we should usually separate identifiers by spaces in tactics?

oops yes, it needs colGt

@leodemoura Do you agree that we should usually separate identifiers by spaces in tactics?

Yes, we have been using this convention in other tactics.
Happy to talk about whether we should change this convention in the next dev meeting.


Change ReactiveCocoa subspec to ReactiveCocoa/Core

The ReactiveCocoa subspec does only depends on ReactiveCocoa/Core. ReactiveCocoa's default subspec is the larger ReactiveCocoa/UI

That's a really great point, thanks!
PR looks good – would you mind adding an entry to the changelog?

It appears the ReactiveCocoa/Core subspec is broken when using frameworks. It's missing a header referenced in the bridging header.

Interesting! I'll take a look later. It could be just that ReactiveCocoa was not intended to be used standalone, or that I didn't anticipate this need when I made the podspec.

Yeah, looks like ReactiveCocoa's Core subspec is not intended to be used standalone. CocoaPods bundles in whatever UI stuff you need depending on your platform. Could be that this is a use case the ReactiveCocoa developers did intend, but they don't contribute to the podspec.
Thanks again for the contribution!


Sentinel Comics RPG - Roll Templates

Added 2 Roll Templates, and stylized the Default Template. Also added a background texture to the tab buttons, so players can see which is selected.
Changes / Comments
This update is almost entirely aesthetics. Which are bringing this Sheet and it's Roll Templates more in line with the art of SCRPG.
One new button was added (it required a roll template w/ 3 Columns), and 3 checkboxes to determine Environment Status.
No attributes were removed, so no player data will be lost.

Character Sheet Info Roll20 Internal Use only.


Consolidate existing socket system calls into private Socket type

Motivation
This PR introduces sys::Socket that is internal to Mio and consolidates all the existing socket system calls into a single type.
There has been a lot of discussion about how Mio should provide additional methods for setting certain socket options. Currently, it is left up to the user to pull in an additional dependency (socket2-rs/net2) and use the provided As/From/Into socket impls.
There are however various system calls for working with sockets in Mio that are specific to setting non-blocking behavior and using as few system calls as possible. They include functionality that creat sockets to be non-blocking by default, using accept4 on targets that provide it, and relying on inheriting certain socket statuses where possible.
Solution
Socket is a RawFd/RawSocket wrapper type that provides the necessary methods for consolidating all the sys::target::net socket sytem calls into a single type.
Since Socket works at the target's socket layer, any future changes related to additional functionality or reported bugs can take place in these methods and apply to all the types that use them.
Additionally, Socket provides the necessary building block for providing a public net socket types. This will allow users of Mio to set additional socket options without worrying about separate system calls for setting non-blocking mode, and avoid pulling in additional dependencies. An example of the public socket type can be found #1259.
Signed-off-by: Kevin Leimkuhler<EMAIL_ADDRESS>

Closing due to the conversation above.


Questions about the principal point of the croped image

In "kitti_loader.py" file, the function load_calib() changes the principal point of image by the code
"""
K[0, 2] = K[0, 2] - 13;  # from width = 1242 to 1216, with a 13-pixel cut on both sides
K[1, 2] = K[1, 2] - 11.5;   # from width = 375 to 352, with a 11.5-pixel cut on both sides
"""
but  I find the data is croped from the bottom. In this case,  I think the change of the principal point should be calculated as
"""
K[0, 2] = K[0, 2] - 13;  # from width = 1242 to 1216, with a 13-pixel cut on both sides
K[1, 2] = K[1, 2] - 23;   # from width = 375 to 352, with a 23-pixel cut from the bottom
"""

Thanks for your interest and question! I think it is a small bug left over from Fangchang Ma's code and you could correct it as you like.


CORS error or Content type error on Docker image

What is the issue?
Hello :)
I uploaded a written judgment pdf file, which is written on Korean, and asked question.
Has this defendant been punished?
1. What do you think about adding CORS middleware to the backend server?
There is CORS error when I click submit button at the bottom right on UI.
All I did to run cohere toolkit is below command:
docker run -e COHERE_API_KEY='>>MY_API_KEY<<' -p 8000:8000 -p 4000:4000 ghcr.io/cohere-ai/cohere-toolkit:latest
There is an option to turn off CORS as below, but wouldn't adding CORS-related middleware be a more convenient option for users?
2. After disabled CORS on Chrome, but Another error occurred
I started chrome  --disable-web-security mode with below command:
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
Then there is another error on browser:
Expected content-type to be text/event-stream, Actual: text/plain; charset=utf-8
And the backend log is:
2024-05-07 09:25:22 INFO:     <IP_ADDRESS>:49940 - "POST /conversations/upload_file HTTP/1.1" 200 OK
2024-05-07 09:25:42 2024-05-07 00:25:42,900 - backend.services.logger - INFO - Using deployment CohereDeployment
2024-05-07 09:25:43 2024-05-07 00:25:43,370 - httpx - INFO - HTTP Request: POST https://api.cohere.ai/v1/chat "HTTP/1.1 200 OK"
2024-05-07 09:25:43 2024-05-07 00:25:43,411 - backend.services.logger - INFO - Search queries generated: []
2024-05-07 09:25:43 2024-05-07 00:25:43,411 - backend.services.logger - INFO - Using retrievers: ['LangChainVectorDBRetriever']
2024-05-07 09:25:48 2024-05-07 00:25:48,159 - chromadb.telemetry.product.posthog - INFO - Anonymized telemetry enabled. See                     https://docs.trychroma.com/telemetry for more information.
2024-05-07 09:25:49 2024-05-07 00:25:49,234 - langchain_cohere.utils - WARNING - Retrying langchain_cohere.embeddings.CohereEmbeddings.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised IndexError: list index out of range.
2024-05-07 09:25:53 2024-05-07 00:25:53,238 - langchain_cohere.utils - WARNING - Retrying langchain_cohere.embeddings.CohereEmbeddings.embed_with_retry.<locals>._embed_with_retry in 4.0 seconds as it raised IndexError: list index out of range.
2024-05-07 09:25:57 INFO:     <IP_ADDRESS>:57308 - "POST /chat-stream HTTP/1.1" 500 Internal Server Error
2024-05-07 09:25:57 ERROR:    Exception in ASGI application
2024-05-07 09:25:57 Traceback (most recent call last):
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
2024-05-07 09:25:57     result = await app(  # type: ignore[func-returns-value]
2024-05-07 09:25:57              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
2024-05-07 09:25:57     return await self.app(scope, receive, send)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
2024-05-07 09:25:57     await super().__call__(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/applications.py", line 123, in __call__
2024-05-07 09:25:57     await self.middleware_stack(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__
2024-05-07 09:25:57     raise exc
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__
2024-05-07 09:25:57     await self.app(scope, receive, _send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
2024-05-07 09:25:57     await self.app(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
2024-05-07 09:25:57     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-05-07 09:25:57     raise exc
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-05-07 09:25:57     await app(scope, receive, sender)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/routing.py", line 758, in __call__
2024-05-07 09:25:57     await self.middleware_stack(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/routing.py", line 778, in app
2024-05-07 09:25:57     await route.handle(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/routing.py", line 299, in handle
2024-05-07 09:25:57     await self.app(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/routing.py", line 79, in app
2024-05-07 09:25:57     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-05-07 09:25:57     raise exc
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-05-07 09:25:57     await app(scope, receive, sender)
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/starlette/routing.py", line 74, in app
2024-05-07 09:25:57     response = await func(request)
2024-05-07 09:25:57                ^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 299, in app
2024-05-07 09:25:57     raise e
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 294, in app
2024-05-07 09:25:57     raw_response = await run_endpoint_function(
2024-05-07 09:25:57                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
2024-05-07 09:25:57     return await dependant.call(**values)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/src/backend/routers/chat.py", line 97, in chat_stream
2024-05-07 09:25:57     CustomChat().chat(
2024-05-07 09:25:57   File "/workspace/src/backend/chat/custom/custom.py", line 90, in chat
2024-05-07 09:25:57     retriever.retrieve_documents(query)
2024-05-07 09:25:57   File "/workspace/src/backend/tools/retrieval/lang_chain.py", line 72, in retrieve_documents
2024-05-07 09:25:57     db = Chroma.from_documents(documents=pages, embedding=cohere_embeddings)
2024-05-07 09:25:57          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 778, in from_documents
2024-05-07 09:25:57     return cls.from_texts(
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 736, in from_texts
2024-05-07 09:25:57     chroma_collection.add_texts(
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_community/vectorstores/chroma.py", line 275, in add_texts
2024-05-07 09:25:57     embeddings = self._embedding_function.embed_documents(texts)
2024-05-07 09:25:57                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_cohere/embeddings.py", line 151, in embed_documents
2024-05-07 09:25:57     return self.embed(texts, input_type="search_document")
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_cohere/embeddings.py", line 118, in embed
2024-05-07 09:25:57     embeddings = self.embed_with_retry(
2024-05-07 09:25:57                  ^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_cohere/embeddings.py", line 100, in embed_with_retry
2024-05-07 09:25:57     return _embed_with_retry(**kwargs)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f
2024-05-07 09:25:57     return self(f, *args, **kw)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__
2024-05-07 09:25:57     do = self.iter(retry_state=retry_state)
2024-05-07 09:25:57          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 325, in iter
2024-05-07 09:25:57     raise retry_exc.reraise()
2024-05-07 09:25:57           ^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 158, in reraise
2024-05-07 09:25:57     raise self.last_attempt.result()
2024-05-07 09:25:57           ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 449, in result
2024-05-07 09:25:57     return self.__get_result()
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/usr/local/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
2024-05-07 09:25:57     raise self._exception
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__
2024-05-07 09:25:57     result = fn(*args, **kwargs)
2024-05-07 09:25:57              ^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/langchain_cohere/embeddings.py", line 98, in _embed_with_retry
2024-05-07 09:25:57     return self.client.embed(**kwargs)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/cohere/client.py", line 153, in embed
2024-05-07 09:25:57     return merge_embed_responses(responses)
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/cohere/utils.py", line 187, in merge_embed_responses
2024-05-07 09:25:57     meta = merge_meta_field([response.meta for response in responses if response.meta])
2024-05-07 09:25:57            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-07 09:25:57   File "/workspace/.venv/lib/python3.11/site-packages/cohere/utils.py", line 167, in merge_meta_field
2024-05-07 09:25:57     api_version = metas[0].api_version
2024-05-07 09:25:57                   ~~~~~^^^
2024-05-07 09:25:57 IndexError: list index out of range

These two may be separate issues, but I think they may have been caused by me running Chrome in a custom way.
If second issue is an error related to Korean characters, I'd like to contribute for Korean documents.
Additional information
No response

Hi @tianjing-li !
Yes as you said there is CORSMiddleware with wildcard.
There is no backend log because the request was not sent to the backend server in the browser.
Probably responsible for browser settings..

Does the frontend attempt to call OPTIONS on the /chat-stream endpoint? What happens after? Can you provide some frontend console and network calls if possible

Hey @SeaJungg since this has been inactive for a while, I'll go ahead and close this. If you have more questions feel free to file a new bug.


Package shoudn't put into tags?

Description
RT

Currently we only do source code release as well as distribution to different OS. You can do snap install if you are on Linux, Brew install if you are on Mac OS.
For all distribution, we also publish the packages under: ttps://publish.djl.ai/djl-serving/serving-0.17.0.zip

thx


hdf5set_format_compatibility.c: Update new function documentation.

Comment change only.  Add one paragraph.  Explain the reason for the third argument to H5Pset_libver_bounds.  Simplifies experimental code using advanced features.

This updates the original function added in PR Unidata#2176.

I am a bit puzzled how this is failing the checks given the nature of the change.  Testing by hand to try to shed some light on it.

I have been noticing random CI failures here and there, for several days.  In the single reported failure above, in the CI logs, I saw two timeouts during test suite execution, and nothing else I think.
I think these are probably CI problems unrelated to this PR.  You must admit that the simple change in this PR is unlikely to cause any code execution problems.

Um, make that three timeouts.  It appears that test no. 87, nc_test_run_mmap, may not be reporting its results properly.  The fail was in the log, but not in the fail summary at the end.

@Dave-Allured Yeah, I'll take a look at this tomorrow and make sure it's something in the back-end infrastructure and isn't the result of something on our end that I'll need to track down/correct.


⚠ ClamAV has degraded performance

In aa67721, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 79 ms

Resolved: ClamAV performance has improved in 56fdfc9.


Exclude files

How do you think about having an option to exclude files as well?
In my case I want to exclude a single file, let's say it's a json config which is used by some of the tasks.
I'd need this
require('require-all')({
  excludeFiles:  ['a.json', 'b.json', ...]
});

Best regards

Hi @raoulus! So far, we've been able to get away with just the filter argument, which is a regular expression. This argument is meant to filter the files to just the ones you want (which means it's both includes & excludes).
I kind of see two possible solutions here:

We can add the ability for the filter option to take a function instead of only a regular expression. This would allow literally any logic you could ever want.
You may be able to use a regular expression for your use-case.

What are your thoughts? An array of files as a different option may work, but not sure how it will play out with the recursive option in the long term.

I'd like to filter out certain files as well. For instance, I don't want to include test files. Assume I have the following files:
module1.js
module1.test.js
module2.js
module2.test.js

I'd like to return an object equivalent to this:
{
  module1: require("./module1"),
  module2: require("./module2")
}

I've tried using a negative lookahead regex, but it is including test.js files:
module.exports = require('require-all')({
  dirname     :  __dirname,
  filter      :  /^([^\.].+)(?!(\.test))\.js(on)?$/,
  recursive   : false
});

I believe this should be possible with a regex and I'm open to suggestions on how to do it. However, it may be simpler for less skilled regexers if filter could be a function as you suggest.

I was able to get my filter regex to work by moving the negative lookahead to the beginning:
module.exports = require('require-all')({
  dirname     :  __dirname,
  filter      :  /^(?!.*test\.js|index\.js)([^\.].+)\.js(on)?$/,
  recursive   : false
});

This will require all .js and .json file in the current directory, but exclude any files containing index.js or *.test.js.

Yeah a function instead of a regex might be more user friendly :)
I really would like to see this in future.

Goo to hear, @tauren! I'm going to look at adding the ability to specify a function as well as a regular expression, in a moment here. I'm thinking the signature will probably be var include = filter(filename, path), where filename is just the filename, the same string the regular expression tests against, and path is the built path from the dirname option plus the directories traversed, which would even allow you to make a function that excludes based on the full directory.

The referenced issue has been resolved looking at the checkin. Can someone please close this and update the documentation regarding what changes went in and how we can use the filter function?
Thanks,

Hi @ngprasad, this is still open because nothing has been checked in that I'm aware of. Can you point me to where it has been checked in?

I saw two checkins here: https://github.com/felixge/node-require-all/pull/31. I thought these were for the filter issue. I mistakenly made that assumption. So there has not been a resolution to this?

That is just a pull request for a possible solution, not actually a check in. Sorry GitHub is confusing :)

Oh i see. Can that PR please be reviewed? It will really helpful to have filter function/arrays instead of regex.

I have it on my backlog of items to do still :) I popped over to the pull request, and the diff is so large, I have to actually find some time to sit down and actually reason through it, and it does bot come with any documentation, so would have to understand it enough to write that up. Have you tried it to verify that it actually matches your use-case yet?

Came here to open precisely this issue
For justice plz, it would be like 5 minutes of dev time.

Ok, @AngryPidgeon, I reviewed that PR. You'll either need to wait for the authro to get back to submit your own PR and I'll take a look.

@dougwilson  I hadn't noticed the PR before.  Also I just spent a while messing around with the filter that is currently there and it appears bugged?  I think the hard-coded "1" on line 41 of index.js should be a 0.
string.match(regex) returns an array like:
[ 'foo.js',
index: 0,
input: 'foo.js' ]
As it is, its taking the index of the match (arbitrary for this purpose) and mapping it to the required contents.  It looks like we should be mapping the filename (guaranteed unique) to the contents.

Hi @AngryPidgeon, it only appears "bugged" due to the lack of documentation. If you supply a regular expression, you need to include a matching group (that's how the default regular expression works and at least all the examples of the README--the little that there is). I have come to maintain this module from the previous author, and there was no README to speak of, so PRs to improve the README and certainly welcome!

@dougwilson
A matching group is just a ()....which I have included.  This is inconsistent behavior at BEST, look at line 29 and 41 in index.js.  The default behavior maps the filename to the contents of requiring it.  The filter approach maps it to... ??
I made and closed a PR to do this, but after reading your post and looking at it again I think its absolutely the best way to do it.
I dont think you are right about matching groups - Im using one and it is not working.  The result from String.match(Regex)[1] may as well be random.

Hi @AngryPidgeon, I really have no idea what you're saying I'm sorry. I didn't write this module, only oversee it currently, form the old maintainer. There should be a pretty good test suite to help make sure your changes are backwards-compatible, if the goal is to simply add the new function filter as described in this issue.


Make sure action mailer don't log subject and to attributes

Context
There are still logs in apply logging the "subject" and the "to" when ActionMailer enqueue jobs.
We shouldn't.
Changes proposed in this pull request
Don't log subject and to on any email.
Guidance to review

Does it work? (please test thoroughly)

Link to Trello card
No trello card: this thread: (I wish to create a trello but I am so busy with A levels and so focused that I didn't create any, that I just create the PR and if someone can spend more time testing/creating the card/even fixing that will help).

 Bug: Email addresses and subjects visible in production logs

fields still show in the review app worker logs?

Tested and find one issue:
Could not log "deliver.action_mailer" event. NoMethodError: private method `mailer' called for #<RailsSemanticLogger::ActionMailer::LogSubscriber::EventFormatter

Will investigate.


[8.x] Enum casts accept backed values

This PR builds upon https://github.com/laravel/framework/pull/39315 to accept an enum's backed value as well.
Currently enum castable attributes first have to be instantiated (or be null) before they are accepted for casting:
enum MyEnum: string
{
    case Pending = 'pending';
}

$model = new Model;
$model->enum = MyEnum::Pending;

This can get verbose when handling requests:
// Request input = ['enum' => 'pending']

$request->merge([
   'enum' => MyEnum::from($request->input('enum')),
]);

$model->fill(
    $request->all()
);

By also accepting the backed values of an enum when casting, fluent model filling will be enabled (again).
$model = new Model;
$model->enum = 'pending';

// Request input = ['enum' => 'pending']

$model->fill(
    $request->all()
);

This looks ok to me. We do the same with date casting where we accept a date object or a string or an integer.


[BannedVideo] Add Extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] 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?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
PR to add support for BannedVideo, as requested by @loveriusa here: https://github.com/yt-dlp/yt-dlp/issues/669
Original author @smege1001
Original pull request for Youtube-dl: https://github.com/ytdl-org/youtube-dl/pull/24572

Thank you @blackjack4494

Thank you @blackjack4494

It seems the original author just copied the requests that are made on the site directly without knowing much about graphql.
There are lots of queries

Some will need you to be logged in or have proper permissions (e.g. being admin) but a lot are open to public. You could query all videos of a channel so if someone wants all videos of a channel you could use that query and then send a getvideos (notice the plural) with a list of video id's. If you are interested in fiddle around a bit more with this extractor.
It seems there is no easy way to get any comment count (as a normal user) so to get all comments one would have to change the offset until the response returns less than 50 items (default value and cannot be set higher) in comment list or when it's empty.

Weird that the site uses https://api.banned.video/graphql' (which i wasn't able to query bcoz of CF protection) but the extractor is using https://api.infowarsmedia.com/graphql

Weird that the site uses https://api.banned.video/graphql' (which i wasn't able to query bcoz of CF protection) but the extractor is using https://api.infowarsmedia.com/graphql

Both work for me in altair. How did you query?

Weird that the site uses https://api.banned.video/graphql' (which i wasn't able to query bcoz of CF protection) but the extractor is using https://api.infowarsmedia.com/graphql

Both work for me in altair. How did you query?

I was using either curl requests in terminal or python code  using requests or postman.
Btw the url in the extractor is not opening for me for the doc page. It seems CF has blocked access to that api from my region.


Test Python 3.10

Summary
Support for 3.10
What is the feature request for?
The core library
The Problem
The hole libary should get tested on 3.10. and possible issues should be resolved. In our current requirments 3.10 is allowed but it is neither documented nor tested
The Ideal Solution
Test it and document it
The Current Solution
No response
Additional Context
No response

in my testing and use of 3.10 the last month or 2 it's worked perfectly fine i don't really see an incentive for this to be open anymore.

Yeah others using it works fine after updating aiohttp


Use explicit nullable type for PHP 8.4

Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead

Thank you!


Bug: All CheckoutActions - Empty alert object should not display an alert

Type: minor
Describe the bug
Three CheckoutAction components (Fulfillment, ShippingAddress, Stripe) will display an Alert when passed an empty Alert object. The alert object should check to see if the alert has any content before rendering it:

![screenshot 2018-11-08 18 03 00](https://user-images.githubusercontent.com/3673236/48235758-ff5f9b00-e373-11e8-9ff6-cc960f3a6376.png)

To Reproduce
Steps to reproduce the behavior:

Go to https://designsystem.reactioncommerce.com/#!/StripePaymentCheckoutAction
Pass in an empty alert object, alert={{}}
Look at the box that gets rendered

Expected behavior
An alert should only display if the alert prop has an alert object with a type and message

:tada: This issue has been resolved in version 0.54.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: