StreamField block type descriptions and image previews in block chooser

Is your proposal related to a problem?
When a site starts to have more than 10 or so StreamField block types, it becomes hard to know which block does what. Names aren’t always clear, and often don’t convey what the block will look like once rendered on the site.
Describe the solution you'd like
Introduce support for block type descriptions and preview images. Here is a design prototype:

Here, a developer has set up the "Image Text" block definition to include a description of the block’s appearance. It could also be used to explain its intended usage. This is similar to page_description, but for block types.
The "Image Text" also has a preview image, which is a screenshot set up as a static image by the developer. Though there are concerns about keeping those screenshots up-to-date, we could assume that site implementers who choose to implement this will also be able to keep up over time.
Describe alternatives you've considered
Currently the best alternative is to manage block naming, icons, and groups very carefully. And add external documentation explaining the different types.
Additional context
This has recently been discussed on the Wagtail Slack.
There are a few un-resolved questions on the proposed design:

Does the image need alt text, or does it use the block’s description as alt text?
Does the image reference need to be swappable between different languages in use by CMS users?
What are the exact means of interaction that reveal the description and image?
Would we also offer this for StreamField only or also rich text formatting options?

Working on this

Assigned to @thibaudcolas. This requires a fair bit of UI expertise. The block chooser itself is built with React. View our contributing guidelines, add a comment to the issue once you’re ready to start.
Tasks

[ ] Complete feedback process in #12354
[ ] Confirm if the new properties would only be added to class-based SF blocks, or also inline SF configurations (kwarg?) (1h)
[ ] Add a description or block_description meta property to SF block declarations (1h)
[ ] Add a thumbnail or preview or block_preview meta property to SF block declarations (1h)
[ ] Re-review accessibility considerations for hover-only patterns (1h)
[ ] New blocks description and preview UI in block chooser (5h)

I've made some progress with this. Not sure everything is quite right yet and some the new styles I am exploring would have knock-on effects (as usual) to other elements with StreamField. An overview of what I've explored:
How to make it easier for people to know which block does what

Clicking the block buttons would automatically add that block as per the current behaviour
Addition of a 'preview' icon alongside blocks where a developer has configured a preview. Clicking this would open the panel to the right containing the visual preview, block desc and additional + button to add that block type (position may not be quite right and considering a label to make it clearer)
Potential evolution of the block button styling; Inc. the potential for a new set of custom icons (these icon designs are quick placeholders) that are more representative of typical components/block than the FA icon set, and a new brighter shade of the indigo - which would also be used for the block labels within the form, to aid scannability of blocks (which is still an issue for long pages). We could do this in a later phase to align with potential changes to the StreamField block styling inc. updates to the collapsed block view)

This is relates to this discussion about the broader UI and design implications of adding copy-paste drag-and-drop to StreamField blocks: https://github.com/wagtail/wagtail/discussions/12354

An update on this. Exploring how we might use generic component thumbnails instead/in place of actual screenshots of the FE components. So more like the Block icon chooser, devs can choose from a pre-defined set of component thumbnails. If we keep the style super simple, we could create quite an extensive set of typical component types/layouts (paired with a simplified block icon). We can also avoid any actual words in them to ensure they are language-agnostic.

API definition discussion with @laymonage - aligning with how icon support works for blocks:

Can be set as a keyword argument for StructBlock. Will be supported for other block types if they also supported this kind of keyword argument.
Can be set as a Meta class attribute.

Options for description:

Support HTML vs. plain text only

Options for previews:

Direct path to image file (either as string or wrapped in static) – possibly via a base template (possibly to be overridden by site implementers?)
Path to template (could support people already using pattern libraries)
Preview endpoint? Or system like PreviewableMixin
Template component

PreviewableMixin research
Usage in GitHub code search:
PreviewableMixin NOT is:fork -repo:wagtail/wagtail -path:__init__.pyi -path:__init__.py -path:migrations -path:bakerydemo language:Python

Poll draft
We’re looking at options to support StreamField block previews in the editor interface, and need your feedback! There are lots of ways in which we could define those previews – and they all would take time to configure in block definitions. Which of those preview options do you think would be a good fit for your projects?

A preview_image. Path to a static image file, like a screenshot of the blocks as displayed on the site or as designed.
A preview_template. Path to a Django or Jinja template, that would then render a preview of the block with mock data. Inside an iframe.
A preview endpoint (similar to snippets and pages). Would also render in an iframe.

A selfish +1 from for preview_template, because our FE templates are jinja (or rather non-core-Django Jinja viadjango-jinja).
That said, because Component.render_html is overrideable, we can call anything we like to render, so there's also a +1 for me on template_component
It's a -1 on preview_image because that creates a level of developer complexity that would slow us down

@stevejalim 🤘 I’ve ended up creating the poll separately so it’s a bit easier to manage: Poll: StreamField block previews - developer experience

I'm a little late to the party, but just wanted to say I have envisioned this EXACT feature (same UI and everything) - and this is awesome! Thanks @thibaudcolas and @laymonage !!!


Fix childprocess

This fixes https://github.com/facebook/flow/issues/2824
I would wait merging it before https://github.com/nodejs/node/pull/9637 has been approved.

The pull request on node has been merged. So this pull should be ready now.

Not sure if this pull request should be merged first: https://github.com/facebook/flow/pull/2567

@mroch Any thing I can do to help?

Sorry for the delay! I've rebased this on the other work and made sure that execSync, execFileSync and spawnSync all can now take a string as well. I'll get this merged ASAP!


Open first tab, without define "data-hashtabber-default"

Is it possible to open first tab by default, if no any hash? My tabs ID is very difficult, and i can't to transfer this ID to script.
data-hashtabber-default = "0" does not works

I think that if you don't add data-hashtabber-default attribute, the first tab will be selected by default :) Sorry I haven't used this for a while


Added code in MainActivity.java and ContactOps.java to handle impleme…

Changed ContanctsActivity.java and ContactOps.java to support dynamically changing implementation. The previous version did not support this functionality because only the ContactOps type was changed, but no new implementation instances were generated to support the type change. To make things simple and straightforward, I handled the setting of weak references for each new instance by simply calling getOps.onConfiguration() from main activity.

Thanks Monte!
Doug


Adding firebase 3.x authentication methods

Description

Adding the ability to link a user to a new user with email and password.
Code sample

angular.module('some-module', ['firebase'])
  .controller('MyCtrl', function MyCtrl($fireabseAuth) {
    this.authObj = $firebaseAuth();
    // ... Assuming user logged in somehow. Anonymously, or with other credentials
    this.user = this.authObj.$getAuth();

    // ... other logic ...

    // This could be linked to some `ng-click` for example
    this.linkUser = function (email, password) {
        this.authObj.$linkUser(email, password)
            .then(function (authData) {
                // This will not trigger a `$digest`, so do so if needed using `$timeout`, `$scope.$apply` or whatever suits you.
                this.user = authData;
            }.bind(this));
    };

    // Another way to get the user: listening to `$onAuthStateChanged`
    this.authObj.$onAuthStateChanged(function(firebaseUser) {
      if (firebaseUser) {
        console.log("Signed in as:", firebaseUser.uid);
        this.user = firebaseUser;
      } else {
        console.log("Signed out");
        this.user = undefined;
      }
    });
  });

Add the $linkUser method. #764

Can we just all agree that CLAs and weird licenses suck?
What's the status on this?

Looked at the commit I pushed back then. Turns out I had my git config with my work email which I no longer have access to 🙁
I'll try to merge the same commit with the correct config

@idanen thank you! :)

No luck merging the same commit.
Submitted a new PR with the same change (but more tests 😊).
Take a look at the issue, I think the path to implement isn't decided yet.
The PR is kind of a suggestion, not sure it's the best path.

Lost access to the email I made this PR with, so closing...
Made a new PR #932


Added motion poll pdf (Fixes #1710).

I've removed poll_number from pdf to make it more consistently with assignmentpoll pdf which also requires poll.id only.

Fixed 2 comments and rebased.


[HW] Sharad Gupta

Name: Sharad Gupta
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/sharad-gupta/
Attach the homework screenshots below for both step II and step III:

Great Job, thank you for your work.
Here is your badge:
<EMAIL_ADDRESS>


[Feature Request] Support more files for instant preview

PDF
TTF
PSD
ZIP
ICO
SVG

I will request you to support these most common type of files for instant preview. Thanks

Thanks for your advice. Svg is already supported. I'm now working on zip. Other formats will be developed in the future.


Deprecate get_os_facts

When testing this I noticed a potential lack of parentheses. An example:
(operatingsystem=RedHat and operatingsystemrelease=/^6/ and hardwaremodel=x86_64 or operatingsystem=RedHat and operatingsystemrelease=/^7/ and hardwaremodel=x86_64)
Isn't this supposed to be:
((operatingsystem=RedHat and operatingsystemrelease=/^6/ and hardwaremodel=x86_64) or (operatingsystem=RedHat and operatingsystemrelease=/^7/ and hardwaremodel=x86_64))
An easy fix would be to change .join(' or ') to .join(') or (') in the relevant places and add an extra set of parenteses around the outermost map.

@pall-valmundsson should be fixed

Coverage decreased (-19.2%) to 73.077% when pulling 86cad7dd75b103102470a499641252f24c09e5c5 on mcanevet:dev/get_os_facts into 773ab2d11ed6550d47df2bbfa75f95b8aa5c0224 on camptocamp:master.


Add new permission to manifest to work with file://

Add new permission to manifest to work with file:// so users don't have to be running a local server to use the plugin.

The is fixed in commit https://github.com/eBay/Design-Grid-Overlay/commit/f04b50040d2afeea9c10b49e100dbaf3bec3fda1


Question about how to get the prediction of all point in each frame?

Hi,@qiqihaer  ,Thanks for your reproducing the work in PyTorch.
Because I want to get the prediction of all point in each frame,but I found that Randla-Net and KPConv both do not support that form of input.The 2 works both use sampler to generate subsampling data in cyclic way,if I change the code as below that use whole of point,the evaluate result is too different as the public result and your test result.
eval mean acc: 0.182902
eval mean loss: 53.351186
mean IoU:4.3
IoU: 0.34  0.13  0.00  0.50  0.13  0.00  0.00  0.00  6.07  2.26  6.12  0.31 26.94  0.13 23.01  2.05 10.04  2.29  0.99

    def __getitem__(self, item):

        selected_pc, selected_labels, selected_idx, cloud_ind = self.spatially_regular_gen(item)
        return selected_pc, selected_labels, selected_idx, cloud_ind

    def spatially_regular_gen(self, item):
        # Generator loop

        if self.mode != 'test':
            cloud_ind = item
            pc_path = self.data_list[cloud_ind]
            pc, tree, labels = self.get_data(pc_path)
            # crop a small point cloud
            pick_idx = np.random.choice(len(pc), 1)[0]
            selected_pc, selected_labels, selected_idx = self.crop_pc(pc, labels, tree, pick_idx)
        else:
            cloud_ind = int(np.argmin(self.min_possibility))
            pick_idx = np.argmin(self.possibility[cloud_ind])
            pc_path = path_list[cloud_ind]
            pc, tree, labels = self.get_data(pc_path)
            selected_pc, selected_labels, selected_idx = self.crop_pc(pc, labels, tree, pick_idx)

            # update the possibility of the selected pc
            dists = np.sum(np.square((selected_pc - pc[pick_idx]).astype(np.float32)), axis=1)
            delta = np.square(1 - dists / np.max(dists))
            self.possibility[cloud_ind][selected_idx] += delta
            self.min_possibility[cloud_ind] = np.min(self.possibility[cloud_ind])

        return selected_pc.astype(np.float32), selected_labels.astype(np.int32), selected_idx.astype(np.int32), np.array([cloud_ind], dtype=np.int32)

    def get_data(self, file_path):
        seq_id = file_path.split('/')[-3]
        frame_id = file_path.split('/')[-1][:-4]
        path_list = file_path.split('/')
        point_file_path = '/'.join(path_list)
        path_list[-2] = "labels"
        path_list[-1] = frame_id + '.label'
        label_file_path = '/'.join(path_list)
        kd_tree_path = join(self.dataset_path, seq_id, 'KDTree', frame_id + '.pkl')
        if os.path.exists(kd_tree_path):
            # Read pkl with search tree
            with open(kd_tree_path, 'rb') as f:
                search_tree = pickle.load(f)
            points = np.array(search_tree.data, copy=False)
        else:
            points_origin = DP.load_pc_kitti(point_file_path)
            labels = DP.load_label_kitti(join(label_file_path), remap_lut)
            sub_points, sub_labels = DP.grid_sub_sampling(points_origin, labels=labels, grid_size=grid_size)
            search_tree = KDTree(sub_points)
            # KDTree_save = join(KDTree_path_out, str(scan_id[:-4]) + '.pkl')
            # np.save(join(pc_path_out, scan_id)[:-4], sub_points)
            # np.save(join(label_path_out, scan_id)[:-4], sub_labels)
            # with open(KDTree_save, 'wb') as f:
            #     pickle.dump(search_tree, f)
            # if seq_id == '08':
            #     proj_path = join(seq_path_out, 'proj')
            #     os.makedirs(proj_path) if not exists(proj_path) else None
            #     proj_inds = np.squeeze(search_tree.query(points_origin, return_distance=False))
            #     proj_inds = proj_inds.astype(np.int32)
            #     proj_save = join(proj_path, str(scan_id[:-4]) + '_proj.pkl')
            #     with open(proj_save, 'wb') as f:
            #         pickle.dump([proj_inds], f)
            points = np.array(search_tree.data, copy=False)
            labels = sub_labels
        # Load labels
        # if int(seq_id) >= 11:
        #     labels = np.zeros(np.shape(points)[0], dtype=np.uint8)
        # else:
        #     label_path = join(self.dataset_path, seq_id, 'labels', frame_id + '.npy')
        #     labels = np.squeeze(np.load(label_path))
        return points, search_tree, labels

If you would like, see this repo and this pr. https://github.com/tsunghan-mama/RandLA-Net-pytorch/issues/8#issuecomment-896681515


replace ENV issue

Running this command:
NODE_ENV=production ./node_modules/.bin/rollup -c
results in the following error:
NODE_ENV=production : The term 'NODE_ENV=production' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ NODE_ENV=production ./node_modules/.bin/rollup -c
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (NODE_ENV=production:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Not sure why - I have all the dependencies etc in there.

If I'm guessing correctly, you're on Windows, right?
According to this discussion, it looks like you'll need a slightly different command:
SET NODE_ENV=production ./node_modules/.bin/rollup -c

I'll add a note to the article before closing this.


Profit factor calculation

Is there any reason why you calculate profit factor as
return abs(returns.sum() / returns[returns < 0].sum())

as opposed to:
return abs(returns[returns > 0].sum() / returns[returns < 0].sum())

I thought normally profit factor is total profit / total loss

The formula is gross profit (total pnl) / gross loss

See this:
https://www.investopedia.com/articles/fundamental-analysis/10/strategy-performance-reports.asp

Exactly.
In there, the Gross Profit is $149,020. This corresponds to only the winning trades which can be checked by the Avg. winning trade * num winners = 1460.98*102 = 149,020. And in this case the profit factor is Gross Profit / Gross Loss = 149,020/75,215 = 1.98

You are correct! Fixed in 0.0.23


[GITHUB-21] Readds .ssh dir creation

During the recent update that added the ability to install ssh keys in
an alternate directory a small was removed that created a .ssh directory
by default even if no ssh auth keys are specified. Some other roles
(like the GoCD ones) rely on the creation of this dir.
This PR adds this back in and adds a test to ensure the functionality.
Closes #21.

I Like

LGTM :+1:


add team support for frappe cloud api

Thank you for reporting. It appears that the addition was missed in FrappeCloudService.kt.
I have addressed this and added team support in version 1.1.7.


Generated Image with bug on circle edge, not render properly as on page.

Orginial page where cirlce show properly.

When use lib and generate output will break the circle.

Everthing great with page but only issue with generated image.
Kinldy guide how to resolve this or patch the issue quicker.

Should be fixed in 1.0.0

Not yet, same problem with new version


New version: 8x8.Work version 7.21.4

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Related to: https://github.com/microsoft/winget-pkgs/issues/135119


Zero padding of a float is not working in a format string

Godot version: 3.2.1

OS/device including version: Linux 64b

Issue description:

%07.2f format string should insert zeroes as a padding, but instead inserts spaces.
Steps to reproduce:
print("<%07.2f>" % [0.123])

output:
<   0.12>

comparison with C:
$ cat 0.c && echo --- && gcc 0.c -o 0 && ./0
#include <stdio.h>

int main() {
	printf("<%07.2f>\n", 0.123);
}

---
<0000.12>

You should be able to use str(0.123).pad_zeros(7) to achieve this. That said, we should probably change the format string behavior to match printf.
Does the C standard have a way to pad a number with spaces?

Unfortunately I can't use str + pad_zeroes, because that would significantly worsen usage of the function (it's a library function, user can pass a format string for specific numbers). For now I added a hack for default format string (just .replace(" ", "0")).

Does the printf "standard" have a way to pad a number with spaces?

Yes, without the 0 in a format string:
#include <stdio.h>

int main() {
	printf("<%7.2f>\n", 0.123);
}

---
<   0.12>

I believe for integers Godot's % operator behaves same as printf (without 0 spaces, with 0 zeroes).

I can work on this, if no one else is already

@mrushyendra It seems nobody is currently working on this, so go ahead :slightly_smiling_face:


Create Save_temporary_your_changes_without_making_commits

Save your changes without making commits with Git
git stash

Use git stash when you want to record the current state of the working directory and the index, but want to go back to a clean working directory.
The command saves your local modifications away and reverts the working directory to match the HEAD commit.

git : base command
stash : Stash the changes in a dirty working directory away just for you

Hi sir, several small fixed and deployed here: https://onelinerhub.com/git/save_temporary_your_changes_without_making_commits


[SR-4106] Implement as-pattern in lib/Syntax

Previous ID
SR-4106

Radar
None

Original Reporter
@bitjammer

Type
Bug

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug, Syntax

Assignee
@bitjammer

Priority
Medium

md5: 96f76009e0103981200d3d9b3d3c01f0

libSyntax was removed in #62145 and succeeded by swift-syntax.


Cannot work with DMA channels in a generic way

Bug description
I'm trying not to hard-code peripherals and work with their all-generic versions, yet I fail when trying to swap-in a generic channel type for where a concrete DMA channel was passed previously.
Consider this snippet:
use esp_hal::dma;
use esp_hal::dma::*;
use esp_hal::dma_buffers;
use esp_hal::gpio;
use esp_hal::peripheral::Peripheral;
use esp_hal::peripherals;
use esp_hal::prelude::*;
use esp_hal::spi;
use esp_hal::Async;

fn new_foo<'d, T, const N: u8>(
    dma_channel: dma::ChannelCreator<N>, // PROBLEM: I want this to be generic
    spi: impl Peripheral<P = T> + 'd,
    sclk: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    sdo: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    sdi: impl Peripheral<P = impl gpio::InputPin> + 'd,
    cs: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    reset: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    ready: impl Peripheral<P = impl gpio::InputPin> + 'd,
)
where
    T: spi::master::InstanceDma,
    dma::ChannelCreator<N>: esp_hal::dma::DmaChannelConvert<<T as esp_hal::dma::DmaEligible>::Dma>,
{
    let dma_channel = dma_channel.configure_for_async(false, DmaPriority::Priority0);

    let (rx_buffer, rx_descriptors, tx_buffer, tx_descriptors) = dma_buffers!(32000);
    let dma_rx_buf = dma::DmaRxBuf::new(rx_descriptors, rx_buffer).unwrap();
    let dma_tx_buf = dma::DmaTxBuf::new(tx_descriptors, tx_buffer).unwrap();

    let spi_driver = spi::master::Spi::new(spi, 10.MHz(), spi::SpiMode::Mode0)
        .with_sck(sclk)
        .with_mosi(sdo)
        .with_miso(sdi)
        .with_dma(dma_channel)
        .with_buffers(dma_rx_buf, dma_tx_buf);
}

Multiple issues with it:

dma_channel is moved into the function, whereas I want to keep the flexibility that it is either moved or mutably borrowed (and can be reused when the spi_driver instance gets dropped)
Even this current ^^^ syntax does not work, because configure_for_async is defined (with a macro) for each concrete ChannelCreator<1, 2, 3, ...4> rather than for impl<const N: u8> ChannelCreator<N>
The above code needs this weird dma::ChannelCreator<N>: esp_hal::dma::DmaChannelConvert<<T as esp_hal::dma::DmaEligible>::Dma> to work. That is, given that the issue (2.) is solved

To Reproduce
Try to type-check the above code.
Expected behavior
Ideally, I should be able to type something like:
dma_channel: impl Peripheral<P = impl SomethingSomethingChannelCreatorSomething> + 'd and be done with it.
Environment
I'm working with esp32s3, but I think the problem is generic. Latest released esp-hal as of today (0.21.1) but the issue persist with main.

To add a bit more, to me (IMHO) this whole configure_for_async pattern also feels out of place in code that embraces the notion of a Peripheral, in that it takes a ChannelCreator (a - hm - peripheral) - and then "transforms" it into something else (i.e. it takes self).
So in a way, the channels of the DMA peripherals do not look like peripherals, but like something else, in that you can "transform" them. But I don't want to transform them really. I just want to use them either with a move, or with a mutable borrow, like every other peripheral.

I think you should be calling configure/configure_for_async before new_foo, rather than inside it. Though I do see it becoming a trait in the future (with an associated type that impl's DmaChannel).
The hal should then support something along these lines.
fn new_foo<'d, T: spi::master::InstanceDma, const N: u8>(
    dma_channel: dma::Channel<T::Channel>, // T::Channel would be either Spi2Dma, Spi3Dma or AnyGdmaChannel.
    spi: impl Peripheral<P = T> + 'd,
    sclk: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    sdo: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    sdi: impl Peripheral<P = impl gpio::InputPin> + 'd,
    cs: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    reset: impl Peripheral<P = impl gpio::OutputPin> + 'd,
    ready: impl Peripheral<P = impl gpio::InputPin> + 'd,
) {

(If this suggestion looks familiar, it's because it was my initial DMA erasure proposal)

I think you should be calling configure/configure_for_async before new_foo, rather than inside it. Though I do see it becoming a trait in the future (with an associated type that impl's DmaChannel).

As per my second comment, I'm, not sure this is solving anything, because configure_for_async takes self.
What I mean is, imagine the following situation:

I want to take some channel, say dma.channel1
I want to use it in an SPI peripheral, in async mode (so far so hood)
At some point in time, I want to drop the SPI driver
After dropping the SPI driver, I want to (1) reuse dma.channel1 somewhere else, and (2) reuse it NOT in async mode

This ^^^ is not possible, unless DMA channels are treated as peripherals. I.e. I can use them as impl Peripheral<P = impl DmaChannel> currently, and thus I cannot mutably borrow them, and therefore I cannot re-use them somewhere else.

The hal should then support something along these lines.
fn new_foo<'d, T: spi::master::InstanceDma, const N: u8>(
    dma_channel: dma::Channel<T::Channel>, // T::Channel would be either Spi2Dma, Spi3Dma or AnyGdmaChannel.

^^^ This is till always moved in the SPI driver. The whole point is that IMO it should not work like that. This should be a peripheral, which can be either moved, or mutably borrowed, like everything else.

I suppose what I'm trying to say there is Channel should be the thing you borrow, not the creator. (You can't do this now but that's what it should be)

I suppose what I'm trying to say there is Channel should be the thing you borrow, not the creator. (You can't do this now but that's what it should be)

I get it. But (sorry for persisting), this is still not the same as a Peripheral. With your suggestion:

I have to decide if I would borrow, or move the channel when I am authoring my API (the new_foo function from above). The whole point of Peripheral is that it is not the API who decides, but the caller of the API. Which gives the whole flexibility...
You are bypassing the fact that that once I construct the Channel, I cannot go back to a creator. What if I want to construct a different Channel from the original creator, which is no longer "async"? This is currently impossible.

In the end, however we twist it, nether the "ChannelCreator" nor the "Channel" are peripherals, in the strict Peripheral sense. What are they I have no idea, but they don't fit.

(sorry for persisting)

Please do! We need to get this right.

I have to decide if I would borrow, or move the channel

Yeah I was lazy with my reply. I implied in there that Channel would implement Peripheral.
Though, borrowing channels has awkward consequences for statics but we can deal with those later.

What if I want to construct a different Channel from the original creator, which is no longer "async"? This is currently impossible.

This will be fixed by #2321 .

What if I want to construct a different Channel from the original creator, which is no longer "async"? This is currently impossible.

This will be fixed by #2321 .

So if I understand it right,
(a) ChannelCreator will remain.... "something"
(b) Channel will be a Peripheral, however you need to construct it (.e. it will not "pre-exist", forever and ever); a bit like a driver, which is weird, but I guess with Io::new and Dma::new this can of worms is already opened...
(c) Moreover, Channel will be a Peripheral with a typestate in that you can "into" it into something else, and then "from" it to something else?

Yes!
(I should note that this is just my idea. I haven't spoken to Daniel about what he plans to do.)

Sounds complex, but I think that would work, at least for my case.
Also, the peripherals of the Esp are not simple either...


[PROPOSAL] Batch update improvement

Prerequisites
Versions

PHP version: 7.3.12
Laravel version: 6.6.2
Package version: 3.1.8

Description
When using the batch import, the packages uses $model::query()->insert($models->toArray());
but while doing them one by one without the batch $model->saveOrFail(); this is probably the cause of my 2 hour search why my (update) import fails when using the batch import and not when I don't use it. When using soft-deletes this causes issues because of double  primarily key. My issue was fixed by implementing a force delete during the model method instead of a normal delete (what worked when not using batchsize)
Example
My proposal is that behind the scenes both options handle the issue of having soft-deletes or that it is mentioned in the docs under the batchSize part as a note.
Additional Information
I just want to avoid other developers spending time to figure out what is wrong.

Likewise, my inserts fail when using batches, with an integrity constraint violation on the primary key.

I'm not sure how we could fix that. The point of batch inserts is to reduce queries, if we'd have to check for constraint violations and soft-deletes that would defeat the purpose of having it. Perhaps doing a ON DUPLICATE KEY UPDATE on insert might fix the issue, but probably should be an opt-in thing, because it would change behaviour. Please let me know if I understood your request correctly.
What I'm failing to understand in your example, is how ->saveOrFail() works differently in that case. If you try to insert the same id (without or without the soft deletes), it will always give a violation constraint?

Hey @patrickbrouwers
The ON DUPLICATE KEY UPDATE should work I think.  And if I remember correctly (it's been a while since I worked on the project that needed it) the ->saveOrFail made it that that record was just ignored and the others were inserted correctly instead of having the whole import fail. so the  ON DUPLICATE KEY UPDATE  should help I think

I believe saveOrFail would use the MySQL INSERT IGNORE statement, if it allowed you to insert without giving a key constraint error.

I believe the only difference is that saveOrFail wraps the save into a transaction.


[Snyk] Security upgrade io.undertow:undertow-core from 2.2.24.Final to 2.2.37.Final

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

tools/log4shellserver/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Memory Leak SNYK-JAVA-IOUNDERTOW-7433721
  329
io.undertow:undertow-core:  2.2.24.Final -> 2.2.37.Final  No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Memory Leak

 Following are detected SECRETS!! To be fixed !

{
"filename": "src/main/resources/application.properties",
"failure_list": [
{
"type": "filecontent",
"message": "Expected file to not contain base64 encoded texts such as: spring.datasource.password=eyJhbGciOiJIUzI1NiIs...",
"commits": [],
"severity": "high"
},
{
"type": "filecontent",
"message": "Potential secret pattern : #spring.datasource.password="hwgeytfwqefjweqhfwef"",
"commits": [
"648de453657db8db16c539e6991ee1fe1a7de7da"
],
"severity": "low"
},
{
"type": "filecontent",
"message": "Potential secret pattern : spring.datasource.password=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"commits": [
"648de453657db8db16c539e6991ee1fe1a7de7da"
],
"severity": "low"
}
],
"warning_list": [],
"ignore_list": []
}


stage damage performance and alternative comparison report fixes

this PR contains fixes to alternative comparison report and fixes for stage damage performance

Parallelizing at the structure level cut a big inventory compute by half, but what I see in the profiling suggests that there is a lot more juice to squeeze.

the juice has been squeezed.... @Brennan1994 this is ready for your review. I'll be in the office tomorrow, we can talk through it then.

My Hero!

@rnugent3, feel free to review my changes. I made a few commits at the end here.
Generally, I'm on board with everything. Looks great!

thanks for making the improvement, @Brennan1994 !!


Break tests up into per-function files

I like to organize tests like this: https://github.com/ConsenSys/PLCRVoting/tree/master/test
That way you can implement coverage trackers and more easily audit whether particular functions are being adequately covered.

Hey @skmgoldin. I see this issue is a bit old, but are you still interested in doing this?

Not really, sorry! Busy with other things now. I also have no idea how used this tokens implementation still is.
What is the nature of your interest in this issue/project?


In Build step, No further progress in the Git SSH Key acquired

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
dcfjuh6wgs4cy/feature-yarn-berry-migration/12?step=BUILD
Region
ap-northeast-2
Amplify Console feature
Custom builds
Describe the bug
When Build phase repository clone, No further progress in the Git SSH Key acquired phase.
https://ap-northeast-2.console.aws.amazon.com/amplify/home?region=ap-northeast-2&code=81119665a63395e9080c#/dcfjuh6wgs4cy/feature-yarn-berry-migration/12?step=BUILD
Expected behavior
Progress next step.
Then print result Error or Sucess.
Reproduction steps

Push deploy button

Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - nvm install 16
        # - echo -e "@fortawesome:registry=https://npm.fontawesome.com/\n//npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN}" > .npmrc
        # - yarn install
        - yarn set version berry
        # - yarn config set 'nodeLinker' node-modules
        - yarn config set 'npmScopes.fortawesome.npmRegistryServer' "https://npm.fontawesome.com/"
        - yarn config set 'npmScopes.fortawesome.npmAlwaysAuth' true
        # - yarn config set 'npmScopes.fortawesome.npmAuthToken' "82570049-11D7-49CB-B29D-6A0E74DFC87A"
        - yarn config set 'npmScopes.fortawesome.npmAuthToken' "$FONTAWESOME_NPM_AUTH_TOKEN"
        - yarn config set 'packageExtensions.babel-preset-react-app@*.dependencies.@babel/plugin-proposal-private-property-in-object' "*"
        # - yarn install
        - YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
    build:
      commands:
        - echo "REACT_APP_GLOB_API_URL=$REACT_APP_GLOB_API_URL" >> .env.production
        - echo "REACT_APP_GLOB_API_URL_PREFIX=$REACT_APP_GLOB_API_URL_PREFIX" >> .env.production
        - echo "REACT_APP_MOLOCO_API_URL=$REACT_APP_MOLOCO_API_URL" >> .env.production
        - echo "REACT_APP_MOLOCO_API_URL_PREFIX=$REACT_APP_MOLOCO_API_URL_PREFIX" >> .env.production
        - echo "REACT_APP_GLOB_APP_TITLE=$REACT_APP_GLOB_APP_TITLE" >> .env.production
        - echo "REACT_APP_GLOB_APP_SHORT_NAME=$REACT_APP_GLOB_APP_SHORT_NAME" >> .env.production
        - yarn run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
    #   - node_modules/**/*
      - .yarn/cache/**/*
      - node_modules/**/*

Additional information
No response

I also tried reconnecting repository. But it's not working.

Hi @yuhs0 👋🏽 it looks like your IAM role is missing permissions. Please see our documentation for adding permissions https://docs.aws.amazon.com/amplify/latest/userguide/security-iam-awsmanpol.html

please delete my npmAuthToken in build setting.


chore(setup): initial app setup

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1435af5). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      7
  Lines             ?     59
  Branches          ?      8
=======================================
  Hits              ?     59
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/store/models/index.ts
100% <100%> (ø)

src/components/layouts/AppLayout.tsx
100% <100%> (ø)

src/components/home/Home.tsx
100% <100%> (ø)

src/components/App.tsx
100% <100%> (ø)

src/components/Routes.tsx
100% <100%> (ø)

src/store/models/counter.ts
100% <100%> (ø)

src/components/counter/Counter.tsx
100% <100%> (ø)

Continue to review full report at Codecov.

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


Fix SEGV when using dynamic addresses.

Fixes  #197
Signed-off-by: Alan Conway<EMAIL_ADDRESS>

Fixed all comments except for the on-demand construction getters for target/source objects, which I think are better than manually repeating the if x != nil { x = new(X) }; x.foo = bar pattern.


🐞 [BUG] - User & Mentor login api getting called without any input value

Description
Login api getting called for both Mentor and User section even if the fields are empty.
Current behaviour
Email & Password fields are empty but api is getting called for both Mentor & User login section.
Expected behaviour
Validation should be implemented to prevent api call for empty data submission for both sections. so that unnecessary api calls not got executed.
Reproduction steps
1. Go to 'SignIn page'
2. Click on 'Login button without providing any input value'
3. Check the network tab api is getting called

Screenshots
https://github.com/anmode/grabtern-frontend/assets/68184118/0e598c9f-35ab-43e1-b22e-fac8b160b65a
Logs
No response
Browsers
Chrome
OS
Windows
Are you contributing for a program ?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Thanks! See other places too...and fix

@anmode sure


Anyone know how to keep bots connected?

@kurama129 was talking about it, if he wants help :)

I think you could add a refresh timer to the script. I think I saw something like that in one of the scripts.
I guess you could also node or run the .js files using .bat file and you could edit the bat file to refresh automatically.Search i google about this .bat file code and you might find something. Hope that helps!

you need good proxies, in my case i added setinterval so it can check if maxbots is not reached and keep spawning bots

@sukass Share it

@nfsboy101 Im using c9.io :(

@KyraCloud it's easy if you know a little of js language, just make it yourself

@sejo153 try using google cloud vps. it has 2 months free trial and 24/7 uptime


Attachment detection failure

Hello,
Please see the following sample email https://gist.github.com/PryFlack/6a676266c072d864d2e5
Basically this email came from an automated system and doesn't have a closing MIME boundary. string
The code given on the README to download attachements in consequence fails (returns an empty array).
mail.attachments.each do | attachment |
...

I managed to trace back the problem to lib/mail/body.rb.
The Body#split! method relies on the fact that there is such a closing boundary.
The attachment data gets lost in self.epilogue and the following line cancels itself since the array size is equal to 2.
parts[1...-1].to_a.each { |part| @parts << Mail::Part.new(part) }

Please note  that I can open the attachment with other mail clients such as Rouncube web client and Thunderbird, without any error.
I don't feel I understand the code well enough, and the implications of modifying the parsing behaviour to propose a pull request.

Stale issue, dead links. Thanks for the original report, though, @benjamin-thomas!

Thanks, I fixed the links though, for history.
For info, I did a quick check with v2.6.4 and the attachment is correctly detected now.


remove duplicate ci task for changesets

Current dependencies on/for this PR:

main

PR #174   👈

This comment was auto-generated by Graphite.

Merge Activity

Sep 21, 2:43 PM: @oveddan merged this pull request with Graphite.


ci: jenkins should run on node 12 to avoid dependency versions errors

Signed-off-by: Tomer Figenblat<EMAIL_ADDRESS>

Codecov Report

Merging #618 (55be654) into master (8bc8a11) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #618   +/-   ##
=======================================
  Coverage   59.67%   59.67%
=======================================
  Files          18       18
  Lines         863      863
  Branches      173      173
=======================================
  Hits          515      515
  Misses        348      348

see 1 file with indirect coverage changes


Adding hiring session form and displaying previous sessions

Hello
I would like to work on Adding hiring session form and displaying previous sessions

@Gauravtb2253 ,
create a new issue for further development


[disabled] option doesn't work

I have tried adding the option [disabled]="true" to an ng-select as shown here:
[(https://ng-select.github.io/ng-select#/multiselect)]
However I receive the following runtime error in the browser console:
Can't bind to 'disabled' since it isn't a known property of 'ng-select'.
I would like to use the option on a single select if possible, but I have tested on both a single and multi select and it doesn't work in either case. Other options work as expected.  I am using v0.35.1

The URL you provided is from another ng-select component, which is currently at v0.35.1. Please report your issue there.


Dev ckks api + issue#79

API changes :

evaluator.RotateColumns -> Evaluator.Rotate
evaluator.EvaluateChebySpecial -> removed
evaluator.EvaluateCheby -> the change of variable isn't done automatically anymore and the user must do it before calling the function to ensure correctness. The reason is that additional constant might be merged with the change of variable and/or the change of variable might be merged with previous operations. This leaves more freedom to the user to optimize a circuit.
encoder : when encoding, the number of slots must now be given in log2 basis. This is to prevent errors that would induced by zero values or non power of two values.
encoder : added EncodeAtLvlNew and EncodeNTTAtLvlNew API

Also, can you create a new "unreleased" section at the top of the Changelog and summarize the important changes (especially) there ? In particular, those changes that change the public API.


[zk-token-sdk] Add ctxt extraction functions for grouped ElGamal ciphertexts

Problem
Extracting Pedersen commitments or specific ElGamal ciphertexts from a grouped ElGamal ciphertext is a useful and common operation. However, we do not have an easy function for applications to call for this logic. For example, in the SPL token-2022 program, this logic is hardcoded in.
Summary of Changes
Add functions to extract Pedersen commitments and specific ElGamal ciphertexts in the zk-token-sdk.
Fixes #

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

Project coverage is 81.9%. Comparing base (ad94732) to head (d8becf5).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #588     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%
=========================================
  Files         851      851
  Lines      231132   231159     +27
=========================================
- Hits       189484   189474     -10
- Misses      41648    41685     +37


A parameter cannot be found that matches the parameter name 'PredictionSource'

Describe the bug
Default instructions are incomplete, or there is a bug somewhere.
To Reproduce
Steps to reproduce the behavior:
Install-Module PowerType -AllowPrerelease
Enable-PowerType

Expected behavior
I expected PowerType to be enabled without throwing any errors.
Environment (please complete the following information):

OS: Windows 11
PowerShell version: 7.2.1
PSReadLine version: 2.2.0-beta5
PowerType version: 0.0.10-preview

Additional context

I'm using powershell 7.2 and psreadline 2.2.0-beta4 and it works as expected, give me a few minutes to update and see if I get the same error.

 It should have the PredictionSource parameter.
The only other difference is that I'm on Windows 10.

That might be part of the problem. I was on 2.1.0-beta1 when I tried, then I upgraded it, and try to Set-PredictionSource manually, which also failed (something about it not being defined.)
I just ran enable-powertype again, and it didn't throw any errors. Then again, I don't see it doing anything, either.

Here are a few things to try

Just to type gi and it should suggest git if you then select git it should suggest a command, currently it dosent have a definition for any commands starting with get- therefor it does not suggest anything.
If you want a list run Set-PSReadLineOption -PredictionViewStyle ListView
If you want both history and plugins run Set-PSReadLineOption -PredictionSource HistoryAndPlugin (note you can combine this and the one above into one command)

Do I need to set something in my profile to enable it between launches? Seems like the answer is yes. (Perhaps that should be in the instructions, too.)
Setting Set-PSReadLineOption -PredictionViewStyle ListView gave me what I expected, per the .gif example in the documentation. Maybe this should also be part of the install instructions? Will this need to be stored in my profile as well?

You need to put the following in your profile if you want it to be permanent:
Enable-PowerType
Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView

But yes it should be in the documentation, but as I'm quite early in the development I haven't had time to write any extensive documentation yet, but its on the todo #10.

Excellent. It seems to be working as-expected!
Personally, I'm not as well-versed with PowerShell as I am with bash, zsh, and the like. How do I ensure that this plugin stays up-to-date?

You could put Update-Module PowerType -AllowPrerelease in your profile but that would make all newly started sessions delay alot..
I have been thinking about creating a application that would monitor powershell modules, winget, dotnet tool and npm tools for updates but this project currently occupies all my free time.

Good to know. I'll add that to my update-all-the-things.ps1 script. Thanks!

Actually, I ended up making a function in my profile. It would have been nice if PowerType would have seen that function.

I will have to give it some thinking the code that give you the suggestions doesn't have direct access to you powershell session, not my choice but its how Microsoft designed the suggestion api..
I might be able to enumerate all commands that exists when you run Enable-PowerType but all that are created after would be hard to get, sadly this will be low on the current priority list as I'm trying to get the git dictionary completed.. git supports a huge amount of commands and parameters.
But you could try ctrl + space, that should list your commands using a built in argument completer (this can also be used when using cd)

Hmm. Ctrl+space invokes my PowerToys Run dialog. Can this be modified?

I'm 99% sure it can but i have no idea how..
I'm guessing its a psreadline option (i'm not at my pc right now so i can't check)

No worries! Thanks for your support and this project. Looking forward to watching it evolve. :)
—
Hans Kokx
On 1/26/2022 5:22:16 PM, Peter @.> wrote:
I'm 99% sure it can but i have no idea how..
I'm guessing its a psreadline option (i'm not at my pc right now so i can't check)
—
Reply to this email directly, view it on GitHub [https://github.com/AnderssonPeter/PowerType/issues/32#issuecomment-1022657669], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AAOSY35XFQBRK4SR7HW5X43UYBXZPANCNFSM5M4DMZ7A].
You are receiving this because you authored the thread.Message ID: @.>
[8b97e74b-cc33-42a7-a1c5-7e83655082cc]

Just a guess but try Set-PSReadLineKeyHandler -Key 'Ctrl+Tab' -Function MenuComplete


Add image documentation

Description

This PR adds

[x] Docstrings for all classes in the image curation
[x] API docs for the docstrings
[x] Pages in the user guide about image curation
[x] Updated README with image curation

Usage

N/A
Checklist

[x] I am familiar with the Contributing Guide.
[x] New or Existing tests cover these changes.
[x] The documentation is up to date with these changes.

The docs are ready to review.

@sarahyurick I addressed most of your feedback. I left comments where I disagreed / wanted clarification. Please take another look when you can.

I think I addressed all your concerns @sarahyurick, let me know if I missed anything though.


feat: add snapshot and governance forum links

Related Ticket

Resolves #125
Changes in lieu of the designer's approval

Screen (Theme)
Before
After

Desktop (Light)

Desktop (Dark)

Other changes

Change
Before
After

Added extra margin around the discord button

Discussion points/ Future todos

[x] Links to governance forums and snapshot on smaller screen formats

Checklist

[x] Building the site with npm run build-site works without errors
[x] Building the app with npm run build-app works without errors
[x] I formatted JS and TS files with running npm run format-all

NICE!!! I spoke with designer and he likes it :) 2 changes please:

[ ]  You should be able to achieve all the spacing with just flex, flex-gap, flex-wrap. And if needed, vertical spacing with grid & row-gap. We avoid margin especially margin-right and margin-left because it will break when we add RTL languages. https://github.com/KlimaDAO/klimadao/wiki#margin-considered-harmful
[ ]  Let's do something like this for mobile views. This means moving the mobile resources nav up above the textgroup

Thanks for the feedback!
The PR has been updated to favour use of gap over margin. Will keep this in mind for future contributions 😁
Have also moved the mobile nav above the text group and updated the screenshots in the description


Remove PINOnce, use dispatch_once instead

We want to use the symbol PINOnce for the Pinterest app, but it's duplicated here. Can we remove PINOnce from PINFuture, replacing it with a standard dispatch_once?

Nevermind - I misunderstood the concept here. Closing this -- I'll come up with something better.


Wordpress sample code didn't run properly

URL: https://wedeploy.com/docs/deploy/deploying-docker/

I tried to run the sample code of Docker (https://github.com/wedeploy/demo-wordpress), it didn't run properly. I didn't change the code. The steps are as follows
1.git clone https://github.com/wedeploy/demo-wordpress
2. go to  /demo-wordpress folder
3. Run 'we deploy -p wptest'
4. db's status turns to "online", but wp doesn't. The log is as follows.

wp[build] Step 1/2 : FROM wordpress
wp[build] ---> c4260b289fc7
wp[build] Step 2/2 : LABEL com.wedeploy.container.build '238340457253077360' com.wedeploy.container.container 'wp' com.wedeploy.container.groupUid 'kylr32d' com.wedeploy.container.project 'wpt'
wp[build] ---> [Warning] Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
wp[build] ---> Running in eea2f425098b
wp[build] ---> 12515eea4ee3
wp[build] Removing intermediate container eea2f425098b
wp[build] Successfully built 12515eea4ee3
wp[build] Successfully tagged registry.private-wedeploy-prod1:5000/wedeploy-build-ex8krbt:kylr32d
wp[build] The push refers to a repository [registry.private-wedeploy-prod1:5000/wedeploy-build-ex8krbt]
wp[build] Preparing 76677c58a299
wp[build] Preparing 562dd11ed871
wp[build] Preparing 6671cb9eb6b3
wp[build] Preparing 4214911d5945
wp[build] Preparing fed26d7fe7b9
wp[build] Preparing c8c6d352c96e
wp[build] Preparing 5a151fa4136e
wp[build] Preparing 8747705a74d9
wp[build] Preparing adfd7c98cdf6
wp[build] Preparing 354b4ef9664b
wp[build] Preparing 2da371244fc1
wp[build] Preparing 315db89f9acb
wp[build] Preparing 3d2582fdede2
wp[build] Preparing 53da01089a82
wp[build] Preparing 0fd7a67d49b3
wp[build] Preparing f0c367fa8636
wp[build] Preparing ddd6dcab19ff
wp[build] Preparing 2c40c66f7667
wp[build] Mounted from wedeploy-build-h6gyyzv 3d2582fdede2
wp[build] Mounted from wedeploy-build-h6gyyzv ddd6dcab19ff
wp[build] Mounted from wedeploy-build-h6gyyzv c8c6d352c96e
wp[build] Mounted from wedeploy-build-h6gyyzv 562dd11ed871
wp[build] Mounted from wedeploy-build-h6gyyzv 53da01089a82
wp[build] Mounted from wedeploy-build-95jtx45 4214911d5945
wp[build] Mounted from wedeploy-build-h6gyyzv 2da371244fc1
wp[build] Mounted from wedeploy-build-95jtx45 76677c58a299
wp[build] Mounted from wedeploy-build-95jtx45 adfd7c98cdf6
wp[build] Mounted from wedeploy-build-95jtx45 fed26d7fe7b9
wp[build] Mounted from wedeploy-build-h6gyyzv 315db89f9acb
wp[build] Mounted from wedeploy-build-h6gyyzv 5a151fa4136e
wp[build] Mounted from wedeploy-build-h6gyyzv 2c40c66f7667
wp[build] Mounted from wedeploy-build-h6gyyzv 6671cb9eb6b3
wp[build] Mounted from wedeploy-build-h6gyyzv 8747705a74d9
wp[build] Mounted from wedeploy-build-h6gyyzv f0c367fa8636
wp[build] Mounted from wedeploy-build-h6gyyzv 0fd7a67d49b3
wp[build] Mounted from wedeploy-build-95jtx45 354b4ef9664b
wp[build] kylr32d: digest: sha256:039f3c2cc20f1cb2d49cdd76036f64bb6636eed0467f4ddf413073ab9b8ba0fc size: 4078
wp[901f37e2] WordPress not found in /var/www/html - copying now...
wp[901f37e2] Complete! WordPress has been successfully copied to /var/www/html
wp[901f37e2]
wp[901f37e2] Warning:
wp[901f37e2] MySQL Conmysqli::mysqli(): (Hnection ErY000/2002)ror: (2002: Connecti) Connection refusedon refused in - on line 22
wp[901f37e2]
wp[901f37e2] 2017/08/08 00:19:54 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Wa
wp[901f37e2] MySQL Corning: mysnnection Eqli::mysqlrror: (200i(): (HY002) Connect0/2002): Cion refuseonnection d
wp[901f37e2] refused in - on line 22
wp[901f37e2] 2017/08/08 00:19:57 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Warni
wp[901f37e2] MySQL Cng: mysqlionnection ::mysqli()Error: (2002) Connec: (HY000/2tion refus002): Conned
wp[901f37e2] ection refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:00 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Warning:
wp[901f37e2] MySQL Connection mysqli::m Error: (2ysqli(): (002) ConneHY000/2002ction refused
wp[901f37e2] ): Connection refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:03 INFO: health check failed
wp[901f37e2]
wp[901f37e2] W
wp[901f37e2] MySQL Connectioarning: myn Error: (sqli::mysq2002) Connli(): (HY0ection ref00/2002): used
wp[901f37e2] Connection refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:06 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Warn
wp[901f37e2] MySQing: mysqlL Connectii::mysqli(on Error: ): (HY000/(2002) Connection re2002): Confused
wp[901f37e2] nection refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:09 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Warning
wp[901f37e2] MySQL Connect: mysqli::ion Error:mysqli(): (2002) Co(HY000/2002): Connecnnection refused
wp[901f37e2] tion refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:12 INFO: health check failed
wp[901f37e2]
wp[901f37e2]
wp[901f37e2] MyWarning: mSQL Connection Errorysqli::mys: (2002) Cqli(): (HY000/2002):onnection Connectiorefused
wp[901f37e2] n refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:15 INFO: health check failed
wp[901f37e2]
wp[901f37e2] War
wp[901f37e2] Mning: mysqySQL Connection Erroli::mysqlir: (2002) (): (HY000Connection/2002): Co refused
wp[901f37e2] nnection refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:18 INFO: health check failed
wp[901f37e2]
wp[901f37e2] Warnin
wp[901f37e2] g: mysqli:MySQL Conn:mysqli():ection Error: (2002) (HY000/20 Connectio02): Connen refused
wp[901f37e2] ction refused in - on line 22
wp[901f37e2] 2017/08/08 00:20:18 INFO: execution terminated
wp[d9a98346] WordPress not found in /var/www/html - copying now...
wp[d9a98346] Complete! WordPress has been successfully copied to /var/www/html
wp[d9a98346] AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
wp[d9a98346] AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
wp[d9a98346] [Tue Aug 08 00:20:25.976145 2017] [mpm_prefork:notice] [pid 13] AH00163: Apache/2.4.10 (Debian) PHP/5.6.31 configured -- resuming normal operations
wp[d9a98346] [Tue Aug 08 00:20:25.976176 2017] [core:notice] [pid 13] AH00094: Command line: 'apache2 -D FOREGROUND'

Hey @yasuflatland-lf, I followed the same steps that you laid out above and it seemed to work for me.
One thing to note, we have a small bug regarding the warning for some Docker service with databases. In this case, it is showing a warning even though it succeeded. This is because the the mysql db and the wp image are deploying at the same time so the wp image can't validate the connection with the db. Again, this is just a bug in the error logs.
Here is my test here:
wp-wptest2.wedeploy.io

Hi @jonnilundy , Ok, Let me give it a try again. Yeah, I didn't check if it's visible from a browser. I will let you know how it goes!

Cool! Yes, let me know if it works.

Yeah, it worked and super fast! Thank you for helping on this!

Awesome! :) Glad to help. Love all your contribution.


Support variables in slice filter shorthand

Resolves #769

Oh this is nice. Thanks a lot. Looks good to me. Anything else we should address before merging?

Thanks for the review, this commit should merge perfectly as-is.
Could you or @willrowe take a look at #874, we really need this to me merged for our project(s).

@willrowe Thanks for the extensive review; I will add the requested tests as soon as possible.

@willrowe Can you take a look at my revision of this PR?
I;ve added an additional check for negative length parameter in the slice filter as in PHP: array_slice

Nice, thank you for addressing this!

@RobLoach can you go ahead and release v1.17.0? Everything in the milestone has been completed, so we might as well release instead of adding more at this point.


Adding Club API Options

Added the missing Club options for the Strava API to the Node Strava API plus corresponding entries on the Readme file.
Including:
list announcements, list group events, list club admins, join club, leave club

Thanks for the contributions! I cherry picked commits 7b0e94f, 389748f, and 4ed531a to avoid bringing in any changes from your strava-advanced project.


first iteration of biosample fusion

Attempt to conciliate original Biosample default schema and Michael's suggestion for it, closer to Phenopackets.
Probably requires improvement as I'm not familiar with all the details (histopathology, pathology, grades, etc.)

I'll merge that PR to keep setting the base of draft 4 and to allow improvements from there.


build: Repair the build on WASI platform (take 3)

I forgot to tell @MaxDesiatov we need several additional changes other than https://github.com/apple/swift-corelibs-foundation/pull/5052

@swift-ci test

I merged that one, but that introduced conflicts unfortunately 😢

@swift-ci test

@swift-ci test

@swift-ci test windows

@swift-ci please test

@swift-ci test Windows


don't require servers to send stateless reset tokens in transport params

Fixes #1833.

Codecov Report

Merging #1834 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1834      +/-   ##
==========================================
- Coverage   87.07%   87.07%   -<.01%
==========================================
  Files          94       94
  Lines        6498     6496       -2
==========================================
- Hits         5658     5656       -2
  Misses        595      595
  Partials      245      245

Impacted Files
Coverage Δ

session.go
76.24% <ø> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

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


A few suggestions for the v2 pipeline

Hi Morten,
Thank you for the improved version of the pipeline.
I had a few suggestions, mainly regarding the location of env which on my Debian-based systems always seems to be under /usr/bin/env instead of /bin/env.
Moreover, I've changed python to python3, as python is not automatically a shortcut to python3 and the script requires python >=3.5 to run.
Lastly, bedtools==2.30.0 map functions does not work as expected and yields an error - I've opened an issue with the bedtools developer.
Let me know what you think,
Tobias

Hi Tobias,
Thank you for the suggestions.
/bin/env was a typo, it should be /usr/bin/env as you note.
I agree to going with python3.
Yes, bedtools version 2.30.0 does seem to have an error, which is why we require bedtools=2.29.2 in the conda environment yml file.
Best,
Morten


Update Introduction.Android.md

[X] This is a small change
[ ] This change has been discussed in issue #<?> and the solution has been agreed upon with maintainers.

Description: Just missing the word 'how' I think.

Can you please update your existing PR #2249 with this fix? Thanks

Sounds good, will do


Support MP Connect

The SDK needs to support MP Connect.

@paulogdm Let you know when this is done

That was fast. Ty!

@paulogdm Just bumped to version 1.0.19. To use it you just need to pass as configuration the access token of the user you want to impersonate. Example:
mercadopago.${type}.${operation}(${payload}, {
  access_token: 'XXXXXX',
})

Thank you again!

@arielfr I need to say: Thank you for making this little adjustment, it worked like a charm!
When the documentation of MP Developers does not reflect the real implementation of the SDK (and the wiki), it turns developing into a real time consuming guessing game. I lost at least 40 hours trying to figure out if I should follow the the wiki or the flow of the docs. I have been pressing my Scrum Master and PO for a change in the payment solution requisites while struggling to figure out the docs (not anymore). I'm 100% sure MercadoPago is losing business because of the poor documentation and the lack of good examples.
I believe that MercadoPago has the manpower to do a better documentation and also respect his developers as customers. What I don't understand is why it is in such a bad shape, like we have objects like this:
var payment_data = {
  transaction_amount: 100,
  token: 'ff8080814c11e237014c1ff593b57b4d'
  description: 'Title of what you are paying for',
  installments: 1,
  payment_method_id: 'visa',
  user_token: "ENV_USER_TOKEN"
  payer: {
    email<EMAIL_ADDRESS>  }
};

that don't even have , between the key and values. It raises questions like "was this really tested"?
A few examples to inspire:

https://zeit.co/docs
https://www.gatsbyjs.org/docs/
https://docs.scaleapi.com/
https://developers.coinbase.com/api/v2

Guys, please, take this as an advice to improve and you will see your business grow in the process.

@paulogdm Thank you for your feedback and support!. You are right on every point and I will do my best to contact everyone involve to enrich our documentation. On MercadoPago we are currently working on increase our Developer Experience team to achieve those goals.
Thank you again for your feedback!
Cheers!


qa_crowbarsetup.sh: use crm maintenance mode (SOC-11082)

Migrating crm resources away from a controller node before reboot
by means of the crm node standby command triggers a rabbitmq bug
and causes openstack services to break after a reboot.
Using crm maintenance mode instead of standby mode until this is
resolved.

Testing with: https://ci.suse.de/blue/organizations/jenkins/cloud-crowbar9-job-gate-ha-deploy-x86_64/detail/cloud-crowbar9-job-gate-ha-deploy-x86_64/208/pipeline