can't run flask demo direct with F5 (idle) after upgrade to flask1.0?

after upgrade to flask 1.0.2, it seems not possible to direct run even the simple demo app through direct pressing F5 within idle?
but it can still be run through command "flask run" or in shell with "python demo.py"
is this normal case after upgrade?
the python shell feedback see below:

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello World!'

if __name__ == '__main__':
    app.run(port=80, debug=False, threaded=True)

Actual Behavior
Tell us what happens instead.
Traceback (most recent call last):
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\flasktest.py", line 9, in <module>
    app.run(port=80, debug=False, threaded=True)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\app.py", line 938, in run
    cli.show_server_banner(self.env, self.debug, self.name, False)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\flask\cli.py", line 629, in show_server_banner
    click.echo(message)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\click\utils.py", line 217, in echo
    file = _default_text_stdout()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\click\_compat.py", line 621, in func
    rv = wrapper_func()
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\click\_compat.py", line 385, in get_text_stdout
    rv = _get_windows_console_stream(sys.stdout, encoding, errors)
  File "C:\Users\dell\AppData\Local\Programs\Python\Python36\lib\site-packages\click\_winconsole.py", line 261, in _get_windows_console_stream
    func = _stream_factories.get(f.fileno())
io.UnsupportedOperation: fileno

Environment

Python version: python3.6.4
Flask version: flask1.0.2
Werkzeug version:

Have you tried running it outside of IDLE?
This stackoverflow question mentioned the same error being caused by IDLE.

Yes, I can run the demo and also my other flask-apps both well through shell command "flask run" (as development server) and also "python demo.py" (as production server). It both works.
Only can't directly run it by pressing F5 in IDLE, which it used to work before flask1.0.
I've test in 2 computers after upgrade to flask1.0.  The Situations are same. So I guess it may be related to the new version.

run the saved file. ex : pythonpractice.py

I still encounter this issue. I know the quick fix is to run command from Python, but I want to be able to use IDLE the way it was intended. Will there be any resolution to this issue?

Nearly a year later, I'm also having this same issue.

This is closed, but click is still causing this problem for me when I try to run a PyInstaller created exe as a windows service.  Any solutions?


[BUG] SKSwapChainPanel not working with Uno WASM

Description
When trying to use SKSwapChainPanel in both my own app and the Uno samples on this repo, nothing is displayed and we get an error in the browser console.
Repro Steps

Open SkiaSharp\samples\Gallery\Uno\SkiaSharpSample.sln
Replace the project dependencies by nuget dependencies in the Wasm project
Set the wasm project as starter project
Run the samples
Swith to OpenGL using the top right icon

Expected Behavior
Using the GPUView shouldn't crash, and produce the same results as UWP.
Actual Behavior
The sample panel becomes blank and the following error is displayed in the console
Uncaught Error: System.NullReferenceException: Object reference not set to an instance of an object.
  at :63559/SkiaSharp.Vie…ilename unknown>:0
  at :63559/SkiaSharp.Vie…ilename unknown>:0
  at SkiaSharp.Views.UWP.SKSwapChainPanel+SKSwapChainPanelJsInterop.Uno.Foundation.Interop.IJSObjectMetadata.InvokeManaged (:63559/System.Object…m.String parameters) <0x6e7bf20 + 0x00026> in <filename unknown>:0
  at Uno.Foundation.Interop.JSObject.Dispatch (:63559/System.String…m.String parameters) [0x0009b] in D:\a\1\s\src\Uno.Foundation\Interop\JSObject.wasm.cs:47
    at Object.call_method (dotnet.js:12321)
    at Function.dispatchMethod (dotnet.js:12395)
    at Function.dispatch (Uno.UI.js:2421)
    at SkiaSharp.Views.Uno.Wasm.js:62

Basic Information

Version with issue:  2.80.2-preview.18
Last known good version:
IDE:  Visual Studio
Platform Target Frameworks:

WebAssembly (Uno)

Target Devices:

Browser (Firefox and Chredge)

Screenshots

Reproduction Link
We can reproduce the issue using the Uno Samples.

Thanks for reporting this. I just noticed this last night when I tried to use the view. It was working...

Pushed this out as preview 19. Thanks for reporting.


[Deck 1.2.1] panic: runtime error: invalid memory address or nil pointer dereference

Hi, I was trying to update my Kong instance with deck, but faced an unexpected error. Please find details below:
Kong Version: 1.5.1 (docker image)
Deck Version: v1.2.1 (install from brew)
Command:
> deck diff
...
Summary:
  Created: 1
  Updated: 0
  Deleted: 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x1527176]

goroutine 6 [running]:
github.com/kong/deck/cmd.sendAnalytics()
        /home/hbagdi/deck/cmd/analytics.go:41 +0x296
github.com/kong/deck/cmd.Execute.func1(0xc000026090)
        /home/hbagdi/deck/cmd/root.go:55 +0x22
created by github.com/kong/deck/cmd.Execute
        /home/hbagdi/deck/cmd/root.go:54 +0x8e

Not sure if it is related to recent renaming of repo. Any help would be appreciated.

This is a duplicate of #203


build css in development

We are not handling CSS bundling in the dev environment.
It is painful to start the build step again and again.
This PR adds the css concat under the build process.
I got no luck in using rollup css plugins, they seem to not work with caching.
Thanks to @tridip1931 (ref) for flagging this.

This is awesome @kepta 💯

Thanks @kepta, looks great!
While you are in this file, can you also make sure it runs build.js whenever the preset sources change?  I think that's the other thing missing from the live reload.

@bhousel I thought about this, do you think you think it is worth adding the build.js considering we update it less frequently than css, js and the added wait time between incremental builds.

do you think you think it is worth adding the build.js considering we update it less frequently than css, js and the added wait time between incremental builds.

but it would only do this if one of the files changed, right?  It shouldn't add build time always..

oh cool, my bad.
Will add it

👎 to yarn

@bhousel had a couple of ideas while working on this PR. Would love to hear your opinion as some of them might be breaking or non-desirable changes.

If we could decouple the *.js files from the iD/data folder. This would help in keeping concerns separate. If the data changes we have to rebuild the iD/modules (I am guessing this one!, might need to verify), but if the iD/data/*.js changes we can skip compiling the data again.

The compiled .json files are sitting with the input json files, making it harder to reason. Keeping the output separate would also help in watching for file changes.

The extra build steps in package.json make the build process inconsistent. It would be great if we could bring them under the bracket of build.js file.

I know we were using a nice Makefile which kept things under control. We are doing fine without a proper build tool for now. But I see a growing uneasiness in understanding the entire build process scattered here and there. Should we consider using a build tool like gulp.js ?

Since the css rebuilding was merged as 24fef3cba, let's close this PR and @kepta you can open another one for the follow-on enhancements..
@kepta I'm ok with all your suggestions.. You probably want to start out by adding gulp, then seeing if you can then simplify the build steps and package scripts..
Mostly I just want to preserve the following:

iD should be completely buildable with npm run install and npm run all.  No extra dependencies.
This should work on all reasonable versions of node, which is currently 4, 6, 8.

This helps keep development simple, especially so that we can quickly test with confidence on weird environments like Travis or Windows.


feat(storybook): update storybook

The 5.0.4 version of storybook brings some useful new features:

New design
New canvas toolbar to give quick visual access to addons
overhauled navigation sidebar with a better menu

In the side panel of storybook, hierarchies of story clusters is not maintained
the fix will close the issue --> https://github.com/devCrossNet/vue-starter/issues/369

What is accomplished by your PR?
description...
Is there something controversial in your PR?
please take a moment to tell us about your choices...
Link to the Issue
or a link to a ticket system...
Checklist
New Feature / Bug Fix

[ ] Run unit tests to ensure all existing tests are still passing
[ ] Add new passing unit tests to cover the code introduced by your PR
[ ] Change documentation for the code introduced by your PR
[ ] Add Story / Design System Page for a new component introduced by your PR

@devCrossNet This PR can be merged when vue starter has updated version of @vuesion/service with the updated storybook.

@MohitTilwani15 can you rebase this branch on next?
would the update to the new vuesion/service break the existing vue-starter without merging this PR? That's something I have to know before releasing the vuesion/service

would the update to the new vuesion/service break the existing vue-starter without merging this PR?  -- Yes
I did the rebase as asked by you

ok then we have to release a major version in vuesion/service

okay

LGTM 👍
can you already update the @vuesion/service to version ^2.0.0 in the package.json?
I will publish this package asap.

Have you published @vuesion/service 2.0.0
I think @vuesion/service should be published first and then only I cant install the new module, as package-lock.json also needs to be updated

You’re right, I will let you know 👍

@MohitTilwani15 I published<EMAIL_ADDRESS>

@MohitTilwani15 I published<EMAIL_ADDRESS>
Update the @vuesion/service version

@MohitTilwani15 the npm run storybook:build command seems not to work in the ci. can you run it locally and see what the issue is?

@MohitTilwani15 the npm run storybook:build command seems not to work in the ci. can you run it locally and see what the issue is?

It works fine locally. Though there are some warnings about vendors asset size limit. Could that be the issue?

no, that's just the webpack performance budget, nothing to worry about. ok, I'll merge it and test it in the next branch 👍


NuGet Packager task is only supported on Windows

Hello,
From the JSON file here https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/NugetPackager/task.json
I can see that Cmd is one of the demand for this task, which  is preventing me to run this in a MAC environment.
How do I bypass this?

I'm not sure why the task demands the Cmd capability, but the task is still written in PowerShell, so I don't think it'll work anyway. You can try manually setting the Cmd capability on your Mac agent in the admin panel, but I don't think the agent supports tasks written in PowerShell on the Mac.
Of the three NuGet tasks, we have only specifically targeted the Installer task for development and testing on non-Windows platforms at this time, though the Publisher task may also work. We intend to fully support Mac and Linux build agents for all three tasks in the future, but do not have a specific timeline for that at this time.

Generally the Cmd demand is used so the job is routed to a Windows machine. The agent currently does not support Core Powershell as an execution handler for custom task authors. Node is current the xplat solution for custom task authors.

Closed as dup of #1756 (cross plat support)


Not able to get USDT withdrawal history with api

It is not possible to get the withdrawal history for USDT
>BITBNS_API.withdrawHistory("USDT", page=0)
Out[1]: {'data': [], 'status': 1, 'error': None, 'code': 204}
There should be data, and code = 200
Does this require a separate code per withdrawal network?
Thank you

Hi, @wildered
'data': [] would be case, if there has been no withdrawal done yet,
could you pls try again, after a withdrawal ?
if you are still facing an issue, you can dm on telegram @zero_d_0
since it seems to be working on my end.
{'code': 200,
          {'amount': 10.1,
           'canSendMail': 0,
           'cancelable': -1,
           'expTime': 'USDT withdraw done',
           'fee': 10,
           'hash': '0x89c237167d8d7f3fbb99e2ad31ebe2377f3ae0bc8c6ac4e1ef3650257f657084',
           'refer': 28441,
           'status': '-1',
           'timestamp': '2021-09-08T16:44:27.000Z',
           'to': '0xaEF07V82E2a55c63eaC4F1b7a0e60101e83bGd4b',
           'type': 0,
           'unit': 'USDT'}],
 'error': None,
 'status': 1}

hi, @wildered, would be closing this, feel free to reopen this incase you face the same issue again.


deleted DS file

@sonaht @m-zampetakis was this merged on purpose?
i see "deleted DS file" as the title and a bunch of files changed with not so "deleted DS file" changes... ?

that is correct G

Ok, so the title / commit comments are just wrong...
Could either of you please edit the PR title with something that shows what happened here?


[e2e]: delegator-generic push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7706963945
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Tue Jan 30 06:05:05 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7721876858
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Wed Jan 31 06:06:01 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7730669989
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Wed Jan 31 18:35:57 UTC 2024
Tests are passing now. Closing this issue.


Equirectangular / flat view

It would be awesome to support also the equirectangular view of our planet.
Just like the DesktopEarth does on Windows.

Is it possible to get such images from the source you use?

Hi @fracz, the Himawari satellite is a geostationary weather satellite of the National Institute of Information and Communications Technology, so I think what you have in mind is not possible. Or do I misunderstand you?

Hi @fracz, the Himawari satellite is a geostationary weather satellite of the National Institute of Information and Communications Technology, so I think what you have in mind is not possible. Or do I misunderstand you?


Update billing-subscription-transfer.md

Added FAQ about changing directory

Hi @ruchic, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


add operation/performance.md

Codecov Report

Merging #340 into develop will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #340      +/-   ##
===========================================
- Coverage    52.94%   52.93%   -0.01%
===========================================
  Files          244      244
  Lines        23027    23027
===========================================
- Hits         12191    12189       -2
- Misses        9430     9431       +1
- Partials      1406     1407       +1

Impacted Files
Coverage Δ

bfe_websocket/server_conn.go
75.00% <0.00%> (-1.52%)
:arrow_down:

bfe_spdy/server_conn.go
77.65% <0.00%> (-0.89%)
:arrow_down:

bfe_http2/server.go
71.67% <0.00%> (ø)

bfe_spdy/frame_write.go
50.50% <0.00%> (+1.01%)
:arrow_up:

bfe_balance/bal_gslb/sub_cluster.go
55.55% <0.00%> (+7.40%)
: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 02e47dd...2bfd686. Read the comment docs.


How many rules elastalert can load? Limit of the rules for ElastAlert

Loading how many rule files is advisable with a single node elastalert? What is the hard limit for setting up the rules ? I have gone through following link but didnt get any answer
https://gitter.im/Yelp/elastalert?at=56de6014b0cc3f1b4150f00e
Can I load around 5000 alert rules in a single go? how will it perform if no of config files will increase upto 10000 ?

https://github.com/jertel/elastalert2/discussions


Indication of error location

Right now I'm generating an openAPI schema, and only once I run generateDocument does the input get validated. There is a field in my schema somewhere that doesn't have the proper types, and generateDocument fails with:
Missing parameter data, please specify `name` and other OpenAPI parameter props using the `param` field of `ZodSchema.openapi`

Unfortunately, this is doesn't really help me address the problem, since I have no idea which field is missing the name and other OpenAPI parameter props. Is there a way this error can include where the issue comes from?

@Aeolun I get your struggles. We've tried adding additional information where we can. I guess the problem here is that you registered a schema without a name at all => the schema would just be something from zod and there won't be much we can use to precisely showcase which schema was the problem.
Based on my experience and the error message I would imagine that you did something like:
headers: [z.string()];

// Or:
headers: [z.string().openapi({ param: { in: 'header' } })];

Basically using a headers array (and not an object, since we would've used the keys as name) and not specifying a name from .openapi.

@AGalabov Actually I was using query: z.unknown(), params: z.unknown(), because these were old endpoint where I'm not aware of the types.
That wasn't actually the problem though (or at least, it was a problem, but I can sort of see how it's hard to do anything sensible with it). I was going to make a different bug report for that, zod-to-openapi seems to try and make the 'z.unknown()' into a list of parameters where the first one is unknown.
My problem was that I have 200 endpoints in my service, and when I run generateDocument after adding all 200, the only error that is thrown in the one above. It leads me to know that one of those 200 endpoints probably had a query/params definition that is missing a name, but not which one of the 200 endpoints it is.
It would be helpful if in addition to the information above, it said something like: Missing parameter data in /api/v1/endpoint POST method: please specify... .

@Aeolun actually the object or undefined is what we've intended with AnyZodObject. However I now see that this might be incorrect. I'll try and see why.
And as for your suggestion I can agree that route information could be used when it comes to a route throwing the error and not a plain parameter (one from the registry definitions).

@Aeolun

I just added what you've mentioned and TS throws an error that z.unknown and z.string (and other in general) are not assignable to z.ZodObject. How did you manage to pass z.unknown?

That's a good question. Let me recheck my code. Maybe TS lost it's types somewhere.

@Aeolun did you get to the issue? Meanwhile I've release a new version with parts of your suggestions for including route data into the error. I did not put them in the message but in data. You can try and use the latest v4.5.3 release and check if it helps in your use case.

@AGalabov Yes, it was indeed in my own code. I'd allowed it to accept unknown as the schema in my own code, and somewhere between there and where it went into openapi the type got lost, so it didn't generate an error at that point.
Apologies for the confusion 🙁


Regression when casting null into nullable enum

Version 1.2.0 removed a null check after looping over property casts. I have a weird edge case where I cast an empty string to null before letting ObjectHydrator set my ?CustomEnum-typed property.
Consider this property caster:
#[Attribute(Attribute::TARGET_PROPERTY)]
class CastEmptyStringToNull implements PropertyCaster
{
    public function cast(mixed $value, ObjectMapper $hydrator): mixed
    {
        if ($value === '') {
            return null;
        }

        return $value;
    }
}

and this object:
class MyObject
{
    public function __construct(
        #[CastEmptyStringToNull]
        public readonly ?CustomEnum $enum,
    ) {
    }
}

This used to work, but since 1.2.0 throws a TypeError:
CustomEnum::from(): Argument #1 ($value) must be of type string, null given

I considered PR'ing the following fix, but I'm unsure how to apply the same fix to the code generator:
 # ObjectMapperUsingReflection.php

 foreach ($definition->casters as [$caster, $options]) {
     // ...

+    if ($value === null) {
+        goto set_value;
+    }
 }

Failing tests can be found in https://github.com/EventSaucePHP/ObjectHydrator/pull/52.

Fixed in 1.4.0


Roll Flutter Engine from 5c30ead197b9 to 64d969ed11fd (11 revisions)

https://github.com/flutter/engine/compare/5c30ead197b9...64d969ed11fd
2022-08-19<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 5jtXFOH7XU5RNDLkY... to MQoH-sefjYwKG_X2h... (flutter/engine#35532)
2022-08-19<EMAIL_ADDRESS>Roll Skia from 657a0ab4bfc5 to 38cd049145b2 (1 revision) (flutter/engine#35531)
2022-08-19<EMAIL_ADDRESS>Roll Skia from 95c86345480c to 657a0ab4bfc5 (1 revision) (flutter/engine#35530)
2022-08-19<EMAIL_ADDRESS>Roll Skia from c805263f1697 to 95c86345480c (1 revision) (flutter/engine#35529)
2022-08-19<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from gqQZ7EN2TeYTzOqKI... to -NNSCH3WIpT1x-ZpP... (flutter/engine#35528)
2022-08-19<EMAIL_ADDRESS>Roll Skia from 13ef19f19e87 to c805263f1697 (1 revision) (flutter/engine#35526)
2022-08-19<EMAIL_ADDRESS>Roll Skia from 79633dd54c6f to 13ef19f19e87 (1 revision) (flutter/engine#35525)
2022-08-19<EMAIL_ADDRESS>Roll Clang Mac from d9e02a30b16e to 60d276923902 (flutter/engine#35522)
2022-08-19<EMAIL_ADDRESS>Roll Clang Linux from d9e02a30b16e to 60d276923902 (flutter/engine#35523)
2022-08-19<EMAIL_ADDRESS>Roll Dart SDK from d89d5a7170f1 to d6387a631d60 (1 revision) (flutter/engine#35524)
2022-08-19<EMAIL_ADDRESS>[canvaskit] Generate fallback font data file (flutter/engine#34729)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from gqQZ7EN2TeYT to -NNSCH3WIpT1
fuchsia/sdk/core/mac-amd64 from 5jtXFOH7XU5R to MQoH-sefjYwK
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[CI] switch to github actions.

closes #513

everything works. repo settings updated. 💪

Thanks ❤


Prompt text of input function is not correctly shown

Describe the bug
Using the input(...) function with a prompt text doesn't show the text correctly, but instead displays a "?". It does however wait for input and correctly returns the input to the code.
To Reproduce
Steps to reproduce the behavior:

Enter input("A number: ", "s") either in the code or in the MATLAB terminal.
Observe the output of a "?" instead of the prompt text.

Expected behavior
Show the correct prompt text.
Screenshots

Useful Information

OS Version: macOS 15.2
VS Code Version: 1.96.2
MATLAB Version: R2024b
Extension Version: 1.3.0

@philipb314 Thank you for the quick response. I am aware that this was part of the known limitations list before the 1.3.0 release, but I couldn't find it anymore this time.


Financial chart

I've been developing a financial chart here: https://github.com/benmccann/Chart.Financial.js
@etimberg mentioned that he'd be open to having it live under the chartjs group
I want to finish up some things before I publish the initial version to npm. However, I was wondering if you could create a fork under the chartjs group in the meantime while I work on polishing it up

@etimberg what do you thing to start normalizing the name of chart repositories (as we did for plugins) and create the fork under the following name: chartjs/chartjs-chart-financial? It would make obvious that chartjs-chart-* packages are targeting version 2 and other ones (Chart.*.js) mostly version 1.

@simonbrunel I like that idea since it matches what we did for plugins.
In terms of moving this under the org, would it be best to fork it into the org, or just transfer the repo?

Transfer the repo seems better!

I'm happy to transfer the repo. I will need permissions to create repositories in the chartjs organization in able to do so
Chart.BarFunnel.js and Chart.smith.js both depend on Chart.js 2.4.0. I can't easily tell what version Chart.LinearGauge.js is depending on because it doesn't utilize gulp & npm like the others (https://github.com/chartjs/Chart.LinearGauge.js/issues/6)
So right now basically the pattern is that charts use the Chart.X.js naming convention and plugins use the chartjs-chart-X naming convention. So if we want to use that naming convention then we should probably rename the other chart repos as well

Agree, we should align other 2.x chart repository names. We can start with yours in chartjs/chartjs-chart-financial and rename the others later. Also think to change the name in package.json to gather all npm packages under chartjs-chart-*.

I sent you guys invites to the repo, but I don't think it'll allow you transfer rights. I think the only way will be to at least temporarily give me more rights in the chartjs group

I think Chart.LinearGauge.js is Chart 1.x?

Thanks. Closing this as done. Chart lives here now: https://github.com/chartjs/chartjs-chart-financial


[KYUUBI #6281][PY] Speed up testing with xdist plugin

:mag: Description
Issue References 🔗

This pull request fixes #6281
Following up to #6343 , this PR adds pytest-xdist plugin to speed up python client unit testing
Types of changes :bookmark:

[ ] Bugfix (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 change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Running tests usually takes ~10 mins
Behavior With This Pull Request :tada:
Running tests can take up to 5 mins
Related Unit Tests

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Thanks, merged to master


Add setup command + setup docker subcommand to nest CLI

This PR adds a setup command with a docker subcommand that configures rootless Docker to the nest CLI.

if there's nothing else for this PR, can you un-draft it?

This should be ready to merge if someone would be willing to


Interface to MKL Parallel Direct Sparse Solver for Clusters

[x] Make build system
[x] Changelog

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1784
@jandrej
@tzanio
@jamiebramwell + @psocratis
09/27/20
⌛due 10/11/20
⌛due 10/18/20

Merged in next for testing...


Repeated 'got 504 for sockjs-node/info?t=' errors when server is running.

Hi,
When I clone the repository and run node server.js per the instructions here I see a repeated stream of errors related to sockjs-node. Sample output:
2016-05-17T22:56:40.571Z got 504 in 320ms for sockjs-node/info?t=1463525800247
2016-05-17T22:56:45.254Z getting sockjs-node/info?t=1463525805248
2016-05-17T22:56:45.576Z got 504 in 322ms for sockjs-node/info?t=1463525805248
2016-05-17T22:56:51.257Z getting sockjs-node/info?t=1463525811247
2016-05-17T22:56:51.576Z got 504 in 319ms for sockjs-node/info?t=1463525811247
2016-05-17T22:56:57.252Z getting sockjs-node/info?t=1463525817248
2016-05-17T22:56:57.572Z got 504 in 320ms for sockjs-node/info?t=1463525817248
2016-05-17T22:57:03.254Z getting sockjs-node/info?t=1463525823248
2016-05-17T22:57:03.575Z got 504 in 321ms for sockjs-node/info?t=1463525823248
2016-05-17T22:57:09.252Z getting sockjs-node/info?t=1463525829247
2016-05-17T22:57:09.572Z got 504 in 320ms for sockjs-node/info?t=1463525829247

What's going on here? Any way I can make these go away? They don't seem to be interfering with the operation of the server per se, but definitely get in the way of analyzing the local output.
I'm running this on Ubuntu 16.04, in case that matters.

Sorry for the delay! It looks like your browser might be sending those requests? You might want to try clearing your local PhantomJS file cache. I'm not sure of the location of the file cache on Ubuntu but for OSX it's located at:
~/Library/Application Support/Ofi Labs/PhantomJS/
PhantomJS might just have cached a weird file there?

Thanks, Todd! And no problem about the delay. we've long since gotten our
stuff working. those errors were a red herring and ultimately non-blocking.
On Wed, Jun 1, 2016 at 3:34 PM Todd Hooper<EMAIL_ADDRESS>wrote:

Sorry for the delay! It looks like your browser might be sending those
requests? You might want to try clearing your local PhantomJS file cache.
I'm not sure of the location of the file cache on Ubuntu but for OSX it's
located at:
~/Library/Application Support/Ofi Labs/PhantomJS/
PhantomJS might just have cached a weird file there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prerender/prerender/issues/313#issuecomment-223145296,
or mute the thread
https://github.com/notifications/unsubscribe/AAcu36NlpcwzDb3oLszqGG6zF2TLCBJ1ks5qHgjwgaJpZM4Igyc9
.

Ah, great!


setup steps

Hi there, i've been looking for something like this to use in my kivy app. Do you have setup steps to getting this and the SJgoogleBlling code up and running  ?
I see the code is fairly recent, is it operational or still work in progress ?
Cheers

It is a work in progress. And it might take a bit of time to launch this
project fully because I'm currently short of android phone
On 6 Feb 2023 01:35, "lazza" @.***> wrote:

Hi there, i've been looking for something like this to use in my kivy app.
Do you have setup steps to getting this and the SJgoogleBlling code up and
running ?
I see the code is fairly recent, is it operational or still work in
progress ?
Cheers
—
Reply to this email directly, view it on GitHub
https://github.com/SimpleJnius/SJAndroidBilling/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB42IUPKUL4Z3W4V5JYTA3WWBBL3ANCNFSM6AAAAAAUSCLCNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

No worries, I'll keep a watch on it then :)

FYI, i'm happy to be a tester if needed. I have a kivy app, android phone and a google play account with billing enabled :)

sounds good to me. i will get back on the project again and update a few
things. then ping you to run a test
On 12 Feb 2023 10:12, "lazza" @.***> wrote:

FYI, i'm happy to be a tester if needed. I have a kivy app, android phone
and a google play account with billing enabled :)
—
Reply to this email directly, view it on GitHub
https://github.com/SimpleJnius/SJAndroidBilling/issues/1#issuecomment-1426981444,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB42IQBZ46PQ62ELJQWCGDWXCSRTANCNFSM6AAAAAAUSCLCNQ
.
You are receiving this because you commented.Message ID:
@.***>

Hi there. Just touching base again. Just curious what features are yet to implemented ? Other than testing on an android device is it kind of, sort of useable in its current state? 🤔  :)
My usage case would be using google play billing for subscription purposes

I can't remember what features that needs to be implemented. My hard disk
crashed and I currently won't be working on that or any other project till
I get a new hard disk
On Sat, 11 Mar 2023 at 08:20, lazza @.***> wrote:

Hi there. Just touching base again. Just curious what features are yet to
implemented ? Other than testing on an android device is it kind of, sort
of useable in its current state? 🤔 :)
My usage case would be using google play billing for subscription purposes
—
Reply to this email directly, view it on GitHub
https://github.com/SimpleJnius/SJAndroidBilling/issues/1#issuecomment-1464849364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB42IRUCSXIQE7JAXEL5NTW3QRUHANCNFSM6AAAAAAUSCLCNQ
.
You are receiving this because you commented.Message ID:
@.***>

I'm sorry for the delay in the project
On Sat, 11 Mar 2023 at 19:30, kenechukwu Akubue @.***> wrote:

I can't remember what features that needs to be implemented. My hard disk
crashed and I currently won't be working on that or any other project till
I get a new hard disk
On Sat, 11 Mar 2023 at 08:20, lazza @.***> wrote:

Hi there. Just touching base again. Just curious what features are yet to
implemented ? Other than testing on an android device is it kind of, sort
of useable in its current state? 🤔 :)
My usage case would be using google play billing for subscription purposes
—
Reply to this email directly, view it on GitHub
https://github.com/SimpleJnius/SJAndroidBilling/issues/1#issuecomment-1464849364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB42IRUCSXIQE7JAXEL5NTW3QRUHANCNFSM6AAAAAAUSCLCNQ
.
You are receiving this because you commented.Message ID:
@.***>


feat: added addReleases config.

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

0.2.0
GitHub release

Your semantic-release bot :package::rocket:


Replace build.sh with a Makefile to allow parallelism at the board level.

build.sh has a lot of low hanging parallelism available

build_bitstreams() can call make -j${NUMCPUS} to atleast parallelize multiple underlying all: targets
All the Overlays and builds could be made a top level all: target in a Makefile to replace build.sh. This allows calling "make -j${NUMCPUS}" from sdbuild/packages/pynq/pre.sh  instead of the current ./build.sh

I have a 112 core system that waits on Vivado to build one project at a time (with 8 threads) instead of all of them in parallel. Happy to contribute PRs if the general direction is good.
SNIPPET From build.sh for discussion:
users can cache bit, hwh, and hdf to speed up the build_bitstreams()
build_bitstreams () {
local root=$1
local board=$2
local orig_dir=$(pwd)
cd $root/$board
local overlays=find . -maxdepth 2 -name 'makefile' -printf '%h\n' | cut -f2 -d"/"
for ol in $overlays ; do
cd $root/$board/$ol
if [[ -e $ol.bit && -e $ol.hwh ]]; then
echo "skipping bitstream $ol.bit for $board"
else
echo "building bitstream $ol.bit for $board"
make
fi
done
cd $orig_dir
}
usage
checkdeps
build all bitstreams since they will be included in the sdist
cd $script_dir/boards
boards=find . -maxdepth 2 -name '*.spec' -printf '%h\n' | cut -f2 -d"/"
for b in $boards ; do
build_bitstreams "$script_dir/boards" "$b"
done

Hi @powderluv, we think this is a great proposal. Please, if you want go ahead with a PR, and we can start from there.


feat: Support --dart-define

As the title says, we need support for --dart-define (or maybe --jaspr-define or just --define like pure dart)
jaspr serve --dart-define=ENV=dev --dart-define=API_URL=https://api.example.com

Now, you'll be able to access these values from code at compile time like this:
const env = String.fromEnvironment('ENV', defaultValue: 'dev');
const apiUrl = String.fromEnvironment('API_URL', defaultValue: 'https://api.example.com');

Good idea. I would add it as --dart-define so its similar to flutter.

Would you expect it to be available both on the server and client?
Would you want to provide separate values for server and client? e.g. --server-define / --client-define?

I was testing this as just client side rendering, didn't think of the SSR part yet, but now that you mention it I think that having a way to define environment values separately is a better approach. Maybe '--dart-define' can be used as a global environment and '--server-define'/'--client-define' is used for SSR to separate environment values used by the server vs the client. It adds a lot more complexity because the user would need to handle this somehow (like trying to access a value defined for the server from a client side route and vice versa) but you'll be able to keep secret server environment values separate from the client.
In any case, I think that at least with support for a global '--dart-define' should be enough as a minimum requirement, people would need to handle secrets in a different way for the server side of they need to but that's ok.


Apple IIe - RAMWorks compatibility issue

Try this on an Apple IIe with RAMWorks or compatible:
Boot to a BASIC prompt, then enter:
CALL -151
100: 20 00 C3 8D 00 C0 A9 32
108: 8D 00 04 A9 31 8D 05 C0
110: 8D 00 04 A9 01 8D 73 C0
118: A9 39 8D 00 04 4C 1D 01
100G

On the composite output, the upper right should display 12 (inverse)
On the VGA output, the upper right displays: 92 (inverse)

What's happening:

hit 80STOREOFF (so PAGE2 doesn't have special meaning)
write digit 2 to $400 main
hit WRCARDRAM
write digit 1 to $400 aux
write 1 to $C073 to select RAMWorks aux bank 1 instead of 0
write digit 9 to $400 aux

Analysis:

Writing to RAMWorks banks other than bank 0 should not affect the 80 column display. I didn't spot any code in the project to handle RAMWorks banks.
All of $C071, $C073, $C075 and $C077 should behave the same way. discussion
Perfect behavior will be a challenge:

On a system without RAMWorks memory, $C073 would be ignored. So a program that writes to $C073 followed by writes intended for the 80col display would not be seen. However, such a program would behave incorrectly on a system with RAMWorks, and be considered buggy.
On a system with RAMWorks memory, selecting a bank with $C073 that does not exist will cause writes to go to another bank. Sometimes this would update bank 0, depending on the aliasing. Predicting this behavior would be a challenge if not impossible. Again, this would only occur in a buggy program.

Hardware: Enhanced Apple IIe, w/ A2VidGA, RAMWorks compatible from GW

Here's a practical example, and how I noticed the problem in the first place:

Boot a ProDOS disk with an appropriate RAMWorks disk driver on it, e.g. John Brook's RAMAUX.SYSTEM which creates /RAMA
Without restarting ProDOS, launch Apple II DeskTop (from https://github.com/a2stuff/a2d/releases)
If A2D doesn't start copying itself to RAMDisk, go to Apple > Control Panels > Options and enable the option, then File > Quit and restart

What I see via VGA:

What I see via Composite:

Note that in the VGA screenshot, in the even columns at the middle of the screen you can see the inverse ...@@@@@? - this is the ProDOS volume bitmap slowly being populated as the file copy proceeds. The bitmap is apparently in Bank 1 between $400 and $7FF, with inverse @ being $00 or %00000000 which represents 8 in-use blocks, and inverse ? is $3F or %00111111 which is 2 used blocks and 6 free blocks.


access_token to external login by provider

support to get access token of external login, new external method access_token added

Sorry about the commit trash, I forgot the other clients and after cleaning a space code, I tried the amend but it was not a good idea.


[WEB - SDK] - Add Payment Method with Dynamic Field Rendering - Boleto

The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.
Getting started

Get familiar with ReScript.
Check the README.md for project structure and setup instructions.
To setup locally, follow these steps

#  Clone repository
cd hyperswitch-web
yarn install
yarn run server     # This starts the mock server
yarn run re:start   # In another terminal

# Start Demo App in another terminal
cd hyperswitch-react-demo-app
yarn install
yarn run start        # This starts the demo app

Description:
We are looking to implement a new payment method in our WebSDK that supports dynamic field rendering. The goal is to allow the backend to define the fields required for the payment method and have the frontend WebSDK render these fields dynamically based on the response.
This feature should be flexible enough to handle different payment methods, each potentially requiring different types of input fields (e.g., text fields, dropdowns, checkboxes, etc.).

Requirements:

Payment Method Integration Details:
In this section, we provide details on the payment call response and the confirm call payload for the newly integrated payment method. Ensure you have configured the payment method at Hyperswitch Dashboard correctly. The backend already includes support for this payment method, so no additional configuration is needed.
Payment Method List Response for Boleto -
{
  "payment_method": "voucher",
  "payment_method_types": [
    {
      "payment_method_type": "boleto",
      "payment_experience": [
        {
          "payment_experience_type": "redirect_to_url",
          "eligible_connectors": ["adyen"]
        }
      ],
      "card_networks": null,
      "bank_names": null,
      "bank_debits": null,
      "bank_transfers": null,
      "required_fields": {
        "billing.address.state": {
          "required_field": "payment_method_data.billing.address.state",
          "display_name": "state",
          "field_type": "user_address_state",
          "value": "California"
        },
        "billing.address.first_name": {
          "required_field": "payment_method_data.billing.address.first_name",
          "display_name": "card_holder_name",
          "field_type": "user_full_name",
          "value": "joseph"
        },
        "billing.address.line1": {
          "required_field": "payment_method_data.billing.address.line1",
          "display_name": "line1",
          "field_type": "user_address_line1",
          "value": "1467"
        },
        "billing.address.city": {
          "required_field": "payment_method_data.billing.address.city",
          "display_name": "city",
          "field_type": "user_address_city",
          "value": "San Francisco"
        },
        "billing.address.line2": {
          "required_field": "payment_method_data.billing.address.line2",
          "display_name": "line2",
          "field_type": "user_address_line2",
          "value": "Harrison Street"
        },
        "billing.address.zip": {
          "required_field": "payment_method_data.billing.address.zip",
          "display_name": "zip",
          "field_type": "user_address_pincode",
          "value": "94122"
        },
        "billing.address.last_name": {
          "required_field": "payment_method_data.billing.address.last_name",
          "display_name": "card_holder_name",
          "field_type": "user_full_name",
          "value": "Doe"
        },
        "payment_method_data.voucher.boleto.social_security_number": {
          "required_field": "payment_method_data.voucher.boleto.social_security_number",
          "display_name": "social_security_number",
          "field_type": "text",
          "value": null
        },
        "billing.address.country": {
          "required_field": "payment_method_data.billing.address.country",
          "display_name": "country",
          "field_type": {
            "user_address_country": {
              "options": ["BR"]
            }
          },
          "value": "BR"
        }
      },
      "surcharge_details": null,
      "pm_auth_connector": null
    }
  ]
}

Confirm call Payload should look like:
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_NjinrcPO8hJCWRArZdNLxS5u3H04sKbrP0RWPsJ53UbLDb2nmFg6eIy5mUOcxNZt' \
--data '{
	"amount": 1000,
	"currency": "BRL",
	"confirm": true,
	"capture_method": "automatic",
	"capture_on": "2022-09-10T10:11:12Z",
	"amount_to_capture": 1000,
	"phone_country_code": "+1",
	"description": "Its my first payment request",
	"authentication_type": "no_three_ds",
	"return_url": "https://duck.com",
	"payment_method": "voucher",
	"payment_method_type": "boleto",
	"payment_method_data": {
 	"voucher": {
     	"boleto": {
         	"social_security_number": "56861752509"
     	}
 	},
 	"billing": {
     	"address": {
         	"line1": "1467",
         	"line2": "Harrison Street",

         	"city": "San Fransico",
         	"state": "SP",
         	"zip": "04386040",
         	"country": "BR",
         	"first_name": "joseph",
         	"last_name": "Doe"
     	}
 	}
	}
}'

Dynamic Field Rendering:

Based on the backend response, the WebSDK should dynamically generate the necessary input fields.
Each field should be properly validated (e.g., required, length, pattern matching) based on the backend specifications.
Support different types of fields such as:

Text fields (e.g., for name, card number)
Select dropdowns (e.g., for country or card type)
Checkbox fields (e.g., for terms and conditions)

User Inputs:

Once the user fills in the fields, the WebSDK should package the input data and send it back to the backend for payment processing.

Contribution Guidelines:

Fork the repository and create a new branch for your work.
Ensure the WebSDK follows best practices for API integration and field rendering.
Write clean, well-documented code with clear commit messages.
Add unit tests to ensure the dynamic field rendering works as expected.
Make sure to follow our coding standards and contribution guidelines.

Helpful Resources:

Link to WebSDK documentation: WebSDK Docs
Link to the API endpoint specifications: API Docs

Submission Process:

Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
Once assigned, submit a pull request (PR).
Maintainers will review and provide feedback, if any.
Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.
If you have any questions or need help getting started, feel free to ask in the comments!

Hi @sakksham7 @gorakhnathy7 , I would like to work on this issue. Please assign it to me.

Hey @Ankesh2004
Thanks for your interest.
But, as I can see, you have requested too many issues at once, I would suggested working on the issues one by one.
Kindly avoid raising an assignment request on too many issues at once.

Hey @gorakhnathy7 @sakksham7, I would like to work on this issue.

Hey @codermks you are already assigned another issue. Kindly let me know once you are done with it.

Since @codermks  multiple issues, I’d be happy to take on this issue if no one else is actively working on it

Hey @Monis-Ahmed-Rizvi Assigning this issue to you, Thanks for your interest!

Hey @Monis-Ahmed-Rizvi
Kindly let us know, if you're still working on the issue? If you have any questions or need assistance, feel free to reach out in the community.


Git not found error in jenkins

Hi sir

,
I am getting git : not found error even after configuring git path in global tool configuration.
Please help. I am able to do the same cloning and packaging using command line but not able to execute on jenkins.

Log in to jenkins account, and check whether git is available, by using which git.
If not, install git.

please install the git in your server and manually check it is working or not if it is working then you can do it with jenkins

As i mentioned, it is working fine if i do it manually in command line.

You might have messed up in giving correct path

I have done the same thing. Still getting the error

Simple and short answer to your question is
Please add   #!/bin/sh line into your "Execute shell" Build step.
By default Jenkins take /bin/sh -xe and this means -x will print each and every command. And the other option -e, which causes shell to stop running a script immediately when any command exits with non-zero (when any command fails) exit code.
So by adding the #!/bin/sh will allow you to execute with no option.

Tried adding #!/bin/sh. No luck. Still getting the same error.

Please post your script here

please share your jenkins log for that job and attach jenkins job configuration how you configure


Add note to install Mutagen in documentation

There's no note about how to install/use Mutagen.
It's only listed in the dependencies table, which isn't enough.

@marcwieland95 do you think this is still a problem?
Is this about the actual installation of the software or about the configuration in the docker-compose.yml?

We don't recommend Mutagen anymore, right? So mostly no special step is required
I think it was more about the README (Requirements section).
The README section File-Sync seems not 100% up-to-date (first sentence - unless Mutagen is set as default).

@s4mpl3d Will we drop the Mutagen docs completely? Otherwise it might be a good idea to extend the README if it's not clear enough 👍
Although I don't think the installation of mutagen itself is not really a concern for this piece of software, since that has been documented in mutagens documentation. We could link there, though 🤔
But in general: dde-specific configuration is what we definitely should document. That's what I meant with my last comment @marcwieland95 . I tried to figure out if it is about mutagen in general or if it is about how to specifically use dde with mutagen 😉


Add basic test to launch headless backend

This is currently failing because of some issue launching the headless backend on the CI servers, but passes locally.

Awesome!

Maybe try setting WLR_HEADLESS_OUTPUTS?


Fix usage of httmock in travis

In travis, the tests using httmock that pass a response body of None, crash. They do not crash in my version of httmock.

I've recreated the bug on my local machine. It occurs when we upgrade to httmock-1.2.4


pandas.Timedelta gives bad range & resolution info

[ ] closes #12727
[ ] tests added / passed
[x] passes git diff upstream/master | flake8 --diff
[x] whatsnew entry

Problem
Pandas Timedelta derives from datetime.timedelta and increase
the resolution of the timedeltas. As such the Pandas.Timedelta
object can only have a smaller range of values.
Solution
This change modifies the properties that report
the range and resolution to reflect Pandas capabilities.
Reference
https://github.com/python/cpython/blob/8d1d7e6816753248768e4cc1c0370221814e9cf1/Lib/datetime.py#L651-L654

This concerns the 2nd commit, in this PR
@jreback, can you confirm that some of the tests at rely on buggy output.
Specifically, that result (slicing in the snippet below) erroneously includes the end day.
rng = timedelta_range('1 day 10:11:12', freq='h', periods=500)
s = Series(np.arange(len(rng)), index=rng)

result = s['5 day':'6 day']
expected = s.iloc[86:110]
assert_series_equal(result, expected)

If this is a second bug fix, then I will address the changes documentation. Maybe there is even a better way other than peaking at the indices and creating the expected slices.

pls add a whatsnew note, point to the new docs (with a :ref:). Pls also move the datetime limits section to timeseries.rst as well.
thanks.

thanks @has2k1


Typescript: generate browserify friendly require syntax

Typescript: uncommented lines so that import Local = require('Local') is actually generated as import Local = require('./Local') when Local.ts is a module file not residing in node_modules . Although this was generating valid Typescript (and CommonJS), it was making browserify choke.
I suspect the same change should be applied to CommonJS generated files.

I just realized that rt-require can take a ./ as in
 <rt-require dependency="./Local" as="Local"></rt-require>

which will generate the expected
import Local = require('./Local')

I will close this request and the commented lines in the code should be removed e.g.
        //if (options.modules === 'typescript') {
        //    defines['./' + tag.attribs.dependency] = tag.attribs.as;
        //} else {
            defines[tag.attribs.dependency] = tag.attribs.as;
        //}


Check provider association before allowing access to 'reconfirm offer' wizard

Context
The controller does a straight .find on the application choice id, which means a provider could theoretically guess the url of a deferred offer that doesn't belong to them and attempt to reinstate it.
Back-end services already check the association via their authorisation calls, so the issue is limited to UI access.
Changes proposed in this pull request
Fix this
Guidance to review
Straightfoward
Link to Trello card
No Trello card.
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I've solved this differently in https://github.com/DFE-Digital/apply-for-teacher-training/pull/3020/files#diff-0914a7f5731d890204d8f73f8a3bbf0d, is it okay if we use that one?

Sure, closing...


perf: segregate fungible assets from non-fungible assets

Description
Improves app boot performance by segregating our static list of fungible assets from the dynamic list of non-fungible assets and discovered "unsupported" fungible assets in the user portfolio:

Massively reduces the compute required to select the assets like because the static list is not invalidated every time an asset is added to the list. The dynamic list is very small so selector reselect is cheap.
Reduces time to load since the static list of fungible assets is no longer tied to any network requests

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
closes #6289
Risk

High Risk PRs Require 2 approvals

Very high risk. Affects everything in the app since this is a rework of how we manage some of the most fundamental data in the application.

What protocols, transaction types or contract interactions might be affected by this PR?

Every page and component in the app which displays numbers, assets, balances etc.
Testing
This PR should introduce no functional change from production, side from changes to asset sorting in select places.

When user holds a fungible asset not in our static list of assets, it's still included in their portfolio (engineers, please test this with a monkey patch)
Fungble asset lists are correct (e.g trade page, lp, earn, lending pages, portfolio etc)
Non-fungible asset lists are correct (e.g portfolio, ntfs etc)
Asset search includes all assets

Engineering
Please assist ops in patching app locally to test difficult edge cases
Operations

Screenshots (if applicable)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#6281  👈
#6272
#6230
#6176
#6213
#6171
develop

This stack of pull requests is managed by Graphite.

Marking as draft until LP ships to mitigate risk during rollout

Following converstation with @gomesalexandre , the decision is to close this in favour of new smaller tasks which should achieve the same / better gain with less risk:
Move uni v2 pools into generate-assets script #6559
Add staticAssets as a new field in assets slice #6560
Sort the static generated assets list by display name #6561

Following converstation with @gomesalexandre , the decision is to close this in favour of new smaller tasks which should achieve the same / better gain with less risk:
Move uni v2 pools into generate-assets script https://github.com/shapeshift/web/issues/6559
Add staticAssets as a new field in assets slice https://github.com/shapeshift/web/issues/6560
Sort the static generated assets list by display name https://github.com/shapeshift/web/issues/6561


Convert more code to use classList.toggle with the force parameter

There's a bunch of code, in the viewer, which for historical reasons use switch statements to add and remove CSS classes.
This code can be simplified, and unnecessary duplication avoided, by using classList.toggle instead.

/botio-linux preview

Nice clean-up!


Applying unpacked _FillValue with packed values

I have a file with packed values like this:
    short ssh(time, latitude, longitude) ;
            ssh:_FillValue = -30000s ;
            ssh:long_name = "Water Surface Elevation" ;
            ssh:standard_name = "sea_surface_elevation" ;
            ssh:units = "m" ;
            ssh:NAVO_code = 32 ;
            ssh:add_offset = 0. ;
            ssh:scale_factor = 0.001 ;

When plotting with Ferret I noticed some blank areas near the coast (image bellow). Checking the values with list also showed then as missing (...). I tried plotting the same file with python, matlab and ncview and it showed just fine.
Checking the file directly (without using Ferret), I saw that Ferret was blanking cells with value -0.03.  This value when stored packed in the file is -30 (-30 * scale_factor=-0.03, where scale_factor=0.001). My guess for the problem is that Ferret is unpacking the _FillValue (-30000 * 0.001=-30) and removing these values from the still packed values (when -0.03 is still represented by -30).
According to https://www.unidata.ucar.edu/software/netcdf/docs/attribute_conventions.html:
"If the variable is packed using scale_factor and add_offset attributes (see below), the _FillValue attribute should have the data type of the packed data." From that I think I am correct in using _FillValue = -30000.
I am using Ferret v7.3 but tested with 6.9 and the same thing happened.
Thank you very much

In the conventions for handling of missing data,
http://cfconventions.org/cf-conventions/cf-conventions.html#missing-data
... The missing values of a variable with scale_factor and/or add_offset attributes (see Section 8.1, "Packed Data") are interpreted relative to the variable’s external values (a.k.a. the packed values, the raw values, the values stored in the netCDF file), not the values that result after the scale and offset are applied. Note that values that are identified as missing should not be transformed.  ...
So, what we should do, is look at the packed data, and treat all values that are -30000s as missing, and scale everything else.
Because Ferret stores and works with data internally is double-precision, some difficulties in numeric precision come up when working with the scale factor and it's inverse when we go to re-pack the data if it's written out to a new file.  We have been in fact converting the _FillValue to its equivalent unpacked value and using that internally; if the data is written out to a new netCDF file, we re-pack it all.  So long as the range of values in the unpacked data values doesn't overlap with the "unpacked" missing value, this is accurate.
Your example shows that this is not the right way to handle this, and we'll change it so that we mark the data that's missing without converting the _FillValue.

Ok, thank you for the info. I am glad to know this will be addressed in future releases. Just to clarify, I created the file using python (xarray and netcdf4) and not Ferret, so the packing was done entirely outside Ferret. My problem is only with visualization, I don't know if creating the file in Ferret would result in the same problem or not. Thanks.

I think if you created the file with the same missing-value and packing with Ferret, it would behave in the same way.  Often when packing data, people use the maximum or minimum value of a short integer, 32767 or -32767 as the _FillValue. As a workaround until we have this fixed, if you used one of those values, its scaled equivalent would not conflict with valid values and you wouldn't get this effect.

Thank you for the suggestion, using -32767 as the _FillValue solved the problem (image bellow). I was using -30000 because that was the original value used in the global dataset available in the HYCOM Consortium Opendap, but using a _FillValue that can't possibly exist in the packed values it's a good idea.

This is fixed - we now skip and do not unpack any missing_data or _FillValue flags.
There is a change in the benchmark output, case 19 in bn_attributes.jnl now lists correct data in the ncdump output for packed data.


IRMA --external-config

IRMA now has an --external-config flag that allows you to pass a path to a .sh config file. Should probably use this, rather than rely on users moving our .sh files to the IRMA install directory.

See https://wonder.cdc.gov/amd/flu/irma/configuration.html


Communication Phone numbers Readme and samples issues

Section link:

Suggestion:
Update to specified.

Section link:

Suggestion:
Should be consistent with the file name of the async samples of other services, for example: key vault, storage and so on.
Update to:
get_purchased_phone_number_sample_async.py
list_purchased_phone_numbers_sample_async.py
purchase_phone_number_sample_async.py
release_phone_number_sample_async.py
search_available_phone_numbers_sample_async.py
update_phone_number_capabilities_sample_async.py

@jongio for notification.

We were fixing the sample naming convention in another PR. We also fixed the typo in the README. Here's the PR https://github.com/Azure/azure-sdk-for-python/pull/18234

Closed this issue because PR https://github.com/Azure/azure-sdk-for-python/pull/18234 merged.


[Release-23.11] OVMF/OVMFFull: drop CSM support

Description of changes
Upstream dropped CSM from the previous release.
Unfortunately, this release (edk2 202402) includes a number of critical security
fixes and it was backported to protect our users.
This may break some users, but I think the benefits of better security
outweigh some earlier inconvenience for them. They will have to find an
alternative in few months anyway.
Link to https://github.com/NixOS/nixpkgs/pull/291000
Closes #291898

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build OVMF OVMFFull


copy/paste bug: carriage return inserted on paste + How can I turn off Auto-indent/Auto-reformat on paste?

As below some of this is a problem only in "normal mode" and doesn't happen in safe mode - but the autoindent on paste happens in all circumstances. It also seems to have been a recurring problem for people over the years but I can't find a fix (I've started another issue rather than appending to an existing one because of the LF issue).
I have text in the following format (the \n is plain text in the file NOT me showing where the LF is). Spaces are used for the indentation in my actual text but github is removing them so I've replaced them with dots for visibility (.).
I presume it doesn't make a difference for a modern editor but JIC the text confirms to Unix standard so only has a LF (0x0A) rather than the windows standard CRLF.
XaFti,Budgie serum antibody level
..Units,mgA/L
..Description,Budgie serum antibody level\n_
....Is a measure of allergy to budgies...\n
If I copy and paste a line/s which already has indenting it will add whatever indenting was in the line above - so if I was to copy the "Is a measure..." line directly below itself then it would end up doubly indented - so I then have to manually delete the indents.
This issues occurs if I copy it and paste anything (eg copy the entire block to start a new identical one) - then Atom incorrectly autoindents entire blocks it even when running in safe mode.
In addition (only if NOT running in safe mode) it also messes up and randomly adds a bunch of additional carriage returns to this particular text - although I don't know what addin seems to be causing it (I haven't added any so it must be one installed as part of the default package). Some of this is an issue at the point of copy - so if I copy the text then paste it to notepad it will already have the \n text randomly moved.
Thus for me pasting it back not in safe looks like this (with some but not all \n text randomly moved to the next line, and random blank lines added in...:
    XE25B,Immunoglobulin A level

      Units,g/L

      Description,Immunoglobulin A level
\n_
        Description (will be shown as hovertext)\n
      Weblink,https://labtestsonline.org.uk/tests/sodium-test

An EXCELLENT solution (used by every other IDE I use) would be to paste with changes, but to allow ctrl-z to backstep the change so that so you could be left with the text inserted in it's vanilla (unmessed-up) copied form...

Hi, I'm unable to reproduce this issue at this time on Atom v1.60 on Ubuntu 22.04. However, I am aware of what you are describing and have experienced this issue myself. I cannot recall which package I have installed that fixes the issue, however, I know that one of them does the job. I don't have the time to parse the list myself, however, I have included my atom packages list in this reply so that you may go through them and find which one solves this issue for you.
raer0-pacakge-list.txt

Thank you for your suggestion.
I was starting to look up your packages, when I suddenly reaslised ctrl-shift-V is "paste without reformatting" (I can't believe I've never seen that it's annoyed me for months". However the problem is now solved without additional packages.

Atom is abandonedware. Due to complications with github being acquired by microsoft, it is unclear if/when this will ever be formally acknowledged. To give an idea of how abandoned this software is:

The discussions section was deleted without notice after getting spammed despite methods existing to fix discussion board spam.
None of the original maintainers/devs have committed to the repo since 2020
There are, as far as I can tell, two official maintainers for this repo these days.
The CI pipeline is broken with no indications of being fixed

This software should not be used. Nearly all of its dependencies are ancient, and nobody is left to pass the torch. It is too big, has been touched by too many hands, and has been left to die for too long to be rescued.
If you would like to explore a de-microsfted text editor based on Electron, try VSCodium, a repackaged binary of VSCode's open source codebase with all the microsoft telemetry stripped out, and which uses an open source extension distribution platform separate again from Microsoft.
I personally find it to be quite adequate.


Notification upon profile update

Fixes #3969
Test Steps

Log in as any user
Go to Account page /account/
Change a field such as name
Click save
A notification box should say that the profile was updated

@frjo Is there anything else we need to do on this one?


Range for chroma

Hi Daniel - this is a great project! I'm working on a three-slider implementation using OKLCH. From other web implementations, it looks like the chroma range should be 0.0 to 3.7 for p3, or 0.0 to 4.7 for rec2020, as seen here: https://oklch.com. However, when playing with the inputs there, it is clear that the upper range for the chroma within a given gamut shifts based on the hue. Is there a way for me to get the max chroma value related to the hue value for a given gamut (srgb or p3)?

One more thing - in examining the P3 values generated while varying the chroma from 0 to 0.1, I'm still getting values for r, g, and b that are outside of 0 to 1. If I reduce chroma to 0.1 with 1.0 lightness, shifting the hue will still return values that are above 1. So it would appears that it would not be enough to limit the chroma max value, and it would require limiting the lightness as well? Here's an example:
OklchToP3Adapter().convert(color: OklchColor(l: 1, c: 0.01, h: 1))
produces:
P3Color(r: 1.019447279913187, g: 0.991241307972042, b: 0.9979925553861265, a: 1.0)


bug: List For FUTBIN has bug, it sell the card with 5% discount price

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.1.9
Platform
Webapp
Current Behavior
List For FUTBIN function selling the card with 5% discount price
Expected Behavior
should sell the card full price at FUTBIN
Steps to Reproduce
??
Additional Information
No response

I think u gotta set futbin sale percent to 100%

it's not a bug the futbin sale percent just needs to be set by default at 100%

It is a bug. I manually have the price set at 100% and it still sells it for 95%. Happens to me too

the futbin price is the variable in "sell percentage of futbin price" in the enhancer that's why you have this confusion when you put it at 100% in the autobuyer

Ok so I figured out the issue. There is another setting as @Skoukou007 alluded to under enhancer settings called FUTBIN Sale Percent. Set that to 100 (default is 95%) and it will sell at full price. @rorents12

@DGulla17 @Skoukou007 @dpearson2699
so much thanks to you.

@DGulla17 @Skoukou007 @dpearson2699
so much thanks to you.


Add DNSPolicy docs

/closes #372

/hold cancel

@maleck13 @david-martin This look OK now? Just needs an lgtm whenever you are happy with it.

/lgtm


Revamp EthMagicians donations leaderboard

Our donations leaderboard is at https://donations.ethereum-magicians.org. The repo is at https://github.com/ethereum-magicians/donation-leaderboard -- it runs on Netlify.
It's a fork / branch of the Giveth leaderboard code https://github.com/Giveth/donation-leaderboard
The address goes to a multi-sig wallet that @jpitts and I currently are the two signers for.
It needs to be:

branded and messaged as our continuous place for donations / community sponsorships
upgraded? have features added?

One of my personal nice to haves would be to annotating transactions that aren't sent through the site. So, the ~4.x ETH, 4 of that is from Right Mesh. And the 6.7 ETH is from Santiment for ETH Berlin video / livestream.
Possible next steps:

[ ] Look for people that want to own / drive this project
[ ] Figure out content / messaging -- @pet3r-pan & MP, others can help with this?
[ ] How much of a bounty would we want to stake from EthMagicians funds?
[ ] Reach out to Gitcoin, others about possibly bounty grants or matching

Wrong tag @pet3r-pan

I believe @asselstine said that we was going to look at taking this on.

Hello,
I am not sure who this is, but I have no idea what this is about. The
GitHub tag @pet3rpan https://github.com/pet3rpan was used for school work
so I think you may have the wrong person. Apologies for any inconveniences.
Cheers,
Peter
On Thu, Sep 27, 2018 at 8:02 PM Boris Mann<EMAIL_ADDRESS>wrote:

I believe @asselstine https://github.com/asselstine said that we was
going to look at taking this on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum-magicians/scrolls/issues/22#issuecomment-425306087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP0-wgMMBK1nrGCklfRCOHJBo60vIHOuks5ufZEogaJpZM4W7ewn
.

@bmann I'm just having a look at it now!

Here is a link to @asselstine's revamp of the donations leaderboard https://zen-shirley-5f0272.netlify.com/ -- amazing, thank you!
I would say we want to remove the "offchain thanks" section completely -- that section could be more reserved for "Current Events" or similar -- it is simple enough that major sponsors and a link to the current event / donation push could be highlighted there.
@asselstine can you do a PR please? I'd love to get this much nicer version up and running. And we can file additional issues / features / content in the donations leaderboard repo.

@bmann A PR has been opened here https://github.com/ethereum-magicians/donation-leaderboard/pull/2

Would love for someone to take lead of this project. Maybe setup a 1hr workshop for us to hash out the general comms for the leaderboard if not any other fund raising strategy.
Taking offline councils to the virtual ;)

Done! Thanks again @asselstine

No worries @bmann :)


set default starting folder to src, close #1372

set default starting folder to "/src/", close #1372

to be tested


Verba start process fails in the end

All instalation goes tormaly
verba start command initiated normally but then failed with the next error codes.
✔ Connected to Weaviate
ℹ CUDA is available. Using CUDA...
ℹ Setting up components
Process SpawnProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 78, in subprocess_started
target(sockets=sockets)
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/server.py", line 69, in serve
await self._serve(sockets)
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/server.py", line 76, in _serve
config.load()
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/config.py", line 433, in load
self.loaded_app = import_from_string(self.app)
File "/home/dev/.local/lib/python3.10/site-packages/uvicorn/importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/server/api.py", line 38, in
setup_managers(manager)
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/server/util.py", line 13, in setup_managers
config = load_config(manager)
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/server/util.py", line 227, in load_config
return get_config(manager)
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/server/util.py", line 40, in get_config
"components": {
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/server/util.py", line 41, in
reader: readers[reader].get_meta(
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/components/interfaces.py", line 47, in get_meta
"config": {_c: self.config[_c].model_dump() for _c in self.config},
File "/home/dev/.local/lib/python3.10/site-packages/goldenverba/components/interfaces.py", line 47, in
"config": {_c: self.config[_c].model_dump() for _c in self.config},
AttributeError: 'InputText' object has no attribute 'model_dump'
/usr/lib/python3.10/tempfile.py:999: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmpfrnxdxoq'>
_warnings.warn(warn_message, ResourceWarning)
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=0 mode='r' encoding='UTF-8'>
{"action":"restapi_management","level":"info","msg":"Shutting down... ","time":"2024-05-23T10:43:41+01:00"}
{"action":"restapi_management","level":"info","msg":"Stopped serving weaviate at http://<IP_ADDRESS>:6666","time":"2024-05-23T10:43:41+01:00"}
Please advise hot to fix?

me2

Thats correct. I have installed it globally not with Venv.
Venv scenario installation makes things work.
In your manual, you just skipped Venv activation and I forgot to do it
All started properly


docs(EBS):update ebs things

I find that we need to define availability_zone when we use this module, I'll add it to doc now.

I find that we need to define availability_zone when we use this module, I'll add it to doc now.

Done.

https://github.com/jina-ai/jina/issues/2082


Mystral is trolling me

when i try to set property, it says "they key cannot be empty" even if i insert a corrected key
proofs:

when i try to set property, it says "they key cannot be empty" even if i insert a corrected key
proofs:

Problem solved. Get the latest version tag from the README.md file.


KAFKA-16584 Make log processing summary configurable or debug--update upgrade-guide

KAFKA-16584 Make log processing summary configurable or debug
update upgrade-guide
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

This PR should go against, trunk, right? And we would cherry-pick to 3.9 branch.

This PR should go against, trunk, right? And we would cherry-pick to 3.9 branch.

Good catch, that's correct.

This PR should add the new config also to docs/streams/developer-guide/configs-streams.html, right? Or was this does on the original KIP PR already?

This PR should add the new config also to docs/streams/developer-guide/configs-streams.html, right? Or was this does on the original KIP PR already?
@mjsax
Thanks for your reply. This configuration has been added in docs/streams/developer-guide/configs-streams.html.
PR address:   https://github.com/apache/kafka/pull/16509

Thank you! Merged to trunk and cherry-picked to 3.9 branch.


Update docs on mocking

This really threw me off. mockReset didn't do the trick, and let mock data bleed between tests. However, setting restoreMocks: true in my vitest config solved the issue, so the docs should mention mockRestore instead of mockReset.

This really threw me off. mockReset didn't do the trick, and let mock data bleed between tests. However, setting restoreMocks: true in my vitest config solved the issue, so the docs should mention mockRestore instead of mockReset.

Can you explain more? What mock data? What were you trying to do? mockRestore restores everything to original, I am not sure that's what everyone wants. For example. this might break your tests with vi.mock. Usually mockReset is enough.

The following test (indicated below via comment) was breaking until I set restoreMocks: true in the config.
import { describe, it, expect, vi, type Mock } from 'vitest';
import {
  addToBrowser,
  getFromBrowser,
  removeFromBrowser,
} from '../local-storage';

vi.stubGlobal('localStorage', {
  getItem: vi.fn(),
  setItem: vi.fn(),
});

describe('addToBrowser', () => {
  it('checks for existing store', () => {
    (localStorage.getItem as Mock).mockReturnValueOnce(null);
    addToBrowser('mykey', 'myvalue');

    expect(localStorage.getItem).toHaveBeenCalledWith('reelcrafter2-static');
  });

  it('adds to existing store', () => {
    (localStorage.getItem as Mock).mockReturnValueOnce('{"mykey":"myvalue"}');

    addToBrowser('mykey2', 'myvalue2');

    expect(localStorage.setItem).toHaveBeenCalledWith(
      'reelcrafter2-static',
      '{"mykey":"myvalue","mykey2":"myvalue2"}'
    );
  });

  // ** BREAKS ** //
  it('overwrites existing key', () => {
    (localStorage.getItem as Mock).mockReturnValueOnce('{"mykey":"myvalue"}');
    (localStorage.setItem as Mock).mockClear();

    addToBrowser('mykey', 'myvalue2');

    expect(localStorage.setItem).toHaveBeenCalledWith(
      'reelcrafter2-static',
      '{"mykey":"myvalue2"}'
    );
  });
});

I had posted about this on StackOverflow if you want more details.
Mock invocation data was bleeding from the previous test until I set restoreMocks: true.

Mock invocation data was bleeding from the previous test until I set restoreMocks: true.

 It only clears the state (mock.calls), and doesn't clear implementations. Did you try enabling resetMocks instead? Or maybe it's something different entirely, since I cannot reproduce your error here: https://stackblitz.com/edit/vitest-dev-vitest-y1wzx8?file=test%2Fbasic.test.ts,vite.config.ts&initialPath=vitest

Wow, I'm stumped. I tried clearMocks: true again and this time it worked. Actually, removing any mock reset/clear/restore options is fine suddenly. This makes little sense; I wonder if maybe something was cached?

@sheremet-va Thanks for spending time on this and sorry it was a waste of time!


Master

Consider pulling this branch into the main repo. It supports multiple version of 0.9.x and also 0.10.x

Oups, my misstake selected the wrong target for a pull request.


add test for Issue 15056 - Unstored RAII struct return yields bogus error

Fixed by reverting part of #5003.

This is blocking 2.068.2, a proper fix to 14708 is too complex, it requires to lift the destruction of temporaries from the IR gen to the semantic phase so we can properly handle nothrow code.
Another reason to revert the fix is that it currently always generates try/finally for any temporary with destructor, this is a lot slower for nothrow code.

https://issues.dlang.org/show_bug.cgi?id=15056

I can accept this, but I don't know whether the issue 15056 case had really worked correctly with 2.067 or before.
Assign to @WalterBright

And, this change will reopen issue 14708 again. Maybe we need to document it in the changelog?

I can accept this, but I don't know whether the issue 15056 case had really worked correctly with 2.067 or before.

It is valid code and worked correctly w/ nothrow. It partly worked for throwing code as well b/c of 14708.

And, this change will reopen issue 14708 again. Maybe we need to document it in the changelog?

Done.

It is valid code and worked correctly w/ nothrow.

Even in nothrow function, Throwable (especially Error) object may be thrown and destructors need to be called because they're in finally block. That's why EH had been added unconditionally around any temporaries.

Even in nothrow function, Throwable (especially Error) object may be thrown and destructors need to be called because they're in finally block.

We don't do that for try/catch (see http://dpaste.dzfl.pl/5c4848b6a48b or Issue 7018) and it'd be expensive w/ dmd's horrible EH code.
Throwing Errors in nothrow functions always had the fishy "it'll do some cleanup" semantic.

Seems like we need to rethink this. It should not be causing regressions and inefficiencies. I agree with the reversion.

Auto-merge toggled on

Sorry for the trouble. Dlang may be missing a specification part about alloca() and some test cases along with that. It is one of these little systems programming tools that can give an edge over higher level languages, but breaks assumptions about the stack layout in compilers and requires an amount of support code that makes you wonder if it is worth it.
I agree with Martin that thrown Errors mean that the program is in an inconsistent state and needs to leave at the next exit. It may even be written in the spec, that cleanup can be omitted on errors. Maybe bending the rules a bit, LDC and GDC could even apply their 'nothrow' back-end attributes. I don't know if that optimization really buys us anything, but I heard @ibuclaw talk about it at least and there is posts like this https://www.bountysource.com/issues/1407205-arm-runnable-opover2-d-fails-xopequals-fallback-aborts-instead-of-throwing-exception
Neither GDC nor LDC will make the first step, put a nail in the coffin and declare Errors unrecoverable, because folks would say their compiler is kaput. Meantime people like myself take that undefined state on Errors idea more literal and think that alloca() should work in nothrow functions.
So here is my proposal for a new nothrowsatall attribute … (just kidding)


Switch to XCTest

Is there any particular reason why you use Expecta? I bet it would be much easier to write XCTests and I believe more people are familiar with it.

No real reason. This is actually the first time i've ever made my own cocoapod and it asked if i wanted to include it and i was like sure why not.
I think I actually prefer XCTest too...

PR #18 adds support for XCTest.


Add support for python 3.11, drop python 3.7

I was considering keeping support for Python 3.7 until its EOL (due in June this year I believe), but since there have been 4 minor versions since and even Debian stable has 3.9, let’s drop it. ;)
Thanks for the PR!


Support for write hudi/iceberg/delta?

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hi @melin, thanks for asking!
Support for all three data lakes is in the roadmap.
Connecting to delta lake is currently being designed and can be expected in the next three months.
But we are also more than happy to discuss your particular needs 😃


Docked terminal is invisible - where can I delete the config

Hi,
I have Windows 8.1, dual screen setup. I clicked "Dock at bottom". Now Terminus is gone, persistently. Can someone tell me where I can delete the config? The AppData folder doesn't have it.

So ... my first day using terminus and highly disappointed that the bottom dock completely ruins this app. The docker routine needs some work but we need a way to enter the program.

FYI, this is still broken.
Workaround:
The relevant configs are stored in AppData\Roaming\Terminus. Delete all files in this directory and restart Terminus. It should recreate them from defaults and Terminus will become visible again.
I did try first to edit the config.yaml file in Roaming and delete the line starting with dock:. Unfortunately, this changed nothing.


[Question?] uh does this mod conflict with Diversity? if not i will use

same as topic

Supposedly it works fine. I'm not sure how it'll work with gradual damage. Feel free to try it out and respond with your findings and I can make a soft-dependency that addresses the issues. I'm primarily concerned about the Bracken hallway teleportation but other qualities should be fine.

uh i think this's how Diversity works:

if u catched by bracken, u will enter another dimension call Level !, need to run as fast as possible to escape from dead, only first person who catched by bracken will enter Level !
i think Diversity mechanisms will take precedence over this mod but idk

Got it. Would you be able to test this for me? I am a bit busy at the moment.

uh maybe later, i got some schedule

i just read the config, im might be wrong, so if this mod just control where the bracken can initiate a kill, this should not conflict with Diversity i think, will do some test as soon as i got some free time


Error after Pip Installation

I am trying to install datascope via pip in a Conda env running on Windows.
After pip i getting an installation without errors but upon importing datascope i get
from datascope.importance.common import SklearnModelAccuracy
from datascope.importance.shapley import ShapleyImportance
Traceback (most recent call last):
  Input In [2] in <cell line: 2>
    from datascope.importance.shapley import ShapleyImportance
  File C:\Anaconda3\envs\datashapley\lib\site-packages\datascope\importance\shapley.py:22 in <module>
    from .shapley_cy import compute_all_importances_cy
ModuleNotFoundError: No module named 'datascope.importance.shapley_cy'
Any advice?

Thanks babak-1990,
I can only install using pip my system. I will have to wait and see if something changes.

what I meant was, If you look at the repository you can see there is setup.py file, you should be able to run it on your local computer after cloning the repository on your local environment. so basically you can do these steps:
1-create an environment using your choice of environment managing tool.(conda, pipenv, python)
2-clone the repository git clone https://github.com/easeml/datascope.git
3- install necessary requirements pip install -r .\requirements.txt
4- run the command python setup.py install

Thanks again,
I appreciate this.
I am not working in a local environment. I can only specify the name of a library and then a managed system in the backend uses pip on a proprietary cloud corporate-approved environment. I cannot clone anything anywhere!

Works fine for me now! Thank you for the fix :)

Works fine for me now! Thank you for the fix :)

Cool! A stable release will be published soon :)


[WIP] generate (verbose) ascii for initConsensusPoset plays array using...

[WIP] generate (verbose) ascii for initConsensusPoset plays array using gographviz and graph-easy perl script
This requires the graph-easy perl script to be installed: http://www.bloodgate.com/perl/graph/manual/
Please check if what you want to add to go-lachesis list meets quality standards before sending pull request.
Please provide package links to:

github.com repo:
godoc.org:
goreportcard.com:
coverage service link (cover.run, gocover, coveralls etc.), example: [![cover.run](https://cover.run/go/github.com/user/repository.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2Fuser%2Frepository)

Make sure that you've checked the boxes below before you submit PR:

[x] I have added my package in alphabetical order.
[x] I have an appropriate description with correct grammar.
[x] I know that this package was not listed before.
[x] I have added godoc link to the repo and to my pull request.
[x] I have added coverage service link to the repo and to my pull request.
[x] I have added goreportcard link to the repo and to my pull request.
[x] I have read Contribution guidelines, maintainers note and Quality standard.

@dev10, I'd be very grateful if you would make more tidy PR.  Why don't you remove template from PR description? Or why don't you check for simplest errors:
> go test .
poset_test.go:13:2: build constraints exclude all Go files in /home/fabel/Work/src/github.com/Fantom-foundation/go-lachesis/src/common/testing/ascii_generator

outdated


Hive 3.1.2

It will allow running Hive metastore and Hive server2 as well.

why are we switching away from the standalone version of this?

we're not. it just provides options for Hive 3 support.
For those who want to use Hive3 Metastore standalone, just use the tag hadoop3.1.3-hive3.0.0.


Consider switching from pre-installed Firefox to pre-installed Tor Browser Bundle

So last time I had a Windows install, Tor Browser came as a zip. That is no longer the case. There is literally no difference between discovering the path to Firefox and Tor Browser, moreover, both are possible(the profile could be configured for either Tor or Firefox by the same installer in the same number of steps). Since there are benefits to TBB that aren't available in Firefox, this is probably a very good idea.

Well damn that was easy. The latest testing release will use a Tor Browser Bundle on Windows if it is installed at the default location, which is the user's OneDrive folder. Until I have more information about what happens without a OneDrive folder, I won't be adding it to the stable. VM time.

Done. Still only in the testing. Will change tomorrow.


Cannot read property 'properties' of null

Found this in my "running out of sources" log, I was clicking through extensions I had in that version, which may be related:
Cannot read property 'properties' of null: TypeError: Cannot read property 'properties' of null
    at ExtensionGalleryService.loadCompatibleVersion (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/platform/extensionManagement/node/extensionGalleryService.js:334:26)
    at ExtensionGalleryService.getAllDependencies (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/platform/extensionManagement/node/extensionGalleryService.js:329:25)
    at ExtensionsWorkbenchService.loadDependencies (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/node/extensionsWorkbenchService.js:418:40)
    at Cache.task (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/browser/extensionEditor.js:156:116)
    at Cache.get (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/cache.js:18:32)
    at file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/browser/extensionEditor.js:290:52
    at ExtensionEditor.loadContents (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/browser/extensionEditor.js:493:27)
    at ExtensionEditor.openDependencies (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/browser/extensionEditor.js:289:25)
    at ExtensionEditor.onNavbarChange (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/parts/extensions/browser/extensionEditor.js:220:62)
    at CallbackList.invoke (file:////Users/bpasero/Development/Microsoft/monaco/out/vs/base/common/callbackList.js:58:43)

@bpasero Not able to reproduce it. May I know the extension on which you saw this error?

I can not reproduce here at work either, sorry.

Ok closing it for now. Please reopen it if you see again.


Intermittently cannot enter insert mode

This bug happens every so often, especially when I have a lot of windows open or I use the normal Sublime Ctrl-F to search. I open a file or do a search and attempt to enter insert mode, but the cursor is kicked up to the beginning of the file and any subsequent commands result in "E21: Cannot make changes, 'modifiable' is off". I have to close all windows and exit out of sublime to be able to edit as normal again.

Sounds like it made a virtual vim buffer for the search box, then for some reason didn’t switch back to the correct buffer to press a key. This would maybe be fixed if I made all keypress commands nvim_atomic to switch to the correct buffer first.

I'm experiencing the same behavior on Windows 7, Sublime 3.1.1., Neovim 0.3.1 and ActualVim 0.9.16 (also 0.9.17).


Update security-features.md

@msmbaldwin
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Edited Style Of Add Post Page!

Please review this branch!

styles need some edits !!

styles need some edits !!

Thanks ^^

styles need some edits !!

Thanks