Parse arrays

Based on top of #8, so includes those changes also.
Changelog:
Decode

Unmarshal() now muxes between unmarshalArray() and unmarshalObject()
unmarshalArray checks v for slice type and runs unmarshalObject on the list of JSON values in the array.
Added integration tests for unmarshaling JSON with arrays.

Encode

Marshal() now muxes between marshalArray() and marshalObject()
marshalArray runs marshalObject on the slice and appends each serialized format into a slice of json.RawMessage objects. Then marshals the slice of json.RawMessage objects to finish up.
Added integration tests for marshaling slices of objects.

This fixes #9 now.


Typo? in usage/styling

I mean, it didn't make much sense to me before.

If it doesn't build, it's not my fault x) only changed a markdown in the docs ;__;

Thanks!


Dependency on Material3

When using this library (no.nordicsemi.android.kotlin.ble:client), we get a dependency on androidx.compose.material3
When we already use material3 with a different version, versions are conflicting...
Material 3 seems to be used only by app_client module. Why this dependency is embedded in no.nordicsemi.android.kotlin.ble:client ?

Good catch. Let me check it.

OK. I did some investigation. The :client and some other modules depend on libs.nordic.common.core, which depends on androidxcompose.material3. But the only classes used from that module are DataByteArray.
I will remove the dependency to common.core and will solve the issue some other way.
So what looks like minor dependency issue will bring breaking changes in the API, moving classes between modules and refactoring. I will keep you posted.

As far as I remember we needed the ModalBottomSheet and swipe to dismiss. Now, with 1.2.0 being final I'm changing the dependencies and removing unnecessary dependencies. Should be ready in couple of days, but with breaking changes.
I'm also polishing the API of the library (class names) whenever I find inconsistency.
I'd like also to remove DataByteArray (see here) and migrate to ByteArray. If you need such class for array wrapper (to avoid equals() and hashCode() this can be added in the apps, not library. Integer extraction will be done using extensions for ByteArray (see here).


How to identify NaN?

How can I indentify an NaN value with the JSRT APIs?
JsGetValueType returns JsNumber (which seems to be consistent with the expected behavior for "typeof NaN"), and JsNumberToInt returns 0. So, I'm having trouble distinguishing between NaN and a valid number.

I guess maybe I just have to call isNan()?

Have you tried JsNumberToDouble()? I believe it should return a standard double NaN value. Alternately you could call Number.isNaN.

I think you can use the JsStrictEquals API https://github.com/Microsoft/ChakraCore/wiki/JsStrictEquals
As NaN is the one value in Js which does not equal itself:
const val = NaN;
print(val === val); // prints false

From JSRT, I think JsStrictEquals is probably the most straightforward, though you should probably comment it since checking for x === x isnt particularly clear :)


Browser fullscreen support

Hello.
I am working with chrome that has native support to fullscreen but according my debug, i am afraid that the setFullPage method is being invoked.
This give me a lot of side effects because i am working on the client side with custom elements, and on exit full screen, the spa router and it nested elements, are being re rendered.
On my code i have done a simple override to the setFullScreen, based on your fullscreenApi, and it solves the issue.
const isFullScreen = () => document.fullscreenElement;
const isFullScreenSupported = () => document.exitFullscreen;

  viewer.setFullScreen = function (bool) {
    if (!isFullScreenSupported()) return this.setFullPage(bool);
    if (!isFullScreen()) return this.container.requestFullscreen();
    document.exitFullscreen();
  };

I'm sure it's invoking true fullscreen on your device... It's just also invoking setFullPage, since that's how the system is architected. Here's the history:
https://github.com/openseadragon/openseadragon/issues/1050#issuecomment-254568536
As mentioned in that comment (in 2016!) it would definitely be good for us to be moving away from that. Just calling requestFullscreen on the container, like you're doing, is probably the way to go.
In fact, I'd be down with removing setFullPage entirely, except that, as far as I know, iPhones still don't support fullscreen, so we still need that fallback for them.
Anyway, making a patch to bypass the setFullPage when true fullscreen is available shouldn't be too difficult. We'd just want to make sure that there aren't any negative repercussions for existing systems that expect the current behavior.
@Raimundo82 If you're up for making a PR, that would be lovely. If not, thank you for filing this and hopefully someone else will take an interest :)


CAD-3915 config flags in node

DISABLE_DUAL_LEDGER removed.
RunAlsoLegacy defaulted to RunOnlyNew always.
New BackingStoreSelectorFlag datatype to be able to parse them without the m monad.

LGTM - - Though I wonder if the BackingStoreSelectorFlag should live in the node instead, since it is not being used by consensus

I moved it to cardano-node, Thanks!


Failed to deserialize response message.

What version of gRPC and what language are you using?
C#
What operating system (Linux, Windows,...) and version?
Windows 7 x64
What runtime / compiler are you using (e.g. python version or version of gcc)
.net 4.6
What did you do?
source code
What did you expect to see?
normal return rpc
What did you see instead?
Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Failed to deserialize response message.")
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg)
   at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
   at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at v2rayN.Protos.Statistics.StatsService.StatsServiceClient.QueryStats(QueryStatsRequest request, CallOptions options)
   at v2rayN.Protos.Statistics.StatsService.StatsServiceClient.QueryStats(QueryStatsRequest request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken)
   at v2rayN.Handler.StatisticsHandler.Run()

Anything else we should know about your project / environment?
in Windows 10 x64 .Net 4.6 everything was ok, but windows 7 x64 .Net 6.4 will raise an exception

Happens to me in the Unity package too. Using osx.
1.21 was fine but from there on it fails with that message.

CGQAQ can you check the content of the response with (e.g. with help of a debugger) and see if that's a well formed protobuf message (equivalent to the one that you sent out on the server?).

It has been solved by another guy by add a netstandard.dll to windows 7 executable file, seems in the Windows 7, don't have some features that gRPC required

It has been solved by another guy by add a netstandard.dll to windows 7 executable path, seems in the Windows 7, don't have some features that gRPC required

Can you provide a link?

It has been solved by another guy by add a netstandard.dll to windows 7 executable path, seems in the Windows 7, don't have some features that gRPC required

Can you provide a link?

Source code link above, master branch, is the fixed version

@raulpereztangelo  is this still a problem in the latest release?

@raulpereztangelo is this still a problem in the latest release?

We updated two weeks ago and have no issues with that build, can't know the exact release we're using right now. If it helps I can come back to you tomorrow.

I believe during deserialization happens an exception due to a missing dll, but it gets discarded and instead of it an RpcException is delivered to the caller. That said, RpcException has no constructor that accepts inner exception. Such loss of the source exception complicates diagnostic.

The deserialization exception is lost here

If RpcException delivered the source deserialization exception to the caller as inner exception, it would be self-explanatory to the caller.

I agree it's quite bad that the inner exception is lost. I got bitten by this Failed to deserialize response message while my actual exception was a much more descriptive Google.Protobuf.InvalidProtocolBufferException: Protocol message had too many levels of nesting.  May be malicious.  Use CodedInputStream.SetRecursionLimit() to increase the depth limit.. See https://github.com/grpc/grpc/issues/22682 for details.

Potentially we could expose the details of the deserialization error in the newly introduced "DebugErrorString" field: https://github.com/grpc/grpc/pull/22891

I get the same error when running gRPC app from within VS2022 preview. If I switch to VS2019, the issue disappears.

@kucint I created a separate issue about VS2022 https://github.com/grpc/grpc/issues/27244

@kucint I am also having this issue in vs2022 but not in 2019

@AqlaSolutions the workaround posted there seems to do the trick. Thanks.

when I use vs2022 .net 6.0-rc , I get the same error

This issue is caused by VS2022 preview 3. It is fixed in VS2022 preview 4.
See https://developercommunity.visualstudio.com/t/Unable-to-Debug-grpc-server-code-with-pr/1503691 for more info.


VSL-241 - add PostVoteOptions after voting on proposal

builds upon https://github.com/DapperCollectives/CAST/pull/632 and adds a PostVoteOptions component that is to be shown after a user has voted. note that the twitter button doesnt work at the moment as it will be implemented in a follow up PR/ticket

@germanurrus re-worked this to be much more responsive:

@germanurrus added the m-0 to the buttons container and also I incorporated Tooltip to show the Copied! text when user presses Copy Link like in linxiao's PR here: https://github.com/DapperCollectives/CAST/pull/634/files#diff-290bf41dbd70e8a3178e7db7118bb00739fe5a934e88d10c4db37fd82c931f2cR14


feat(AST parser): add test data files

These files will be used in to-be-merged tests.
(Merging them in their own PR to keep total PR sizes small.)

Force pushes were to rebase on top of #44.

@martinvarelaj comments addressed; @tmatsuo please re-approve.


cell_id convention

Thanks for providing this plugin, super-useful. An issue I have is that the cellid generated by the plugin does not match the format I expected when using S2 geometry in other applications - example below of a cellid for level 11
0x487615c000000000
Do you know if it is possible to generate cellid in the format above?

Thanks for the feedback! We are using the Python implementation of S2 - s2sphere as a base, apparently it uses a different output format. We will look into having cellid output in the format you gave (and seems to match the original S2 documentation :) ).

Thanks very much, that's great. If I can get s2 cells with the cell_ids just like the ones I have below (these are in London, UK) then that would be excellent.
0x47d8a04000000000
0x47d8a0c000000000
0x47d8a14000000000
0x47d8a1c000000000
0x47d8a24000000000
0x47d8a34000000000
0x47d8a44000000000

@alasdairrae QGIS finally approved the new version of the plugin (0.3), it now automatically adds the field in the form you wanted. Also we added a few more features :)

That's amazing, thanks so much!


Clean up test suite, add .gitattributes to exclude dev files from exports and run tests on PHP 7.4 and simplify test matrix

Shoudl work now :+1:


update VSSDK.BuildTools package for newer versions of VS int preview

I built locally and I was able to get past the previous build errors. Just make sure you run powershell .\Build\PreBuild.ps1 from the repo root after you pull this change, since it's a new package version and it needs to be downloaded before building.

Are the package version numbers in the packages.config automatically generated?

No, none of them are. They are all manually set. I grabbed this one from the feed, I just looked at the highest version for that package.


TE: adding improvements for task driver

fixed NPE caused by Long -> long autoboxing in JobRunner
Adding sleep delay to avoid thrashing when no tasks are present in waiting state. (with todo to replace thread.sleep with a manual reset event)

LGTM


Adding ExtensionsTimeBudget to new Api Version

Squashed commits:
[f0151eb78] updated with extensionsTimeBudget
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

Since this PR is not targeting master branch but a dev branch of compute (I assume), I will then merge this PR as long as @hyonholee approves.

/azp run automation - sdk

Hi @kamusta-msft @hyonholee any updates?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Please resolve the conflict

/azp run automation - sdk

/azp run automation - sdk

@ravbhatnagar Could you review this PR?

Hi @hyonholee could you please approve? I would merge this once you approved this, thanks!

/azp run automation - sdk

/azp run

@kamusta-msft , now that this Swagger PR has been merged, you can create a PR in the relevant SDK repository with the autogenerated SDK and at least 1 test added. Please reach out to me if you're not sure how to proceed.


UAR-1619 Send new NOCs for Update/Remove journey Gov or PA BO

JIRA link
https://companieshouse.atlassian.net/browse/UAR-1619
Change description

Addition and change services updated
Unit tests added

Work checklist

[X] Tests added where applicable

Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: No security warnings found

Can look again once the main branch has been merged in.

CI: No security warnings found

Looks ok, post merge.


[request-for-external] table 179 "Reversal Entry"

Please make the following global vars protected
protected var
        GLSetup: Record "General Ledger Setup";
        TempReversalEntry: Record "Reversal Entry" temporary;
        AllowPostingFrom: Date;
        AllowPostingto: Date;
        MaxPostingDate: Date;
        HideDialog: Boolean;
        HideWarningDialogs: Boolean;
        PostedAndAppliedSameTransactionErr: Label 'You cannot reverse register number %1 because it contains customer or vendor or employee ledger entries that have been posted and applied in the same transaction.\\You must reverse each transaction in register number %1 separately.', Comment = '%1="G/L Register No."';

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Driving the CPU too high, spoiling even Task Manager's CPU usage numbers

Microsoft PowerToys version
0.73.0
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
You just have to let it run with most features enabled. Actually it's been around for a while, not only with 0.73.0 -- it just took me some time to find out what was causing it.
Symptoms: my laptop (Intel Core i7-8550U, 16 GB RAM) was permanently spinning at 30 to 36 percent CPU usage, spinning the fans like if it was a jet engine plane taking off. A side effect is interesting too: taking a look at Task Manager / Processes, it immediately jumped out that the CPU numbers never added up. The total at the top of the column was always 10 to 16 percent larger than the numbers added up from the apps and background processes. I was really thinking that I caught some malware that hid itself from TM.
My workaround: disabling all PowerToys features that I don't use frequently. I have only 2 enabled now.
Current situation: CPU usage is back to normal, zero noise, fans are not spinning. At this moment I'm running Task Manager, the PowerToys and the Settings windows are open, there's one Windows Terminal session with Ubuntu WSL and Edge is also running with 22 tabs -- the CPU is at 2 to 5 percent.
✔ Expected Behavior
Some increase in the CPU usage is of course expected and inevitable. But I believe it shouldn't be this much.
A warning about features that might consume a significant amount of CPU time would also be nice. And maybe having them turned off by default.
And finally, having seen that huge gap in the CPU usage values in Task Manager is pretty scary. Totally scary. Please fix that.
❌ Actual Behavior
Please see above, at the symptoms.
Other Software
No response

Can you elaborate on this? What's the process that is using the CPU?
/needinfo

We'd need the process that was causing this to understand what utility might be causing this.

This is what I was trying to explain. There was a big gap in Task Manager, on the Processes tab, in the CPU numbers.
Background processes mostly used 0% CPU, a very few of them like fractions of a percent.
Then the application processes added up to ... something.
But the total CPU, at the top of the column, was always and significantly higher than the sum of the above too.
So there was no way to link it to a specific process. That's why I suspected it for a while that I had some malware, hiding itself too well.
I hope that helps.

/bugreport

This has probably been fixed in one of the recent updates, I can't reproduce it.


JNA native support (com/sun/jna/linux-ppc64le/libjnidispatch.so) not found in resource path (/archaius/gradle/wrapper/gradle-wrapper.jar).

The build fails with the error :
JNA native support (com/sun/jna/linux-ppc64le/libjnidispatch.so) not found in resource path (/archaius/gradle/wrapper/gradle-wrapper.jar).
Could not initialize class nebula.plugin.info.ci.POSIXUtil
> Could not initialize class nebula.plugin.info.ci.POSIXUtil
> Could not initialize class nebula.plugin.info.ci.POSIXUtil
> Could not initialize class nebula.plugin.info.ci.POSIXUtil
> Could not initialize class nebula.plugin.info.ci.POSIXUtil

Any help is appreciated.

Can't reproduce. This looks like an issue with gradle, rather than with archaius.


OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory checkpoint_StorySalon/

I am trying to run inference on the code, but there is this error that requires 3 files and I am not able to find those files. Kindly, guide me where to find those files? Or do I have to train the model first? I am just running inference by downloading the checkpoints of StorySalon from the provided link.
https://huggingface.co/haoningwu/StoryGen/tree/main

We haven't encountered this problem before, but it seems that there may be a problem with the loading path.
For example, if you need to use a model trained on StorySalon data, you need to load /your_path/ckpt/chekpoint/StorySalon, instead of /your_path/ckpt.


gocryptfs update

Hi
Please update gocryptfs to the 2.4, as it fixes important bug with reverse-mount.
Thanks

There's no 2.4 release, but I've version-bumped to 2.3.1. Thanks for the heads-up!


Should babili also enable all the finalized spec parser features?

Seems like it should

Is it erroring currently? In the new babylon, we moved the es2017 plugins on by default https://github.com/babel/babylon/releases/tag/v6.9.1

Oh maybe this is just an issue with the REPL on the babel site.

since we are using babel-standalone it might be that either the repl/that doesn't have the latest parser in the bundle

babel-standalone just bundles the latest Babel + dependencies, is there something special I need to enable? You can enable the es2017 preset in the REPL, it's just not enabled by default.

If we update the parser (babylon), we need to update babel-standalone again right? I'm not sure but maybe it was updated (7 days ago) after so it doesn't have the changes

Good catch... The version number of babel-standalone is purely based off the Babel version. It uses the maximum version number of all the npm dependencies prefixed with babel-. If Bablyon is updated but the version of Babel doesn't change, a new version of babel-standalone won't be pushed either. Perhaps I should change the versioning scheme of Babel-standalone to handle Babylon updates too.
Having said that, Babel-standalone 6.14.0 was posted a few days ago, so it should include the latest Babylon (unless npm messed up, which is common)


Command View: Toggle Terminal stops working after spamming it before the terminal is fully loaded

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

VS Code Version: 1.95.3 (user setup)
OS Version: Windows_NT x64 10.0.22631

Steps to Reproduce:

Open a folder in vsCode.
Immediately start pressing terminal toggle shortcut.
When you do this and terminal isn't fully loaded yet, after open and closing it for the first time, the shortcut isn't going to work anymore.

See this video:
https://github.com/user-attachments/assets/8ab184f4-4470-4ef9-9698-d81e59b4cb57
Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.22631

also what do the logs say if you run Developer: Toggle Keyboard Shortcuts Troubleshooting?

any errors in the dev tools console?

 INFO Started local extension host with pid 17456.
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Updating due to initialize
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Authentication providers updated Array(2)
workbench.desktop.main.js:sourcemap:35  WARN

----------------------------------------------
***	Installation has been modified on disk ***
----------------------------------------------

workbench.desktop.main.js:sourcemap:35  INFO [perf] Render performance baseline is 30ms

also what do the logs say if you run Developer: Toggle Keyboard Shortcuts Troubleshooting?

2024-12-08 01:33:49.229 [info] Started local extension host with pid 10088.
2024-12-08 01:33:49.582 [info] Settings Sync: Updating due to initialize
2024-12-08 01:33:49.582 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.583 [info] Settings Sync: Authentication providers updated []
2024-12-08 01:33:49.595 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.596 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 01:33:49.596 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.596 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 01:33:49.596 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.597 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:33:49.597 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.597 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:33:49.623 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 01:33:49.623 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.623 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:33:49.623 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 01:33:49.624 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.624 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:33:49.804 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:33:49.804 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:33:51.703 [warning]

----------------------------------------------
***	Installation has been modified on disk ***
----------------------------------------------

2024-12-08 01:33:53.643 [info] [perf] Render performance baseline is 29ms
2024-12-08 01:34:05.314 [warning] [backup tracker] suspended, ignoring unregister event file:///c%3A/Users/Babak/Documents/Code/.archived/CLI/clack/package.json
2024-12-08 01:34:05.314 [warning] [backup tracker] suspended, ignoring unregister event file:///c%3A/Users/Babak/Documents/Code/.archived/CLI/clack/packages/core/package.json
2024-12-08 01:34:05.314 [warning] [backup tracker] suspended, ignoring unregister event file:///c%3A/Users/Babak/Documents/Code/.archived/CLI/clack/examples/basic/package.json
2024-12-08 01:34:05.766 [info] Started local extension host with pid 17456.
2024-12-08 01:34:06.422 [info] Settings Sync: Updating due to initialize
2024-12-08 01:34:06.422 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 01:34:06.423 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 01:34:08.245 [warning]

----------------------------------------------
***	Installation has been modified on disk ***
----------------------------------------------

2024-12-08 01:34:08.342 [info] [perf] Render performance baseline is 30ms
2024-12-08 01:35:52.751 [error] There are no commenting ranges at the current position (with range).: Error: There are no commenting ranges at the current position (with range).
    at Ov.addCommentAtLine (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:644:2600)
    at Ov.addOrToggleCommentAtLine (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:644:2138)
    at Ov.db (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:644:1787)
    at vZ.value (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:643:21213)
    at Af.B (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:747)
    at Af.C (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:817)
    at Af.fire (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:1034)
    at Af.fire (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:262:19570)
    at s.onMouseUp (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:262:17539)
    at fli.emitMouseUp (vscode-file://vscode-app/c:/Users/Babak/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:135:17522)
2024-12-08 01:36:12.813 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-12-08 01:36:12.814 [info] [KeybindingService]: \ Keyboard event cannot be dispatched
2024-12-08 01:36:12.815 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
2024-12-08 01:36:12.815 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
2024-12-08 01:36:12.816 [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2024-12-08 01:36:13.429 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-12-08 01:36:13.430 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:13.430 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:13.431 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyC, keyCode: 67, key: c
2024-12-08 01:36:13.431 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyC, keyCode: 33 ('C')
2024-12-08 01:36:13.432 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:13.432 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:13.433 [info] [KeybindingService]: + Invoking command editor.action.clipboardCopyAction.
2024-12-08 01:36:14.150 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-12-08 01:36:14.150 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:14.150 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:14.150 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyC, keyCode: 67, key: c
2024-12-08 01:36:14.150 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyC, keyCode: 33 ('C')
2024-12-08 01:36:14.150 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:14.151 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:14.151 [info] [KeybindingService]: + Invoking command editor.action.clipboardCopyAction.
2024-12-08 01:36:14.328 [info] [KeybindingService]: / Soft dispatching keyboard event
2024-12-08 01:36:14.328 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:14.328 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:14.328 [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyC, keyCode: 67, key: c
2024-12-08 01:36:14.328 [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyC, keyCode: 33 ('C')
2024-12-08 01:36:14.329 [info] [KeybindingService]: | Resolving ctrl+C
2024-12-08 01:36:14.329 [info] [KeybindingService]: \ From 8 keybinding entries, matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.
2024-12-08 01:36:14.329 [info] [KeybindingService]: + Invoking command editor.action.clipboardCopyAction.
2024-12-08 01:36:14.569 [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.

based on the logs, you're actioning the copy action with that

matched editor.action.clipboardCopyAction, when: no when condition, source: built-in.

@meganrogge
Are you mentioning the ctrl + c key presses? I accidentally did that a few times when trying to copy the logs.
Here is a clean logs:
2024-12-08 20:05:07.650 [info] Started local extension host with pid 26284.
2024-12-08 20:05:09.182 [info] Settings Sync: Updating due to initialize
2024-12-08 20:05:09.183 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.183 [info] Settings Sync: Authentication providers updated []
2024-12-08 20:05:09.188 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.189 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 20:05:09.189 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.189 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 20:05:09.189 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.189 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:09.189 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.189 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:09.351 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 20:05:09.351 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.351 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:09.351 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 20:05:09.351 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.351 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:09.383 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:09.383 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:11.534 [warning]

----------------------------------------------
***	Installation has been modified on disk ***
----------------------------------------------

2024-12-08 20:05:13.290 [info] Started local extension host with pid 11928.
2024-12-08 20:05:13.752 [info] Settings Sync: Updating due to initialize
2024-12-08 20:05:13.752 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.752 [info] Settings Sync: Authentication providers updated []
2024-12-08 20:05:13.805 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.805 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 20:05:13.805 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.805 [info] Settings Sync: Authentication providers updated ["github"]
2024-12-08 20:05:13.805 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.805 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:13.806 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.806 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:13.815 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 20:05:13.816 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.816 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:13.816 [info] Settings Sync: Updating due to declared authentication providers changed
2024-12-08 20:05:13.816 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.816 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:13.982 [info] Settings Sync: Updating authentication providers. Authentication Providers from store: [{"id":"github","scopes":["user:email"]},{"id":"microsoft","scopes":["openid","profile","email","offline_access"]}]
2024-12-08 20:05:13.983 [info] Settings Sync: Authentication providers updated ["github","microsoft"]
2024-12-08 20:05:15.732 [warning]

----------------------------------------------
***	Installation has been modified on disk ***
----------------------------------------------

2024-12-08 20:05:16.433 [info] [perf] Render performance baseline is 28ms

NOTE: the issue happened because I saw the last line in logs.


Apache Ignite thin client support

Looks interesting for cases when CAS is supposed to be successful mostly. otherwise, we get unpredictable latency in comparison with base EntryProcessor based implementation. I am going to change the target for this request to the upcoming 7.0 release. In 7.0 we already have similar CAS based integration with DynamoDb #142
I hope that I will be able to merge this request with 7.0 by myself. Thanks for your work.

@alex-plekhanov  Has been supported in the scope of 7.0.0 release  https://bucket4j.com/7.0.0/toc.html#example-of-bucket-instantiation-of-via-thin-client-and-ignitethinclientcasbasedproxymanager


"git rebase" doesn't work but "git rebase -i" does

Hello,
Was playing around with creating a lesson to illustrate a common git issue.
See: https://gist.github.com/brianmay/a84407351f9c9f0cb241
However, I noticed that "git rebase origin/master" doesn't resolve the issue. It doesn't do anything in fact. However "git rebase -i origin/master", followed by no interactive changes, does.
Unless I am mistaken, I believe that both operations are suppose to do the same thing.
Thanks

(closing out old issues)

(closing out old issues)


rename react-transform-webpack-hmr

react-transform-webpack-hmr has been renamed to react-transform-hmr.

Looks like #211 addressed them.


Integer division and remainder instructions

Division by constant is supported in pytket and our lower level compiler. It would be good (but not critical) to have it supported in pyqir. The division by zero issue is also easier.

From PyQIR's side, I think it would be easiest and consistent with the other instructions to support any value (constant or not constant) as the operands, but you could of course restrict yourself to constant denominators. Also, I think we might as well add the whole suite of unsigned and signed division and remainder instructions udiv, urem, sdiv and srem, since it's not much work.

This will be handled when updating to support the adaptive profile specification.

Closing as tracked by #282


Invalid Route

when i try to create Livewire Module, this us what happen:
UnexpectedValueException
Invalid route action: [Modules\Backend\Http\Controllers\Modules\Backend\Http\Livewire\Pengguna\IndexPage].`

step to reproduce:
install laravel 8,
package i use:
        "laravel/framework": "^8.12",
        "livewire/livewire": "^2.3",
        "mhmiton/laravel-modules-livewire": "dev-master",
        "nwidart/laravel-modules": "^8.0",

in terminal:
php artisan vendor:publish --provider="Mhmiton\LaravelModulesLivewire\LaravelModulesLivewireServiceProvider"
php artisan module:make Backend
php artisan module:make-livewire Backend Pengguna/IndexPage

in routes/web.php (inside modules Backend):
<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
 */

Route::get('/pengguna', \Modules\Backend\Http\Livewire\Pengguna\IndexPage::class)->name('pengguna.index');

in my component:
<?php

namespace Modules\Backend\Http\Livewire\Pengguna;

use Livewire\Component;

class IndexPage extends Component
{
    public function render()
    {
        return view('backend::livewire.pengguna.index-page')
            ->extends(config('backend.extends.default'));
    }
}

my module Config:
<?php

return [
    'name' => 'Backend',
    'extends' => [
        'default' => 'backend::layouts.dafault'
    ]
];

Please try this solution - https://github.com/mhmiton/laravel-modules-livewire/issues/2#issuecomment-761831051

Please try this solution - https://github.com/mhmiton/laravel-modules-livewire/issues/2#issuecomment-761831051

yes i have try that, but another error appear:
InvalidArgumentException
View [layouts.dafault] not found.

yes i have try that, but another error appear:
InvalidArgumentException
View [layouts.dafault] not found.

Maybe you need to config:cache and make sure the layout blade file is 'layouts.dafault'. Can you provide your Backend module views folder screenshot and layout's source code, please?

Maybe you need to config:cache and make sure the layout blade file is 'layouts.dafault'. Can you provide your Backend module views folder screenshot and layout's source code, please?

After performed php artisan optimize:clear its all good now, except the module's route for a page without livewire still broke.
hope u'll solve that soon.
thx

After performed php artisan optimize:clear its all good now, except the module's route for a page without livewire still broke.
hope u'll solve that soon.
thx

You removed the module route namespace, so you should use the laravel default route like this -
use Modules\Auth\Http\Controllers\Backend\LoginController as BackendLoginController;
use Illuminate\Support\Facades\Route;

Route::get('backend/login', [BackendLoginController::class, 'index'])->name('backend.login');

You can check this - https://laravel.com/docs/8.x/routing#the-default-route-files
Also, I will try to add a separate route macro to support the module route namespace in this package.

You removed the module route namespace, so you should use the laravel default route like this -
use Modules\Auth\Http\Controllers\Backend\LoginController as BackendLoginController;
use Illuminate\Support\Facades\Route;

Route::get('backend/login', [BackendLoginController::class, 'index'])->name('backend.login');

You can check this - https://laravel.com/docs/8.x/routing#the-default-route-files
Also, I will try to add a separate route macro to support the module route namespace in this package.


Add customizable _startTokenId() and _totalMinted() (Continued from #66)

Continued from #66. Kept the history of commits to preserve contributions.
Summary:

Enables the _startTokenId() to be customized via function override.

Prevents the need for a 3rd constructor argument, which can confuse users, as earlier versions of ERC721A used it for the maxBatchSize.
Compilers >= 0.8.2 will automatically inline the calls for zero-cost abstraction.
Not a problem as we only support >= 0.8.4.

Includes an internal _totalMinted() function. See #124

Internal because it is not part of the standards, and we want to give users the choice to let it remain internal / wrap it in a public function.
Edited README to tell people to use _totalMinted().

Some quality of life suggestions (not yet added), please drop your opinions below
(include it in this PR / move to future PR / not needed / etc.):

Prettify the code to a max line length of 99. I know most of the long lines are from OZ.
But that doesn't mean we can't prettify things a bit.
Add a _mint(to, quantity) function.
This for the README example.
Add a cautionary comment to _safeMint that it is not re-entrancy safe, and encourage users to use _mint instead?
This is for the README example.

Many projects are using ERC721A. Many of which are not listed.
Our contributions do have a huge impact, probably more than we can imagine.
@cygaar @ahbanavi @Pczek

Thanks for opening this PR.
My opinion about suggestions:

Prettify the code to a max line length of 99. I know most of the long lines are from OZ.
But that doesn't mean we can't prettify things a bit.

Agree to use prettier for both solidity and js.
I have to manually disable my prettier before my contributions because it changed a lot of lines in the whole project, and it would be better if everyone were using this.
Also, It might help if write a  Contributing guidelines and tell people to use prettier for their contribution.
But it's better we do this on a future PR.

Add a _mint(to, quantity) function.
This for the README example.

I opened a PR before about adding _unsafeMint #86, check it out.

Add a cautionary comment to _safeMint that it is not re-entrancy safe, and encourage users to use _mint instead?
This is for the README example.

Using _mint function without checking on _checkOnERC721Received may also cause problems, I mean developers should know the differences between safe and normal mint.
But it doesn't hurt to give some information on this matter in README and explain the different approaches (like using normal mint if their already revert requests from contracts).
This could be on another PR too, maybe the same PR for prettifying.


Does roadie scaffolder-backend-module-http-request support authorization in headers?

Discussed in https://github.com/RoadieHQ/roadie-backstage-plugins/discussions/745

Originally posted by subash54 November 30, 2022
Hi Team I am using roadie scaffolder-backend-module-http-request to call api which has authentication
 - id: backstage_request_with_input
      name: backstage request
      action: http:backstage:request
      input:
        method: 'GET'
        path: '/api/proxy/sheet/test'
      headers:
        Authorization: 'Basic c3ViYXNoOmhlbGxv'

The above is the body that I am passing but I am getting unauthorized  while passing authorization in headers.
In Postman for the same I am able to send the request.
Whether it supports passing authorization in headers.
Can anyone help me in this?

You can set the authorication headers on the proxy settings in your app-config.yaml. AFAIK this action will not forward the headers like you tried to do it


AttributeError: 'ElementTree' object has no attribute 'get'

I want to run openvas code,but prompt this error:
    status = response.get('status', None) AttributeError: 'ElementTree' object has no attribute 'get'
This is my code:
    manager = VulnscanManager("<IP_ADDRESS>", "admin", "admin", port=4000)      print(manager)
Does anyone know this problem? Please tell me,Thanks!

Came across the same error. Try changing the connection port to 9390 instead of 4000.
manager = VulnscanManager("<IP_ADDRESS>", "admin", "admin", port=9390)
print(manager)

Came across the same error. Try changing the connection port to 9390 instead of 4000.
manager = VulnscanManager("<IP_ADDRESS>", "admin", "admin", port=9390)
print(manager)

After I changed to port 9390, the program threw an exception:
openvas_lib.VulnscanServerError: Error while connecting to the server: [Errno 10061]

Came across the same error. Try changing the connection port to 9390 instead of 4000.
manager = VulnscanManager("<IP_ADDRESS>", "admin", "admin", port=9390)
print(manager)

ok. thanks ! The problems have now been sorte !

Awesome! :)
Please close the issue, if it's fixed.

I want to run openvas code,but prompt this error:  status = response.get('status', None) AttributeError: 'ElementTree' object has no attribute 'get'
This is my code:  manager = VulnscanManager("<IP_ADDRESS>", "admin", "admin", port=4000) print(manager)
Does anyone know this problem? Please tell me,Thanks!

can you tell me how to resolve this problem？Thanks！


feat: Replay cassettes

Resolves #519
TODO:

[x] GET requests with payload (e.g. Elasticsearch uses such requests)
[x] Multiple values in headers (e.g cookies)
[x] verify that cookies are working (they should when headers will be handled completely)
[x] Test different endpoints, compare headers
[ ] CLI options for filtering cassettes (ID, status, URL, method)
[x] Cassette validation via Click callback
[x] A bit more docstrings
[ ] Option to run asynchronously
[ ] Output useful info to CLI

Codecov Report

Merging #525 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #525   +/-   ##
=======================================
  Coverage   99.64%   99.65%
=======================================
  Files          34       34
  Lines        2261     2289   +28
  Branches      358      361    +3
=======================================
+ Hits         2253     2281   +28
  Misses          3        3
  Partials        5        5

Flag
Coverage Δ

#unittests
99.65% <100.00%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

src/schemathesis/cli/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/cli/callbacks.py
100.00% <100.00%> (ø)

src/schemathesis/cli/cassettes.py
99.31% <100.00%> (+0.10%)
: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 9d04b66...8929470. Read the comment docs.

@Hultner @jamescooke
Folks, what do you think, what kind of features will be helpful for cassettes replaying? This PR is WIP now, and it only sends requests to the server

Adding support for cassettes now on our side! This is one of the primary features we identified, so I just wanted to come back to this PR to commend you for this feature!

Thank you very much @barrett-schonefeld :) It is very much appreciated. Let me know if we can improve this cassettes workflow somehow :)


NIFI-6685: Add align and distribute UI actions

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables align and distribute actions on the core UI. When at least two components are selected, the user can now align them vertically or horizontally. When at least three components are selected, the user can now distribute them evenly.
Carbon Icons library was added to illustrate the actions in the UI. (Apache License 2.0)
This fixes bug NIFI-6685
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically main)?

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[X] Have you verified that the full build is successful on JDK 8?
[X] Have you verified that the full build is successful on JDK 11?
[X] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

reviewing...

I believe the Hive errors in the github actions can be resolved by rebasing on main.

As @thenatog mentioned, the Hive errors in the github actions have been fixed in commit 4888eaf62d2026067c40caa91e7bf6d4f2917c9f


try to build docker for test

Signed-off-by: Sam Yuan<EMAIL_ADDRESS>

docker: Error response from daemon: invalid volume specification: '/home/runner/work/kepler/kepler:/': invalid mount config for type "bind": invalid specification: destination can't be '/'.

@rootfs , do you have any idea to run make test-verbose as a part of docker run command?
cd /tmp && make test-verbose works or not?

docker: Error response from daemon: invalid volume specification: '/home/runner/work/kepler/kepler:/': invalid mount config for type "bind": invalid specification: destination can't be '/'.

@rootfs , do you have any idea to run make test-verbose as a part of docker run command? cd /tmp && make test-verbose works or not?

@SamYuan1990 see if this helps (i am using podman and kepler_builder image since we need make to run the tests)
podman run -v $(pwd):/home quay.io/sustainable_computing_io/kepler_builder:go1.18 bash -c "cd /home; export PATH=/usr/local/go/bin:$PATH; make test-verbose"


user docs: Trim add-custom-emoji.

@rishig

Merged, thanks @Lyla-Fischer! Made a couple of changes, but in particular note the first bit of the emoji one, since I think it's a good pattern in general:
By default, anyone can add custom emoji to a Zulip organization. Added emoji
are available to all users.

Organization administrators can also
[change who can add custom emoji](/help/only-allow-admins-to-add-emoji).

Namely,
By default, XXX.

Organization administrators can also [link to admin setting doc].

Another minor thing is that the commit messages for all of these can just be user docs: Update file-name instead of user docs: Trim ... since by the time I merge them they're in pretty final state.

Okay, I was using "Trim" to mean something more minor than an "Update" (like, I was only removing stuff rather than adding anything new). But I can use "Update" for everything, NBD.


Update cancel.rs

resolves #3785
given that the ambiguity in the docs arises from

the arguments to cancel mentioning a line rotation as default, then saying it's rotated by some degree, giving the impression it's rotated by default + some degree, not directly from y-axis
the docs not specifying which diagonal the default angle aligns the line to

I have made these changes:

move the line about the angle argument above the auto/default argument. this clears up most of the ambiguity without having to make any real changes to these lines, so we don't have to worry about further misinterpretations
change the word diagonal to anti-diagonal (reference) to more clearly denote what diagonal we mean

(first time trying to contribute to this project! this was the first entry on good first issues so I took it. not a lot of work but I'm trying to get familiar with the code more)

I do not like the use of anti-diagonal. That makes it no more clear, as we're not talking about matrices here (and even for matrices that's arguably not common terminology).

I do not like the use of anti-diagonal. That makes it no more clear, as we're not talking about matrices here (and even for matrices that's arguably not common terminology).
I also do not think just changing the order is sufficient to clear up all the ambiguity.

the other option would be to add a bottom of the page annotation which says for a diagonal we mean the one running from top right of the element to the bottom left. The broader question here is, do we expect the average user to understand/look up slightly obscure terms like these,  or we explain ourselves on each step, potentially littering the docs with annotations.

I quite liked the current formatting where the three argument types are addressed separately, and tried to maintain that for my changes. Any other sentence I try to use to explain it starts sounding very awkward very soon. But I'll try to rephrase

I too prefer the term “rising diagonal” over “anti-diagonal”, though the former could still be unclear.
Both of these terms are dependent on the writing direction, too; I don’t know whether we want to mirror the stroke for e.g. Arabic math notation, but I guess this is a rare case to begin with.

I too prefer the term “rising diagonal” over “anti-diagonal”, though the former could still be unclear.
Both of these terms are dependent on the writing direction, too; I don’t know whether we want to mirror the stroke for e.g. Arabic math notation, but I guess this is a rare case to begin with.

this brings us back to a previous question, do we trust people to look up definitions of stuff like this, if needed, or we litter the docs with explanations and then explanations for those. We could also cop out a bit and put a reference to the wiki article/math stack exchange for any of these terms if we use them in the docs so people have a direct way of checking what the words exactly mean

I think "rising diagonal" doesn't sound bad. It's clearer to the average person than anti-diagonal and we don't support Arabic math notation anyway.

that seems to be the general consensus then I'll change it o7

I don't really have an opinion on this, but @Enivex still seemed to have concerns with just changing the ordering.

I think it's a bit better than before and relatively clear, so I'll just merge. Thanks!


electron-forge publish fails in "Searching for target release" - tries to publish to undefined

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
When trying to run electron-forge publish the task fails after it tries to publish to the url https://undefined/

Console output when you run electron-forge with the environment variable DEBUG=electron-forge:*. (Instructions on how to do so here). Please include the stack trace if one exists.
✔ Checking your system
✔ Resolving Forge Config
We need to package your application before we can make it
✔ Preparing to Package Application for arch: x64
✔ Compiling Application
✔ Preparing native dependencies
✔ Packaging Application
Making for the following targets:
✔ Making for target: zip - On platform: darwin - For arch: x64
✔ Making for target: dmg - On platform: darwin - For arch: x64
✔ Resolving publish target: github
⠋ Searching for target releaseDEPRECATED: protocol option is no longer supported
✖ Searching for target release

An unhandled error has occurred inside Forge:
request to https://undefined/repos/priviahealth/desktop/releases?per_page=100 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:443
HttpError: request to https://undefined/repos/priviahealth/desktop/releases?per_page=100 failed, reason: connect ECONNREFUSED <IP_ADDRESS>:443
    at fetch.then.then.catch.error (/Users/benjtinsley/sites/desktop-privia/node_modules/@octokit/rest/lib/request/request.js:88:13)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:118:7)
error An unexpected error occurred: "Command failed.

What command line arguments are you passing?
$ electron-forge publish

What does your config.forge data in package.json look like?
"config": {
  "forge": {
    "make_targets": {
      "win32": ["squirrel"],
      "darwin": ["zip", "dmg"]
    },
    "publish_targets": {
      "win32": ["github"],
      "darwin": ["github"]
    },
    "electronPackagerConfig": {
      "packageManager": "yarn",
      "icon": "./src/app-icon/app",
      "asar": true,
    },
    "github_repository": {
      "owner": "priviahealth",
      "name": "desktop",
      "draft": true,
      "prerelease": true
    }
  }
}

Thanks for filing an issue. This is a duplicate of #493, please follow that issue for updates.


mup deploy with shippable

Hi! I'm new to this.. on meteor but I like what I see so far!
I'm trying to deploy with Shippable and I have the the foolowing error on the node-progress.js:168!
Seems related to the type of stream used by the docker or the redirection of that stream for the CLOUD admin page.
Any Idea?
INFO From Shippable:
npm install -g mup
/usr/bin/mup -> /usr/lib/node_modules/mup/bin/mup
<EMAIL_ADDRESS>/usr/lib/node_modules/mup
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>[<IP_ADDRESS>] - Uploading bundle
/usr/lib/node_modules/mup/node_modules/nodemiral/node_modules/progress/lib/node-progress.js:168
this.stream.clearLine();
^
TypeError: Object # has no method 'clearLine'
at ProgressBar.terminate (/usr/lib/node_modules/mup/node_modules/nodemiral/node_modules/progress/lib/node-progress.js:168:17)
at ProgressBar.tick (/usr/lib/node_modules/mup/node_modules/nodemiral/node_modules/progress/lib/node-progress.js:91:10)
at ProgressBar.update (/usr/lib/node_modules/mup/node_modules/nodemiral/node_modules/progress/lib/node-progress.js:157:8)

+1 for this. Meteor up is a great tool, and using it in a continuous deployment workflow would be great

Thanks Sam!

+1

experiencing the same problem in my dev machine!

I submitted a pull request (https://github.com/arunoda/meteor-up/pull/407) to Meteor Up to add an option enableUploadProgressBar which, when set to false, fixes this problem.

PR merged and released a new version.
On 2015 මැයි 5, අඟහ at ප.ව. 6.38 Samuel Bolduc<EMAIL_ADDRESS>wrote:

I submitted a pull request (#407
https://github.com/arunoda/meteor-up/pull/407) to Meteor Up to add an
option enableUploadProgressBar which, when set to false, fixes this
problem.
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/402#issuecomment-99073562.

yey! fixed my problem! thanks a lot :)

I'm getting the same error as OP. mup version 0.10.7

Ah I just noticed the mup.json setting -- thanks!

Could anyone share there shippable config for this, I'm having some issues getting this to work.

Here is mine :
build_image: shippableimages/ubuntu1404_nodejs
language: node_js
node_js:
  - 0.10.38
services:
  - openjdk7
before_install:
  - npm install -g mup
install:
  - curl https://install.meteor.com/ | sh
after_success:
  - if [ "$BRANCH" == "qa" ]; then mup setup && mup deploy; fi

This worked great with my Jenkins install.  Thanks for the pull request!


Update complimentary-dial-out-period.md

Updating information

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


[JS-167] Implement the reload method for Organization and OrganizationMembership

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

This PR implements the reload method for OrganizationResource and OrganizationMembershipResource, as it is needed for reloading the resource when publicMetadata gets updated.
We also update all resource types to extend the ClerkResource.

❓ i would expect that all resources related to endpoints responses would have a common base type. Even if that base type is a toJSON() or something dummy. By checking the @clerk/types i cannot understand what types are related to an api response and what not. Am i missing something? Does making a base type make any sense?
By making a base type i think it would be easier to apply changes to all our endpoint resources in the future.

@dimkl Do you mean a particular base type only for API endpoints? Because ClerkResource is considered a base type if I understand your question correctly.


Cherry-pick OpenThread stack overflow fixes

Multiple OpenThread stack overflow issues were addressed recently in zephyr. Cherry-picked them as they did not make on time for the upmerge

Apart from the compliance issue it looks good to me.

Compliance failure is expected here. We have two contradicting rules: one limiting the size of the title, second requesting adding extra "nrf fromtree" with commit title unchanged leading often to exceeding size limit.

Apart from the compliance issue it looks good to me.

Compliance failure is expected here. We have two contradicting rules: one limiting the size of the title, second requesting adding extra "nrf fromtree" with commit title unchanged leading often to exceeding size limit.

I would simply put here the shortened title with "..." on the end to satisfy CI. I think this is the best way to merge this PR quick.


Fix REPL

Fixes #429
Fixes #428

Delete the code of cursor change
Support Ctrl + D/Z to exit at the same time

@mtshiba

It is common for the cursor shape to be Line in input mode, etc
Perhaps that was the intent of the implementation
Since you can change the shape, why don't you change it back to the Block shape at the end of the REPL?
    pub fn read(&mut self) -> String {
    ...
        execute!(output, MoveToColumn(0), SetCursorShape(CursorShape::Block)).unwrap();
    ...
    }

If not, please remove the following code that changes the shape of the cursor
    pub fn read(&mut self) -> String {
    ...
        execute!(output, SetCursorShape(CursorShape::Line)).unwrap();
    ...
    }

I think I was thinking the same thing at first, but it's possible that the terminal cursor wasn't block to begin with.

Does it compile successfully?
cargo run --features full

BTW, Ctrl+Z seems to have a different meaning than normal exit (Ctrl+D, exit()); a command entered with Ctrl+Z is "paused" by Linux convention. A paused command becomes a background process and can be resumed with the fg command.
Erg should do the same.

I did this because, on Windows, Python prompts you to exit with Ctrl + Z instead of D
Maybe we should do different things for different system


Live funscript test, feature request

Hello Funjack
I just wanted to ask, if there is a possibility to directly connect the fleshlight launch device to the blender addon? So that you can see the movements live / in real time.
Greetings Clasher

In theory this should be doable, but it's not easy. The timings of the playback in Blender is a bit finicky, and I'm not sure if there are great scripting hooks. As for controlling the Launch, it would probably have to use https://buttplug.io/ and it's Python client code.
But this little project is already way bigger then I originally intended. So I don't think I will try to implement this any time soon. But if someone is willing to put in the work, I wont say no to including it.


Unable to intercept download requests in version 127

Download interception has been enabled and the interception size has been set, but still calls Chrome browser's built-in download function.

Sorry, I should provide feedback here Aria2 ExplorerReport this issue in the middle


Missing registrations in micro_ops.h

@tensorflow/micro
Add missing kernel registrations to the micro_ops.h file.
Remove associated includes that would no longer be needed from micro_mutable_op_resolver.h file.

PR withdrawn as the resulting changes were merged in PR #1722


Only set group energy sensor to unavailable when a member sensor becomes unavailable

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.165%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2421

Relevant Lines:
2544

💛  - Coveralls


Interoperate with imagemin-webpack-plugin

I'm the author/maintainer of imagemin-webpack-plugin. It's a plugin that does the same job as image-webpack-loader, but as a plugin so it can easily work on images that aren't require()d, but that are added from other plugins, loaders, or anything else.
I had an issue come in that images that were inlined from this loader weren't getting optimized, and after looking into it it's obvious that the problem is that this plugin doesn't add the image to the assets array, but instead just puts it right into the source asset.
That's not a problem in itself, but it means that my plugin doesn't ever see that image on the emit event so I can't touch it.
I guess I'm making this issue to see if anyone here knows of a good idea for how to solve this... I'll be the first to admit that I know very little about webpack internals (honestly I know just barely enough to make the plugin I made, and nothing more...), so I'm hoping there's something easy that i'm missing.
The issue in my repo for this is here, and I outlined a few of what I think are my options there.
Feel free to close this right away if it's the wrong place to ask or something. The pre-filled issue text was a bit confusing if this kind of thing is allowed here, so I apologise ahead of time if it's not.

@Klathmon It's been a while now :), so first of all did you investigate further and found a solution?
I will address this, but out of the blue I'm not sure if this possible/fixable within url-loader, but we can recommend to use file-loader + your plugin as alternative to consider instead of using url-loader

@Klathmon any news or solution? I recommend to implement loader for this purpose too, thanks!

Closing due to inactivity for now feel free to reopen


Feature Request: Resend option on fax busy

Hi,
I would find it helpful for a simple way to resend a fax in the event that it's determined "Busy". And/or a way to auto-attempt re-transmits.

I don't have any plans to add that.


Cannot GetObject after Stat call

Hello,
I'm trying to make streaming zip write and zip read from minio test server and I'm experience very strange issue when reading content of the file after I've got Stat().
    `endpoint := "s3.xxxxxxx.xxx"
accessKeyID := "xxxxxxxxx"
secretAccessKey := "xxxxxxxxxxx"
useSSL := true

minioClient, err := minio.New(endpoint, &minio.Options{
	Creds:  credentials.NewStaticV4(accessKeyID, secretAccessKey, ""),
	Secure: useSSL,
})
if err != nil {
	log.Fatalln(err)
}

bucketName := "bucket1"
objectName := "text-data.zip"
contentType := "application/zip"

object, err := minioClient.GetObject(context.Background(), bucketName, objectName, minio.GetObjectOptions{})
if err != nil {
	fmt.Println(err)
	return
}
stat, err := object.Stat() //If Stat is not invoked everything works like a charm

localFile, err := os.Create("local-file.zip")
if err != nil {
	fmt.Println(err)
	return
}
if _, err = io.Copy(localFile, object); err != nil {
	fmt.Println(err) //If Stat is called before writing I get "There were headers present in the request which were not signed"
	return
}`

Whenever I get stat of un object this object can't be read because Read or ReadAt fails with following error "There were headers present in the request which were not signed".
Environment is Golang 1.17 and minio server version 2021-11-09T03:21:45Z.
In trace logs at the server response is "400 Bad Request".
Am I missing something and how is suppose to get object size if I want to use it as parameter at io.ReadAt?

@lubishata I wasn't able to reproduce this. Can you paste the log ? just add this minioClient.TraceOn(os.Stderr) after initialization of minioClient

Sure,
Here it is:
`---------START-HTTP---------
GET /bucket1/?location= HTTP/1.1
Host: s3.xerberos.com
User-Agent: MinIO (windows; amd64) minio-go/v7.0.15
Authorization: AWS4-HMAC-SHA256 Credential=REDACTED/20211123/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=REDACTED
X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
X-Amz-Date: 20211123T141446Z
Accept-Encoding: gzip
HTTP/1.1 200 OK
Content-Length: 133
Accept-Ranges: bytes
Connection: keep-alive
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Tue, 23 Nov 2021 14:12:24 GMT
Server: nginx/1.18.0 (Ubuntu)
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin
Vary: Accept-Encoding
X-Amz-Bucket-Region: sofia
X-Amz-Request-Id: 16BA3252987E2753
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
---------END-HTTP---------
---------START-HTTP---------
HEAD /bucket1/text-data.txt HTTP/1.1
Host: s3.xerberos.com
User-Agent: MinIO (windows; amd64) minio-go/v7.0.15
Authorization: AWS4-HMAC-SHA256 Credential=REDACTED/20211123/sofia/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=REDACTED
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20211123T141446Z
HTTP/1.1 200 OK
Content-Length: 901739
Accept-Ranges: bytes
Connection: keep-alive
Content-Security-Policy: block-all-mixed-content
Content-Type: application/zip
Date: Tue, 23 Nov 2021 14:12:24 GMT
Etag: "3a8db358da279d419652a49e6bd03a88-1"
Last-Modified: Tue, 02 Nov 2021 14:55:01 GMT
Server: nginx/1.18.0 (Ubuntu)
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin
Vary: Accept-Encoding
X-Amz-Bucket-Region: sofia
X-Amz-Request-Id: 16BA32529E7D0CB1
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block
---------END-HTTP---------
{3a8db358da279d419652a49e6bd03a88-1 text-data.txt 2021-11-02 14:55:01 +0000 UTC 901739 application/zip 0001-01-01 00:00:00 +0000 UTC map[Content-Type:[application/zip]] map[] map[] 0 {{ }  } []  false false   0001-01-01 00:00:00 +0000 UTC   }
---------START-HTTP---------
GET /bucket1/text-data.txt HTTP/1.1
Host: s3.xerberos.com
User-Agent: MinIO (windows; amd64) minio-go/v7.0.15
Authorization: AWS4-HMAC-SHA256 Credential=REDACTED/20211123/sofia/s3/aws4_request, SignedHeaders=host;if-match;x-amz-content-sha256;x-amz-date, Signature=REDACTED
If-Match: "3a8db358da279d419652a49e6bd03a88-1"
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20211123T141446Z
Accept-Encoding: gzip
HTTP/1.1 400 Bad Request
Content-Length: 374
Connection: keep-alive
Content-Security-Policy: block-all-mixed-content
Content-Type: application/xml
Date: Tue, 23 Nov 2021 14:12:25 GMT
Server: nginx/1.18.0 (Ubuntu)
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Origin
X-Amz-Bucket-Region: sofia
X-Amz-Request-Id: 16BA3252A44FF6E4
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

AccessDeniedThere were headers present in the request which were not signedtext-data.txtbucket1/bucket1/text-data.txtsofia16BA3252A44FF6E472b2aa98-481a-4c0b-8bc8-b7fe9baa6729---------END-HTTP---------
There were headers present in the request which were not signed`

@lubishata most likley your load balancer is changing something in your request. Can you bypass it for now and test it ?

Yep,  you're absolutely right. It seems that nginx changing headers. I'll find out what in the config is the problem and let you know.
Thanks a lot.

proxycache  was turned on and this was the reason.


Add an eg-auth-auth-linker binary that recreates the original authority_authority_linker.pl

Includes an integration test that passes for both the original Perl version and the new Rust version
Also implement From<postgres::Error> for EgError, so that database errors can be propagated up the call stack with the question mark operator just like EgErrors can.

It is a bit faster than the original perl version.  On a data set of 321,098 authority records (mainly MeSH) with no bib links, the Perl version took a median of 3 minutes 7 seconds, while the rust took a median of 2 minute 33 seconds. Nothing earth-shattering, for sure, especially since I suspect that the main bottleneck for this script in production systems is the presence of lots of bib records that need to be updated -- I think configuring Queued Ingest would be a bigger performance win than switching to Rust in that case.  But I still had fun!
This is my first serious Rust program -- please let me know what I need to change. :-D  And apologies for the huge PR, let me know if it would be helpful to split it into smaller ones.
closes #15

For a first serious program, it's a serious one.  I have no changes to suggest.  The code looks good, does the thing, and passes tests.
I like the use of "let Ok(var) = foo else { }".  I forgot all about this structure.  I'll have to use it more.
This is the first large patch (not by me) that uses the editor, database, marc, etc. APIs.  Did you run into any issues or confusion with those?  Let me know if you have any suggestions on that front.
Thanks!

Thanks, @berick !  The APIs you've created seemed really ergonomic to me, I don't remember any stumbling blocks there, and I honestly found the Rust editor easier to use than the Perl one.


[SPARK-18466] added withFilter method to RDD

What changes were proposed in this pull request?
A withFilter method has been added to RDD as an alias for the filter method. When using for comprehensions, the Scala compiler prefers (and as of 2.12, requires) the lazy withFilter method, only falling back to using the filter method (which, for regular collections, is non-lazy, but for RDDs is lazy). Prior to Scala 2.12, this fallback causes the compiler to emit a warning, and as of Scala 2.12, it results in an error.
How was this patch tested?
RDDSuite was updated by adding a line to "basic operations" that duplicates the behavior of the filter test, but uses a for comprehension instead of a direct method call.

Can one of the admins verify this patch?

You're right that it's not hard to add but is this really intended usage of an RDD? I don't know how much we want to make it operate like a local collection. I'm not strongly against it though, but if this is added, are there not some other places that need this treatment like in Dataset?

Using RDD's in for comprehensions dates back at least to the examples given in the old 2010 AMPLab paper "Spark: Cluster Computing with Working Sets". for comprehensions are in no way limited to local collections. They provide syntactic sugar that, for many use cases, makes the code easier to comprehend than a series of chained method calls.
Other examples of using them for non-collections include the Scala Future class as well as query construction using the SLICK database access library.
I agree that a similar change should be made for other abstractions built on top of RDD's, such as DataSets and DStreams, though. I'll add those when I get a chance.

OK, that makes sense. Yes, of course in reality it's just syntactic sugar. I suppose I wonder: if this works, are there other sugary things one would expect to work that don't? and, does it add to confusion about what's happening locally vs remotely? but maybe the latter isn't a big enough reason to not provide the possibility of the syntax.

The only other weird case I've run into is trying to flatMap across multiple RDDs, e.g., for (x <- rdd1; y <- rdd2) yield x + y, but it simply won't compile because RDD.flatMap doesn't support it (for good reason). You can do it for an RDD and a regular collection, e.g., for (x <- rdd; y <- 1 to 10) yield x + y, which is a perfectly reasonable use case. Other than that, the only issues that I'm aware of are ones that would also affect regular (desugared) chained method calls.

I would vote to explicitly discourage this kind of use case. By encouraging this we are creating an illusion that for comprehension can be used, but in reality there are a lot of gotchas.

@reggert @srowen
any reaction to my pushback?

I disagree strongly. I've used RDDs in for comprehensions for almost 2
years without issue. Being able to "extend for loops" in this way is a
major language feature of Scala that helps in writing expressive code.
Refusing to support it would be considered surprising and irritating to
most Scala developers.
Rich
On Nov 17, 2016 4:34 PM, "Reynold Xin"<EMAIL_ADDRESS>wrote:

@reggert https://github.com/reggert @srowen https://github.com/srowen
any reaction to my pushback?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/15899#issuecomment-261376699, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB4WqZRI4Sd1rBMPOhtClYzySSKmoWegks5q_MhygaJpZM4Kzavq
.

I don't get it. The only thing you can do here is just a simple syntactic sugar, and the sugar doesn't even work in general. Isn't it more surprising to fail in some cases?

I don't get why you say that it "doesn't even work in general". Under what circumstances doesn't it work? I've never run into any problems with it.
The "simple syntactic sugar" allows very clear, concise code to be written in many cases, and even lets you take advantage of Scala pattern matching for filtering. For example:
val strings = sparkContext.parallelize(List("1213,999", "abc", "456,789"))
val NumberPairString = """(\d{1,5}),(\d{1,5})""".r
val numbers = for (NumberPairString(a, b) <- strings; n <- Seq(a, b)) yield n.toInt
// numbers.collect() yields Array[Int](1213, 999, 456, 789)

Without the for comprehension, you wind up with this significantly uglier and somewhat confusing chain of calls:
val strings = sparkContext.parallelize(List("1213,999", "abc", "456,789"))
val NumberPairString = """(\d{1,5}),(\d{1,5})""".r
val numbers = strings.filter {
   case NumberPairString(_, _) => true
   case _ => false
}.flatMap{
   case NumberString(a, b) => Seq(a, b)
}.map(_.toInt)
// numbers.collect() yields Array[Int](1213, 999, 456, 789)

There are alternate ways to write this (e.g., with a single flatMap on a pattern match function that returns either 0 or 2 elements), but none of them are as clean and concise as the for version.

Hello,
I found this issue after encountering the error 'withFilter' method does not yet exist on RDD[(Int, Double)], using 'filter' method instead in my code.
I'm writing a somewhat complicated flatMap-flatMap-map expression involving pair RDDs, and the code is becoming busy enough that sugaring them into a for expression is warranted for readability.  Since I'm not using any filters or ifs in the for expression, I found the above error message puzzling.  After some tinkering, I think I've found a minimal reproducible case:
for ((k, v) <- pairRdd) yield ...    // pairRdd is of type RDD[(_, _)]

Curiously, the withFilter error doesn't occur if I write for (x <- pairRdd) yield ....  @rxin, do you have any insight into this?

The (k,v) <- pairRDD expression involves a pattern match, which the compiler converts into a filter/withFilter call on items that match the pattern.

@rxin, is it possible for Spark to support extractors in for expressions with pair RDDs?

Hey,
Checking in again on this PR.  Can we please support withFilter for pair RDDs?  For-expressions are a central sugar in Scala syntax, and without them developers are hampered in their expressiveness compared to other Scala container types.
@rxin, are you able to back up your claims of (1) “ there are a lot of gotchas” and (2) “the sugar doesn’t even work in general”?

Strictly speaking, this doesn't just affect pair RDDs. It affects any RDDs on which a for expression involving a filter operation, which includes explicit if clauses as well as pattern matches.

I'm simply making an argument for a specific use case, though you're right, it's used for more than just pattern matching.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thanks for the example. I didn't even know that was possible in earlier versions. I just looked it up: looks like Scala 2.11 rewrites for comprehensions into map, filter, and flatMap.
That said, I don't think it's a bad deal that this no longer works, given it was never intended to work and there's been a deprecation warning.
I still maintain that it is risky to support this, because Scala users learn for comprehension not just for a simple "for filter yield", but as a way to chain multiple generators together, which is not really well supported by Spark (even if it is, it's a really bad operation for users to shoot themselves in the foot because it would be a cartesian product).
Rather than faking it as a local collection, users should know RDD is not.

I see. Thank you for the clear decision, @rxin ! I'll close the issue as Won't Fix.
And, could you close this PR, @reggert ?

+1 for the decision and closing it.

Since the issue is closed, this PR will be closed at the next infra clean ups.


Example of uStreamer + Publish Message Issue

Hey @evshary -- Found an example that I want to discuss
Added a test case which whows a uStreamer erroneously receiving back the Publish message it just sent, i.e.
running 2 tests
thread 'test_receive_own_publish_msg::ustreamer_subscribed' panicked at tests/publish.rs:183:5:
assertion `left == right` failed
  left: "Publish message intended for ue!"
 right: ""
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test test_receive_own_publish_msg::ustreamer_subscribed ... FAILED
test test_receive_own_publish_msg::ustreamer_not_subscribed ... ok

failures:

failures:
    test_receive_own_publish_msg::ustreamer_subscribed

Here's what I think is happening:
sequenceDiagram
    participant ue as uE
    participant ue_z as up-client-zenoh-rust
    participant st_z as up-client-zenoh-rust
    participant st as up-streamer-rust
    participant st_s as up-client-someip-rust
    participant me_s as up-client-someip-rust
    participant me as mE

ue->>ue_z: register_listener
(me_publish_uuri, my_listener)
ue_z->>ue_z: register_publish_notification_listener()

st->>st_z: register_listener
(someip_auth_uuri,
 forwarding_listener)
st_z->>st_z: register_publish_notification_listener()

st_z->>st_z: register_request_listener()
st_z->>st_z: register_response_listener()

st->>st_s: register_listener
(zenoh_auth_uuri,
 forwarding_listener)
st_s->>st_s: registering

me->>me_s: send(publish_msg)
 src UUri UAuthority
 is someip_auth
me_s->>st_s: SOME/IP

st_s->>st_s: on_receive(publish_msg)
st_s->>st: TransportForwarder
rect rgb(80, 43, 110)
note right of st_z: In Publish case,
 the Zenoh KeyExpr
 is the src, i.e.
 has authority of
 someip_auth
st->>st_z: send(publish_msg)
note left of st_z: So it would appear that
 we receive the message
 we just published
 due to listening for
 all messages from
 someip_auth
st_z->>st_z: on_receive(publish_msg)
end

Just opening this PR for the code diff, I'm going to make a post over on the open PR we have on up-spec to discuss ideas.

Closing, this, I made my point :)


Room editor complex shapes

Adds support for more complex room shapes . Also adds a second canvas to serve as a background layer. Moved the grid to this new background layer.

The rooms themselves look really good. The collisions are really inconsistent, but I am not sure if you implemented it or if its a browser thing. One possibility would be to look into SAT collisions maybe, depending on how you implemented it. This library here (https://github.com/jriecken/sat-js) looks pretty good, but again depending on the implementation of the room renderer it might be tougher to integrate a library as opposed to writing a custom collision system.

Yeah I didn't add any additional collision detection yet. Right now it just won't let you move objects outside of the max/min x and y of the room object itself. And honestly I'm not sure if having any additional collision detection would even be necessary. It might just make it more annoying when someone is trying to arrange lots of things in the room, especially with objects that might be a tight fit. Also
Although I guess it could be cool it to have it but instead of actually blocking object movement, it just highlights the object red or something when its out of bounds, so I do think I'll try and add it.

Well I was referring more to the boundaries of the room, like having a polygonal collision shape that collides with the objects within the room. Not strictly required, but it may be more efficient (not 100% on that tho)

Yeah I was meaning the boundary collisions. I don't think its a huge deal if the objects can be moved outside the boundaries, but like I said it might be cool to still have some sort of visual indication when they aren't in the room.

Alright I added collision detection to the boundaries. Now whenever you move an item out of bounds it turns red.

I actually like how the red looks as opposed to having a collision.


Strange error when write 16GB Iso on Windows 7 32bit

Etcher version: 1.45
Operating system and architecture: Windows 7 32bit
Image flashed: Created by dd on Linux
Do you see any meaningful error information in the DevTools?

Bug escription:
I created, trimed, and compress 16GB image from MicroSd card with Raspbian (with Fat32 boot partition and Ext4). I succesfully write this image under Kubuntu 64bit. I failed to do this with Windows 7 32bit. Then I try Rufus and again I successfully wrote the image file.

Thanks for reporting this, actually a duplicate of https://github.com/resin-io/etcher/issues/2508 which is in the works for next version


FIRST phaser doesn't return a value (yet)

doc/Language/phasers.pod6 states:

Phasers marked with a * have a run-time value, and if evaluated earlier than their surrounding expression, they simply save their result for use in the expression later when the rest of the expression is evaluated

FIRST is one of those phasers which are supposed to have a run time value, but so far this:
for 1, 2, 3 -> $item { my $x = FIRST { 42 }; say $item, $x }
returns:
1(Any)␤2(Any)␤3(Any)␤

Fixed with https://github.com/perl6/doc/commit/d5a91dc984


Add MDETR image backbone

Stack from ghstack (oldest at bottom):

#110
#109
#77
#62
-> #61

This commit adds support for the ResNet-101 image backbone from MDETR.
This is basically just a wrapper around TorchVision's ResNet class
with support for fetching intermediate layers from the model so that the final pooling and
FC layers are not used. We also add the nested tensor and frozen batch norm classes from
the MDETR repo, ultimately we may factor out the nested tensor class later on.
Also added a test to confirm the results match those obtained by using MDETR's image backbone directly.
This is an initial version, will update docstrings etc if the high-level implementation looks good.
Tested with
$ python -m pytest -v test/modules/encoders/test_mdetr_image_encoder.py
test/modules/encoders/test_mdetr_image_encoder.py::TestMDETRImageEncoder::test_resnet_101_forward PASSED

Differential Revision: [D37390044](https://our.internmc.facebook.com/intern/diff/D37390044)

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ebsmothers has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


Error parsing single quote

Somewhere in your code that generates views, you have an error if the user enters a single quote.
Specifics:  I went to add a menu item, called "Employees"  in the first field (text field) in the box that has a placeholder for "field visual title" I entered "Employee's title or position" (note the single quote).  When I went to enter an actual employee, the app throws an error parsing the create.blade.php file for that view for employees - saying it was expecting a ) or ; but that error generated because the single quote was not escaped.
The code your app generated was as follows:
{!! Form::label('Position', 'Employee's title or position', array('class'=>'col-sm-2 control-label')) !!}

It should have generated:
{!! Form::label('Position', 'Employee\'s title or position', array('class'=>'col-sm-2 control-label')) !!}

For now I will remember not to use single quotes, but of course you will want to fix that . . .
best - mike

Thank you @OliverGrimsley - we will definitely look into it and fix, hopefully next week.


Brand Assets

Let's "be cool" to attract contributors.

Typography
Color Palette
Logo

Should align with values of OpenBoard

Please don't commit image's to the repo. Just upload them in the comments so we can discuss.

Also — let's consider how an open source end user might configure and self host this with there own branding.

Maybe something boring like this:

What about icons?

Thanks for drawing these up, @nqthqn, it looks awesome! I have very little design knowledge, so I'll likely defer to whatever looks best to everyone else. The only suggestion I have is to maybe add a smaller, different colored rectangle within the larger one.

This guy inspires me.
https://www.youtube.com/watch?v=CpWgrwCyrtE

you are free to use my face!


Add more BOOTNODES in global worldwide area

All of the BOOTNODES are from USA, Not convenient for people from other areas, I am living in China, the syncing is so slow and often interrupt.

Could u plz add HK, Japan, or Singapore boot nodes?

@TangMonk Heya, thanks; I renamed your other issue and we'll track this there: #222


refactor: view transitions

ℹ Overview

refactors navigation
allows modal placement
allows colors with adornments

📝 Related Issues

resolves https://algorandfoundation.atlassian.net/browse/ENG-623

✅ Acceptance:

[x] Pre-commit checks pass

Can we try these changes in the delete key confirmation modal:

move Account Address up, over part key id
add newlines between the sections

Are you sure...

Account address:
ABC

Participation Key ID:
XYZ