Add $PSBoundParametersObject and support for Splatting PSCustomObjects

There are often scenarios where you need $PSBoundParameters but with some parameter(s) excluded, some renamed, and others possibly added to get the correct parameters needed for another function your calling.
There are many existing ways to manipulate $PSBoundParameters but they are not intuitive due to the type of $PSBoundParameters.
If we had $PSBoundParametersObject we could do things like:
$ParametersNeededToCallFunction = $PSBoundParametersObject |
Select-Object -Property <Properties> -ExcludeProperty <ExcludedProperties> |
Add-Member -MemberType NoteProperty -Name Path -Value "C:\Path" -PassThru |
Add-Member -MemberType AliasProperty -Name ComputerName -Value IPAddress

Adding the ability to splat PSCustomOjbects we could then do:
Invoke-Something @ParametersNeededToCallFunction

This would allow better knowledge reuse as someone who takes the time to learn Select-Object and Add-Memeber now can intuitively deal with bound parameters.
This would be better than having to learn about and deal with a lot of the quirks related to System.Management.Automation.PSBoundParametersDictionary which are not as generally applicable.

This is a neat idea, but I must say this should have a slightly shorter name!

I'm not sure I see how this is a win. Because $PSBoundParameters is essentially just a hashtable, all the normal things you do with hashtables just work. Adding a property is simple assignment:
$PSBoundParameters.Name = "c:\Path"
$PSBoundParameters.ComputerName = $ipaddress

and removing a property is done with the Remove() method.
$PSBoundParameters.Remove("propertytoremove")

This seems simpler than messing around with Select-Object and Add-Member and will definitely be much faster. What am I missing?

@BrucePay I have taken what you have said to heart and been writing code since you posted this in the style you proposed as I figured doing it this way would help me better explain the difficulties with this pattern.
Some observations:

$PSBoundParameters.Remove("propertytoremove") returns True or False depending on whether the property was present so in practice you always have to remember to do something like | Out-Null or you will likely break code calling your function
If we had $PSBoundParametersObject the code we write feels cleaner and more clear

Below are two examples of the same function that ends up calling another function that makes a web service call that needs to have some parameters in the body of the request, some in the query string, and some to change the behavior of the function making the request (like setting authorization headers).

Using $PSBoundParameters as it is today
function New-FreshDeskTicket {
    param (
        $name,
        $requester_id,
        $email,
        $facebook_id,
        $phone,
        $twitter_id,
        $unique_external_id,
        $subject,
        #.. 17 more parameters go here but removed for brevity
        $Credential,
        $SubDomain
    )

    $InvokeAPIParameters = @{}
    $PSBoundParameters.Keys |
    Where-Object Name -In "Credential","SubDomain" |
    ForEach-Object {
        $InvokeAPIParameters.Add($_, $PSBoundParameters.$_)
    }

    $QueryStringParameters = @{}
    $PSBoundParameters.Keys |
    Where-Object Name -In "requester_id","unique_external_id" |
    ForEach-Object {
        $QueryStringParameters.Add($_, $PSBoundParameters.$_)
    }

    $PSBoundParameters.Remove("Credential") | Out-Null
    $PSBoundParameters.Remove("Domain") | Out-Null

    Invoke-FreshDeskAPI -Body $PSBoundParameters -QueryString $QueryStringParameters -Resource tickets -Method Post @InvokeAPIParameters
}

Using $PSBoundParametersObject
function New-FreshDeskTicket {
    param (
        $name,
        $requester_id,
        $email,
        $facebook_id,
        $phone,
        $twitter_id,
        $unique_external_id,
        $subject,
        #.. 17 more parameters go here but removed for brevity
        $Credential,
        $SubDomain
    )
    $InvokeAPIParameters = $PSBoundParametersObject | Select-Object -Property Credential,SubDomain
    $QueryStringParameters = $PSBoundParametersObject | Select-Object -Property requester_id,unique_external_id
    $BodyParameters = $PSBoundParametersObject | Select-Object -ExcludeProperty Credential,Domain,requester_id,unique_external_id

    #Assuming that https://github.com/PowerShell/PowerShell/issues/7049 isn't resulved we would need the following
    if (-Not $InvokeAPIParameters) {
        $InvokeAPIParameters = [PSCustomObject]@{}
    }

    Invoke-FreshDeskAPI -Body $BodyParameters -QueryString $QueryStringParameters -Resource tickets -Method Post @InvokeAPIParameters
}

You can pretty much do everything in your PSBoundParametersObject example if you use .GetEnumerator(). The code is just as simple as yours:
function New-FreshDeskTicket {
    param (
        $name,
        $requester_id,
        $email,
        $facebook_id,
        $phone,
        $twitter_id,
        $unique_external_id,
        $subject,
        #.. 17 more parameters go here but removed for brevity
        $Credential,
        $SubDomain
	)

	$InvokeAPIParameters = $PSBoundParameters.GetEnumerator() | Where-Object Key -In "Credential", "SubDomain"
	$QueryStringParameters = $PSBoundParameters.GetEnumerator() | Where-Object Key -In "requester_id", "unique_external_id"
	$BodyParameters = $PSBoundParameters.GetEnumerator() | Where-Object Key -NotIn @($InvokeAPIParameters.key + $QueryStringParameters.Key)

	if( -not $InvokeAPIParameters ) {
		Invoke-FreshDeskAPI -Body $BodyParameters -QueryString $QueryStringParameters -Resource tickets -Method Post @InvokeAPIParameters
	}
}

New-FreshDeskTicket -Credential "TestCred" -SubDomain "TestDomain" -requester_id "ID1" -unique_external_id "EXID1" -name "TestName" -email "TestEmail"

@dragonwolf83 I am having trouble getting an example working the way your describing things should:
PS > function Test-PSBoundGetEnumerator { param ($test1,$test2) $PSBoundParameters.GetEnumerator() | where key -in Test1,Test2 }
PS > $Variable = Test-PSBoundGetEnumerator -test1 value1 -test2 value2
PS > $Variable

Key   Value
---   -----
test1 value1
test2 value2

PS > $Variable | gm

   TypeName: System.Collections.Generic.KeyValuePair`2[[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=7cec85d7bea7798e]]

Name        MemberType Definition
----        ---------- ----------
Deconstruct Method     void Deconstruct([ref] string key, [ref] System.Object value)
Equals      Method     bool Equals(System.Object obj)
GetHashCode Method     int GetHashCode()
GetType     Method     type GetType()
ToString    Method     string ToString()
Key         Property   string Key {get;}
Value       Property   System.Object Value {get;}

   TypeName: System.Object[]

Name           MemberType            Definition
----           ----------            ----------
Add            Method                int IList.Add(System.Object value)
Address        Method                System.Object&, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7c...
Clear          Method                void IList.Clear()
Clone          Method                System.Object Clone(), System.Object ICloneable.Clone()
CompareTo      Method                int IStructuralComparable.CompareTo(System.Object other, System.Collections.IComparer compa...
Contains       Method                bool IList.Contains(System.Object value)
CopyTo         Method                void CopyTo(array array, int index), void CopyTo(array array, long index), void ICollection...
Equals         Method                bool Equals(System.Object obj), bool IStructuralEquatable.Equals(System.Object other, Syste...
Get            Method                System.Object Get(int )
GetEnumerator  Method                System.Collections.IEnumerator GetEnumerator(), System.Collections.IEnumerator IEnumerable....
GetHashCode    Method                int GetHashCode(), int IStructuralEquatable.GetHashCode(System.Collections.IEqualityCompare...
GetLength      Method                int GetLength(int dimension)
GetLongLength  Method                long GetLongLength(int dimension)
GetLowerBound  Method                int GetLowerBound(int dimension)
GetType        Method                type GetType()
GetUpperBound  Method                int GetUpperBound(int dimension)
GetValue       Method                System.Object GetValue(Params int[] indices), System.Object GetValue(int index), System.Obj...
IndexOf        Method                int IList.IndexOf(System.Object value)
Initialize     Method                void Initialize()
Insert         Method                void IList.Insert(int index, System.Object value)
Remove         Method                void IList.Remove(System.Object value)
RemoveAt       Method                void IList.RemoveAt(int index)
Set            Method                void Set(int , System.Object )
SetValue       Method                void SetValue(System.Object value, int index), void SetValue(System.Object value, int index...
ToString       Method                string ToString()
Item           ParameterizedProperty System.Object IList.Item(int index) {get;set;}
Count          Property              int Count {get;}
IsFixedSize    Property              bool IsFixedSize {get;}
IsReadOnly     Property              bool IsReadOnly {get;}
IsSynchronized Property              bool IsSynchronized {get;}
Length         Property              int Length {get;}
LongLength     Property              long LongLength {get;}
Rank           Property              int Rank {get;}
SyncRoot       Property              System.Object SyncRoot {get;}

PS > Test-PSBoundGetEnumerator @Variable

Key   Value
---   -----
test1 [test1, value1]
test2 [test2, value2]

PS > $VariableHash = @{test1 = "value1"; test2 = "value2"}
PS > Test-PSBoundGetEnumerator @VariableHash

Key   Value
---   -----
test2 value2
test1 value1

It doesn't appear that splatting a System.Object[] of System.Collections.Generic.KeyValuePair``2[[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral,  PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral,  PublicKeyToken=7cec85d7bea7798e]] behaves the same way as splatting a System.Collections.Hashtable.

Your right, it is including the key with the value as the value. In theory, the ToDictionary LINQ Extension Method should convert it back to a workable state but don't know if that is working yet in 6.0+.
Maybe Splatting just needs to be updated to handle passing the KeyValuePair type directly and handle that weirdness for us.

@dragonwolf83 Just for information's sake, the above test was with PowerShell version 6.1.0-preview.2.
I think your intuition about how this should work not aligning with how it actually works is further evidence that this does not align with the principle of least astonishment and that things would be better/less surprising if we had an object to work with and could splat objects instead of dealing with the idiosyncrasies of dictionaries/hashtables for this particular purpose.


Incompatible Go package version

Hi when I try to run the Developing part, ./build.sh local, I met this error:
k8s.io/client-go/kubernetes.NewForConfig(0x14d6d00?) 	/home/ubuntu/go/pkg/mod/k8s.io/client-go@v0.30.2/kubernetes/clientset.go:469 +0x1d github.com/bonavadeur/miporin/pkg/miporin.GetClientSet() 	/home/ubuntu/miporin/pkg/miporin/kubeconfig.go:32 +0x1a github.com/bonavadeur/miporin/pkg/miporin.init() 	/home/ubuntu/miporin/pkg/miporin/clusterinfo.go:15 +0x3f
While command ./build.sh ful build successfully  but it seems to hung at the remove-pod part.
Is this a type of incompatible Go-version bug? I have go version go1.22.4 linux/amd64
Latest Go package won't help (I have tried). It says
k8s.io/client-go/applyconfigurations/meta/v1 ../go/pkg/mod/k8s.io/client-go@v0.26.3/applyconfigurations/meta/v1/unstructured.go:64:38: cannot use doc (varostic/openapiv2".Document) as *"github.com/google/gnostic-models/openapiv2".Document value in argument to proto.NewOpenAPIData
Any help would be appreciated. Thanks!

You should review your knowledge carefully before jumping to conclusions confidently, for example, "Incompatible Go package version".
This errors caused by unset env MIPORIN_ENVIRONMENT in here, please read above func for more information.
This bug is reported and will be added to the documentation soon.
Thanks for your report.

Hi @tienshawn ,
I have been updated code in the latest commit 5889a7e, please check and confirm that everything work well. Also, I will rename this issue's title to Signal SIGSEGV: segmentation violation.


Bump cryogenics/essentials to v0.1.100

This is an automatically generated Pull Request from the Cryogenics CI Bot.
I have detected a new version of cryogenics/essentials and automatically bumped
this package to benefit from the latest changes.
If this does not look right, please reach out to the #mapbu-cryogenics team.

superseeded by #1512


SCVMM: Implementation of the vm_destroy method required for VM retirement

A few points:

It is necessary to power off the VM first if running at the time of retirement.
Consecutive operations (power off, then delete) run synchronously so there is no check if one operation has completed before starting the next.
Saved VMs can be retired without powering them on first.

https://bugzilla.redhat.com/show_bug.cgi?id=1299069
https://bugzilla.redhat.com/show_bug.cgi?id=1299071

@blomquisg - over to you for a review
cc @@billfitzgerald0120


describe bed coordinates as zero-based half-open intervals

While zero-based coordinates may seem confusing at first, describing bed features as a mixture of zero- and one-based positions is even more confusing.

Thank you. This text has confused me in the past too!
Your fix looks good.
Please pull!


build: run tests in band

:tada: This PR is included in version 2.0.0-beta.17 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


DNN-9038: Updated Localization.GetString to return empty string if th…

…e key is not found

@donker do you think this change could break any existing localization projects?


[Feature Request]: Increase size of the text in navbar when we hover on them

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Enhance the user experience by increasing the text size of navbar items when users hover over them. This visual feedback will indicate that the items are interactive and can be clicked, making navigation more intuitive.
Use Case
The feature of increasing the text size in the navbar on hover will provide users with immediate visual feedback, making navigation more intuitive and engaging.
Benefits
Enhanced User Experience: Provides clear indicators of interactivity, making navigation intuitive.
Accessibility Improvement: Ensures effective navigation for users with visual impairments.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

make like this when hovered and if a user is in home page..the home should look like this..having rounded square box ..highlightig that he is currently in home page..
i think you got my point @saiprasanna56

how much time do you need to complete this issue @saiprasanna56

@manikumarreddyu is this ok


Smooth Scrolling not working with scroll-wheel (problem with MouseWheelClassifier)

VSCode Version: Code 1.17.0 (be377c0faf7574a59f84940f593a6849f12e4de7, 2017-10-04T23:45:46.804Z)
OS Version: Windows_NT x64 10.0.15063
Extensions: none

Steps to Reproduce:

set "editor.smoothScrolling": true
close and re-open VS Code
try scrolling the editor - it will jump as if "editor.smoothScrolling" were set to False

Reproduces without extensions: Yes (tried to launch with code --disable-extensions, same issue)
To be honest I don't know whether this is an issue related to this specific version as it's the first time I'm using VS Code.
My mouse is an MX Master and I'm using an ASUS N550 laptop.
Anybody else experiencing this issue?
Thanks

UPDATE:
My setup is a laptop with a second screen plugged in via HDMI.
The laptop screen scaling is set at 150%, while the external monitor scaling is set at 100%.
I've noticed that the smooth scrolling actually works on the external screen (100%) and it stops working as soon as I drag VScode on my laptop screen (150%). Once I drag it back to the external screen (100%) it works again.
Then if I change the laptop's scaling to 100%, it works on this too.
So the problem here seems to be the smooth scrolling not working with a scaling bigger than 100%. Why is that?
Scaling at 100%:

Scaling at 150%:

The root problem is that we receive a mousewheel event both when scrolling using a touch pad and when scrolling using a physical mouse wheel.
There is no way (flag or anything really) on those events to distinguish a scroll that occurs on the touch pad vs. a scroll that occurs on a physical mouse wheel. We should not begin any form of smooth scrolling on our side when scrolling with the touchpad because the touchpad itself emits already smooth scrolling events, and us applying our animation on top of it results in subtle, weird, nausea-inducing scrolling.
We therefore have a MouseWheelClassifier  which tries to classify a series of mousewheel events as ones coming from a touchpad vs ones coming from a physical mouse wheel.
I have recorded a set of mice and what sort of properties their mousewheel events contain, and so far, the only correlation I have seen is that events coming in from a physical mouse wheel have integer deltaX and deltaY, while events coming in from a touchpad do not.
That is what is implemented in _computeScore and in the tests at MouseWheelClassifier
My instinct is that, for you, the mousewheel events have integer values when Windows is configured at 100% scale and non-integer values when it is configured at 150% scale. Therefore, in the 150% case, our MouseWheelClassifier probably fails and believes the mousewheel events come in from a touch pad.
This is a very tricky problem, as we simply lack the needed information on the mousewheel event. I'm not sure how to tackle it, please let me know if you have any ideas.

Thanks @alexandrudima for taking the time to write down such a detailed explanation! Everything you said makes perfect sense.
I'm really sorry but unfortunately I lack the skills needed to come up with any idea. I just thought it would have been useful for the community to point this problem out.
Hopefully, one day, someone more skilled than me will be able to address this minor issue :)
Thank you!

have the same issue. Two monitors, one scaled to 125%, the other to 150%, smooth scrolling with mouse works on neither, unless i set scaling to 100%...
i also tried to override the scaling with compatibility setting - using "System ( Enhanced )" fixed the smooth scrolling issue, but the whole window got downscaled

@alexandrudima
Parameter "editor.smoothScrolling" is disabled by default in settings and smooth scroll works perfectly with touchpad. Maybe add comment to use this parameter for mouse wheel only and force using smooth scrolling without checking scroll type?
Because all modern screens has big resolution and most people using screen scaling. And smooth scroll didn't work in this case. Playing with "--force-device-scale-factor=1.0" and "window.zoomLevel" works but small menus and dialogs looking terrible.

Any news on this issue?

There are a lot of users who will never use a touchpad to scroll in vscode. What about having a setting for those, so that smooth scrolling also works with 4k monitors?

Same problem experienced here 🙋♂. Smooth when scaling is 100%, rigid when scaling is higher.
Probably should use the smooth scrolling experience that is used for Microsoft Word itself because it works on whatever scaling (maybe re-use the code or something? Idk).

just use --force-device-scale-factor=1.0 and scale with window.zoomLevel instead. Vscode now renders its own menus and popups, so everything gets scaled properly.

I see, interesting. Also, how will I launch Visual Studio Code with that setting? Through Command Prompt? If yes, is there a way to launch Visual Studio Code with that setting every single time without using command prompt (or any other command-line interface)?

Ok, so quick update to the previous post:
It seems like you can launch Visual Studio Code with specified flags everytime by using a batch script (.bat).
Now, before I show the code, I would like to say that I have absolutely no experience in batch scripting and the code I made is just based off the documentation. You're welcome to use the code I have below, but at your own risk:
@echo off echo Starting Visual Studio Code with forced device scaling factor... start code --force-device-scale-factor=1.0 exit

Any news on this? Trying the --force-device-scale-factor workaround while using a 4K monitor makes it almost unusable without zooming in, which is just inconvenient.

More and more Windows devices (laptops and desktops alike) have 1080p monitors, where 125% scaling is default, and is required (at least on laptops) to view elements (100% scaling is too small).
This is a bug which affects all laptops with 1080p screens by default. Surprisingly, the Extension pages scroll smoothly, just the actual text files and the Settings UI does not follow the smooth scrolling flag.
Any news on this? Adding flags to shortcuts is possible, but I think an option should be provided to do that within the UI itself as a workaround until this issue is fixed. This issue still persists in Version 1.36.1.

also the --force-device-scale-factor=1.0 workaround doesnt work for multiple displays with different DPI. And even then having to constantly switch back and forth when im either on my laptop or have an external monitor plugged in is annoying. Chrome/Chromium scrolls just fine with every DPI combination imaginable.

There is no way (flag or anything really) on those events to distinguish a scroll that occurs on the touch pad vs. a scroll that occurs on a physical mouse wheel. We should not begin any form of smooth scrolling on our side when scrolling with the touchpad because the touchpad itself emits already smooth scrolling events, and us applying our animation on top of it results in subtle, weird, nausea-inducing scrolling.

@alexandrudima Are you talking about Windows Precision touchpads only? I have a Lenovo Z50-70 which has a Synaptics touchpad. There is no smooth scrolling built into the touchpad and I've toggled all the available settings and seen no difference.
This is evident when I use apps like Notepad or Acrobat Reader DC, the scrolling is choppy, and it does not feel any different when I use my mouse, except that the mouse scroll wheel causes text to move in groups of 3 lines, while in touchpads it can be made to much more precisely (which is what I think you mean with lower values of deltaX and deltaY.)
@solid-pixel Is it possible to rename the post to something like "Smooth Scrolling does not work in HIDPI displays with display scaling > 100%"? The current title is kind of misleading and makes the issue seem like an obscure and specific issue, which it isn't.

@SubhamSatyajeet you're right, I've updated it. I didn't know in the beginning what caused it so that's why the generic title. Thanks for pointing that ou!

Using --force-device-scale-factor=2 requires me to change "window.zoomLevel": 0 to "window.zoomLevel": -1 in order to see the window as properly as before.
Since I share the same settings.json on different machines and different monitors, I wouldn't like the changed zoom property be applied to all my devices.

@alexandrudima Are you talking about Windows Precision touchpads only? I have a Lenovo Z50-70 which has a Synaptics touchpad. There is no smooth scrolling built into the touchpad and I've toggled all the available settings and seen no difference.
This is evident when I use apps like Notepad or Acrobat Reader DC, the scrolling is choppy, and it does not feel any different when I use my mouse, except that the mouse scroll wheel causes text to move in groups of 3 lines, while in touchpads it can be made to much more precisely (which is what I think you mean with lower values of deltaX and deltaY.)

This was my understanding as well. Yes, Logitech touchpads for example will have a separate option for 'smooth scrolling' which does indeed give an obnoxiously 'floaty' feel to apps which already incorporate it (such as any web browser), which is why I turn it off - and in that case, it's only available if the Logitech Options is installed and by default does not incorporate any additional smooth scrolling. I'm not aware by default any touchpad adding smooth scrolling out of the gate, but that may just be my limited experience with different vendors.
Regardless of the complexities, hopefully this can be resolved as using display scaling is exceedingly common now. The smooth scrolling is so much better, but unfortunately due to two 4K displays with 150% scaling I can't really take advantage of it.

@DaveACG I agree. This bug was reported about 3 years ago (!) and scrolling on my good old 1080p screen still causes the text to jump around. Hopefully this gets the attention of the developers.
Update: This issue persists in Visual Studio Code 1.38.1.
It affects Windows 10, Version 1903 and Ubuntu 19.04. This problem is not Windows-specific.
In Ubuntu 19.04, the problem occurs when font scaling is set to 1.25/any value other than 1.00. When the font scaling property is set to 1.00, the problem goes away. To verify the problem, the user can install Gnome Tweaks (package gnome-tweaks) and use it to change the font scaling.

我遇到了相同的问题，期待修复

@solid-pixel
The root problem is that we receive a mousewheel event both when scrolling using a touch pad and when scrolling using a physical mouse wheel.
There is no way (flag or anything really) on those events to distinguish a scroll that occurs on the touch pad vs. a scroll that occurs on a physical mouse wheel. We should not begin any form of smooth scrolling on our side when scrolling with the touchpad because the touchpad itself emits already smooth scrolling events, and us applying our animation on top of it results in subtle, weird, nausea-inducing scrolling.
We therefore have a MouseWheelClassifier  which tries to classify a series of mousewheel events as ones coming from a touchpad vs ones coming from a physical mouse wheel.
I have recorded a set of mice and what sort of properties their mousewheel events contain, and so far, the only correlation I have seen is that events coming in from a physical mouse wheel have integer deltaX and deltaY, while events coming in from a touchpad do not.
That is what is implemented in _computeScore and in the tests at MouseWheelClassifier
My instinct is that, for you, the mousewheel events have integer values when Windows is configured at 100% scale and non-integer values when it is configured at 150% scale. Therefore, in the 150% case, our MouseWheelClassifier probably fails and believes the mousewheel events come in from a touch pad.
This is a very tricky problem, as we simply lack the needed information on the mousewheel event. I'm not sure how to tackle it, please let me know if you have any ideas.

Please correct me if I'm saying something really, really stupid, but if this is the only issue, wouldn't it be enough to replace this line with this.deltaY = (e1.wheelDeltaY / 120) / window.devicePixelRatio;?

I confirm that it affects Linux as well. Ubuntu 18.04 on ASUS ZenBook UX430UA here, Visual Studio Code installed from the official deb package. More information:
Version: 1.44.1
Commit: a9f8623ec050e5f0b44cc8ce8204a1455884749f
Date: 2020-04-13T14:40:29.529Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 4.15.0-96-generic

I am using Large Text, which is equal to 1.25 font scaling. Once I turn it off, the mouse scroll animation works properly. The touchpad scroll animation works properly in both cases.
Should I be of any help, feel free to let me know... :rocket: Unfortunately, I do not understand TypeScript... :smile:

Experiencing the same bug on a 4k screen. Windows 10

The bug should be fixed by applying the inverse of DPI scaling to mouse events per @alexdima's bug explanation. This is probably what @DamianoMagrini just said. Might need a little rounding to get crisp integers. I can't try it myself.

@JVimes yes, that's the idea. In the next few days (weeks, at most), I'll fork this repo and see if I can fix it myself. If so, I'll submit a PR.

@JVimes @DamianoMagrini
This actually works (Windows 10, 125% scaling).
For Windows: just replace this.deltaY=t.wheelDeltaY/120 in %LocalAppData%\Programs\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main with this.deltaY=(t.wheelDeltaY/120)/window.devicePixelRatio as @DamianoMagrini suggested.

Thank you for this simple fix idea! @JVimes @DamianoMagrini @krlvm

@alexdima platform.isWindows would only detect Windows systems. Can the commit be improved to also include Linux platforms?

@alexdima platform.isWindows would only detect Windows systems. Can the commit be improved to also include Linux platforms?

The commit modified scrollableElement.ts, which listens StandardWheelEvent from mouseEvents.ts. Perhaps @alexdima had reasons to do not modify the root cause of the problem, because the real delta can be needed somewhere, for example, scrolling distance has become smaller for me after manual fix.
Indeed, this will have effect only on Windows systems, but the issue can be reproduced on other systems, including all Linux distributions and macOS. I can reproduce the issue right now on Ubuntu 20.04.
@alexdima, @DamianoMagrini fix works on Linux too (Ubuntu 20.04, 120 DPI, snap package): replace this.deltaY=t.wheelDeltaY/120 in /snap/code/33/usr/share/code/resources/app/out/vs/code/workbench/workbench.desktop.main.js with this.deltaY=(t.wheelDeltaY/120)/window.devicePixelRatio.
The fix should work on macOS too, not only on Windows and Linux.

@JVimes @DamianoMagrini
This actually works (Windows 10, 125% scaling).
For Windows: just replace this.deltaY=t.wheelDeltaY/120 in %LocalAppData%\Programs\Microsoft VS Code\resources\app\out\vs\workbench\workbench.desktop.main.js with this.deltaY=(t.wheelDeltaY/120)/window.devicePixelRatio as @DamianoMagrini suggested.

Thanks for the fix! However, with that fix in effect, I noticed that when I set the zoom setting (window.zoomLevel) in VS Code to some value that isn't 0, the smooth scrolling is gone. I'm using the same scaling as what @krlvm used, which is 125%, and I'm using a mouse and not a trackpad.

Reopening since there are two problems left:

this change does not cover linux
The setting window.zoomLevel also affects window.devicePixelRatio, but it does not affect the deltaX / deltaY of mouse wheel events.

@alexdima
Taking about Linux (and, perhaps, macOS), I assume the problem is with floating-point numbers and scroll behavior on Linux. I did some research with GNOME, KDE and Xfce, and probably know how to fix it, I'll make a pull request:

DPI Scaling
deltaY
window.devicePixelRatio

100% (96)
53
1

125% (120)
68.89999389648438
1.2999999523162842

150% (144)
79.5
1.5

I've submitted a pull request, it should work on macOS too, but I can't check.

One of the recent Insiders updates seems to have made the launch flag  --force-device-scale-factor=1.0 trick (on Windows 10) no longer allow one to freely alter zoom levels while preserving smooth scrolling. Settings the factor to 1.5 via the flag is a workaround, but any additional zoom level changes within vscode turn smoothscroll off.


pmem-csi-driver: fix race condition in registry server

When nodes register, there is a race condition around the concurrent
modifications and/or usage of the node info map by the master
controller. All accesses to that field have to be protected by a
mutex.
To enforce this, the RegistryServer implementation gets moved into its
own package with only those methods exported which do proper
locking.
Fixes: https://github.com/intel/pmem-CSI/issues/226

I was hoping to have a regression test for this, but the Go race detector did not actually find this concurrent access (see https://github.com/golang/go/issues/32682).
@avalluri are there other gRPC services which lack locking?

@avalluri are there other gRPC services which lack locking?

Nothing specific in my mind, but we should cross check once the master and node controller services.

we should cross check once the master and node controller services

Can you do that? Let's keep this PR open as a reminder.

As part of this, I made changes to the Controller(node and master) code to support concurrency.:
https://github.com/avalluri/pmem-CSI/commit/21f6448e27b1b1a8f1ee24f7957a128c6d5417d0


Develop 2.9

Leveled issue.  Under significant handoff load, iclerk might fail due to a timeout on get_positions - and this would result in frequent vnode crashes.

The timeouts seen in the iclerk looks like they were related to memory exhaustion.  As part of RC2 the way a level 0 SST file would fetch its data changes, meaning the data had to be kept on the loop state in the starting state.  In the reader state - this data was removed from the loop state.
L0 files are normally short-lived.  However in handoff, they are more likely to be switched rather than merged to clear L0.  In this case, the L0 sst file can become long-lived.  The file occupied about 50M memory, more than 95% of which was uncollected garbage (the now deleted data from the loop state).
This could lead to a rapid accumulation of memory in the beam.
To avoid this, on switching a level zero file, the file now calls garbage_collect(self()).  This leads to a more smoother growth in riak memory - and means pauses related to GC in the future (and hence timeouts on function calls) are less likely.


only get "slack message delivery disabled" even after enabling web-hook in yaml file

Sentinl and Kibana version - version 6.2.2

I want to send alerts to my slack channel:

I configured a slack channel called "#yellow_alerts_test" with an incoming-webhook app.  I tested the web-hook by POSTing to it from a tool, and the webhook works fine.
I then added the generated webhook address and username to Kibana.yml as shown below.

Default Kibana configuration from kibana-docker.
from https://github.com/elastic/kibana-docker/blob/master/build/kibana/config/kibana.yml

server.name: kibana
server.host: "0"
elasticsearch.url: http://<IP_ADDRESS>:9200
sentinl:
settings:
authentication:
enabled: true
email:
active: true
host: 'localhost'
ssl: false
report:
active: false
slack:
  active: true
  username: 'incoming-webhook-sentinel'
  hook: 'https://hooks.slack.com/services/T029YN2CF/BBD4VUN6L/7Ak9lnykRsd7E4R1pYQ[truncated]...'
  channel: '#yellow_alerts_test'

In sentinl UI, I created a test alert with no conditions, scheduled every 5 minutes, and gave it the action to alert every 5 minutes.  This is the raw alert definition:
{
"actions": {
"New slack action h0yeqh2ovej": {
"throttle_period": "0h0m1s",
"slack": {
"channel": "#yellow_alerts_test",
"message": "There is no content to share at this time except success in the alerting pipeline",
"stateless": false
}
}
},
"input": {
"search": {
"request": {
"index": [
"e2e-prod-*"
],
"body": {}
}
}
},
"condition": {
"script": {
"script": "payload.hits.total > 0"
}
},
"transform": {},
"trigger": {
"schedule": {
"later": "every 5 minutes"
}
},
"disable": false,
"report": false,
"title": "Alert_Always"
}
I built and ran the app in docker.
I either run the alert and/or let it run itself, and I see the alert logged in the Sentinl section of the Kibana UI, but no messages show up in Slack.
In the app logs I see:
{"type":"log","@timestamp":"2018-07-02T21:20:00Z","tags":["warning","Sentinl","action"],"pid":1,"message":"slack message delivery disabled"}
What step did I miss or where is it wrong?  Thanks in advance for your help!
MIke D.

Hi @michael-s-downs it seems kibana is not parsing the configuration as expected and going with defaults. My first guess would be a malformed configuration structure.

if (!slack || !config.settings.slack.active) {
  log.warning('slack message delivery disabled');

```

@michael-s-downs post more logs! use https://help.github.com/articles/creating-and-highlighting-code-blocks/ to make it easier to help you. Are you using docker-compose?

HI! I'm having the same problem here, please checkout my kibana.yml and log from docker-compose
#i18n.locale: "en"
sentinl:
  es:
    host: 'elasticsearch'
    port: 9200
    protocol: 'http'
    # results: 50
    # timefield: '@timestamp'
    # default_type: 'doc'
    alarm_index: 'watcher_alarms'
    alarm_type: 'sentinl-alarm'
  settings:
    email:
      active: true
      host: 'localhost'
      # user: 'admin'
      # password: 'password'
      # port: 25
      # domain: 'beast.com'
      # ssl: false
      # tls: false
      # authentication: ['PLAIN', 'LOGIN', 'CRAM-MD5', 'XOAUTH2']
      # timeout: 10000  # mail server connection timeout
      # cert:
      #   key: '/full/sys/path/to/key/file'
      #   cert: '/full/sys/path/to/cert/file'
      #   ca: '/full/sys/path/to/ca/file'
    slack:
      active: true
      #token:
      #username: 'kibana'
      hook: 'https://hooks.slack.com/services/T1NM5S7P1/BD9JWV35L/7alFXgcQ1.....'
      #channel: '#alerts'

{"type":"log","@timestamp":"2018-11-08T20:08:00Z","tags":["info","Sentinl","watcher_handler"],"pid":1,"message":"successfully applied condition"}
kibana_1                   | {"type":"log","@timestamp":"2018-11-08T20:08:00Z","tags":["info","Sentinl","watcher_handler"],"pid":1,"message":"successfuly executed"}
kibana_1                   | {"type":"log","@timestamp":"2018-11-08T20:08:00Z","tags":["error","Sentinl"],"pid":1,"message":"CPU User AVG: slack action : slack message delivery disabled: Error: slack message delivery disabled\n    at /usr/share/kibana/plugins/sentinl/server/lib/actions/do_actions.js:441:19\n    at <anonymous>"}```

Please anyone know that can be happen? Using version 6.4.0 from relase tag ` tag-6.4.2-0`


When taking over an existing claim users aren't informed how long it will take

See this conversations https://lbry.slack.com/archives/help/p1477932538003331
The ~1 week delay should be communicated.

Moved to https://github.com/lbryio/lbry-app/issues/212


large chunks in rsc

large chunks in rsc which can be a short filename instead

it's dev only issue, right?

Nope, it happens in pnpm build also!

Oh, I see.
I saw it's been sent repeatedly in DEV, but does it send the large chunk repeatedly in PRD too?

the chunk are already embedded in the html PRD, so they're not sent as far as I know (correct me). But in PRD, it's even worse, because many more chunks are being loaded this way.

Oh, that's bad. That's my oversight.
Yes, this is urgent.
Right, those chunks are embedded with SSR and sent over wire with RSC.

@dai-shi I'm just re-reading the whole source code, do you have any hint that might help? Any filename or function name.

I guess it's the router/server file.

The large chunks are probably generated with the combination of vite and react. It has nothing to do with router, I guess. (Yeah, it might be good to reproduce the behavior without waku/router and without SSR.)
What I think is related is handler-dev.ts and rsc-renderer.ts.

without SSR, there's no issue.

I just started doubting if there's any problem with the chunks since they are RSC and they render on the server and then the serialized result gets injected which has so many tailwind classes, I think this is fair, let me know if I'm wrong.

The same happens in a nextjs example

it's dev only issue, right?

So, back to my original understanding, it was working fine in PRD, but at some point, in DEV, we see duplicated chunks, sending same tailwind styles multiple times in the RSC payload (or embedded in html in SSR).
Do you not observe it anymore?

it was working fine in PRD

I see the tailwind chunks in PRD! But yes, it's not duplicated. In dev, only in the first run, they're duplicated; when you reload, it gets fixed. I thought this was an expected behaviour where things get cached, but I guess is wrong.
I think we should change the issue's title, because the chunks and their size are not the issue, rather the duplication is.

Yeah, I think ideally, they shouldn't be duplicated for the first load in DEV.

I'll get back to this later! If anyone wants to take it meanwhile, don't hesitate!

Hmmm, I'm not confident if it's dev only issue. Further investigation is appreciated.

Another issue is if we disable JS, there's no styles (reported by @himself65 )
It can be a different issue, but I think the root cause is the same.

Another issue is if we disable JS, there's no styles (reported by @himself65 )

dev mode or production mode? As far as I guess, this should not happen in production, but expected in dev since we support HMR that way.

I think it's both dev and prd.

Maybe, I'm wrong. It's dev only. Can @himself65 confirm?

yeah, dev only.

There is dev css flickering because it loaded later than the JSX.

So, it's the same as the first item in #344. I'm not sure now if it's the same root cause.

@Aslemammad

I see the tailwind chunks in PRD! But yes, it's not duplicated.

This looks somewhat duplicated. It might not be tailwind chunks, but bright ones?

For me, PRD was ok in that sense if I recall correctly
On Mon, 8 Jan 2024, 11:04 Daishi Kato, @.***> wrote:

How about PRD?
—
Reply to this email directly, view it on GitHub
https://github.com/dai-shi/waku/issues/323#issuecomment-1880502315, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBMICDKTRZAPRTINOLKAALYNOOQLAVCNFSM6AAAAABBEKOY6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGUYDEMZRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

That's what we discussed but it feels duplicated now I see it. I'm not sure if it's reasonable.

Yes, maybe! but as I saw last time, the result was not as scattered as the dev result was.

The same happens in a nextjs example

Next.js team is aware of the LARGE chunks so they try to optimize RSC payload.
But yet This optimized chunks are not released
Reference
https://github.com/vercel/next.js/pull/52028
https://github.com/vercel/next.js/pull/52039
https://github.com/vercel/next.js/pull/52040

Do we still have any issues?
Otherwise, let's close it for now.


Help to install the ollama files in my /home/myUser folder (install files, not the models).

Has anyone modified the script to install Ollama in a location other than the root folders? I want to change it to work only for my user using the install script for Linux. Can anyone help?
I changed it as follows:
asimov is the username.
...
BINDIR="/home/asimov/.local/bin"
mkdir -p $BINDIR
status "Installing ollama to $BINDIR..."
install -o $(id -u asimov) -g $(id -g asimov) -m 755 $TEMP_DIR/ollama $BINDIR/ollama
status 'The Ollama API is now available at <IP_ADDRESS>:11434.'
status 'Install complete. Run "ollama" from the command line.'
configure_systemd() {
if ! id ollama >/dev/null 2>&1; then
status "Creating ollama user..."
sudo useradd -r -s /bin/false -U -m -d /home/asimov ollama
fi
if getent group render >/dev/null 2>&1; then
status "Adding ollama user to render group..."
sudo usermod -a -G render ollama
fi
if getent group video >/dev/null 2>&1; then
status "Adding ollama user to video group..."
sudo usermod -a -G video ollama
fi
status "Adding current user to ollama group..."
sudo usermod -a -G ollama $(whoami)
status "Creating ollama systemd service..."
sudo tee /etc/systemd/system/ollama.service > /dev/null <<EOF
[Unit]
Description=Ollama Service
After=network-online.target
[Service]
ExecStart=$BINDIR/ollama serve
User=asimov
Group=asimov
Restart=always
RestartSec=3
Environment="PATH=$PATH"
[Install]
WantedBy=default.target
...
You guys see more to change?

You can just get the binary:
$ curl -o ollama -L https://ollama.com/download/ollama-linux-amd64
$ chmod +x ollama

Start the server:
$ nohup ./ollama serve > ollama.log 2>&1 &

Interact with it:
.$ /ollama run llama3 "hello"
pulling manifest
pulling 6a0746a1ec1a... 100% ▕██████████████████▏ 4.7 GB
pulling 4fa551d4f938... 100% ▕██████████████████▏  12 KB
pulling 8ab4849b038c... 100% ▕██████████████████▏  254 B
pulling 577073ffcc6c... 100% ▕██████████████████▏  110 B
pulling 3f8eb4da87fa... 100% ▕██████████████████▏  485 B
verifying sha256 digest
writing manifest
removing any unused layers
success
Hello! It's nice to meet you. Is there something I can help you with, or would you like to chat?

Models are in ~/.ollama, you change that by setting OLLAMA_MODELS and restarting the server.

Hi, @rick-github.
Thanks for your reply.
It is a very good idea.
Right now, I have the variable OLLAMA_MODELS set in the ollama.service file, so I am saving the models in the folder I want.
But, assuming this is the first time I am going to install it using the method you mentioned, and I don't have the ollama.service file anymore, should the OLLAMA_MODELS variable be changed in my .bashrc file?

Either in your .bashrc, or you can create a script to start the ollama server:
#!/bin/bash

export OLLAMA_MODELS=/some/random/dir
nohup ./ollama serve > ollama.log 2>&1 &

Got it.
Thanks @rick-github  for your help.


Wrong command sample

[Enter feedback here]
https://learn.microsoft.com/en-us/sql/tools/sqlpackage-download#get-sqlpackage-net-core-for-windows is showing the wrong command,
Its syas to use this command
cd C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin
SqlPackage.exe /a:export /ssn:localhost /sdn:AXDB_CopyForExport /tf:D:\Exportedbacpac\AXDB_CopyForExport.bacpac /p:CommandTimeout=1200 /p:VerifyFullTextDocumentTypesSupported=false /SourceTrustServerCertificate:True
Where in DEV box there is folder exist for 'C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin'
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8eb7ed3e-f7b9-e384-7308-516deda06bcc
Version Independent ID: 3cd2e0d0-24fd-c019-eecc-8af6e7e7e66c
Content: Golden configuration promotion - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/database/dbmovement-scenario-goldenconfig.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @laneswenka
Microsoft Alias: laswenka

The right path for this should be as below
C:\Program Files\Microsoft SQL Server\160\DAC\bin

Bug 834382 has been logged to address this issue.

Thanks for your feedback. We have passed this feedback onto the product team for consideration.


ClusterIssuer erroring when using route53 role based authentication

Describe the bug:
Receiving an issue on ClusterIssue validation after updating the container image, when using an image role, as described in https://cert-manager.io/docs/configuration/acme/dns01/route53/#creating-an-issuer-or-clusterissuer
Error:
accessKeyID or accessKeyIDSecretRef is required
Not sure if it comes from this PR, but it seems like it from the error message, specifically in this block: https://github.com/cert-manager/cert-manager/blob/9c47be0964d78f9b82e428775f4ac60442f1f983/internal/apis/certmanager/validation/issuer.go#L407-L410
Expected behaviour:
Webhook doesn't reject config without secret key ref as invalid, if role is provided
Steps to reproduce the bug:

Using spec as documented

Anything else we need to know?:
This worked with 1.8.0, errors on 1.9.0
Environment details::

Kubernetes version: 1.22
Cloud-provider/provisioner: local
cert-manager version: v1.9.0
Install method: Helm

/kind bug

Thank you for the detailed issue @danquack. We have gone ahead and PR'd the fix in and plan to release a patch release for v1.9


remove defining basis in compile.

in pr #562 a basis string constant was defined which seems like could be avoided.

Summary
Details and comments

Thanks, this is a much nicer way of doing it.


adding autoedits support

Context
The PR enables a basic setup for auto-edits. The goal of the PR is for us to check the model quality by manually triggering the auto-edits and have a vibe check. The actual integration of next edits should be done with the existing autocomplete infra. So, this PR is supposed to live behind a feature flag just for the internal testing and model iterations.

The PR takes 4 lines surrounding the cursor and than propose a diff for those 4 lines.
The current implementation uses a fine-tuned gpt-4o-mini model. The name of the model is: ft:gpt-4o-mini-2024-07-18:sourcegraph-production::AFXNjNiC

Steps to run the autoedits (in debug mode):

Set the following following setting in the vscode config

"cody.experimental.autoedits": {
    "provider": "openai",
    "model": "ft:gpt-4o-mini-2024-07-18:sourcegraph-production::AGgXey7l",
    "apiKey": "<openai_token>",
    "tokenLimit": {
      "prefixTokens": 2500,
      "suffixTokens": 2500,
      "maxPrefixLinesInArea": 12,
      "maxSuffixLinesInArea": 5,
      "codeToRewritePrefixLines": 2,
      "codeToRewriteSuffixLines": 3,
      "contextSpecificTokenLimit": {
        "recent-view-port": 1000,
        "diagnostics": 1000,
        "recent-copy": 1000,
        "jaccard-similarity": 1000,
        "recent-edits": 1000
      }
    }
  },

Press ctrl+shift+enter to trigger the
The debug console Cody by Sourcegraph will show the diff in the console.
The suggestion will also be shown on the UI as a ghost text and we can press tab to apply the changes and escape to reject the changes.

Test plan
Updated CI checks and manual testing. Please see a demo below
https://github.com/user-attachments/assets/7c1cf50d-c1fa-48bc-a71e-364e184404ce

Thanks @valerybugakov @abeatrix @arafatkatze for the review
The current PR is not the final version we expect to merge, I just wanted to save work so people can pull and quickly experiment with the feature. There will be a lot of changes in the PR so, I think we can ignore the detailed review for now :) since most likely they will change.
Also, added a comment in the description and marked the PR in draft stage to indicate the same :)

Thanks for the review @abeatrix @valerybugakov
There is one outstanding comment still to address (using existing infra for model integration), Creating a seperate PR for that  since the current PR is quite long. Will also try to address UI changes in the same.


CON-1164: Remove EPID and out-of-kernel driver from docs

Edited/deleted a few docs to remove the mentions about EPID and out-of-kernel support.
Added instructions to use Linux 5.11 kernel or higher.
Pointed users who want to try on-premise deployment to contact us on discord.

I've made the changes. PTAL.

This is fine to me. @shamsasari  you requested changes


Workout plan generator needed

The software need a workout plan generator which uses users' height, weight, and target weight and suggest them a workout plan.

The feature is added!


Executing code via a listener during Precognition requests leads to ERR_CANCELED

Laravel Precognition Plugin Version
0.5.5
Laravel Version
11.10.0
Plugin
Alpine
Description
I appreciate this being a complex issue/problem, I'll try to do my best to explain my findings as I do suspect the issue lies somewhere within Precognition.
I use Statamic together with Precognition (Alpine based) to validate and submit Statamic forms. This works fantastically. No issues there. However as soon as I add a SubmissionCreated event to hook into the form submission to custom stuff I run into a problem. I'm creating a payment with a payment provider and this takes a short bit of time.
If you fill in the form too fast and hit submit before the last validation promise comes back to the client, you get an ERR_CANCELED. I suspect this is coming from Axios. You can see this happening here:
https://github.com/laravel/precognition/assets/69107412/0ca281d4-6e06-48a6-aa1a-2e96ee9d39b1
If I properly await the last XHR request before I hit submit you can see everything is fine:
https://github.com/laravel/precognition/assets/69107412/305a0001-faa9-47c0-b985-ccf8e63f0822
So to summarise:
When adding a listener to hook into the form submission to do custom stuff, my fetch() submission gets an error back from Precognition before getting the proper validation request back. However, if I remove the form submission listener which takes a bit to execute I cannot reproduce this.
Steps To Reproduce
I'd be happy to share access to a private repo with this issue.

I just noticed #69 and especially this comment: https://github.com/laravel/precognition/pull/69#discussion_r1610840065. This might very much be related.

@robdekort, I think what you are reporting is expected behaviour. Precognition will cancel any in-flight requests to ensure that you don't have "out of order" issues with responses.
However, to make sure I fully understand, could you please share the repo? It would really help me understand the issue better.

Hey @timacdonald, thanks for your reply. I think the same thing. The repo is running Statamic and a private addon that handles the form submission. Is that an issue for you? Happy to talk you through it

Let me see if I can simplify this with just one public repo for you.

Ok, I used a clean Statamic install without fluff, just a precognition form on the homepage. I added instructions for you in the README. Feel free to ping me here or on Discord if you need any assistance.
https://github.com/robdekort/precognition

Thanks, @robdekort, gonna dig into this and see if we can get it sorted.

Wonderful. Happy to help if I can assist in any way.

Also raised in https://github.com/laravel/precognition/issues/74

@robdekort, I'm not able to replicate the issue in the repo you provided, but I'm wondering if there is a race condition in your code.
Could you try adding the following condition to your submit method and see if you notice any difference?
submit() {
+    if (this.submitted) {
+        return
+    }
+
    this.submitted = true
    this.form.submit()
        .then(response => {
            this.form.reset()
            this.$refs.form.reset()
            this.success = true
            this.submitted = false
            setTimeout(() => {
                this.success = false
            }, 4500)
        })
        .then(this.$refs.form.scrollIntoView())
        .catch(error => {
            const summary = document.querySelector('#summary')
            if (summary) {
                this.$focus.focus(summary.querySelector('a'))
            }
            else {
                console.log(error)
            }
        })
}

If not, can you provide a step by step process to replicate the issue?

Hey @timacdonald. Thanks for your suggestion. Unfortunately that doesn't make a difference.
To replicate this you need to be quick, so I've turned on throttling in the network tab. And then submit before the last XHR request comes back. To be clear, this is not replicable when there's no listener active.
I've attached a video. I hope this helps. Happy to hop on a call as well to talk you through it.
https://github.com/laravel/precognition/assets/69107412/0b687dcf-e586-48a0-a450-cc736d75c663

Thanks, @robdekort. This video helped a lot.
I've opened a PR to address this issue: https://github.com/laravel/precognition/pull/78

I'll close this issue and we can track the PR. If you have any issues, let me know.

Amazing. Looking forward to testing it out. Thank you!


Fixes : #12 The Sign In and Sign up buttons were swapped

Without The changes Done by Prettier Extension Fixed the Swap Error,
On the issue #12  , Was  an extra mile Step, But it works now.
@MinavKaria DO review and merge accordingly! [Or you can help me with the YOLO badge hehe!]

@MinavKaria Done!

Sorry I can't pull your PR as it wasn't assigned, I didn't notice previously. sorry for inconvenience. Feel free to open an issue if you find any @AskitEndo


Static Export

Enable Static Export for NextJS
This will enable us to use NextJS and its router and some of the other nice features without using their API routes.
The downside is that we're gonna miss some of the features. You can find the list of supported features here.
Refference the official documentation to see what we can use from now on:
https://nextjs.org/docs/advanced-features/static-html-export
As far as I can tell it's the only way to be able to deploy the app within the same server instance.
The result will be some static HTML files which we can use as our Views and from which to refference the Java API.
After the issues is resolved we can generate static HTML by running the following commands:
npx next build
npx next export

Not needed anymore, as we figured a way around Nextjs' limitations without needing to use it as a Static Page Generator.


update to openff_unconstrained-2.1.0 as the default ff

The newer FF has better biopolymer support, a user had an issue with a system they were trying to parameterize that had arginine residues and the issue went away when we bumped the FF to use a newer version.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@13af90b). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

The newer FF

Are you referring to the SMIRNOFF force field or Espaloma model?


Added option to mock error during fetch

Since fetch can throw errors on various conditions, I would expect this mock to give developers the ability to mock fetch error throws.
I implemented this feature by extending MockOptions with an optional throw property of type Error.
I also added a test to make sure that the mocked fetch call with throw an exception if the throw property is set.

There may be some type errors in the test file because the current tsconfig.json configuration throws an error importing "bun:test".
If executed the test will run successfully, but VSCode will show few type errors here and there.

Hey, thanks for the contribution! I'm super happy that you've brought up the contribution guidelines and default formatting rules. I have already started work on the two topics.
Sorry for the misconfigured tsconfig.json file. Would you mind creating a PR for the change that fixes the errors appearing in the test files?

@sadkebab would you like to contribute to the Biome set up PR?
https://github.com/DRFR0ST/bun-bagel/pull/15


Update Readme

Describe the issue
Missing setup section.
Expected behavior
There should be a section with proper steps to setup the project on a local machine plus information regarding the required version of packages etc.

@Mansi168  please assign it to me.

Its already done
The pr is waiting to be merged, work on some other issue

ok


[test] Add concurrency and power scenarios to chip-level tests

This adds concurrency and power scenario tests identified during the AST testplanning.
This also covers the power-related tests drafted here: #9297
Let me know if additional scenarios should be added, or whether the test descriptions should be updated.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

minor nit- most testpoints have been limited to 100 chars / line, though it's not strictly enforced.

@moidx @timothytrippel @arunthomas some of these fall into the category of "virus" tests for the chip-level.


[FIX]  Send Confirmation Email After Waitlist Signup

Describe the bug
After when users sign-up with their emails on a waitlist, no confirmation email is sent to them.
Description
With this fix after when done, Users would receive a confirmation email immediately after signing up for a waitlist.
Acceptance Criteria

Upon successful sign-up, the system sends a confirmation email to the user
The email contains the user's name, and the specific waitlist details
If the email fails to send, the system logs the error and provides an alert for follow-up

Purpose
To provide users confirmation of their waitlist registration
Requirements

The system automatically sends a confirmation email to the user after they sign up for a waitlist
The confirmation email includes the user's name, the waitlist name, and a message confirming their registration

Expected Outcome
Users will receive a well-formatted confirmation email after signing up for the waitlist
Live url
https://anchor-python.teams.hng.tech/waitlist
Related Issue
908

Assign to me


Improvements to sentry-gateway

Continuing from this one: https://github.com/mikeroll/alertmanager-sentry-gateway/pull/9
I think I fixed all requested changes.

Looks good, thank you very much! I will push the new tags shortly and let docker hub build the respective images.


[registry] trusted build triggers Illegal Instruction

Apparently not all EC2 instances are created equal.
When running a previously generated build image on another build, I get this [1]:
clang-linux.compile.c++.without-pth bin.v2/libs/date_time/build/clang-linux-darwin/release/link-static/target-os-darwin/threading-multi/gregorian/greg_month.o
Illegal instruction (core dumped)
"x86_64-apple-darwin14-c++" -c -x c++ -O3 -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DBOOST_DATE_TIME_STATIC_LINK -DDATE_TIME_INLINE -DNDEBUG -I"." -o "bin.v2/libs/date_time/build/clang-linux-darwin/release/link-static/target-os-darwin/threading-multi/gregorian/greg_month.o" "libs/date_time/src/gregorian/greg_month.cpp"

...failed clang-linux.compile.c++.without-pth bin.v2/libs/date_time/build/clang-linux-darwin/release/link-static/target-os-darwin/threading-multi/gregorian/greg_month.o...
clang-linux.compile.c++.without-pth bin.v2/libs/date_time/build/clang-linux-darwin/release/link-static/target-os-darwin/threading-multi/gregorian/greg_weekday.o
Illegal instruction (core dumped)

Note that x86_64-apple-darwin14-c++ was also generated via a truted build [2].
[1] https://registry.hub.docker.com/u/steeve/cross-compiler/build_id/23819/code/b394navjjvlxfbm3zm3dgxc/
[2] https://registry.hub.docker.com/u/steeve/cross-compiler/build_id/23819/code/b394navjjvlxfbm3zm3dgxc/ (search for Illegal Instruction)
A solution to this seems to be adding -march=core2 to ensure a basic instruction set when compiling, and not use the native machine cpu capabilities.
cc @samalba

ping @kencochrane is this a hub thing?

closing as stale please ping me with details to reproduce on latest and I will reopen


Transition to NCBI Datasets

Description of proposed changes
Transition to using NCBI Datasets to fetch GenBank records. NCBI Datasets has a cached virus data package for all SARS-CoV-2 genomes, so the download is much faster than the fetch from NCBI Virus.
This produces an NDJSON file with the NCBI field names instead of our internal field names, which I think is fine since we do not publicly advertise the genbank.ndjson file. The transform-genbank pipeline has been updated to use the new field names, so we can no longer use it for the previous NDJSON files. I don't think there's any reason why we need to keep this backwards compatible, but please let me know if I've missed something.
Related issue(s)
Resolves #184
Testing

[x] Checks pass
[x] Test GenBank run (AWS Batch job id 84ebd7b4-1a3c-4479-abf8-785add6efa55)

Comparing yesterday's scheduled run (29940944-c6c3-4141-8e4c-37d6a9aba23d) to the test run (84ebd7b4-1a3c-4479-abf8-785add6efa55):

Scheduled Run
Test Run
Diff

Run time
713 minutes
458 minutes
-255 minutes

NDJSON records
6,545,783
6,501,520
-44,263

Metadata records
7,137,467
7,093,324
-44,143

The missing ~44,000 records is worrisome, I'm asking NCBI folks if there's some filtering or delay in the NCBI Datasets virus package.

Thanks a lot for this @joverlee521

augur curate passthru seems pretty slow, the rule create_genbank_ndjson that just seems to do some reformatting takes 3h15min. Not blocking but if we want to reduce runtime this is one place.

    538 [batch] [2022-12-19T20:52:00+01:00] rule create_genbank_ndjson:
    539 [batch] [2022-12-19T20:52:00+01:00]     input: data/ncbi_dataset_sequences.fasta, data/ncbi_dataset_report.tsv
    540 [batch] [2022-12-19T20:52:00+01:00]     output: data/genbank.ndjson
    541 [batch] [2022-12-19T20:52:00+01:00]     log: logs/create_genbank_ndjson.txt
    542 [batch] [2022-12-19T20:52:00+01:00]     jobid: 37
    543 [batch] [2022-12-19T20:52:00+01:00]     benchmark: benchmarks/create_genbank_ndjson.txt
    544 [batch] [2022-12-19T20:52:00+01:00]         augur curate passthru             --metadata data/ncbi_dataset_report.tsv             --f    544 asta data/ncbi_dataset_sequences.fasta             --seq-id-column Accession             --seq-field sequence             --unmatched    544 -reporting warn             --duplicate-reporting warn             2> logs/create_genbank_ndjson.txt > data/genbank.ndjson
    545 [batch] [2022-12-19T20:52:00+01:00]
    546 [batch] [2022-12-20T00:08:29+01:00] Removing temporary output file data/ncbi_dataset_sequences.fasta.
    547 [batch] [2022-12-20T00:08:35+01:00] Removing temporary output file data/ncbi_dataset_report.tsv.
    548 [batch] [2022-12-20T00:08:35+01:00] [Mon Dec 19 23:08:34 2022]
    549 [batch] [2022-12-20T00:08:35+01:00] Finished job 37.

If the 44k that are missing are old this isn't such a problem. I'll find out which ones are missing.

These are submission dates for the sequences (from metadata.tsv) not in the new download (NCBI datasets) but the old one (virus). Submission dates are spread over the last 3 weeks. It's not just the most recent day of data. But it's also nothing before end of November. Weird.

Here are metadata files for each of the combinations: new but not old, and old but now new:
differences.tsv.tgz

This is how I generate these stats:
zstdcat meta_old.tsv.zst | tsv-filter -H --str-in-fld database:genbank --str-in-fld date_submitted:2022-12 | tsv-summarize -H -g date_submitted --count | keep-header -- sort >old_submission_dates

Submission dates in old way of fetching:
date_submitted  count
2022-12-01      5391
2022-12-02      1717
2022-12-03      512
2022-12-05      3763
2022-12-06      2061
2022-12-07      1162
2022-12-08      5122
2022-12-09      3194
2022-12-10      137
2022-12-12      8167
2022-12-13      1697
2022-12-14      3282
2022-12-15      7363
2022-12-16      3536
2022-12-17      2341
2022-12-18      726
2022-12-19      2263

By new way of fetching:
date_submitted  count
2022-12-01      5237
2022-12-02      1532
2022-12-03      314
2022-12-05      1265

Ah that makes it pretty clear what's going on.

I've triggered another run now that NCBI datasets have fixed their bug.
d2604e9a-9bed-4ddf-bb40-d705cba09cb7

Getting back to this again. Triggered another test run 20f7c600-0767-48c4-b205-a6421f17dd2d

Just checked and it looks good. We now get strictly more sequences through datasets than using the often failing API download.
So I'd say it's ready for merge.
We should still look out for lack of new sequences though and alert NCBI if there's a lack of new data so they can fix.

Leaving a breadcrumb re: https://github.com/nextstrain/ncov-ingest/issues/383 here. Looks like we lost all values for some columns with this. We can continue discussion there.


issues in vendor

[x]  remove normal search bar from the listing page
[x] salutation is displaying as Mr. for all vendors when no value is specified for that vendor
[x] Rename display name to vendor display name
[x]  display name secondary lang rename to vendor display name(secondary lang)
[x]  no validation message for fields under address page
[x]  no validation messages for fields under vendor creation screen
[x]  need to refresh the screen each time to view newly created vendor under the listing page
[x]  currency is not changing in mobile when updated from web

issue fixed !


#340 partial - removed admin area magic strings.

Removed Admin area magic strings

@anobleperson  Thanks for tackling this long outstanding issue. I made a few comments while looking through the code. The only major thing I noticed is that quotes are missing around all the asp-area attributes in the cshtml files. In several places there is<EMAIL_ADDRESS>This should be changed to<EMAIL_ADDRESS>

Thanks for the quick review @dpaquette. I've updated based on your comments.

Someone on the team HTBox team will merge this for you.
Ping @tonysurma @MisterJames

I got.  (Timezones and all) :)  :shipit: is everywhere.


Consider Istio Mesh Expansion on Azure's AKS

Please consider Istio Mesh Expansion on Azure's AKS managed kubernetes.

Can you elaborate on what you mean ?
Mesh expansion should work anywhere (within the current network/ilb constraints) - and contributions to the demo scripts for other environments are welcome

The first step says
Setup Internal Load Balancers (ILBs) for Kube DNS, Pilot, Mixer and CA. This step is specific to each cloud provider, so you may need to edit annotations.
In the script provided it does not have azure specific setting.  Also AKS has the management nodes fully managed by Microsoft.

Yes, it would be great if someone from Azure or with good knowledge of AKS could contribute how to make it work similarly on AKS

Not blocking for 1.0.


Diskfull status report is not correct

Bug Report

What version of TiKV are you using?

6.5.1
What operating system and CPU are you using?

Steps to reproduce

What did you expect?
No diskfull message in log
What did happened?
There's still diskfull message in the log even though the store size shows it has more than 1TB available space.
[2023/05/26 16:54:48.376 +00:00] [INFO] [peer.rs:2404] ["reported disk usage changes None -> AlmostFull"] [peer_id=1788486] [region_id=1788483]

The message comes from another tikv, so it's by design.


[PE-D] Valid name, wrong error message when trying to add a ID field

It works when I remove the ID field, so the name should be valid, error message is misleading

Labels: severity.Medium type.DocumentationBug
original: hqhqhq1/ped#13

Won't fix due to the limitation of the argument tokenizer, but will explain clearly in User Guide on prefix usage. Essentially, this does not affect the safety nets in place to prevent the execution of the above wrongly formatted command.


Using zsh with bash completion enabled in .zshrc and sending code with a tab in it triggers the tab-completion in zsh

Hi so after lots of trial and error I finally discovered that when you use zsh with this tab-completion in your .zsh file:

autoload -Uz compinit
compinit

fpath=(/home/emil/Dropbox/share/zsh/plugins/zsh-completions/zsh-completions.plugin.zsh $fpath)
[ ! -f  /home/emil/Dropbox/share/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh ] || source /home/emil/Dropbox/share/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh
# Note: Please note that you should put the above command after the compinit, but before plugins that will wrap widgets, such as zsh-autosuggestions or fast-syntax-highlighting!

[ ! -f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ] || source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

ZSH_AUTOSUGGEST_STRATEGY=(
    history
    completion
)

[ ! -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] || source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

rm -f ~/.zcompdump; compinit

then, when you use  NormalModeSendToTmuxMotion from this plugin, the tmux terminal that you send to will start a tab completion of the word just before any tab that is in the code being send, like this here:
fi	yes

will give you suggestions to tab-completions starting with 'fi'.
and this here:

nor

will be tab-completed to the function 'normalize', since there is nothing in (at least my system) other than normalize to complete to.
Not really sure if there is an easy fix for this - the easiest fix, of course  is just to use bash instead. That's what I'll do from now on, but it would be quite nice to be able to use a zsh term with completion, if possible..

I'm not familiar with the zsh, but can you try the following?
Open a new tmux session in a terminal.
Send the string nor by directly calling tmux send-keys -t $pane_id nor Enter, where $pane_id is refering to the session:window.pane ids (most likely 0:0.0 - you see all ids of your open tmux sessions when running `tmux ls -F '#S:#I.#P').
Does the completion happen, too?

I think the issue was a combination of things, one of them being hidden chars in the file(s) I was working on, but that is resolved now.
I do have narrowed down an issue with python, which is very particular about indendation, that I will open another issue for. and this time not use a year to answer :)


Potential stopgap solution to removing remote quarantined media

It sucks that remote media which has been subsequently quarantined/removed by the host is still cached on our end. Until Matrix truly federates media, we can plug the gap by using Matrix itself or on top of the media repo stack:
Possible solution 1: Fill a room with hashes to quarantine
Bots operated by the media repo would join a collective room set in the config and advertise their quarantined media there when it happens. It would only contain the hashes to avoid media IDs being discovered. The media repos listening in the room would search their records for that hash and quarantine it if needed.
To ensure that someone can't just pump hashes into the room, we could require the media repo be configured with a signing key (https://github.com/turt2live/matrix-media-repo/issues/118) and sign a specific media object off the repo (eg: mxc://example.org/media_repo_signature). The signature should allow for multiple homeservers to sign, giving a single user ID control over several homeservers worth of media (and also not requiring that an account be provisioned per homeserver). The media repos would use the signature to only quarantine/delete media from that host (honouring the deletion request).
Advantages:

Global "ban" list
Historical record of hashes to avoid in the future

Disadvantages:

Spammy
Requires a signing key
Centralized (you only quarantine media if you're part of the cool kids in the room)

Possible solution 2: Fill a room, but have repos subscribe instead
Instead of signing some objects and gathering into a room, a custom API or media object could be used to advertise a room which other media repos should join to quarantine media. For example, if mxc://example.org/media_repo_quarantine_feed pointed to !abcdef:example.org, then any hashes in !abcdef:example.org could be quarantined/deleted if posted for example.org.
Advantages:

Media repo gets to control where people get pointed to (they could fork the ban list off to a larger homeserver which is capable of handling multiple parties in the room)
Doesn't involve complicated setup from an admin

Disadvantages:

Historical record could be lost (admin changes room permissions, or changes the room ID entirely)
If the room is invite only, the media repo is unable to quarantine the host's media (maybe this is a feature though? It's mostly not, but it could be?)
Not reliant on a giant room

Possible solution 3: Polling
The media repo could poll the media and/or a well-specified hash listing to quarantine/delete media from.
Advantages:

Super simple to add

Disadvantages:

Polling

There are legal issues with hashlists that this project can't take on at the moment. Closing until MSCs exist for this area.


Create functional opam files for our libraries

We should make it easy for people to opam install/opam pin some subset of our libraries, so that they can use the code to build tools etc. with exactly the same functionality as we have available internally.
Currently our opam files are stubs, placed to appease dune. (See src/*.opam for examples.)

We now use (package (name ...)) in src/dune-project instead. Closing.


Seems Not working. Attached screenshot of the issue

I did all the possible ways. I changed the port from 8081 to 8088, but after changing the port issue again reflecting on port 8088

You might have storybook or another app already running and using that port. Did you try rebooting?
You can find the app running with netstat or lsof (see here).

Yes. I tried rebooting, resetting, changing port and adb reverse too. None
worked.
On Aug 14, 2017 11:35 PM, "Philip I. Thomas"<EMAIL_ADDRESS>wrote:

You might have storybook or another app already running and using that
port. Did you try rebooting?
You can find the app running with netstat or lsof (see here
https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac
).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/storybook/issues/1656#issuecomment-322264057,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALORr7_k_ZaLi1Q9AksY0rXZ2QXj6Rouks5sYIx7gaJpZM4O2N2B
.

So what's the output of lsof -i :8081 in your case?

It was showing npm process running. Then i took the PID and execited kill
-9 PID command.
On Aug 15, 2017 12:57 AM, "Filipp Riabchun"<EMAIL_ADDRESS>wrote:

So what's the output of lsof -i :8081 in your case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/storybook/issues/1656#issuecomment-322285226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALORr2Tq-qG74npk4gifxcjbUhbJBmAFks5sYJ-QgaJpZM4O2N2B
.

And what does the same command return right after the kill?

It is not showing up anything. Just an empty response.
On Aug 15, 2017 1:04 AM, "Filipp Riabchun"<EMAIL_ADDRESS>wrote:
And what does the same command return right after the kill?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/storybook/issues/1656#issuecomment-322286903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALORr2M0S3cENxI6kH-NpSnqwIN5CyWoks5sYKFDgaJpZM4O2N2B
.

Can you please create a temporary GitHub repo with your setup, so that we could reproduce your issue?


Add Share button if the browser supports Web Share.

See https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share,
https://www.w3.org/TR/web-share/.
Mobile screenshot:
https://user-images.githubusercontent.com/570079/99159195-6f623380-26a8-11eb-83c0-004d3a2f03aa.png
Desktop screenshot (of what it would look like if Web Share was enabled
on desktop):
https://user-images.githubusercontent.com/570079/99159210-84d75d80-26a8-11eb-9bbf-e615f99e54cb.png
Contributes to https://github.com/rknoll/draw/issues/1 and
https://github.com/rknoll/draw/issues/19.
https://github.com/rknoll/draw/issues/1 is basically fixed on mobile,
but the share button is hidden on most desktop browsers, as Web Share
is generally a mobile-geared feature.

for browsers that don't support WebShare, we could open a dialog and let the user copy the url to the clipboard via the Clipboard API?

sounds good, but in a different PR


Feature request -- Speech Recognition feature

Hi, I want to contribute a speech recognition feature for the ngx admin .How can I do that?

Creating a pull-request on the github repo or poiting to your code, so anyone else could do it.
Saludos
Raúl Alexis Betancor Santana
Serlink Telecom S.R.L.U.
De: "kunjesh1"<EMAIL_ADDRESS>Para: "akveo/ngx-admin"<EMAIL_ADDRESS>CC: "Subscribed"<EMAIL_ADDRESS>Enviados: Martes, 7 de Julio 2020 10:21:41
Asunto: [akveo/ngx-admin] Feature request -- Speech Recognition feature (#5723)
Hi, I want to contribute a speech recognition feature for the ngx admin .How can I do that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [ https://github.com/akveo/ngx-admin/issues/5723 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AAJLLBX3BJLN47PZVQ7DBVLR2LSKLANCNFSM4OSTXG7Q | unsubscribe ] .


Openseadragon issues

Multi-Scene Issue

Tiff type image - Currently it handles multi scene by treating each url as a separate scene. If there are channels associated with the tiff, then all the channels will be associated with all the scenes instead of associating with respective scene. For example - url=path1.tiff&channelName=x1&url=path2.tiff&channelName=x2 will have 2 scenes with 2 channels with both the channel associating with both scenes instead of their respective scenes only.
For xml or jpeg or png type image - Currently they are handling multiple channels associated with a single scene. Multiple scene with multiple channel with the current version won't behave in the desired manner. Need to rectify that.
If there are multiple scene, without any channels -  need to see how osd behave in that case, as we're passing the url to osd library to render the scenes.
AliasName currently is used to display in place of channel name whenever AliasName is available.(Instead of changing the channel name to alias name - we can use the tooltip to show the alias name)

I REALLY don’t think we should be wasting any time on multi-scene images. We should assume that our tiff have only a single scene in them, which in OME-TIFF is called a series. TIFF as a format knows nothing about scenes or channels. These are concepts that are the result of interpreting multiple 2D image planes as being related somehow. I think it is a mistake to try to deal with any other multi-plane convention than OME-TIFF organization’s, and we should assume that what OSD has available to it is a separate file for each zplane-channel, and that the associated file has only a single image in it.
Also, I think we should not be working about jpeg or png to be honest. I think we should hide everything behind our image server. Then if we have multiple channels the treatment is exactly the same.
So my suggestion is that going forward we focus on using our image server, which will provide a uniform interface on top of all of the different image types, and we assume that there is a single image at a time, not multiple scenes, and that we have a different named resource (filename/url) for every Z plane and channel that follows a naming convention and that that convention holds even if we have a single zplane and channel (ie. 0_0).
Carl

Dr. Carl Kesselman
Dean’s Professor, Epstein Department of Industrial and Systems Engineering
Fellow, Information Sciences Institute Viterbi School of Engineering Professor,
Preventive Medicine Keck School of Medicine
University of Southern California
4676 Admiralty Way, Suite 1001, Marina del Rey, CA  90292-6695
Phone:  +1<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Web: http://www.isi.edu/~carl
On May 15, 2020, 7:16 PM -0700, Vipul Singh<EMAIL_ADDRESS>wrote:
Multi-Scene Issue

Tiff type image - Currently it handles multi scene by treating each url as a separate scene. If there are channels associated with the tiff, then all the channels will be associated with all the scenes instead of associating with respective scene. For example - url=path1.tiff&channelName=x1&url=path2.tiff&channelName=x2 will have 2 scenes with 2 channels with both the channel associating with both scenes instead of their respective scenes only.
For xml or jpeg or png type image - Currently they are handling multiple channels associated with a single scene. Multiple scene with multiple channel with the current version won't behave in the desired manner. Need to rectify that.
If there are multiple scene, without any channels - need to see how osd behave in that case, as we're passing the url to osd library to render the scenes.
AliasName currently is used to display in place of channel name whenever AliasName is available.(Instead of changing the channel name to alias name - we can use the tooltip to show the alias name)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/informatics-isi-edu/openseadragon-viewer/issues/20, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3OGXWRJRXJM4NCVOADZO3RRXZNTANCNFSM4NCWTF7Q.

With the changes in #51, by default we will treat each image as a representation of a channel. If a set of images is given, OSD viewer will display them in a multi-channel view.
We don't plan on supporting mutli-scene view for now and instead we are going to make some modifications to support a multi-z viewer (#57).


Build fails with incompatible types on 0.22.6

I recently upgraded to version 0.22.6 from 0.22.5 and noticed that my project stopped building. It gives this build error щт 0.22.6. But on 0.22.5 project builds successfully.
Build error:
java: incompatible types: org.treesitter.TreeSitterPython cannot be converted to org.treesitter.TSLanguage

Code fragments:
import org.treesitter.TreeSitterPython;
import org.treesitter.TSLanguage;
import org.treesitter.TSNode;
import org.treesitter.TSTree;
import org.treesitter.TSParser;
// ...
TSParser parser = new TSParser();
TSLanguage pyLanguage = new TreeSitterPython();
parser.setLanguage(pyLanguage);
// ...

Can you tell me if this is a bug, will it be fixed? Or what do I need to do?

Please upgrade python parser to v0.21.0a. It should fix the issue.


Magic Storage and Recipe Browser issue

This time, when I open Recipe Browser while using a Crafting Interface or when I open Recipe Browser after using a Crafting Interface, the game doesn't react and I can find this in the logs, not sure if it's a Recipe Browser or a Magic Storage issue or maybe even a RecursiveCraft issue
[01:22:09] [1/ERROR] [Terraria]: System.IndexOutOfRangeException: Index was outside the bounds of the array.    at RecipeBrowser.RecipeCatalogueUI.SetRecipe(Int32 index) in RecipeBrowser\RecipeCatalogueUI.cs:line 747    at RecipeBrowser.UIElements.UIRecipeSlot.Click(UIMouseEvent evt) in RecipeBrowser\UIElements\UIRecipeSlot.cs:line 67    at Terraria.UI.UserInterface.Update(GameTime time)    at Terraria.ModLoader.ModHooks.UpdateUI(GameTime gameTime)    at Terraria.Main.DoUpdate(GameTime gameTime)    at DMD<Terraria.Main::Update>(Main , GameTime )
Using mods:
[   "AlchemistNPC",   "AutoTrash",   "Azercadmium",   "CalamityMod",   "CalValEX",   "ElementsAwoken",   "Fargowiltas",   "FargowiltasSouls",   "Luiafk",   "MagicStorageExtra",   "MaxStackExtra",   "Polarities",   "RecipeBrowser",   "Redemption",   "SacredTools",   "SpiritMod",   "Split",   "StarsAbove",   "SubworldLibrary",   "VeinMiner",   "WingSlot",   "FKBossHealthBar",   "BossChecklist",   "imkSushisMod",   "imkSushisModAddOn",   "WMITF",   "Laugicality",   "WebmilioCommons",   "SOTS",   "FargowiltasSoulsDLC",   "RecursiveCraft" ]
Update:
After disabling RecursiveCraft, everything works fine, so I guess it's related to those 3 mods working together?

This is an issue between RecursiveCraft and RecipeBrowser.


Template Errors for Primes Less than 256 bit

When generating prime fields for primes less than 256 bit (128-bit or 192-bit) a template error (out of range index for slice) is returned at line 61:16 .
$ > goff -m<PHONE_NUMBER>386680763835789423207666416102355444464034512659 -o ./fp192/ -p fp192 -e Element

running goff version v0.2.2

generating fp192/element.go

template: :61:16: executing "" at <index $.One $i>: error calling index: reflect: slice index out of range

goff -m<PHONE_NUMBER>20938463463374557953744961537 -o ./fp128/ -p fp192 -e Element

running goff version v0.2.2

generating fp128/element.go

template: :61:16: executing "" at <index $.One $i>: error calling index: reflect: slice index out of range

Just fixed that (https://github.com/ConsenSys/goff/commit/6a33dccb1448e44f5d94a1b2360207c281a43ee8) ; please update to goff v0.3.0 :-)


daemon process blocks error, relation "block" does not exist

elation "block" does not exist
2024-09-13T23:41:40.132382785Z [Nest] 29  - 09/14/2024, 7:41:40 AM   ERROR [BlockService] daemon process blocks error, relation "block" does not exist
2024-09-13T23:41:40.133079882Z [Nest] 29  - 09/14/2024, 7:41:40 AM   ERROR [BlockService] daemon process blocks error, relation "block" does not exist
2024-09-13T23:41:40.139716184Z [Nest] 29  - 09/14/2024, 7:41:40 AM   ERROR [BlockService] daemon process blocks error, relation "block" does not exist
2024-09-13T23:41:40.140742284Z [Nest] 29  - 09/14/2024, 7:41:40 AM   ERROR [BlockService] daemon process blocks error,

https://github.com/CATProtocol/cat-token-box/issues/134#issuecomment-2377677363


Switch to Google Oauth for Mail service authentication

In accordance to Google secure apps, it is recommended to switch to google oauth for mail service authentication. This will be a similar setup as to what is implemented in the IndEAA project.

This has been closed with #196

FYI @DreW-123 @aseemaroo


how to get session id to send messages

my websockt uri is: ws://<IP_ADDRESS>:19900/socket/?EIO=3&transport=websocket&sid=30101e05-abcc-41c5-b361-376a814fd580
If I want to send messages to the server, must hava a valid sid, so how to create connection and get the sid
My guess is to send an authentication token to the server when creating a connection, such as a Bearer type token

From the URI you gave it seems you're using socket.io, which is a different protocol from websockets. Socket.io sometimes uses websockets for transport, but it has a lot of additional features on top of it which this library doesn't know about.
I recommend you find a library that supports Socket.io unless you want to reimplement a lot of code on top of websockets.

I See, thanks @PhilipRoman


[THRIFT-4771] add nodejs THeaderProtocol support

For nodejs
This implements a subset of THeaderProtocol.

[x] Supports TCompact and TBinaryProtocols framed/unframed for backward compatibility.
[x] Supports buffered and framed transports

Does not support:

Transforms
HTTP
Automatic detection of framed vs unframed transport. This is something I would like to address sometime in the near future in a separate PR

[x] Did you squash your changes to a single commit?

[x] Do you need an Apache Jira ticket?

[ ] Is this change worthy of a release note?

[x] Does this change require a build?

===============================================================================
*** Following 2 failures were unexpected ***:
If it is introduced by you, please fix it before submitting the code.
===============================================================================
server-client:          protocol:         transport:               result:
nodejs-hs               header            framed-ip                failure(1)
nodejs-hs               header            buffered-ip              failure(1)

If the haskell client is disabled against other servers for header protocol, we can disable it here as well (hopefully someone will fix it someday).

Hey, I know what the issue is and I'm currently working on a fix for it. It might take a few days, we can close/re-open this PR when it's fixed.

Nah, leave it open, it's fine.

👍


Receiving error 0x1770 when flash depositing

A large number of my users are experiencing a relatively similar issue,
Transaction simulation failed: Error processing Instruction 1: custom program error: 0x1770
I understand the error is associated with some type of arithmetic error, but have no idea how to work towards resolving this. To my understanding, this issue subsides if those who receive this error try staking the same NFT in a different wallet but the issue reappears when trying to stake from the original wallet.
Does anyone know a fix to this solution or at least a reason why it may be happening?

After I added rarity, this same error happened, my skating website  stopped working, people started complaining.
Can this be fixed?

This has been a massive problem for a large amt of people on my platform :/ really not sure how to fix them in bulk now and I'm very distraught

Related: #53


gaussian mixture error

Error with gaussian mixture:

import edward as ed
import inferpy as inf
import numpy as np
import tensorflow as tf

K, d, N = 3, 1, 1000

# model definition
with inf.ProbModel() as m:

    # Prior
    with inf.replicate(size=K):
        mu = inf.models.Normal(loc=0, scale=1, dim=d, name="mu")
        sigma = inf.models.InverseGamma(concentration=1, rate=1, dim=d, name="sigma")

    p = inf.models.Dirichlet(np.ones(K))

    # define the generative model
    with inf.replicate(size=N):
        z = inf.models.Categorical(probs = p, name="z")
        x = inf.models.Normal(mu[z], sigma[z], observed=True, dim=d, name="x")

# toy data generation
x_train = inf.models.Normal(loc=0, scale=1, dim=d).sample(N)

data = {x.name: x_train}

#data = {z:k_train.sample(1000)}

data

m.sample()

# compile and fit the model with training data
m.compile(infMethod="KLqp")
m.fit(data)

output error:
...

InvalidArgumentError (see above for traceback): indices[0,0] = 3 is not in [0, 3)
	 [[Node: inference/sample/Gather_1 = Gather[Tindices=DT_INT32, Tparams=DT_FLOAT, validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](inference/sample/q_sigma/sample/Reshape, inference/sample/q_z/sample/Reshape_2)]]

Note: error due to KLqp, using MCMC it works.


Added due date option

I added the due date option using flatpickr js library
Included the flatpickr library in head section
Styled the button so that it looks similar to the submit button
Kindly review the changes and merge the PR , I am also attaching the ss for reference.
Thank you for consideration :).

@Anuragpal010104  Resolve the conflicts

Thanks for your valuable contribution.

@Anuragpal010104 Resolve the conflicts

Done, Sorry for the inconvenience caused, I resolved the issues but idk how it did not happened. I will make sure next time :)

Its okay, It sometimes happens becoz of other merged pr's


Create the issues databag

Description
This PR creates the issues.json databag that will be modified and committed by creativecommons/ccos-scripts#79.
Technical details
Absence of this file means that no diffs are detected and there is nothing to commit, so no commits are pushed.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Please merge creativecommons/ccos-scripts#79 after this.


Provide bindists for GHC 9.2

I'd like to start tracking the stackage nightly upgrade to GHC 9.2 like we did for 9.0.1 in https://github.com/commercialhaskell/stackage/pull/6047. I think i need the bindists in stack-setup-2.yaml for that.

I filed https://github.com/commercialhaskell/stackage-content/pull/96 for macosx, as that's what I personally need.

I've now added all the standard bindists, as well as the linux-musl ones.
Note that I was not able to update the global hints, since the format of the release notes that the update-global-hints.hs script uses has changed.  So I'll leave this issue open until that part is complete as well.

I am closing this issue, as I see that the global hints for GHC 9.2.2, 9.2.3 and 9.2.4 were added.


[Toast] Fix regression with altText announce

Addresses https://github.com/radix-ui/primitives/pull/1468#issuecomment-1169243656
This change restores the original announce comp pattern but instead of duplicating children we render them to a document fragment and then extract the bare SR visible text content for the announcement. This avoids the framer motion issue while retaining original a11y intent with altText.

@benoitgrelard Tidied this up a little, let me know what you think.