Use Base64.urlsafe_decode64 for auth tokens

Previous use of Base64.strict_decode64 had issues with +'s getting
decoded as spaces. Base64.urlsafe_decode64 prevents these issues by not using + or / as characters.
The wiki example would need to be updated to use Base64.urlsafe_encode64 as well.

Coverage remained the same at 97.07% when pulling 60c21d77ca72ae666aee80064bbd54a7d12c11a2 on soupmatt:url_safe_auth_tokens into 9ef8132f0ab54f64886cb17eb9c2b0a3177e06c3 on rbCAS:casino-4.

Coverage remained the same at 97.07% when pulling 60c21d77ca72ae666aee80064bbd54a7d12c11a2 on soupmatt:url_safe_auth_tokens into 9ef8132f0ab54f64886cb17eb9c2b0a3177e06c3 on rbCAS:casino-4.

Thanks for the PR. Maybe I'm wrong here, but as long as you properly encode the output of Base64.strict_encode64 (e.g. with CGI.escape), there shouldn't be any problems. Do you have an example that does not work with the current implementation?


AcceptTcpClientAsync can also throw SocketException

It seems the call to AcceptTcpClientAsync  in https://github.com/rnwood/smtpserver/blob/56702c5664f81868cc48347f99f5ca48992d8c13/Rnwood.SmtpServer/SmtpServer.cs#L254 can also throw SocketException, as documented in https://docs.microsoft.com/en-us/dotnet/api/system.net.sockets.tcplistener.accepttcpclientasync?view=net-5.0#exceptions
Interesting enough I am getting the following stacktrace on disposing of SmtpServer instances randomly!
System.AggregateException : One or more errors occurred. (One or more errors occurred. (The I/O operation has been aborted because of either a thread exit or an application request.))
  ----> System.AggregateException : One or more errors occurred. (The I/O operation has been aborted because of either a thread exit or an application request.)
  ----> System.Net.Sockets.SocketException : The I/O operation has been aborted because of either a thread exit or an application request.
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Rnwood.SmtpServer.SmtpServer.Stop(Boolean killConnections) in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 190
   at Rnwood.SmtpServer.SmtpServer.Stop() in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 167
   at Rnwood.SmtpServer.SmtpServer.Dispose(Boolean disposing) in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 222
   at Rnwood.SmtpServer.SmtpServer.Dispose() in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 115
   at Octopus.IntegrationTests.Core.EmailSending.SmtpClientWrapperFixture.WhenSendingAnEmailToAServerWithNoTls_TheEmailShouldBeAccepted() in C:\Projects\OctopusDeploy\source\Octopus.IntegrationTests\Core\EmailSending\SmtpClientWrapperFixture.cs:line 28
--AggregateException
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Rnwood.SmtpServer.SmtpServer.<Start>b__24_0() in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 159
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--SocketException
   at System.Net.Sockets.Socket.GetException(SocketError error, Boolean wrapExceptionsInIOExceptions)
   at System.Net.Sockets.Socket.CompleteAccept(Socket s, TaskSocketAsyncEventArgs`1 saea)
   at System.Net.Sockets.Socket.<>c.<AcceptAsync>b__281_0(Object s, SocketAsyncEventArgs e)
   at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
   at System.Net.Sockets.SocketAsyncEventArgs.OnCompletedInternal()
   at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationAsyncFailure(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
   at System.Net.Sockets.SocketAsyncEventArgs.HandleCompletionPortCallbackError(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Net.Sockets.SocketAsyncEventArgs.<>c.<.cctor>b__179_0(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pNativeOverlapped)
--- End of stack trace from previous location ---
   at System.Net.Sockets.TcpListener.<AcceptTcpClientAsync>g__WaitAndWrap|29_0(Task`1 task)
   at Rnwood.SmtpServer.SmtpServer.AcceptNextClient() in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 254
   at Rnwood.SmtpServer.SmtpServer.Core() in C:\Projects\smtpserver\Rnwood.SmtpServer\SmtpServer.cs:line 298

Hence the reason for this PR.
I tried to reproduce this exception in your tests but was unable, I am using net5 on my solution, so not sure if it has something to do with it or not.
The good news is that once I applied this patch locally I can no longer reproduce this exception.
Can you please consider this PR as an extra improvement to this awesome lib?

Hi @johnsimons.
Many thanks for spotting this issue and looking into it.

Hi @johnsimons.
Many thanks for spotting this issue and looking into it.


Cursor Redo and Cursor Undo don't have the same when condition

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: v1.56.2
OS Version: Windows 10

Cursor Redo and Cursor Undo don't have the same when condition:

@wenfangdu The reason the when context is not rendered is because the Cursor Redo action does not have a keybinding by default.

@alexdima Indeed, I just checked out the commands which don't have default keybindings, and they all have an empty When clause, I guess that's normal then?

Yes, the when field describes the associated keybinding, it is not an inherent property of the command/action.


MAINT/DX: enforce minimum ruff version

Reference issue
https://github.com/scipy/scipy/pull/20255#issuecomment-2003146589 @ev-br
What does this implement/fix?
Instead of the rather annoying error message observed in the linked issue, we now have a nice error message, "Linting requires ruff>=0.0.292. Please upgrade ruff."
Additional information
This is a follow-up to gh-20070.
My IDE seems to have made some stylistic changes in pyproject.toml. These look good to me, but let me know if they should be removed.

Much nicer indeed!
I'd hit the green button straight away were it not for unrelated stylistic changes pyproject.html. I personally don't care either way, but have no idea if somebody else does.

Also an unrelated doc improv possibility :
Found 6 errors.
[*] 6 fixable with the `--fix` option.

great, I'd be happy to auto-fix, where does that --fix option go?

We don't currently have auto-fix built into python dev.py lint - I'll have a look at adding it

I've split the style changes out into a separate blame-ignored commit

I merged it. I couldn't easily backup my claim of needing a newer ruff than the lower bound here, but if I do run into it that would be an easy follow-up fix.


Out of memory when marking a long topic resolved

Trying to mark a topic with thousands of messages as resolved on latest Zulip (6.1). It runs super slow and eventually triggers an OOM on a 8GB memory machine.
There's a postgres process taking a CPU core 100% all the time.

Thanks for the report! Posted to the development community for discussion.

I also run a 6.1 instance with Postgres 13 and have encountered this as well. This happened in a large topic with 10K+ messages. I tried to recreate the issue in a large topic clicking the "mark as resolved" button once but could not recreate the issue. It appears to happen when a user clicks the "mark as resolved" button multiple times. The update query against the stream's messages takes 60+ seconds and a user may be wondering why clicking the button hasn't done anything and clicks it again, or a few more times. This causes multiple update queries to be created using all of the server's resources.
Perhaps a check is needed if an update query is already running for a topic so the button cannot be clicked multiple times?
Let me know if any more information is needed.

There's a related issue on Zulip Cloud. Changing the name of a topic with a lot of messages never completes. The request sent returns 504 error.

I'm closing this as resolved based on the work in #26899, which reworked this codepath significantly.  This is in main, and thus out to Zulip Cloud, but not any released version yet, however.


Add bootstrap 4

Please review!!!! For all the bootstrap awesome-sauce!!!!

:+1:, yay for new and shiny things!

I'm getting
23:50:07 client.1 | ERROR in ./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js
23:50:07 client.1 | Module build failed: Error:
23:50:07 client.1 |       Could not find path to 'bootstrap-sass' module.
23:50:07 client.1 |       Make sure it's installed in your 'node_modules/' directory.


Allow any taint to allow ops-pod deployment to any node

Currently, if any taint is declared on a node, it is not possible to schedule the ops-pod.
I'm proposing to change the default to allow any taint since ops-pod is an ops tool that should give privileged access on any node.
The risk of changing this default is that an ops-pod can block draining of nodes but any operator using the ops-pod should be aware of this.
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Thank you @serialoverflow for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.


Cover Docker workflows in tutorials or documentation

Certain workflows are very useful, like

Upgrading local cluster to latest version
Getting back into a consistent state, from any state
...

https://www.graph.cool/forum/t/migrating-from-graphcool1-0-rc1-to-prisma/2169/3?u=nilan already provides a rough version.

This has been covered in the docs.


请问怎么语法高亮？

请问怎么语法高亮？

How does the syntax highlight?

You can see how to do this in #21

How does the syntax highlight?

You can see how to do this in #21


use CMPLX[FL]? macros instead of I

The usage of I provided by "complex.h" is error-prone, e.g double complex z = Double_val(x) + I*(Double_val(y)) might give NaN as creal(z) for x = 0.0 and y = infinity.
The macros were introduced by C11, therefore I didn't make any assumptions, if they are available or not.

Let me check that I understand the issue here.  C11 (or, at least this draft) says:

NOTE
These macros act as if the implementation supported imaginary types and the definitions were:
#define CMPLX(x, y) ((double complex)((double)(x) + \
_Imaginary_I * (double)(y)))

and also

The macro I expands to either _Imaginary_I or _Complex_I. If _Imaginary_I is not defined, I shall expand to _Complex_I.

So the CMPLX macros are preferable to using I because they are guaranteed to use imaginary arithmetic, whereas I may use complex arithmetic on some implementations, which can result in more NaN propagation.

Yes, and glibc and many other stdlibs define I as _Complex_I. Therefore the surprising result is currently easy to demonstrate on the toplevel:
ComplexL.of_complex Complex.({re = 3.; im = nan});;
- : ComplexL.t = <complexld nan + nani>
ComplexL.of_complex Complex.({re = 7.; im = infinity});;
- : ComplexL.t = <complexld nan + infi>
ComplexL.of_complex Complex.({re = infinity; im = infinity});;
- : ComplexL.t = <complexld nan + infi>

_Imaginary_I is already mentioned in C99, but it is an optional feature. CMPLX was introduced by C11, but already seems to be available on more platforms.


Power Query SDK compatibility problem with Analysis Services Tabular projects

We have a known compatibility issue with the Microsoft Analysis Services Projects extension. You may encounter assembly loading exception dialogs under the following conditions:

You are using a Tabular model project with compatibility level of 1400
While using a Tabular project, you use the Import from Data Source experience or refresh an existing data source
You are using a Data Connector project
You try to use both projects in a single Visual Studio session

The errors occur due to a version mismatch between assemblies that are shared by both projects. This results in one of the following errors:

Could not load type 'Microsoft.Mashup.Engine.Interface.MashupFileExtension' from assembly 'Microsoft.MashupEngine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Could not load file or assembly 'Microsoft.ProBI.MashupLibrary, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

If you hit this problem, close and then restart visual studio.

Restarting didn't work for me. (Microsoft.ProBI.MashupLibrary) when refreshing a table.
Windows 10.0.14393 x64,
Visual Studio 2017 15.2.26430.14, (+ R#)
SQL Server Analysis Services Designer 14.0.608.142
SQL Server Data Tools 15.1.61702.140
Connected to an Azure AS (1400)

I'm having the same problem, restarting did not help also.
Windows 10.0.14393.447 x64
Visual Studio 2017 15.2.26430.14
SQL Server Analysis Services 14.0.608.142
SQL Server Management Tools 14.0.17119.0
Connected to an Azure AS (1400)
Get the following error when deploying a model:
Error: Could not load file or assembly 'Microsoft.ProBI.MashupLibrary, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

I am having exactly the same issue.  Once I get this error, nothing helps, restarting, reinstalling... nothing....

It might be the Power Connector SDK that is causing the issue...

same issue here

Also getting error:
Could not load type 'Microsoft.Mashup.Engine.Interface.MashupFileExtension' from assembly 'Microsoft.MashupEngine, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Restarting VS 2015 did not work for me either.   Please provide another workaround to this problem.

Same as @rsiebeling , the follow error occurred, neither restarting VS nor restarting the computer fixed the problem. And it was a single SSDT Analysis Services project .
_

Could not load file or assembly 'Microsoft.ProBI.MashupLibrary, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

_

I have the same issue - been uninstalling and reinstalling pieces all day . Not working yet.

I am also encountering the same issue, with no resolution after restarting VS, restarting my machine, and repairing VS installation. Like others, this is for a single SSDT Analysis Services project. Need a workaround ASAP.

Same problem here. I did a clean OS re-install and installed the VSIX. I had the power query SDK. Uninstalling the Power Query did not help. What is the solution for this?

Dead in the water.
Please provide a workaround.

Oy, so at 11AM EDT this morning Version 1.15 became available as an update, but now my whole VS2017 is whacked - I can download the update within Extensions and Updates but it doesn't queue the update, and when I remove the existing extension it still doesn't queue the install from within VS. Trying to download/install the VSIX on its own now ... sigh.
I am really getting sick of those "Visual Studio is busy" notices.

I installed the 1.15 update this evening and can confirm the issue no longer occurs for me. Thanks guys!

I was having this issue but my model was targeting 1200 unlike in original post problem description.  Version 1.15 did fix the issue.

Hi TravisKale, we are having the same issue what do you mean by version 1.15?  which software?

lxdavis99, in visual studio 2017, go to Tools | Extensions & Updates.  Then on left hand side of window, select Updates | Visual Studio Marketplace.  Update Analysis Services.  The latest version at time of writing is 1.15.

Thanks so much.
From: TravisKale<EMAIL_ADDRESS>Sent: Thursday, July 20, 2017 2:50 PM
To: Microsoft/DataConnectors<EMAIL_ADDRESS>Cc: Leonard Davis<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Microsoft/DataConnectors] Power Query SDK compatibility problem with Analysis Services Tabular projects (#2)
lxdavis99, in visual studio 2017, go to Tools | Extensions & Updates. Then on left hand side of window, select Updates | Visual Studio Marketplace. Update Analysis Services. The latest version at time of writing is 1.15.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/DataConnectors/issues/2#issuecomment-316810988, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVa06Goq0ORr7QkhO_HsWSxPjpdZhtUUks5sP69lgaJpZM4NXFn3.

Hi Len & Travis,
Unfortunately not working for me. I think its because I started monkeying
with gac util and added dll's manually..this was my original error message
too...
Microsoft.ProBI.MashupLibrary, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system
cannot find the file specified.
but after adding dll's using gac util, I ran into this one and haven't
gotten past it...
Method not found:
‘Microsoft.Mashup.DocumentServices.Strings.MultiLocalizedString
Microsoft.Mashup.Host.DFocument.UXStrings.Settings_Diagnostics_64Bi
T(System.Objects)’.
I have a note in with MS Developers
Mike
On Thu, Jul 20, 2017 at 3:55 PM, lxdavis99<EMAIL_ADDRESS>wrote:

Thanks so much.
From: TravisKale<EMAIL_ADDRESS>Sent: Thursday, July 20, 2017 2:50 PM
To: Microsoft/DataConnectors<EMAIL_ADDRESS>Cc: Leonard Davis<EMAIL_ADDRESS>Comment <
<EMAIL_ADDRESS>Subject: Re: [Microsoft/DataConnectors] Power Query SDK compatibility
problem with Analysis Services Tabular projects (#2)
lxdavis99, in visual studio 2017, go to Tools | Extensions & Updates. Then
on left hand side of window, select Updates | Visual Studio Marketplace.
Update Analysis Services. The latest version at time of writing is 1.15.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://github.com/
Microsoft/DataConnectors/issues/2#issuecomment-316810988>, or mute the
thread<https://github.com/notifications/unsubscribe-
auth/AVa06Goq0ORr7QkhO_HsWSxPjpdZhtUUks5sP69lgaJpZM4NXFn3>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/DataConnectors/issues/2#issuecomment-316827226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcwY0EwHgkIXVGj4LoGt4S9J7m9_hR3rks5sP77AgaJpZM4NXFn3
.


[Question] How to display youtube video

How to display youtube in the form as instruction, I tried to add iframe code block through Html Element,

but it doesn't display anything

iframes are not supported. You will need to add an exception to the "domsanitize" to allow irames to be rendered.
This thread talks about how to do that. https://github.com/formio/formio.js/issues/2273

this is very helpful @travist travist! I am not able to add youtube video from the Rich text editor in the Content?  is it a known issue?

CORS is a common thing that needs to be enabled within your server. Try this.
https://expressjs.com/en/resources/middleware/cors.html


Fix the private field crash for the Array object.

Fix the private field crash in the Array object mentioned in
https://github.com/jerryscript-project/jerryscript/issues/5138

Good patch. Please add the testcase.

Good patch. Please add the testcase.

Added.

Please squash the commits and add DCO to the commit message.

@akosthekiss Please review the latest changes.

I've updated the test cases and rebased to the master.
This PR fixes #5097 and #5100 and #5138 as well.

@robertsipka could you please add new regression tests with the issue numbers for all three?

@robertsipka could you please add new regression tests with the issue numbers for all three?

I've followed the author's original intention and amended the other two test cases to the test case which was originally included in the PR.


swapworkspaces Dispatcher

Description
I would like it if I would be able to swap two workspaces, i.e. swapping workspace 1 and 2 would make it so that all windows initially on workspace 1 end up on workspace 2 and all windows initially on workspace 2 end up on workspace 1.
As far as I cal tell, there isn't currently a way to do this with the available dispatchers.
Thank you!

also scriptable

scriptable, and like, I don't see a point?

Thinking about how to script it, I can only think of a hacky way:

save all windows in target workspace
move all windows from current workspace to target workspace

use focuswindow dispatcher first to focus on window to be moved
user movetoworkspace dispatcher

move all windows stored from (1) using the method in (2)

I haven't yet tested this out, but would this be the right approach? Would this keep the window orientations?

I was interested in such functionality, and got something usable based on my limited shell scripting skills:
#!/bin/sh

CURRENT_WS_ID=$(hyprctl activeworkspace -j | jq -r ".id")
TARGET_WS_ID="$1"
CURRENT_WS_WINDOWS=$(hyprctl clients -j | jq -r --arg id "$CURRENT_WS_ID" '.[] | select(.workspace.id == ($id | tonumber)) | .address')
TARGET_WS_WINDOWS=$(hyprctl clients -j | jq -r --arg id "$TARGET_WS_ID" '.[] | select(.workspace.id == ($id | tonumber)) | .address')

echo "$CURRENT_WS_WINDOWS" | xargs -I {} hyprctl dispatch movetoworkspacesilent "$TARGET_WS_ID",address:{}
echo "$TARGET_WS_WINDOWS" | xargs -I {} hyprctl dispatch movetoworkspacesilent "$CURRENT_WS_ID",address:{}

Usage is wsswap <number>. Unfortunately window order isn't preserved, but I think it could be done with further scripting.
The way I've implemented it into my config is with a keychord approach, like this:
$reset = hyprctl dispatch submap reset &&
bind = $mainMod, S, exec, sleep 2 && hyprctl dispatch submap reset
bind = $mainMod, S, submap, wsswap
submap = wsswap
bind = , 1, exec, $reset $HOME/.config/hypr/scripts/wsswap 1
bind = , 2, exec, $reset $HOME/.config/hypr/scripts/wsswap 2
bind = , 3, exec, $reset $HOME/.config/hypr/scripts/wsswap 3
bind = , 4, exec, $reset $HOME/.config/hypr/scripts/wsswap 4
bind = , 5, exec, $reset $HOME/.config/hypr/scripts/wsswap 5
bind = , 6, exec, $reset $HOME/.config/hypr/scripts/wsswap 6
bind = , 7, exec, $reset $HOME/.config/hypr/scripts/wsswap 7
bind = , 8, exec, $reset $HOME/.config/hypr/scripts/wsswap 8
bind = , 9, exec, $reset $HOME/.config/hypr/scripts/wsswap 9
bind = , escape, submap, reset
submap = reset

So Mod + S to enter the workspace swapping submap, pressing a number will swap windows on the active workspace with the ones on the workspace id that was pressed, at time same time resetting the submap to prevent further unwanted swaps, and if nothing is pressed for 2s it times out.


chore(deps): framer-motion versions

Closes #
📝 Description

bump frame-motion in peerDependencies (set to 11.0.22 because of previous only two keyframes currently supported with spring and inertia animations bug fix)
sync frame-motion in devDependencies across packages

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Summary by CodeRabbit

Dependencies Update

Updated the framer-motion dependency to version ^11.1.7 across various components.
Adjusted peerDependencies for framer-motion to >=11.0.22 for better compatibility.

These updates ensure improved performance and compatibility with the latest features of framer-motion.

@wingkwong moving this to v2.5.0 since it might break some users' app


My Position does not work on computer

Despite waiting a few seconds and clicking on Yes on:

While https://www.openstreetmap.org locates me well on my Linux Mint 22 Cinnamon Framework 13 at my flat.
Describe the issue
Please write a clear and concise description of the issue here.
Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots or screen recordings to help explain your problem.
System information:

Operating system and its version: [iOS 12, Android 10, Ubuntu 22, MacOS Big Sur, etc.]
Organic Maps version: [you can find it by tapping the button with the green Organic Maps logo, bottom left of the main screen on Android, or the ? button on iOS]
Device Model: [e.g. iPhone 6, Samsung S22]

Additional context
Please add any other context or comments here that may be useful.

Note that at each start there is the Geolocation notification even if already specified Yes.

Maybe related to app.organicmaps.desktop/issues/61.

While https://www.openstreetmap.org/ locates me well on my Linux Mint 22 Cinnamon Framework 13 at my flat.

Unfortunately at this point this is not relevant.

Please try out Geobug if that is able to give you street level cooridnates, only then.
Please run OM from terminal and attach the logs.

So you have just proven that there is no bug here.

Related to Benjamin_Loison/app.organicmaps.desktop/issues/2.


Why does library discard UTC offsets?

Where an RFC 3339 compliant date-time string has a time-zone other than UTC, it is shifted to UTC. For example, the date-time string "2016-01-01T14:10:20+01:00" is shifted to "2016-01-01T13:10:20Z".
Would there be consideration to add a type that allows offsets?

+1 because of this limitation you need a separate field to transmit the timezone info if you want to display the date in some specific timezone. UTC offsets are part of the RFC 3339 spec so there's not reason not to support it.

I can see the case for both normalization and for wanting to represent dates in their native timezones. Maybe this calls for 2 types?

+1 I would like to be able to allow offsets.


Create weighted_Berra_Soyler.py

Describe your changes
Checklist

[X] I have read the [CONTRIBUTING]
[X] I have performed a self-review of my own code
[X] I have run the code locally and it works as expected
[X] I have commented my code, particularly in hard-to-understand areas

Screenshots (if appropriate)

No duplicate pull requests.


Configuration#3:Step#1: simulating alpha_S=0.4, matter: q_0=1 | matterlbt: q_0=1.5: matterlbt02

run the simulation with the above config by jetscape,
transfer the final state hadron to the related directory named as config-XX-final-state-hadrons
after doing step1 on all 12 simulations go to step 2 for the configurationX

ported into Excel for overleaf


Files not saving

Issue Type: Performance Issue
Created a file with touch command.
added some code into the file.
Tried saving using Ctrl S
Taking a few minute for the file to be saved.
Happening on Windows.
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
AMD A8-5600K APU with Radeon(tm) HD Graphics    (4 x 3591)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.46GB (2.79GB free)

Process Argv
--crash-reporter-id c19d2c2f-fc75-4a8a-b311-670d05edd6d3

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    1	    74	  9852	code main
    1	    57	  5172	   window (Issue Reporter)
    0	    12	  6472	   utility
    8	   130	  9076	   window (bpappointments.go - go-alphadoc-oauth2-server - Visual Studio Code)
    0	    33	  1368	     extensionHost
    0	   294	 13060	       D:\Go\bin\gopls.exe -mode=stdio
    8	    17	  1180	         go list -modfile=C:\Users\merso\AppData\Local\Temp\go.f176a14d91590f04c28ba9dce036768b4e0526c8ebd834c25f4f2426557f7764.761469549.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -- net/http go-alphadoc-oauth2-server/models encoding/json
    0	     6	 12688	         console-window-host (Windows internal process)
    3	    23	 13260	         go list -modfile=C:\Users\merso\AppData\Local\Temp\go.f176a14d91590f04c28ba9dce036768b4e0526c8ebd834c25f4f2426557f7764.611198184.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -- go-alphadoc-oauth2-server go-alphadoc-oauth2-server/models go-alphadoc-oauth2-server/models/bpappointments go-alphadoc-oauth2-server/models/bpusers
    0	     9	 16692	       electron_node languageserver.js
    0	    14	  2552	     watcherService
    0	     6	  2884	       console-window-host (Windows internal process)
    0	    19	  8352	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	     5	 11908	     console-window-host (Windows internal process)
    5	    84	 10772	   gpu-process
    0	    40	 11948	   window (handlers_resources.go - go-alphadoc-oauth2-client - Visual Studio Code)
    0	     5	 12544	     console-window-host (Windows internal process)
    0	    13	 13364	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    16	 13468	     extensionHost
    0	    15	  5828	       electron_node languageserver.js
    0	    11	 11032	       "D:\Users\merso\AppData\Local\Programs\Microsoft VS Code\Code.exe" "d:\Users\merso\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=13468
    0	   149	 11340	       D:\Go\bin\gopls.exe -mode=stdio
    0	     5	  8792	         console-window-host (Windows internal process)
    0	    12	 14016	     watcherService
    0	     5	  6920	       console-window-host (Windows internal process)
    0	    12	 12956	   crashpad-handler
    0	    38	 15568	   shared-process

Workspace Info
|  Window (bpappointments.go - go-alphadoc-oauth2-server - Visual Studio Code)
|  Window (handlers_resources.go - go-alphadoc-oauth2-client - Visual Studio Code)
|    Folder (go-alphadoc-oauth2-server): 175 files
|      File types: go(86) gohtml(10) css(6) html(4) pem(3) md(3) png(3)
|                  gitignore(1) db(1) crt(1)
|      Conf files:
|    Folder (go-alphadoc-oauth2-client): 134 files
|      File types: go(77) md(3) gitignore(1) pem(1) crt(1) key(1) mod(1)
|                  sum(1) yml(1) db(1)
|      Conf files:;

Extensions (25)

Extension
Author (truncated)
Version

vscode-sql-formatter
adp
1.4.4

vscode-intelephense-client
bme
1.5.4

gotemplate
cas
0.4.0

bracket-pair-colorizer-2
Coe
0.2.0

php-debug
fel
1.13.0

php-intellisense
fel
2.3.14

php-pack
fel
1.0.2

go
gol
0.18.1

yii2-snippets
ima
0.1.2

vscode-phpfmt
kok
1.0.30

vscode-JS-CSS-HTML-formatter
lon
0.2.3

php-constructor
Meh
0.1.2

php-namespace-resolver
Meh
1.1.8

vscode-duplicate
mrm
1.2.1

mssql
ms-
1.9.0

python
ms-
2020.11.367453362

jupyter
ms-
2020.11.358541065

remote-wsl
ms-
0.51.3

vs-keybindings
ms-
0.2.0

go-doc
msy
1.0.1

sqltools
mtx
0.23.0

php-docblocker
nei
2.1.0

go-critic
nev
0.1.0

vscode-php-getters-setters
php
1.2.3

vscode-go-autotest
win
1.6.0

/needsMoreInfo does the problem also happen if you run the command to reload with all extensions disabled?

John
Thanks for having a look at this.
There were three files in total that took about 2-3 minutes to save, but
can't reproduce this.
The files are now saving just fine. So, not sure whether it was
interference from the antivirus or not.
Merson
On Thu, 19 Nov 2020, 17:49 John Murray<EMAIL_ADDRESS>wrote:

/needsMoreInfo does the problem also happen if you run the command to
reload with all extensions disabled?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/110913#issuecomment-730167653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJAMJOKY3FHRUCAHQ7XZL3SQS5WPANCNFSM4T24JW6Q
.

That's good to hear. Please close the issue here on GitHub.


Relicense under dual MIT/Apache-2.0

This issue was automatically generated. Feel free to close without ceremony if
you do not agree with re-licensing or if it is not possible for other reasons.
Respond to @cmr with any questions or concerns, or pop over to
#rust-offtopic on IRC to discuss.
You're receiving this because someone (perhaps the project maintainer)
published a crates.io package with the license as "MIT" xor "Apache-2.0" and
the repository field pointing here.
TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback. However, this is not the
primary motivation for me creating these issues. The Apache license also has
protections from patent trolls and an explicit contribution licensing clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT really
require reproducing the whole thing?" I'm not a lawyer, and I can't give legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
How?
To do this, get explicit approval from each contributor of copyrightable work
(as not all contributions qualify for copyright, due to not being a "creative
work", e.g. a typo fix) and then add the following to your README:
## License

Licensed under either of

 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.

and in your license headers, if you have them, use the following boilerplate
(based on that used in Rust):
// Copyright 2016 iron developers
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

It's commonly asked whether license headers are required. I'm not comfortable
making an official recommendation either way, but the Apache license
recommends it in their appendix on how to use the license.
Be sure to add the relevant LICENSE-{MIT,APACHE} files. You can copy these
from the Rust repo for a plain-text
version.
And don't forget to update the license metadata in your Cargo.toml to:
license = "MIT/Apache-2.0"

I'll be going through projects which agree to be relicensed and have approval
by the necessary contributors and doing this changes, so feel free to leave
the heavy lifting to me!
Contributor checkoff
To agree to relicensing, comment with :
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Or, if you're a contributor, you can check the box in this repo next to your
name. My scripts will pick this exact phrase up and check your checkbox, but
I'll come through and manually review this issue later as well.

[ ] @reem
[ ] @zzmp
[x] @michaelsproul
[x] @untitaker
[x] @panicbit
[x] @theptrk
[x] @cmr
[ ] @brycefisher
[x] @pdib
[x] @SkylerLipthay
[x] @AndrewBrinker
[ ] @barosl
[x] @cburgdorf
[ ] @davidrhyswhite
[x] @devonoel
[x] @steveklabnik
[x] @sfackler
[x] @gaudecker
[x] @leodasvacas
[x] @darayus
[x] @aleksandrpak
[ ] @AlexTalker
[ ] @bengesoff
[ ] @BenBergman
[ ] @cengizIO
[x] @AerialX
[ ] @zeroem
[x] @crackofdusk
[x] @diogovk
[ ] @qmx
[x] @EduardoBautista
[x] @gsquire
[ ] @ghmlee
[x] @shama
[ ] @mavdi
[x] @mneumann
[x] @msierks
[x] @cyndis
[ ] @fuchsnj
[x] @Nercury
[x] @sunng87
[ ] @ProtectedMode
[x] @ReadmeCritic
[ ] @AnthIste
[ ] @s-panferov
[x] @SuprDewd
[ ] @ucarion
[x] @zmbush
[x] @arathunku
[ ] @flada-auxv
[ ] @txgo

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

Pinginged @txgo because of the @-mention limit

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

The only reference @cmr gave me in https://github.com/sunng87/handlebars-iron/issues/27 is this Quora answer by a Google engineer, which doesn't even confirm what he is trying to prove. Instead the author there says it's "just the right thing to do" to credit the dependencies' author in the UI.
The other "case study" he vaguely mentioned are Android apps that have MIT dependencies:

see many google android apps with long lists of MIT attributions

but the apps that I have seen give credits to all dependencies, MIT-licensed or not.
Furthermore I have a serious problem with how this proposal is formulated, and the rhetoric used to convice crate authors to switch licenses. @cmr claims MIT-licensed libraries will not be used in software at all:

the actual implication is that your crate won't get used in dual MIT/Apache-2.0 codebases, which is largely what the Rust ecosystem has settled on.

and makes it seem like the choice of MIT/Apache is a dogma in the Rust community. In another issue, he paddles back, saying it's a rather "theoretical problem".
Apart from that I have never seen anybody else make comparable claims. It's never been an issue in any software I've ever worked on, and enough software with MIT-dependencies (or 3-clause BSD, which has similar conditions)  is deployed without replicating the copyright claims in their GUIs.

@untitaker Do you disagree with the terms of the Apache license, or do you disagree that the dual licensing is desirable, or do you disagree with the downsides of the MIT license that I've listed/my interpretation of its terms, or do you think the whole thing is irrelevant, or something else?

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I think the whole thing is unproven to be relevant.
That said, I do not care how my (minor) contributions are (re-)licensed.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

@untitaker from my position I think the most important reason to transition the license is to allow code from these libraries to be used in the std library or other parts of the rust distribution, which are all dual licensed MIT/Apache-2.0. That said, I do agree that relicensing or not is unlikely to have a strong effect on adoption in the ecosystem.
I'm for it if we can amass all the necessary relicensing waivers.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.
Patrick

On Jan 12, 2016, at 11:00 AM, Mikko Perttunen<EMAIL_ADDRESS>wrote:
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.
—
Reply to this email directly or view it on GitHub.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

@cmr Please mark my username and can you please remove my username on the list?

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.


gql: 0.3.0 -> 0.4.0

Diff: https://github.com/AmrDeveloper/GQL/compare/0.3.0...0.4.0
Changelog: https://github.com/AmrDeveloper/GQL/releases/tag/0.4.0
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 243480 run on aarch64-darwin 1

1 package built:

gql


[MLS Spec change]  Rename InitKeys -> KeyPackages; and GroupInfo -> PublicGroupState (#551)

Description of the changes
Renaming of structs.
Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/551

[ ] Rename InitKeys to KeyPackages.
[ ] Rename GroupInfo to PublicGroupState.
In draft-ietf-mls-protocol-16 it is still called GroupInfo. Second PR?

I agree there's nothing further to do in this issue.


AWS -  Error when adding worker node post upgrade.

Rancher versions:
v2.01-rc4
Steps to Reproduce:
Create a rancher server. v2.0.0
Add an AWS cluster with three nodes. One node of each type.
Upgrade server( v2.0.0 => v2.0.1-rc4 for my issue)
After upgrade is complete, scale each node pool up by one.
Results:
Worker is unable to provision.
time="2018-05-18T21:34:02Z" level=info msg="Option customConfig=map[internalAddress: roles:[] address:<IP_ADDRESS>]"
time="2018-05-18T21:34:02Z" level=info msg="Option etcd=false"
time="2018-05-18T21:34:02Z" level=info msg="Option controlPlane=false"
time="2018-05-18T21:34:02Z" level=info msg="Option worker=false"
time="2018-05-18T21:34:02Z" level=info msg="Option requestedHostname=m-9wcwq"
time="2018-05-18T21:34:02Z" level=info msg="Connecting to wss://<IP_ADDRESS>/v3/connect with token x7slgq96jrh5w57fj67qk2ss4bcdmscjbf9ncnpwb6xhrhwqbqnwfg"
time="2018-05-18T21:34:02Z" level=info msg="Connecting to proxy" url="wss://<IP_ADDRESS>/v3/connect"
time="2018-05-18T21:34:02Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:07Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:12Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:17Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:22Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:27Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:32Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:37Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:42Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:47Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:52Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:34:57Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:02Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:07Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:12Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:17Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:22Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:27Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:32Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:37Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:42Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:48Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:53Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:35:58Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:03Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:08Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:13Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:18Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:23Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:28Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:33Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:38Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:43Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:48Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:53Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:36:58Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:37:03Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:37:08Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:37:13Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"
time="2018-05-18T21:37:18Z" level=info msg="Error while getting agent config: invalid response 500: failed to find plan for <IP_ADDRESS>"

v2.0.1-rc5 was able to add worker node with recent build


[7.x] Fix Console expectation assertion order

This PR solves the ordering bug when using command and other assertions in the same test.
Please find more detailed information in issue #32256
Current State
Laravel command assertions (expectations) are being run before the application gets destroyes.
This is why command assertions alwaysrun at the end of the test and not in the provided order inside the test.
Solution
This PR changes the implementation so that the command assertions run immediately after defining them.
Fixes #32256.

@nuernbergerA, I thought you had to chain the command setup with run or execute. Is this now different?

@nuernbergerA, I thought you had to chain the command setup with run or execute. Is this now different?

execute() is an alias for run() which is called on __destruct()
All I/O related assertions have been registered on this hook which was called here
Let's take @christophrumpel example
public function it_imports_users_to_the_database(): void
{
    //expectsQuestion() registers callback on TestCase
    $this->artisan('import:users')
            ->expectsQuestion('Please provide the URL to import users:', 'https://myapi.com/users')
            //PendingCommand calls __destruct() / run()
            ->assertExitCode(0);

    //This evaluates immediately
    $this->assertCount(100, User::all());

   //TestCase::tearDown()
   //executes previous defined callback
}

I hope my attempt to illustrate the issue didn't confuse you.


Show the speedup against original code (without any change), not after change?

Just a thought... Right now, my understanding of the benchmarks is that they all use modified implementations that are not yet upstreamed and would use the standardized APIs, and we compare the perf of non-NumPy libraries against NumPy, but all using the modified implementation.
I wonder how difficult is it to compare the results against the current SciPy/scikit-learn implementations without any change? IIRC I've seen it mentioned somewhere that the adoption is actually helping improve the perf even for NumPy (at least for non-strict, I guess?), so it'd be nice to showcase this finding too. It's a nice story that "by adopting the standard, it also helps the project maintainers to discover a better pattern that could improve the CPU perf by X %".
Another question: It doesn't seem that any of the benchmarks uses the compat layer? It'd be nice to note this.

Scikit learn is merged but not released. SciPy is indeed just a PR. I can do this, though I suspect the results won't be much different.
Both libraries use the compat layer. It's basically impossible for real world libraries to code against the array API right now without using the compat layer.

Agreed that it would be better to showing timings relative to the original implementation, rather than the refactored implementation with NumPy as an array API compliant backend.
At the least, we should explicitly sanity check and verify that the original and the refactored with NumPy as a backend do not significantly differ.

I ran against the latest versions of scikit-learn and scipy.
For scikit-learn against the NumPy backend, the latest version (1.2.2) is actually slower than the array API supporting version (main) for fit (16 seconds vs. 11 seconds). The reason is that @thomasjpfan has made some performance optimizations in the code alongside the changes to add array API support, notably this one (the code in the if is_array_api_compliant block runs faster than the bincount code in the else block, which is what was used previously). That confounds things a bit as this is an optimization that would make sense even outside of the context of adding array API support.
predict is a little bit slower (0.08 seconds in scikit-learn 1.2.2 vs. 0.11 seconds in main). Given the small absolute time, I expect that may be mostly attributable to the overhead of wrapping, although I haven't investigated it further.
SciPy welch is also slower than the latest release. The welch benchmark runs in 1.35 seconds in SciPy 1.9.3 vs. 2 seconds in @tylerjereddy's branch. I haven't investigated this. I vaguely remember this being mentioned before, but I can't find it in any existing conversations. Tyler, do you have an idea for why this is the case?

Can you clarify which benchmark I'm checking? Are you just running the one I used in my branch or a modified version here somewhere?

It's this benchmark https://github.com/data-apis/scipy-2023-presentation/blob/main/benchmarks/bench.py. It's the same as the one in https://github.com/tylerjereddy/bench_welch_array_api/blob/main/bench.py except I had to lower the number of data points to avoid a memory error on my GPU with cupy.

I'll make an effort to check on a few GPUs tomorrow (May 31).

I think we're still ok with updated benchmarks (details: https://github.com/tylerjereddy/bench_welch_array_api/pull/1) on another machine/GPU and this time compared against 1.10.1 wheel as well (see below). I agree we're a bit slower vs. "vanilla NumPy" but maybe just a discussion point for paper/something to refine? I guess we should line profile this and drill down, but hopefully we don't need that fully ironed out before submitting? Below is wheel vs. my welch branch for other benchmarks.

Did those early this morning so only a single trial for now.. let me know if you need something more specific, or with better hardware (I could maybe do A100 instead of V100, but latter is easier to get allocation on for quick work).

The question here is whether this performance difference matters enough that we should compare the results against the released scipy vs. the "numpy relaxed array API".
By the way, another question about the welch benchmark? Is there a reason you use a simple signal consisting of all 0s and one non-zero entry, rather than something more complex like https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.welch.html#r34b375daf612-1? Would that matter for the performance?

If any of those tasks are important for the paper, let me know as soon as you can--I'm taking off on Saturday for a few days, but will do my best before then.

I'm working on updating the welch benchmark. I just wanted to get your thoughts on it since you did the implementation. If you don't already know why there is a difference in pure numpy, then it's something we can investigate.
By the way, the paper submission deadline is Friday, so we have to have everything ready by then anyway :)

I updated the welch benchmark to use a more realistic signal, based on that documentation example. Everything is the same except for PyTorch GPU, which now has the same performance as CuPy. It seems PyTorch was somehow optimizing the trivial "all zeros" example.
@tylerjereddy I'm a little surprised your plot https://github.com/data-apis/scipy-2023-presentation/issues/15#issuecomment-1570031934 shows CuPy as slower than PyTorch CPU. This is obviously quite hardware dependent, but I would expect your (relaxed) CuPy and Torch CPU bars to be reversed.

Hmm, yeah I noticed that too--first-ever import of fresh install/compile of cupy might slow down a bit with pyc generation and stuff for a single trial benchmark run?
I repeated the torch GPU and CuPy relaxed runs and they match your expectations over at https://github.com/tylerjereddy/bench_welch_array_api/pull/1. I guess that's part of why I mentioned I only did single trials, was mostly looking at the "vanilla NumPy" aspect.

Oh yeah, for your own benchmarks, you should make sure to do a warmup run, and also to sync the GPU before and after each run (see the discussion at #11).

Sounds good, looks like there's a CuPy developer who caught that--I did know about syncing and stuff to be fair, but yeah great that you're doing that.


Add CI for Swift 5

Context and Description
Add builds with latest Swift 5 snapshots to Travis for all Kitura repos.

A number of repos need updating to drop support for Swift 3, with their<EMAIL_ADDRESS>renaming to Package.swift.  (We could alternatively keep 3.0 support and add another<EMAIL_ADDRESS>but after discussion, we really don't want to build up more technical debt).
I've started with the common dependencies and working my way up the tree.
Done:

LoggerAPI (https://github.com/IBM-Swift/LoggerAPI/pull/41)
HeliumLogger (https://github.com/IBM-Swift/HeliumLogger/pull/70)

Next priority is to get BlueSocket merged, as it is a common dependency (and currently does not build with Swift 5 due to the package format).
Raised:

BlueSocket (https://github.com/IBM-Swift/BlueSocket/pull/154)
BlueCryptor
BlueRSA
BlueSignals
TypeDecoder
CloudEnvironment
Configuration
FileKit
Health
Kitura-Cache
Kitura-Markdown
Kitura-TemplateEngine
Kitura-StencilTemplateEngine
Swift-cfenv

Done (merged): LoggerAPI HeliumLogger BlueCryptor BlueRSA BlueSignals BlueSocket BlueSSLService Kitura-TemplateEngine Swift-cfenv Configuration KituraContracts CircuitBreaker Kitura-net CloudEnvironment TypeDecoder FileKit Health Kitura-Cache Kitura-Markdown Kitura-StencilTemplateEngine Swift-JWT Kitura-CORS Swift-Kuery Kitura-Session Kitura-WebSocket Kitura-OpenAPI SwiftyRequest
Tagged: LoggerAPI HeliumLogger BlueCryptor BlueRSA BlueSignals BlueSocket BlueSSLService KituraContracts Kitura-Session SwiftyRequest
Raised (waiting on review): wift-Kuery-PostgreSQL SwiftKueryMySQL Swift-Kuery-SQLite Kitura-Compression Kitura-NIO Swift-Kuery-ORM
Raised (work-in-progress):

Kitura: intermittent crash during tests on Linux
Kitura-Credentials: exclusive access failure reported during tests
Kitura-Sample: does not build (investigation of dependencies required)
Swift-SMTP: test failure, needs investigation

The Credentials plugins have an issue.swift5 branch, but PRs won't be raised until Credentials itself is merged and tagged.

Done: Swift-Kuery-PostgreSQL SwiftKueryMySQL Swift-Kuery-SQLite Kitura-Compression Kitura-NIO Kitura-Credentials
Tagged: Kitura-Compression Kitura-NIO Kitura-Credentials
Raised (awaiting review): Kitura-CredentialsFacebook Kitura-CredentialsGitHub Kitura-CredentialsGoogle Kitura-CredentialsHTTP
Work-in-progress:

Kitura-Sample: https://github.com/IBM-Swift/Kitura-Sample/pull/117 (awaiting Swift 5 support in appid-serversdk-swift)
Kitura: https://github.com/IBM-Swift/Kitura/pull/1374 (intermittent crash on Linux)
Swift-SMTP: https://github.com/IBM-Swift/Swift-SMTP/pull/93 (test failure)
Swift-Kuery-ORM: https://github.com/IBM-Swift/Swift-Kuery-ORM/pull/81 (needs rebasing on async changes once ready)
KituraKit: https://github.com/IBM-Swift/KituraKit/pull/42 (CI failure with Swift 5 on Linux)
Kitura-CouchDB: https://github.com/IBM-Swift/Kitura-CouchDB/pull/93 (NIO builds failed - unrelated?)

To do:

Kitura-Redis and Kitura-Session-Redis (may be tagged on to existing 4.2.1 Travis update)


Panic on large payloads

On extremely large payloads (~512 MB) the SDK panics when trying to write to the index:
thread 'main' panicked at 'called Result::unwrap()on anErrvalue: Unknown("{\"message\":\"Payload to large\",\"errorCode\":\"payload_too_large\",\"errorType\":\"invalid_request_error\",\"errorLink\":\"https://docs.meilisearch.com/error/payload_too_large\"}")', src/search/indexing/mod.rs:38:5

That's a server error and the panic seems to be originated from your code (unwrap). It seems that the only thing I can do is adding this error to the Error enum (which is very incomplete for now).

Hello @Geometrically and @Mubelotix, can we close this issue then? 🙂

Yes, the new error enum will fix this soon.

I stil believe this is an issue, meilisearch's native API has no limits on payload sizes, this limit is imposed by the SDK. Could an option be made to increase the limit?

Does it help? https://docs.meilisearch.com/guides/advanced_guides/configuration.html#payload-limit-size

@Geometrically Does it help? https://docs.meilisearch.com/guides/advanced_guides/configuration.html#payload-limit-size

No @Geometrically . As you saw in your error message, it is a meilisearch error coming directly from the server.

Oh, I see, seems to be something introduced with the actix switch. I'll close this, thanks for your help.

Yeah but they are aware of this change since the message is a well formatted error message.

@Geometrically! Yes it was introduced quite recently if I'm not wrong, that maybe you haven't seen it!
Hope you are ok and ready to use MeiliSearch and meilisearch-rust SDK now! 😁 Feel free to ask any question and to give us feedbacks!


Contribution Flow: add support for tickets

We still use the old contribution flow to order tickets. The logic is not very different, but we'll need a way to pick the number of tickets to implement it with the new contribution flow.

@Betree Can you elaborate more on this?

@flickz Sure, first description wasn't detailed enough. I've just updated it.
Basically it's the last feature we need to move away from createOrderLegacy before we can totally disable it. If you check the routes in pages.js we still have:
pages.add('orderEventTier', '/:collectiveSlug/events/:eventSlug/order/:TierId', 'createOrderLegacy');

This is use to book tickets for events. I think that the only thing we're missing here is a way to select the number of tickets that we want to order.
Some events may also have a free ticket with an optional amount, we need to make sure it works.


Enhancement: Add person to contact

Provide a way to add page contacts.

Looks like you have done some of the work for this in a0fb3ee08fbd89d91c7c4918be34b6215eca017f as part of #18

Looks like you have done some of the work for this in a0fb3ee08fbd89d91c7c4918be34b6215eca017f as part of #18

Here I was looking to add a contact web part on the page, as it gives a better overview, instead of adding the author in the header. Author support is coming in 1.4.

Here I was looking to add a contact web part on the page, as it gives a better overview, instead of adding the author in the header. Author support is coming in 1.4.


WEB DEV

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

hi, not sure what this is about?


Bugfix: Implement str for enum props to fix query string

Update both string and int enums to have a __str__ method that return just the string representation of the value:
    def __str__(self) -> str:
        return str(self.value)

This fixes a bug introduced in #241 (my bad 😬 ). As I noted on that PR, request bodies will be fine as json.dumps will convert the enums correctly. However it does not work for query string params - urllib.parse.urlencode (which httpx uses here)
just does str(val), which returns "EnumClass.key".
So
class SomeEnum(str, Enum):
  val = "a_value"

some_endpoint.sync(client=api_client, some_query_string=SomeEnum.val)

would result in a query string of ?someQueryString=SomeEnum.val instead of ?someQueryString=a_value

CC @dbanty

Thanks for the fix! 🐛


Add isValidMove(board, move) method

This should allow clients to more easily verify that they have selected a valid move before sending it to the server.
Assuming local and server states are the same (which they should if your client is well implemented) this would mean that clients will be able to always send valid moves.

Done: https://socialgorithm.org/ultimate-ttt-js/classes/uttt.uttt.html#isvalidmove


the refact not show gpt model & answer until press new chat

Last update to now clion 2024.1 :

Hello,
Can you updated the plugin and see if the issue is fixed?


Support object type for token and string type for port in config

Describe the bug
The config only allows string type for token and number type for port, while AlgodClient accepts also an object (i.e., AlgodTokenHeader and CustomTokenHeader) for the token and string type for port.
Possible Solution
In config-validation:

Validate token for string and object
Validate port for string and number

Environment

algob version: 1.2.1

@miker83z thanks for reporting.


Error message when DB falls over

I was just sitting on this page when I saw this error - but if anything like this happens the user just needs to see a message like "There was an error on this page. Our technical staff have been notified".

Haven't seen this in a while, closing for now.


Flow types for takeLeading

Hi there,
Can you please let me know when would takeLeading from redux-saga be included in flow-typed? I am looking to use it.

It'll likely be included when you write a PR for it. 😉

You can fork the repo and create a PR from there.

x

PR: https://github.com/flowtype/flow-typed/pull/2451


encode/decode messages with cbor

rather than a custom binary encoding

Codecov Report

Merging #83 (d929cca) into main (de87e85) will decrease coverage by 2.75%.
The diff coverage is 36.55%.

@@            Coverage Diff             @@
##             main      #83      +/-   ##
==========================================
- Coverage   67.56%   64.80%   -2.76%
==========================================
  Files          19       21       +2
  Lines        1714     1770      +56
==========================================
- Hits         1158     1147      -11
- Misses        412      459      +47
- Partials      144      164      +20

Impacted Files
Coverage Δ

dtsync/gen/main.go
0.00% <0.00%> (ø)

dtsync/cbor_gen.go
31.89% <31.89%> (ø)

subscriber.go
78.55% <42.85%> (-0.67%)
:arrow_down:

dtsync/publisher.go
58.59% <50.00%> (-1.09%)
:arrow_down:

dtsync/message.go
78.57% <90.90%> (+8.80%)
:arrow_up:

Continue to review full report at Codecov.

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


Added titus-oci-hook, with prestart hook in place for more stuff

This scaffolding is for my intermediate project: Getting sshd working on kubelet again.
To do this, I want to re-use as much as the titus-executor code as I can.
Previously I didn't do that, and it broke, and and it drifted in behavior (see https://github.com/Netflix/titus-executor/pull/487).
So my new goal is to implement ssh in such a way that, as we improve/change ssh on VK, it automatically applies to RK, and we don't have to continuously play catchup.
To do that, I propose this oci hook binary to use in https://github.com/Netflix-Skunkworks/titus-kubelet/pull/39. A single hook for all the things, to reduce the burden of making different binaries for all the things, and in theory no additional changes to titus-containerd or any other hook configuration to implement new stuff.

Once of the first things I think I want here is an oci hook that rejects pods that slipped through the pod mutation webhook.
In theory this should never happen, but it does on my devstack when I goof around, and I'm sure it will happen in prod some day.
It would be nice if these pod never even tried to launch, and I think the oci webhook is our last line of defense to do that.

I'm going to close this for now till we have a use case (I thought the use case was re-using some of our system sidecars like ssh, but I ended up going a different direction)

I'm going to close this for now till we have a use case (I thought the use case was re-using some of our system sidecars like ssh, but I ended up going a different direction)


Ability to Trigger training from rasa-ui

Enhancement: Each Agent will have a button to start the training process. This will export the Agent configuration and post it to RASA server in its format. Then keep checking the status for configured polling interval.
If there is no active work on this enhancement, i will work on it.

Hi @pradeepmvn - could you elaborate, currently you can do this from Rasa UI directly from the "Training" Screen? You select the agent and then press train. Thanks! Paul

@paschmann  True that the Buttons only appear when Entities exists for an Agent. I will follow from #10


Updated DOB model

Amended the minimum age an applicant can be in order to make an
application after a discussion with Leigh & Adrian.
Added test coverage for all the validation messages.

Looks fine.


Implement ToImmutable*Async extension methods

Resolves #1540.
I copied most of the XML documentation and tests of the non-immutable equivalents (with adjustments of course).
b667720 contains a bit of a refactoring, but I'm not sure if it's a big improvement.
Working with AsyncOverloads.tt was a bit unpleasant, especially since the generated code has diverged from the generated code (nullability and XML documentation) which meant I had to be careful of what to commit and what to discard.
Wouldn't a source generator be a better fit, because it knows about nullability and generic constraints?

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

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

A source generator could be a viable option to replace the T4. We've had these T4 files for years but as you've observed sometimes manual changes to the .cs files made their way in and slipped through the cracks in code reviews, so we should either do a pass to refresh them, or replace them. In the latter case, we need to make we end up generating the exact same code of course.

@bash I've merged the PR for the source generators (thanks!), so could you go ahead and rebase this PR (due to the delete/edit conflicts for the T4 files which are now obsolete)?

@bartdesmet Hurray! I'm really happy how the source generators turned out. This PR is all rebased and ready for another review. 😃

one year later -_-

one year later -_-

Looks like there are no active maintainers currently :(

Does this have to live in dotnet/reactive? C# has extension methods so unlike other Rx incarnations, there is no loss of convenience having it in a 3rd party library.

That would hurt discoverability (as pointed out in the PR review), unless it's considered acceptable for a third party library to place things in a System namespace?
On the other hand, I wonder if this and the existing mutable methods can be moved to dotnet/runtime instead, now that IAsyncEnumerable<T> is available out of the box.

Does this have to live in dotnet/reactive? C# has extension methods so unlike other Rx incarnations, there is no loss of convenience having it in a 3rd party library.

I think yes, .NET 6 have this method out of the box for linq

I always assumed that the goal of System.Linq.Async is to provide everything for async enumerables that Linq provides for enumerables (Although technically the ToImmutable* extension methods are part of System.Collections.Immutable).
I'd be willing to move this to a separate project if this should not be part of System.Linq.Async and someone has a good name suggestion for the package :)

I'm no longer interested in updating this PR should a maintainer against all odds choose to review it.
Anyone is free to adopt the PR though in that case :)

/AzurePipelines run

/AzurePipelines run


"ocdev application get" fails when current_context don't have a namespace

If there's no project selected, which can happen if the entry in .kube/config for the context defined by the current_context is empty, there's an error:
$ ocdev application get
unable to get the active application: unable to get current project name: command: [/Users/jmorales/repositories/jorgemoralespou/openshift-evangelists/oc-login.git/oc-origin project -q] failed to run:
error: no project has been set
: exit status 1

@jorgemoralespou , I think issue is being resolved now,
if there's no app,
$ odo app get
There's no active application.
You can create one by running 'odo application create <name>'.

if there's no ~/.kube/confg
$ odo app get
invalid configuration: no configuration has been provided

$ echo $?
1

This is current behavior:
▶ odo application
invalid configuration: no configuration has been provided

We should add some message explaining what user should do (oc login)


Andoid

Exception has occurred.
MissingPluginException (MissingPluginException(No implementation found for method getIpAdress on channel get_ip))

same!!! whats the solution?

flutter clean helped for me.


Fedora 29 Mouse not working (Wayland ?)

0.60
1.11-1
8.2.1-4
Fedora 29 64Bit
4k
Can you reproduce the bug at Examples:

[X] Yes (provide example code)
[ ] No
[ ] Not relevant

Provide example code:

package main

import (
	"github.com/go-vgo/robotgo"
)

func main() {
	robotgo.ScrollMouse(10, "up")
	robotgo.MouseClick("left", true)
	robotgo.MoveMouseSmooth(100, 200, 1.0, 100.0)
}

Log gist:

Description
So it seems like the mouse features are not working straight away on fedora 29. The Curser or buttons below the cursor just flicker. No mouse movement whatsoever.
Maybe this is related to Wayland Support ?
However i also tested Keyboard functionality wich seems to work fine.
Any ideas ?
...

Robotgo uses x11, please try to run xlsclients or check the x11 environment. Since the Fedora 29 version is stuck and splashed in the virtual machine, I will not continue testing it. There is no problem with Fedora 25 testing.

You can try to disable Wayland:
/etc/gdm/custom.conf
[daemon]
WaylandEnable=false

Currently, robotgo works fine on Ubuntu and Fedora XX; and this is a huge update, and there are no plans to migrate yet, because the amount of engineering and testing is large.
Welcome to contribute code that can switch between x11 and Wayland.


stripTrailingZeros implement

Discussed in https://github.com/royNiladri/js-big-decimal/discussions/55

Originally posted by uranik777 September 24, 2021
console.log( bigDecimal.add("0.0005000","1")); // 1.0005000
console.log( bigDecimal.add("0.0005000","1").stripTrailingZeros() ); // 1.0005

Hi, can I work on this?
I noticed that you already implement trailZero(), in multiply.ts.
My plan is as follows

separate it into independent function
importing it for existing functions
adding basic test cases, plus usage in conjugation to other functions like add(), multiply(), round()

Hi! That would be great. Thank you so much 🙂
On Fri, 29 Sept, 2023, 16:45 Yogi Saputro, @.***> wrote:

Hi, can I work on this?
I noticed that you already implement trailZero(), in multiply.ts.
My plan is as follows

separate it into independent function
importing it for existing functions
adding basic test cases, plus usage in conjugation to other
functions like add(), multiply(), round()

—
Reply to this email directly, view it on GitHub
https://github.com/royNiladri/js-big-decimal/issues/82#issuecomment-1740726265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD6RZDA4TUGPGGXAABD54RLX42UWPANCNFSM6AAAAAAQ4JMNDU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Consumed and released in v2.0.6


Could you please consider giving your project a license?

Just found your project and I'm blown away by it, I had never considered rendering .ass files by just directly compiling libass into javascript. Really surprised how well the whole thing works and I'm considering using it in one of my hobby projects, possibly even forking it in the future. Before I do this though I would feel a lot more comfortable if you attached a license to it, hope this isn't to much of a bother.

Hi.
Maybe you have some suggestions for the exact licence? It should be compatible with libass and it's dependencies.

After doing a quick review of all of their licenses:
expat: BSD-Style
fontconfig: BSD-Style
freetype: BSD-Style (or GPL since they let you use one or the other)
fribidi: LGPL (Different from GPL in that as long as you use it as a library and don't modify it, your project does not have to be LGPL/GPL)
libass: BSD-Style
zlib: BSD-Style
Since all of these licenses (except fribidi if you modify it) are permissive, you have a lot of leeway here. I'd recommend something simple like BSD or MIT, something more complicated like GPL are where things get a bit hairy so I'd avoid stuff like that.

I'm not really an expert on this stuff btw, so take that as you will.

Sorry for long wait. I selected MIT.
Here: https://github.com/Dador/JavascriptSubtitlesOctopus/blob/master/LICENSE


Minor mistake resolved in README file.

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #(issue_no)
Replace issue_no with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[ ] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

Working on some good issues believe in quality not quantity so this is not looks good I can't merge thus

ok  Thanks @Ayush7614  for giving me such a suggestion.


Does this package work on Flutter Web?

Hey. I am developing a Flutter web application and am trying to implement an HTTP server.
The dart:io library not working on Web
Is this library an exception?

https://github.com/gskinnerTeam/flutter-universal-platform

https://github.com/gskinnerTeam/flutter-universal-platform

Hey, can you describe your answer?

This is a package that builds a server application. HttpServer is a dependency on dart:io, so what you want is not possible with dart, so I am closing this.


Change user f_name and l_name upon assignment

@StevenXL @saraho-shea
May want to drop DB after this, as it'll reassign values from gmail.

:+1:


Valueless crossorigin attribute shouldn't be removed

<link crossorigin ...> is equivalent to <link crossorigin="anonymous" ...>, but running that through minify-html results in <link ...>, which is not equivalent.
As per MDN:

Setting the attribute name to an empty value, like crossorigin or crossorigin="", is the same as anonymous.

and

By default (that is, when the attribute is not specified), CORS is not used at all.

I believe that https://github.com/wilsonzlin/html-data/blob/8e8f101df1641b50307d44e1469aad0fd2256e4a/data/data.json#L1091-L1110 needs to be changed, but I'm not entirely sure how that project's data is generated.
Without this change, minifying valid HTML written as <link rel="preload" crossorigin ...> will lead to, e.g., opaque preload responses that can't be used. (https://github.com/GoogleChrome/web.dev/issues/7770)

Thanks for raising, I've made the changes into html-data. It turns out the React type definitions that the data is derived from does not consider crossOrigin a boolean attribute, which is why it considers the empty string redundant by default. This may be a bug in the types declaration, or intentional (e.g. force use of empty string). The fix will be part of the next version of minify-html.
I also had a look into the <meta> tag problem mentioned in the same linked issue, but couldn't immediately reproduce it (I quoted around the attribute value as the source input and minify-html did not remove the quotes). I'd be happy to look into it here (or in a new issue) as it does seem unexpected.

I was able to resolve the <meta> tag problem by opting-in to
{
  do_not_minify_doctype: true,
  ensure_spec_compliant_unquoted_attribute_values: true,
  keep_spaces_between_attributes: true,
}

in our JavaScript configuration, so I'm not as worried about it.
(As an aside, I see that there's a spec_compliant configuration initializer exposed in the Rust interface, but it's not clear whether the JavaScript bindings' createConfiguration() ends up calling that or not. Is there a difference between calling createConfiguration() with the options supplied above and using the spec_compliant initializer in Rust?)

Awesome, good to hear that the issue is resolved. Version 0.8.1 also fixed the crossorigin attribute handling so it should no longer happen; let me know if it works on your end.
I've now updated the README to mention the options to keep the output spec-compliant more clearly. The spec_compliant method in Rust simply sets those fields in Cfg to true, and keeps the rest at false, so it's the same as providing them explicitly to createConfiguration() as you have described.


Pattern matching unintuitive

I think the pattern matching is a bit unintuitive. Say I have raw and processed files in a directory and I want to simulate from either of them. Intuitively I would set pattern to e.g. *_raw_counts.txt, but that will assume the matching cell type file will be called foo_celltypes.txt rather than foo_raw_celltypes.txt. It seems you remove the pattern from the filename and then append _celltypes.txt. I think a better option would be to replace _counts.txt with _celltypes.txt for files matching the pattern.
Cheers,
Rasmus

Hmm yes true it can be a bit annoying. Maybe the solution would be to general improve this pattern matching. I think I wanted to give the option to manually list files at some point anyway. Although that won't be working for lots of files, there you still need patterns.
So maybe the best option is to be able to specify a --counts-pattern or a --celltype-pattern or both. If both are supplied, then it tries to find matching pairs, if only one is supplied, well it also tries to find matching pairs. Should be not too hard to add.

Maybe easiest to just enforce that count files should end with _counts.txt and cell types with _celltypes.txt? I don't see the use case for a lot of flexibility there. I think it's more important to be able to make a flexible selection among a collection of datasets. Then use regexps to match the rest: --pattern foo/bar_(raw|processed) to select both raw and processed samples from foo/bar for example.


Fix setting DEFAULT_METADATA_CLASS

Change DEFAULT_METADATA_CLASS to contrib.bulk_operations.metadata.BulkMetadata

Looks good to me.
Interesting all the other settings files settings_local.py.dist, settings_test.py point to the correct metadata. We were lucky that it was override by local settings.

LGTM.
It should be a typo.

Yes, that is a typo, thanks for catching this.


lib_standard_app: main.c: Change TRY/CATCH behavior to exit the app

Description
Previous behavior was to catch the Exception and somehow restart the app. This was somehow hiding the error as the user would not see the app crash. As Exception should not be raised in nominal situation or should be caught before, we changed the behavior to directly exit the app.
This also have the benefit of avoiding issue where the whole app BSS should be reset to have a sane behavior when the app was restarted.
Linked to https://github.com/LedgerHQ/app-boilerplate/pull/85
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Codecov Report
Patch and project coverage have no change.

Comparison is base (439bbdb) 85.86% compared to head (219513d) 85.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #354   +/-   ##
=======================================
  Coverage   85.86%   85.86%
=======================================
  Files           8        8
  Lines         389      389
=======================================
  Hits          334      334
  Misses         55       55

Flag
Coverage Δ

unittests
85.86% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Create a workflow to publish Java SDK snapshots into Maven Central

Would be nice to push new SNAPSHOTS into Maven Central, so community members could try the SDK with the latest updates.
A Github workflow can run every time we push modifications on sdk/java to master branch.
This one can be used: https://github.com/marketplace/actions/maven-release-fork

+1

actiion to publish added


Security Reader can read Conditional Access policies

Can you correct the article to make sure it includes the security reader CA access.

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

ID: 0767aac4-fcd9-eaac-2c30-8f17d8eadd92
Version Independent ID: a380a828-03f9-e037-3a62-e4165fda7cb6
Content: Admin role descriptions and permissions - Azure AD
Content Source: articles/active-directory/users-groups-roles/directory-assign-admin-roles.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@ivratche
Thanks for your feedback! We will investigate and update as appropriate.

This is a good point. The article does note that the role has global read-only permissions, but it doesn't mention the conditional access reader permissions in the section listing the permissions, so I made a pull request to add this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/98723


Unable to encode compound document. See previous exception for cause of failure.

I want to use it with orchid.software
I configured everything correctly,  but can't get it to work properly
`Unable to encode compound document. See previous exception for cause of

The same error on a fresh installation of laravel

See previous exception for cause of failure

In your logs, there will be the previous exception which is the cause of the failure. What does that say?

Closing this - you need to refer to the previous exception for the cause of the failure. That'll be in your logs.
FYI the next version of this package - v3.2 - will remove the catching of the original exception and just let that bubble up, rather than the cause being in the previous exception.

@veneliniliev are you using our controller action, or have you written your own controller action?

@veneliniliev are you using our controller action, or have you written your own controller action?

i use LaravelJsonApi\Laravel\Http\Controllers\JsonApiController

And the error is originating from something that is returned from that controller by the package's code, and not your own?
If so, can you create a separate issue as it is unrelated to this issue.


Obscure password input while admin login [GSSoC'23]

The password input is not obscured, hence not secured. I can also add the option to make password visible, if required by the user.
Please assign this issue to me.

The password input is not obscured, hence not secured. I can also add the option to make password visible, if required by the user. Please assign this issue to me.

you can go ahead

Regarding the obscure password input during admin login issue, I propose implementing password masking, a visibility toggle, and a confirmation prompt to enhance security and user experience. Please assign this issue to me under GSSoC'23.

The password input is not obscured, hence not secured. I can also add the option to make password visible, if required by the user. Please assign this issue to me.

you can go ahead

Okay, thanks.

I am an expert in providing authentication,so please assign me this task,i will definitely resolve this issue


Fastify plugin doesn't run before request validation

Preliminary Checks

[X] I have reviewed the documentation: https://clerk.com/docs

[X] I have searched for existing issues: https://github.com/clerk/javascript/issues

[X] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)

[X] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Reproduction
https://stackblitz.com/edit/stackblitz-starters-x6zbd9?file=server.js
Publishable key
pk_test_d29uZHJvdXMtbGVlY2gtOTQuY2xlcmsuYWNjb3VudHMuZGV2JA
Description

Steps to reproduce:
With the following code, I'm unable to perform the authentication check before the request is validated.

Setup a fastify endpoint using the stackblitz link
Perform an unauthenticated POST request with an invalid request body to the endpoint you've setup
Watch to see what status code you recieve

Expected behavior:

The request should be checked to see if it can proceed before the request body is validated against a schema. I should get a 403 before a 400 or 500 etc.
Actual behavior:

Using my code snippet above, I get a 400 status code from zod. Status codes cannot be set after it's been sent, so I never receive a 403. The order of operations is incorrect.
It may relate to this https://github.com/clerk/javascript/issues/1350
Environment
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)

  System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 7.62 GB / 15.35 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.1.0 - ~/.local/share/nvm/versions/node/v22.1.0/bin/node
    npm: 10.7.0 - ~/.local/share/nvm/versions/node/v22.1.0/bin/npm
  npmPackages:
    @clerk/clerk-react: latest => 5.1.0
    @clerk/fastify: ^1.0.10 => 1.0.10
    @emotion/react: latest => 11.11.4
    @emotion/styled: latest => 11.11.5
    @fastify/mongodb: ^8.0.0 => 8.0.0
    @fastify/multipart: ^8.2.0 => 8.2.0
    @fastify/swagger: ^8.14.0 => 8.14.0
    @fastify/swagger-ui: ^3.0.0 => 3.0.0
    @fontsource/jetbrains-mono: ^5.0.20 => 5.0.20
    @mui/material: latest => 5.15.18
    @playwright/test: latest => 1.44.0
    @testing-library/react: latest => 15.0.7
    @types/cookies: latest => 0.9.0
    @types/jsonwebtoken: latest => 9.0.6
    @vitejs/plugin-react: latest => 4.2.1
    @vitest/coverage-istanbul: latest => 1.6.0
    cookies: latest => 0.9.1
    dotenv: latest => 16.4.5
    esbuild: latest => 0.21.3
    fastify: ^4.27.0 => 4.27.0
    fastify-plugin: ^4.5.1 => 4.5.1
    fastify-type-provider-zod: ^1.2.0 => 1.2.0
    jsdom: latest => 24.0.0
    jsonwebtoken: latest => 9.0.2
    msw: latest => 2.3.0
    nodemon: latest => 3.1.0
    react: latest => 18.3.1
    react-dom: latest => 18.3.1
    react-router-dom: latest => 6.23.1
    serverless-http: latest => 3.2.0
    typescript: latest => 5.4.5
    vite: latest => 5.2.11
    vitest: latest => 1.6.0
    zod: latest => 3.23.8
    zodix: latest => 0.4.4

I found a solution. Move the check to a preValidation option:
const opts = {
	schema: {
		consumes: ["multipart/form-data"],
		body: FORM_SCHEMA
	},
	preValidation: (req, reply, done) => {
		const auth = getAuth(req);
		if (!auth.userId) {
			return reply.code(403).send();
		}
		done();
	}
};
// ...
fastify.post("/form", opts, // ...

Hello @5-tom,
Your solution is correct (you should also keep the hookName: "onRequest"). To give you more context, the clerkPlugin registration on the onRequest hook means that the Clerk middleware responsible for determining the state of the request is executed before the body is parsed/validated. The Clerk middleware does not enforce the requests to be authenticated, it identifies the state and leaves the handling to the implementor using the getAuth(req) and checks.


CPU: running with 16 cores opens the list at the bottom

This is probably applicable to machines with number of cores more than the list height. In my case grep -c proc /proc/cpuinfo is 16.
Steps to reproduce

Run nix run github:friedow/centerpiece
Type "cpu"
Use up keyboard arrow to navigate higher in the list

Expected result

The list follows the selection caret and scrolls upwards
The list of CPUs opens from the beginning

Actual result

The list stays at the very bottom. On this screenshot the selection caret is above the displayed CPUs.

The list of CPUs starts at the end

Thanks for reporting this bug :). I think  the list of cpu cores being that long is a problem in itself. I'd like to tackle this in https://github.com/friedow/centerpiece/issues/104.


Occasional Hangup with Serial Transport

Hello,
I am experiencing an occasional hangup with my application.  I am using the Windows Serial transport on the Client side and my own USB-CDC port on the Server side.  Normally, when the Sever is sending a response to a Client request, I see the following:

Sever sends a 4 byte header
Client performs serial read, gets 4 bytes
Server sends the message (16 bytes in this case)
Client performs serial read, gets 16 bytes
All is well, Client moves on

In the error state, I see this:

Server sends a 4 byte header
Server sends the message (16 bytes in this case)
Client performs serial read, gets 20 bytes
Client is now stuck in the 'serial_read' function because it read more than the 4 bytes is was expecting

To fix this, I would propose changing the 'nNumberOfBytesToRead' paremeter in the 'ReadFile' call to use the requested read size as a maximum rather than the Rx buffer size.  Here is a screenshot of the fix (line 226):

Thanks in advance!  This has been a great application to work with!

Hi @ramlco, thank you for the propose. I am not sure if this is original file or we (community) changed it already. Maybe we should update file with source. Unfortunately the person who put that file into project is no longer active. I guess this can be related source: https://github.com/BusPirate/Bus_Pirate/blob/b580ca9dcda14b7c64b6be2ed1b4b376366b1738/scripts/powertools/SPISniffer/linux-version/serial.c

@ramlco feel free to create PR with your fix and i will create new issue to update that file

Had the same issue, this would be fixed with  #190