text:
Fix Installation

The stellarproject org doesn't yet have github actions enabled.  Once they are enabled for the org I'll re-enable and add back the installation docs.

Status on this? It looks like Actions are available now!

Nice!  Ya I'll take care of getting this going.  Thanks for the heads up -- I didn't get an email informing me yet :)

authors: ehazlett theycallmemac

repo: stellarproject/atlas


text:
IE unittests fail Date

browser inconsistency parsing dates sucks - maybe find a library?

firefox also handles dates differently
Old edge, nu edge, and chrome all behave same

https://momentjs.com/docs/

Fixed by #175

source: gharchive/issue

repo: stephenegriffin/MHA

license: mit

license_type: permissive

license_source: bigquery


text:
🛑 Ingot is down

In b354749, Ingot (https://www.ingot.cloud/css/general.css) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ingot is back up in c685204 after 1 hour, 13 minutes.

repo: stephenmott/webmonitor

license: MIT

license_source: github-api


text:
🛑 Stepler Website is down

In ba62305, Stepler Website (https://www.steplerapp.com) was down:

HTTP code: 406
Response time: 310 ms

Resolved: Stepler Website is back up in d483656 after 10 minutes.

repo: steplerapp/stepler-status


text:
Unsupported Jetpack version (jetpack 4.4)

Hi
any chance supporting Jetpack 4.4 ? I would like to use my zed mini with the python api on the jetson NX but I am stuck right now. thanks

ok, it seems that the pywrapper is part of the SDK so all good. closing this issue

repo: stereolabs/zed-python-api


text:
sl.MEM.GPU Attribute error. GPU no longer an option.

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
I have noticed that I can no longer use GPU memory on v3.6.x, I can only choose CPU memory. I have seen that it has been scrubbed from your api documentation. What is the reason for this and will it be returned as an option in later releases?
The only mention in patch notes is "Fixed random GPU memory corruption leading to non repeatable output.". Was this by chance fixed by removing the option to use GPU memory maybe?
Thanks
Steps to Reproduce
1.import pyzed.sl as sl
2.mem_type = sl.MEM.GPU
...
Expected Result
mem_type to be equal to MEM.GPU
Actual Result
Attribute error occurs, GPU is not a valid option.
ZED Camera model
ZED2
Environment
Ubuntu 18.04,
Jetson Xavier AGX,
Jetpack 4.5,
ZED SDK v3.6.4

Anything else?
No response

MEM.GPU was removed in Python because it couldn't be used as-is and was only there to match the C++ API. It was counterproductive as many users (rightly) thought it could be used.
To be usable we would need to implement something like CuPy buffers and CUDA Context sharing, requiring significant development effort and is currently not on our roadmap. We'll add it back if we choose to implement it later.
If you need GPU buffers for high-performance applications you should directly use the native C++ API. However, we're interested in hearing about your use case of this. If there are significant demands we could prioritize this feature.
Since the wrapper is open source, pull requests to implement this is also an option.

Okay that makes sense, thank you for the clarification

I'd personally be interested in that. Most, if not all, of my processing is done in a python environment so it would be more convenient to get the speed of the GPU memory with the ease of python and the already abundant scientific tools for python

+1, this would be a super helpful feature for researchers that are doing computer vision work with Zed cameras.
We have a project currently using Zed cameras to do real-time object pose estimation with CNNs + reading GPU data directly would alleviate our main bottleneck. We currently have to read the image as CPU, then move it back to the GPU as a torch.tensor which we think is causing a relatively large performance hit.

MEM.GPU was removed in Python because it couldn't be used as-is and was only there to match the C++ API. It was counterproductive as many users (rightly) thought it could be used.
To be usable we would need to implement something like CuPy buffers and CUDA Context sharing, requiring significant development effort and is currently not on our roadmap. We'll add it back if we choose to implement it later.
If you need GPU buffers for high-performance applications you should directly use the native C++ API. However, we're interested in hearing about your use case of this. If there are significant demands we could prioritize this feature. Since the wrapper is open source, pull requests to implement this is also an option.

Please update readme.md to clearly state Python ZED API doesn't support GPU.

authors: ElliotHYLee adujardin lachlanbrewster pculbertson tofylion


text:
Can surport for angular2

How to contribute this for angular2?

Hi @hevan thanks for the question. Creating examples for Angular 1 & 2 are on my to-do list.

authors: RandomlyKnighted hevan

repo: steveathon/bootstrap-wysiwyg


text:
Master-Detail relationships not showing as solid lines

in graphviz.js, the isMDOrCascadeDelete attr is used to control this.
Is this the wrong way to know if a relationship is a master detail?

I will have a try on this bug

Certainly, Because I haven't written clear developer onboarding docs yet, you'll probably get stuck setting up. I can't help you do that quickly. Can you let me know when is a good time to have a quick screen-share so I can help you get started?

isMDOrCascadeDelete is populated in controller class GraphVizForceController:
fieldWrapper.isMDOrCascadeDelete = fieldResult.isCascadeDelete();
When we started the original VF version, Schema Namespace does provide MD relationship attribute but only isCascadeDelete. Not sure if recent releases filled the gap or not.

Hi Steve, are you OK to have a quick catch up tonight? Maybe 8 pm or 8:30 pm? Or please let me know what's the best time for you. Cheers

This turns out to be not a bug. Anyway, I will cover this scenario in the test later. Cheers

can you check one more thing? in the old tool http://stevebuik.github.io/GraphVizForce/ the relationship between Account and Opportunity is MD. Yet in this tool, it displays as a dashed line.
Maybe there's something extra still to be done here.

scratch that. I just checked in setup and that relationship is actually a lookup. must have been a bug in the old GVF

repo: stevebuik/Graphvizforce-Lightning

license: Unlicense


text:
国服问题

神秘商店的购买页面更改成这样了，请问在原先的判断基础上是否只需要更改Y-axis的值即可？

P.S. 第一次研究pyinstaller， 对spec进行build后好像生成的exe并不能打开，请问该如何解决（）

神秘商店的购买页面更改成这样了，请问在原先的判断基础上是否只需要更改Y-axis的值即可？
P.S. 第一次研究pyinstaller， 对spec进行build后好像生成的exe并不能打开，请问该如何解决（）

在大佬的基础上魔改了国服版工具，可以参考https://github.com/Wrong-pixel/epic7auto

authors: OchiaiNao Wrong-pixel


text:
CVE in Firebase PHP-JWT before 6.0.0

CVE-2021-46743 identifies the following issue:
"In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. NOTE: this provides a straightforward way to use the PHP-JWT library unsafely, but might not be considered a vulnerability in the library itself."
Breaking changes in v6.0.0 of firebase/php-jwt appear to be relevant to code in /src/Provider/Keycloak.php

Second this, getting alerted all the time.
Is there any workaround right now or a fork available?

We aren't using the optional encryption parts of the provider so we forked and simply removed the bits which used firebase/php-jwt and the library itself.
    'encryptionAlgorithm'   => 'RS256',                             // optional     'encryptionKeyPath'     => '../key.pem'                         // optional     'encryptionKey'         => 'contents_of_key_or_certificate'     // optional
https://github.com/senyahnoj/oauth2-keycloak

Would you mind sharing a link to your fork?

Hi,
SecurityAdvisories has been posted an update related to this issue a few days ago. It is not possible to install oauth2-keycloak because of firebase/jwt < 6 conflict. Could you please update it?
Here's a link to the issue: https://github.com/Roave/SecurityAdvisories/issues/106

It seems fixing this is not just a matter of adding ^6.0 of firebase/php-jwt to the requirements in composer.json. Version 6.0.0 introduces a breaking change to mitigate the CVE by not allowing the second parameter to be a string; it needs to be a Key object or an array of Keys or strings, the latter also requiring a $kid to be provided.
The Key object seems to have been introduced in version 5.5.0, so changing the call signature in https://github.com/stevenmaguire/oauth2-keycloak/blob/master/src/Provider/Keycloak.php#L101 will drop support for all firebase/php-jwt versions before 5.5.0

If you need to use the https://github.com/stevenmaguire/oauth2-keycloak/pull/64 in composer without waiting for the pull request to be merged, you need to edit your composer.json to reflect the following changes.
{
    "require": {
        "stevenmaguire/oauth2-keycloak": "dev-master"
    },
    "repositories": {
        "oauth2-keycloak": {
            "type": "vcs",
            "url": "https://github.com/muffe/oauth2-keycloak"
        }
    }
}

If you don't want to edit manually your composer.json file, you can run the following commands in your shell :
composer config repositories.oauth2-keycloak vcs https://github.com/muffe/oauth2-keycloak
composer require stevenmaguire/oauth2-keycloak:dev-master

:warning: This is not a recommanded way of doing things.
:dev-master means that composer will look at the master branch of the muffe/oauth2-keycloak package.
It is recommanded by composer documentation that the hotfix is hosted on its own branch, eg. hotfix-for-jwt-6, and thus called with composer require stevenmaguire/oauth2-keycloak:dev-hotfix-for-jwt-6.
This requires @muffe to create a hotfix-for-jwt-6 branch to host its hotfix.

Hello, I have an error on your version :
Parse error: syntax error, unexpected ')' in .../vendor/stevenmaguire/oauth2-keycloak/src/Provider/Keycloak.php on line 103

The issue is that there is a trailing comma in the JWT::decode() call at https://github.com/muffe/oauth2-keycloak/blob/hotfix-for-jwt-6/src/Provider/Keycloak.php#L102
The trailing comma was implemented starting PHP 7.3
https://wiki.php.net/rfc/trailing-comma-function-calls#implementation
@muffe https://packagist.org/packages/league/oauth2-client#2.0.0 requirements allows PHP >=5.6 : either remove the comma or add a php requirement to your https://github.com/muffe/oauth2-keycloak/blob/hotfix-for-jwt-6/composer.json

Fixing that was we speak, pushing the changes to the hotfix branch and the master

Released new version 4.0.0 with allow JWT version 6:*.

authors: Devise03 JustinBack Polidoor fverry jimmym715 leonboot mstefan21 muffe senyahnoj


text:
'limit' with 'image.type==image'-filter returns the wrong number of images

Hi,
var feed = new Instafeed({
    clientId: CLIENT_ID
    get: 'user',
    userId: USER_ID,
    template: '<img src="{{image}}" style="width: 20%;" />',
    resolution: 'standard_resolution',
    filter: function(image) {
      return image.type === 'image';
    },
    limit: 5
  });
  feed.run();

With this code I wish to display five images in my HTML. Instead, it creates 3 img tags.
I think it is because it fetches 5 elements from Instagram, filter out the videos (two of them) and then there is only 3 images left (which it displays). Is this right? If so, would it be a better solution to fetch 5 images from Instagram (instead of 3 images and 2 videos, whitch gives you 3 elements instead of 5)?

Hey @123ndy! Sorry for your troubles.
This is one of the current draw backs of using filters. See #97 for more info.

Ah, ok, thanks for fast reply!


text:
Improve typing using overloads

At the moment, the typing is partial and requires cast due to the missing overloads.
I did not see that those MR exists before fixing it

https://github.com/stevesimmons/uuid7/pull/3
https://github.com/stevesimmons/uuid7/pull/4

The #3 exposes private argument in the overloads, which sounds a bad idea to me, it also introduce a breakding changes by enforcing kwargs. So I kept the MR open.

This repository is dead

source: gharchive/pull-request


text:
pretrain model

Can you provide a pre-train model for test?

Hello,
The pre-trained model is in the Downloads section.

@whulc
Can you upload the pre-train model to BaiduYun?

I will upload the Datasets to another free storage.

The dataset is already uploaded in another provider.

authors: sthalles whulc xjock


text:
Fix multiple mime types

The problem occurred when I tried to use multiple mime types [:v1, :v2]. The VerifyHeader plug would always just verify the first mime type in the list.
The fix is really simple, just calling the do_get_mime_version(t) function instead of get_mime_versions(t).

Coverage remained the same at 100.0% when pulling 4b7c248972745934d4255989797299a4486542ce on matejkepes:fix-multiple-mime-types into e5f5d7fed1ba11b5a47304d54427a2b6b3d77361 on sticksnleaves:master.

Thanks for creating the library :).
I'm glad I "helped".
On Mon, 26 Aug 2019 at 18:12, Anthony Smith notifications@github.com
wrote:

Thanks for contributing! Just pushed release v0.3.1 that includes this PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sticksnleaves/versionary/pull/6?email_source=notifications&email_token=AAJZD4ISP3PCRZZAVDW7SYTQGQFG3A5CNFSM4IPIPUWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FANGA#issuecomment-524945048,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJZD4JG5MR4FXRWXNRB363QGQFG3ANCNFSM4IPIPUWA
.

authors: coveralls matejkepes

repo: sticksnleaves/versionary


text:
Does not sync revision updates

Hi there,
in my project which is generally based on your example app (https://github.com/stockulus/pouchdb-react-native/tree/master/example), it firstly does sync and the local DB gets the entries of the remote one, but then it does not re-sync on revision updates which were made by another server (e.g. node-nano), or even when different revisions are already present only the first revision is synced, not subsequent ones.
I've already read some other issues but cannot find a solution.
Is this a known bug or does it depend on some options like switching off ajax or anything that is not supported in pouched-react-native yet?
Or what else could I try in order to find the error.
Regards

Found the error :)

repo: stockulus/pouchdb-react-native


text:
Make specified versions style consistent with each other

The same style is used in require section and this style is used in Symfony packages

I don't see the need for that (especially when switching from the current Composer recommendation to the old style of constraints)

What about revert this line back and tweaked this one:
https://github.com/bocharsky-bw/StofDoctrineExtensionsBundle/blob/f2e89ac761605315b07feacfd63e28216d566ae2/composer.json#L16
to "symfony/framework-bundle": "~2.7 || ~3.2 || ~4.0", just to be consistent?

I mean, this bundle have 2 different styles in composer.json for now, I just want to make it consistent

#403 made the styles consistent when changing the constraints.

authors: bocharsky-bw stof

repo: stof/StofDoctrineExtensionsBundle


text:
Add the service-account way of rosa cluster importing.

Issue: https://issues.redhat.com/browse/ACM-10404

/override ci/prow/sonar-pre-submit

/override ci/prow/sonar-pre-submit

/override ci/prow/sonar-pre-submit

/assign @elgnay
There are several aspects of the overall process for manually importing discovered clusters that need to be confirmed across squads, particularly with the Console and Documentation teams.
However, it's unlikely that there will be more code changes to the import-controller beyond those in this PR.

/lgtm

/hold

/unhold

authors: elgnay xuezhaojun


text:
[bp-2.3] stop running get ca from service account test for ocp 1.24 or above

issue reference: https://github.com/stolostron/multicloud-operators-foundation/issues/680

/retest

/test sonar-pre-submit

/test sonar-pre-submit

/retest

/lgtm

/lgtm

/meow


text:
[WIP] :bug: Fix: e2e manifestwork error.

Summary
Related issue(s)
Fixes #

/retest

/test e2e

/test e2e

/test e2e

/close

repo: stolostron/ocm


text:
TOC: move delegates to the bottom

As discussed in #335 and I will (try to) find an example for associative arrays that doesn't use lambdas.

Feel free to merge after #337 is in :+1:

authors: stonemaster wilzbach

repo: stonemaster/dlang-tour


text:
Using className attribute on JSX stormpath components

Would it be possible to add support for className on components such as <RegistrationForm />, <Authenticated>, etc? So that when the HTML markup is rendered, they have classes, e.g <form class="..."></form>? This isn't a massive problem but basically means that right now, I have to add parent/child elements (<div>s or similar) to target these, and creates a lot of empty/duplicate elements in the HTML.

Most components should have fall-through attributes. I.e. if you use className then it should be forwarded onto the containing element. But it might not be consistent among all components. I'm going to look into this, since your suggestion is how it should work :)

authors: tomoakley typerandom

repo: stormpath/stormpath-sdk-react


text:
Test Obj-C support

We need to have tests that make sure our code works with Obj-C, and add @objc tags to ensure interoperability

Sample app now has Obj-C tested! Made some fixes today to enable them as well.

repo: stormpath/stormpath-sdk-swift


text:
Warning in console after installing addon

Affected design types

[ ] figma
[ ] figspec
[ ] link
[ ] image
[ ] iframe

Describe the bug
I get the warning in the console after I added addon in main.ts.
Warning: render: key is not a prop. Trying to access it will result in undefined being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)
How to reproduce the bug?

Install @storybook/addon-designs
Add addon to main.ts
Run storybook

Expected behaviour
I do not expect any errors in console.
Environment

[X] Chrome / Chromium / Chromium based browsers
[ ] Firefox
[ ] macOS Safari
[ ] iOS Safari
[ ] Samsung Internet
[ ] Other

Affected versions
7.0.1
Storybook versions
7.2.1

Problem is the register Method:
...
 else {
            addons.addPanel(PanelName, {
                title: title,
                paramKey: ParameterName,
                render: function (_a) {
                    var active = _a.active, key = _a.key;  // This line here.
                    return (jsx(AddonPanel, { key: key, active: !!active },
                        jsx(ErrorBoundary, null,
                            jsx(Wrapper, { active: !!active }))));
                },
            });
        }
    });
...

Upstream bug.
https://github.com/storybookjs/storybook/issues/23782

authors: markokos01 mayerraphael pocka

repo: storybookjs/addon-designs


text:
Fixed a typo in webpack.config.js

Issue:
There was a typo in comment.
What I did
Fixed a typo.
How to test
None.

Thanks @mkamakura! every contribution helps! 👍

authors: mkamakura ndelangen

repo: storybooks/storybook


text:
Map is inactive if parent is hidden

Symptom:
If the img/map is inside a hidden parent, for example in a bootstrap tab, then the map is not working when the parent becomes visible.
Cause:
Plugin uses functions width() and height() that are known to mis-work if the parent is hidden.
So the wPercent and hPercent have wrong value that might resize the map very small. Then the map seems inoperant.
var wPercent = $that.width()/100,
    hPercent = $that.height()/100,

Solution:
Make parents visible just before calling width() then restore invisibility.
Modified code:
/*
* rwdImageMaps jQuery plugin v1.6.x
*
* Allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize
*
* Copyright (c) 2016 Matt Stow
* https://github.com/stowball/jQuery-rwdImageMaps
* http://mattstow.com
* Licensed under the MIT license
*/
;(function($) {
$.fn.rwdImageMaps = function() {
	var $img = this;

	var rwdImageMap = function() {

		$img.each(function() {
			if (typeof($(this).attr('usemap')) == 'undefined')
				return;

			var that = this,
				$that = $(that);

				// Since WebKit doesn't know the height until after the image has loaded, perform everything in an onload copy
			$('<img />').on('load', function() {

				// Modif BC : make ancestors visible so .width() can return the right value
				//************************************************
				var hidden_ancestors = [];
				$that.parents().each(function() {
					if ($(this).css('display') == 'none')
					{

				$(this).show();
						hidden_ancestors.push($(this));
					};
				});
				// END Modif BC

				var attrW = 'width',
					attrH = 'height',
					w = $that.attr(attrW),
					h = $that.attr(attrH);

				if (!w || !h) {
					var temp = new Image();
					temp.src = $that.attr('src');
					if (!w)
						w = temp.width;
					if (!h)
						h = temp.height;
				}

				var wPercent = $that.width()/100,
					hPercent = $that.height()/100,
					map = $that.attr('usemap').replace('#', ''),
					c = 'coords';

				$('map[name="' + map + '"]').find('area').each(function() {
					var $this = $(this);
					if (!$this.data(c))
						$this.data(c, $this.attr(c));

					var coords = $this.data(c).split(','),
						coordsPercent = new Array(coords.length);

					for (var i = 0; i < coordsPercent.length; ++i) {
						if (i % 2 === 0)
							coordsPercent[i] = parseInt(((coords[i]/w)*100)*wPercent);
						else
							coordsPercent[i] = parseInt(((coords[i]/h)*100)*hPercent);
					}
					$this.attr(c, coordsPercent.toString());
				});

				// Modif BC : Restore invisibility on ancestors
				//*********************************************
				jQuery.each(hidden_ancestors, function(index, value)
				{
					$(value).css({display: ''});
				});
				// END Modif BC

			}).attr('src', $that.attr('src'));
		});
	};
	$(window).resize(rwdImageMap).trigger('resize');

	return this;
};
})(jQuery);

w = $that.attr(attrW),h = $that.attr(attrH);
↓
w = $that[0].naturalWidth,h = $that[0].naturalHeight;
I made this correction.

I needed to change:
$(value).css({display: ''});
↓
$(value).css({display: 'none'});
...but I found this useful. Thanks!

authors: GusSalvador brunodegoyrans kangTaehee

repo: stowball/jQuery-rwdImageMaps


text:
Just remove the Vista-style blue border

I love your work, is there any way to keep the original title bar and menu, and just remove the Vista-style blue border? Thank you very much and I hope you prosper.

Hi Pablo, thanks for appreciation!
Yes, it can be done. I will include an option in the next commit.

To make it like this...

I tried hiding the border however it's glitching when moving regions or fades.
Maybe moving the border out of view could work, will try.

Ok, it's working without glitches now.
You need to set KEEP_MAIN_WINDOW:= true in PTFS_App.ahk .
The thin silver border is the least visible it can be.
Because, at least in PT, child windows can not be resized bigger than the parent window client area.

Wow, very interenting, good work!

Check out this app, it can work without borders, but it's tedious to do it manually every session:
https://duc.avid.com/showthread.php?t=415078

I checked it, it makes the same glitches when moving regions if I hide the edit window borders. Does it work for you? I use 2024.6

Hi friend, how are you? I used to use a FHD 1080p monitor and it worked badly as you say. Now I'm using a 2650x1600 screen and I haven't had any problems with this program, but as I was saying it's tedious and takes a long time to process between sessions, especially for me who works with short sessions in audio editing. I'm also using PT 2024.6. Regards.

Okay then, I included this mode as option. I only have 1080p displays around.
You need to set KEEP_MAIN_WINDOW:= true and THIN_BORDER:= false

You're a genius, my friend. You don't know how many years I spent looking for a solution like this (on Avid's side, I can't believe they haven't done this in years, until today).
The best thing about it, unlike the other app, is that I don't have to activate it again between sessions (because I don't think it can be activated before starting the first session in PT, right?) and that the session name also appears in the title bar. Excellent work, my friend, and thank you very much for helping me. There are many PT users who will want this gem. Best regards.

I have added as an option, AUTO_FULLSCREEN :)
Also, all settings are now loaded from PTFS_App.ini
Just start it once and the defaults will appear in the ini file.

You are a genius, I have no more words.

Hi friend, how r you, sometimes I get this error:
Error: Target window not found.
---- D:\Programas\Pro-Tools-Fullscreen-App-main\PT_FS_App\include\system_func.ahk
011: }
012: WinSetStyle("^0x040000", hWnd)

▶	013: WinSetStyle("^0xC00000", hWnd)
015: }
017: {
Call stack:

That's a weird one. That code obviously should't execute when window is not found :)
I supressed the error, see if you have any problems.
Also, I have made some changes to the INI file structure, please remove it and recreate your settings.

Thanks a lot my friend, although I can no longer see the new .ini file to download.

The ini file is created with default values when you first start the script.

Sorry man, thanks


text:
Cannot retrieve sub-components of components in graphql?

I have a basic component called SEO, that I have added to a collection called post(s).
Inside this SEO component I also have another component called image, which contains an image field and a text field for specifying alt text. I added this under the key sharedImage
In the admin, I can create a post just fine, and populate all this data. In the gatsby graphql playground, I can obtain my posts, my direct SEO data fields ( metaTitle, metaDescription ) but sharedImage is no-where to be found.
I've cleared gatsby cache with gatsby clean and restarted both strapi and gatsby 10's of times now, and this data is simply not populating. Is there a known issue / limitation with this?

Hi Liam,
Did you deep populate the images in your gatsby-config.js?
Like so, in the gatsby-source-strapi plugin in gatsby-config.js:
... populate: { sharedImage: "*", Testimonial: { populate: "*", }, ... Save and restart Gatsby. Hope it helps.
Cheers, Jacco

Using both:
queryParams: {
    populate: {
        seo: {
            socialImage: "*"
        }
    }
}

queryParams: {
    populate: {
        seo: {
            socialImage: {
                populate: "*"
	    }
        }
    }
}

and:
Removes all the socialimage field from my graphql entirely. (I changed the name from shareImage to socialImage in hopes of kicking it up the arse a bit.

@bureauberg This seems to only be an issue with the fact that my image is a sub component. If I remove the component and add an image field directly to the seo component it works perfectly fine.

Have you tried:
queryParams: {
    populate: {
        seo: {
          populate: {
            socialImage: "*"
          }
       }
    }
}

It is possible. I have components in components in DZ's. Its just mind boggling to write the populate queries...
You can try to "debug" it by calling the REST API yourself with the populate fields. You can see what endpoint is being called by Gatsby when you run develop. Copy/Paste that URL and try to change it to work.

Maybe it's this:
queryParams: {
    populate: {
        // probably you need to put `image: *` here as well if you have an image directly on the post. The default `populate: *` gets removed by using this feature
        seo: {
          populate: 'socialImage'
       }
    }
}

Maybe it's this:
queryParams: {
    populate: {
        // probably you need to put `image: *` here as well if you have an image directly on the post. The default `populate: *` gets removed by using this feature
        seo: {
          populate: 'socialImage'
       }
    }
}

populate: "socialImage" appears to be the solution.
Do you mind sharing how you came to this conclusion, because I couldn't find anything about this in the docs?

Thats a very good question...
I guess I just fiddled around long enough with all the options laid out in:
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.html#relation-media-fields
and
https://docs.strapi.io/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.html#component-dynamic-zones
it's a hot mess to get the correct combination going.

Huff finally: https://market.strapi.io/plugins/strapi-plugin-populate-deep

Unfortunately we've since moved to sanity!
On Fri, 16 Dec 2022, 18:03 Charanjit Singh, @.***>
wrote:

Huff finally: https://market.strapi.io/plugins/strapi-plugin-populate-deep
—
Reply to this email directly, view it on GitHub
https://github.com/strapi/gatsby-source-strapi/issues/354#issuecomment-1355329293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH2X4DNAHFL76RTD3BDKHZDWNSVF5ANCNFSM6AAAAAARZLPBXE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for your interest in this project. This plugin is moving into the Gatsby User Collective and this repo will be archived. Please open an issue in that repository, submit a PR if you'd like to see this implemented, or join us on Discord if you have questions!

authors: LiamWinterton charanjit-singh laurenskling moonmeister

repo: strapi/gatsby-source-strapi


text:
[SmartContracts] Refactor Block Assemblers Part #2

In this part we remove the creation of the block assemblers from PowMining and PosMinting and rather inject an singleton instance into the constructor of each.

All unit and integration tests pass. I have synced from test and mainnet and was able to still stake coins on testnet.

All unit and integration tests pass. I have synced from test and mainnet and was able to still stake coins on testnet.

Excellent, there is how I think it should be that the developer always that these tests. But I would also like the reviewer to repeat them and confirm.

@Aprogiena Ive re-run all tests and integration tests. All good :)

authors: Aprogiena fassadlr

repo: stratisproject/StratisBitcoinFullNode


text:
WIP: Changes during Part III recording

Do not merge. No need to review.
Keeping track of what changes I've made during the recording.

Closing as the last videos have been recorded for part III, shutting down the Stratospheric deployment in eu-west-1 now.

repo: stratospheric-dev/stratospheric


text:
cs: serialize link state to json before signing

It appears that the jmespath query fails to find data in certain cases where the state contains a custom structure. To solve that issue, a wrapper has been added around the link to serialize the link to json before executing the jmespath query.

This change is

Shouldn't this be a fix we do on the jmespath repo instead? It feels really hacky to do that Clone in our code...
I like the fact that we moved Clone to the link struct but the Search feels weird...

Reviewed 7 of 7 files at r1.
Review status: all files reviewed, 1 unresolved discussion (waiting on @simonvadee and @bejito)

cs/cs.go, line 277 at r1 (raw file):

// Since it uses the json Marshaler, the state is automatically
// converted to a map[string]interface if it is a custom struct.
func (l *Link) Clone() (*Link, error) {

nit: it doesn't need a pointer receiver since it only reads fields (we've been pretty lax on our pointer vs value semantics so maybe we don't care)

Comments from Reviewable

I'm not offensed about moving the Search method

Reviewed 7 of 7 files at r1.
Review status: all files reviewed, 1 unresolved discussion (waiting on @simonvadee and @bejito)

cs/cs.go, line 290 at r1 (raw file):

}

// Search executes a JMESPATH query on the link and return the matching payload.

typo: returns

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed, 1 unresolved discussion (waiting on @simonvadee and @bejito)

Comments from Reviewable

I'm actually not even sure it's a bug (although it looks like one). The following works:
type testStruct struct {
		Value interface{} `json:"value"`
}
link := cstesting.NewLinkBuilder().
	WithState(map[string]interface{}{
		"entry": testStruct{Value: testValue},
	}).
	Build()
payloadStruct, err := link.Search("state.entry.value")  //finds the data

Whereas this won't:
link := cstesting.NewLinkBuilder().
	WithState(map[string]testStruct{ //adding a pointer does not change anything
		"entry": testStruct{Value: testValue},
	}).
	Build()
payloadStruct, err := link.Search("state.entry.value") //returns nil

I will file an issue on their repo but I don't think it is worth investigating myself since we have an easy workaround which is still acceptable (it's documented and not very costly).  Is that of for you @t-bast ?

Review status: all files reviewed, 1 unresolved discussion (waiting on @alexppxela and @bejito)

cs/cs.go, line 277 at r1 (raw file):
Previously, t-bast (Bastien Teinturier) wrote…
nit: it doesn't need a pointer receiver since it only reads fields (we've been pretty lax on our pointer vs value semantics so maybe we don't care)

indeed !

cs/cs.go, line 290 at r1 (raw file):
Previously, alexppxela (Alexandre Thibault) wrote…
typo: returns

Done.

Comments from Reviewable

That looks very strange...and does look like a bug on their side in my opinion :)
I'm fine with the current workaround, but it is hackish so if we could understand the issue and fix it properly (probably on their side it would be better).
Cloning isn't very expensive right now so we can live with it, but at scale it is expensive (but we shouldn't worry about that right now).

Review status: all files reviewed, 1 unresolved discussion (waiting on @alexppxela and @bejito)

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @bejito)

Comments from Reviewable

I filed an issue on go-jmespath (https://github.com/jmespath/go-jmespath/issues/32) and referenced it in an issue in go-indigocore (https://github.com/stratumn/go-indigocore/issues/425). I'll close this

Review status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @bejito)

Comments from Reviewable

authors: alexppxela simonvadee t-bast

repo: stratumn/go-indigocore


text:
Add Async Graphql View for Flask

Feature Request Type

[ ] Core functionality
[ ] Alteration (enhancement/optimization) of existing feature(s)
[x] New behavior

Description
My team uses flask and we've adapted the existing graphql view to work with async calls. We have this working currently in production but were hoping a async-enabled flask view would be on the roadmap. If one is not on the roadmap I'd be more than happy to submit a PR of what we have working internally and iterate on that.
cc @kevinmsun

I created a compare MR here

Looks like this has been resolved via #1907 :)

authors: DoctorJohn scottweitzner

repo: strawberry-graphql/strawberry


text:
Setup seems not to work

Hi!
This seems like a really cool project, and I was trying to get it running. Unfortunately, I failed. I used python3.10 and the latest kanboard release. On the webserver I use PHP 8.1. I did not really set up a database, but the web provider seems to have set it up already and kanboard worked out of te box. Maybe the issues are related to the last fact, and in this case, I am sorry for bothering you.
Leaving assigne whose tasks need to be synced empty raises an invalid input error
I tried the following with both, an admin account and not an admin account, resulting in the same error message:
$ tasksync.py -c test
Project mapping test does not exist yet, create a new mapping (y/n)? [y]: y
Enter Kanboard serveraddress: mypersonalkanboardinstance.de
Enter your Kanboard username: myvalidusername
Enter personal Kanboard API Token (create in Kanboard under My profile -> API): ************************************
Enter assignee whos task need to be synced (leave empty for getting all tasks):
Traceback (most recent call last):
  File "************/.local/bin/tasksync.py", line 111, in <module>
    main(sys.argv)
  File "************/.local/bin/tasksync.py", line 86, in main
    conn.config(args.project)
  File "************/.local/lib/python3.10/site-packages/kanboard_taskwarrior/db.py", line 189, in config
    config=runConfig(projectname,projconf)
  File "************/.local/lib/python3.10/site-packages/kanboard_taskwarrior/config.py", line 120, in runConfig
    config[ky]=prompt(val[0],getDefault(projconf,ky,val[1]))
  File "************/.local/lib/python3.10/site-packages/kanboard_taskwarrior/config.py", line 30, in prompt
    raise ValueError("Invalid input")
ValueError: Invalid input

jsonrpc.php is not reachable
This one might be related to me not setting up the database correctly. However, as mentioned kanboard seems to work properly. I get the followin error message:
$ tasksync.py -c test
Project mapping test does not exist yet, create a new mapping (y/n)? [y]: y
Enter Kanboard serveraddress: mypersonalkanboardinstance.de
Enter your Kanboard username: myvalidusername
Enter personal Kanboard API Token (create in Kanboard under My profile -> API): ************************
Enter assignee whos task need to be synced (leave empty for getting all tasks): myvalidusername
Whether to apply 'task sync' (sync with taskd server) before doing the syncing operation (y/n) [n]: n
tasksync-WARNING:Kanboard server https://mypersonalkanboardinstance.de/jsonrpc.php is not reachable, skipping
Traceback (most recent call last):
  File "************/.local/bin/tasksync.py", line 111, in <module>
    main(sys.argv)
  File "************.local/bin/tasksync.py", line 86, in main
    conn.config(args.project)
  File "************/.local/lib/python3.10/site-packages/kanboard_taskwarrior/db.py", line 189, in config
    config=runConfig(projectname,projconf)
  File "************/.local/lib/python3.10/site-packages/kanboard_taskwarrior/config.py", line 132, in runConfig
    proj=kbclnt.getProjectByName(name=project)
AttributeError: 'NoneType' object has no attribute 'getProjectByName'

If I type in mypersonalkanboardinstance.de/jsonrpc.php in a webbrowser (firefox) I get the following:

thanks I'll look into  it. I suspect the parse error  on jsonrpc.php is just an indication that no arguments were supplied though, and is therefore not the problem. I get the same from my instance, and it's seems to work here.

Maybe I misunderstood. Does the Kanboard project 'test' already exists on your server? It needs to be defined there because it uses the existing  columns and swimlanes etc from kanboard to determine the mapping to taskwarrior. I may have to add a less cryptic error message to make this clear obviously.
So can you try to create a simple project on your kanboard server and then try to configure a mapping?

authors: b-kaiser strawpants


text:
Substreams module's initialBlock is not considered as the chain's genesis block

On arb-one.streamingfast.io:443, if you try a substreams.spkg for which the initialBlock is 0 (and you don't specify any range which means full chain), then you are faced with a weird error message from the server:
2023-08-30T23:19:36.051-0400 ERRO (sink-postgres) substreams encountered a retryable error {"error": "rpc error: code = Unknown desc = rpc error: code = InvalidArgument desc = start block 22207818 is after stop block 70000"}

This happens as the tier2 makes a Firehose request and the error comes from there. And since we do 10 parallel request or more, the stop block varies as it's a race to the first one that succeed in forward its error.
There is 2 sides to this issue IMO:

The initialBlock: 0 in my opinion should always be considered as the first streamable block of the chain
Validation is missing when an initialBlock != 0 && initialBlock < firstStreamableBlock in which case the error should be clear

Side missing, validated that the gRPC error code going out is InvalidArgument and not rpc error: code = Unknown desc = rpc error: code = InvalidArgument (which is an Unknown error whose message is a stringified gRPC InvalidArgument error so consumer see Unknown error but it should have seen InvalidArgument)

https://github.com/streamingfast/substreams/pull/296

Re-opening because it seems the RPC is still rejecting such requests which should be accepted as chain's genesis head block.
Not supporting that breaks graph-node support for generic Substreams as on boot it request "genesis" block by making a request for block 0. This gives graph-node knowledge of the genesis block of the chain then comparer among provider on the same chain to avoid any misconfiguration (or worst the chain's rebooting).
See https://github.com/graphprotocol/graph-node/issues/4769#issuecomment-1781286362 for details there.
Reproduction steps:
# In https://github.com/streamingfast/substreams-sink-noop/tree/develop/substreams-head-tracker
make run START_BLOCK=0 ENDPOINT="mainnet.sol.streamingfast.io:443"
...

Error: rpc error: code = Unknown desc = rpc error: code = InvalidArgument desc = invalid start block 0, must be >= 1690600 (the first streamable block of the chain)

Firehose works properly with such request:
grpcurl -H "Authorization: Bearer $SF_API_TOKEN" -d '{"start_block_num":0}' mainnet.sol.streamingfast.io:443 sf.firehose.v2.Stream/Blocks | jq -r .block.slot | head -n1
1690600

fixed with https://github.com/streamingfast/substreams/commit/d2f4c22f6021cec14da03b8cebcfedc8105fa69d

Re-opening, it appears in production mode the first scheduled block is stucked, can be tested on Solana:

With 0 as start block, first job stay stucked: substreams run -e mainnet.sol.streamingfast.io:443 https://github.com/graphprotocol/graph-node/raw/master/substreams/substreams-head-tracker/substreams-head-tracker-v1.0.0.spkg --production-mode -s 0 map_blocks
Before the first job boundary, it's always broken too: - substreams run -e mainnet.sol.streamingfast.io:443 https://github.com/graphprotocol/graph-node/raw/master/substreams/substreams-head-tracker/substreams-head-tracker-v1.0.0.spkg --production-mode -s 1690999 map_blocks
Only when starting on the "next" job boundary it works: substreams run -e mainnet.sol.streamingfast.io:443 https://github.com/graphprotocol/graph-node/raw/master/substreams/substreams-head-tracker/substreams-head-tracker-v1.0.0.spkg --production-mode -s 1691000 map_blocks this streams data right away.

This is an issue with Solana's data integrity situation at the moment.  The merged blocks are currently in a weird state. If you test the same scenario on Near, which has a high start block as well, you can see it starts streaming right away as expected:
substreams run -e mainnet.near.streamingfast.io:443 https://github.com/graphprotocol/graph-node/raw/master/substreams/substreams-head-tracker/substreams-head-tracker-v1.0.0.spkg --production-mode -s 0 map_blocks

authors: colindickson maoueh

repo: streamingfast/substreams


text:
fix client reconnect fail after bundle unload

Fixes #1111
Motivation
refer to #1111
When there are 3 brokers or more in cluster, one broker may not receive the bundle load and unload event if the bundle is not owned by the broker, in this case the broker will not able to invalidate the look up cache for the topics in this bundle.
Modifications
We should not cache all topics' look up result, only to cache those topics' look up result which are owned by the broker.
Verifying this change
I have checked in my local clusters with 3 brokers.
We need to add the third broker in DistributedClusterTest to verify this issue in unit test later.
Documentation

[x] no-need-doc

I've opened issue #1185 to track the following test.

Remove the release/2.8.2.x label at the moment since the LOOKUP_CACHE is different in branch-2.8.2.

repo: streamnative/kop


text:
Support MQTT-5 Conn-ACK with subscriptionIdentifiersAvailable and maximumPacketSize

Master Issue: #369
Motivation
Support MQTT-5 Conn-ACK with subscriptionIdentifiersAvailable and maximumPacketSize

[x] no-need-doc

Codecov Report

Merging #685 (ad31756) into master (617fba1) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #685      +/-   ##
============================================
- Coverage     78.20%   78.12%   -0.09%
+ Complexity      956      953       -3
============================================
  Files           108      108
  Lines          4084     4096      +12
  Branches        309      309
============================================
+ Hits           3194     3200       +6
- Misses          719      725       +6
  Partials        171      171

Impacted Files
Coverage Δ

.../streamnative/pulsar/handlers/mqtt/Connection.java
88.53% <100.00%> (+0.07%)
:arrow_up:

...sar/handlers/mqtt/messages/ack/MqttConnectAck.java
75.53% <100.00%> (+2.27%)
:arrow_up:

...s/mqtt/proxy/MQTTProxyProtocolMethodProcessor.java
77.97% <100.00%> (+0.07%)
:arrow_up:

...handlers/mqtt/restrictions/ServerRestrictions.java
60.00% <100.00%> (+10.00%)
:arrow_up:

...qtt/support/MQTTBrokerProtocolMethodProcessor.java
78.96% <100.00%> (+0.06%)
:arrow_up:

...pulsar/handlers/mqtt/MQTTCommonInboundHandler.java
77.94% <0.00%> (-5.89%)
:arrow_down:

...e/pulsar/handlers/mqtt/utils/PulsarTopicUtils.java
76.52% <0.00%> (-1.74%)
: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 617fba1...ad31756. Read the comment docs.

authors: Technoboy- codecov-commenter

repo: streamnative/mop


text:
Support JDK17 language level

We should build the SQL runner jar with Java 17 rather than 11 to be more consistent with the rest of the downstream eco system.

The issue title talks about language level 17 but the description is just about using JDK 17 to build. I'm keen on the idea of using JDK 17 for builds but I'm less sure about using the higher language level.

authors: SamBarker tinaselenge

repo: streamshub/flink-sql


text:
"Feed Url" label overlaps input on the add feed screen

see screenshot.

it looks ok before you try putting any content in it

I sanity checked that this wasn't just a large font size issue. It's not.
The short width of the box is controlled by this css:
.setup .control-group input {
  width: 210px;
}

which, in addition to not being wide enough, is problematic in that it is defined as i fixed pixel size and thus doesn't expand with the size of a user's font setting. Should be switched to rem instead of px
the problem with the "Feed URL" text is caused by this CSS
.setup .field-label {
  display: block;
  color: #BFC9CA;
  position: absolute;
  left: 13px;
  top: 10px;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
}

This is using an absolute pixel based positioning (again a problem as font sizes - and thus line height- grow).  It's interacting negatively with the input which has NO absolute positioning. The small height forces it to be over (or under) the input. if you remove the top: 10px it drops down to below the input which makes sense given the HTML that's creating these 2 elements and it looks like this.

Given the top: 10px I'm unsure if it's supposed to be above or below the input.
(tested using Firefox)

@masukomi I think the label should be moved above the field. They appear to have been designed to be inside the field, but I may have broken it with other updates. Would you be up for making a PR?

@mockdeep fixed it here: https://github.com/stringer-rss/stringer/pull/1229

authors: giovapanasiti masukomi mockdeep

repo: stringer-rss/stringer


text:
maybeStripe.apply is not a function when using loadStripe

What happened?
I am trying to use stripe as a payment processor in my Next.js application. When trying to load the stripe elements, loadStripe immediately throws an error: "Uncaught (in promise) TypeError: maybeStripe.apply is not a function
at initStripe (pure.js?9750:121:1)
at eval (pure.js?9750:150:1)"
Here is what my component looks like:
`
import { FunctionComponent, useEffect, useState } from "react";
import { loadStripe } from "@stripe/stripe-js/pure";
import { Elements } from "@stripe/react-stripe-js";
import StripeForm from "./StripeForm";
const stripePromise = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY!);
const StripeElements: FunctionComponent = () => {
const [clientSecret, setClientSecret] = useState("");
useEffect(() => {
fetch("/api/cart/create-payment-intent")
.then((res) => {
if (res.ok) {
return res.json();
} else {
return "";
}
})
.then((data) => {
if (data) {
console.log(data);
setClientSecret(data.clientSecret);
}
});
}, []);
const appearance = {};
const options = {
clientSecret,
appearance,
};
return (

{clientSecret && (

)}

);
};
export default StripeElements;
`
I can't seem to figure out the reason why this is happening. I have already deleted all of my node modules and reinstalled them
Environment
No response
Reproduction
No response

Hi, this looks like an issue with your integration rather than a bug with loadStripe. We aren’t able to answer integration questions here on GitHub. Please reach out to Stripe Support for help.

authors: christopher-stripe ohShews

repo: stripe/stripe-js


text:
not working with npm 4.1.0 and node 7.0

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

Working as intended: fsevents is an OS X-only module.

repo: strongloop/fsevents


text:
Set up Travis CI

Added tutorial video
Small change to tutorial

Check out that Travis CI check! I wish we can get rid of those jenkins test though, will look into it.

engine node should be added so end users of the package know what version the package is compatible with. This doesn't affect Travis builds BUT this will impact what versions of Node Jenkins will test against.
To disable Jenkins you need to do so in the internal repo that does controls it. See: apimesh/ci in internal GitHub.

repo: strongloop/oasgraph


text:
JR東日本モードのひび割れ

サンプルデータ
05-5_.DSD.zip
症状
永久＋変動（ Mhd= 1999.4）と 永久（ Md= 1999.4）が同じなのに
変動（ Mrd）が 0 ゼロ でないのはおかしい

➀ Mhd は　縁応力度検討用
② Md は　永久作用の最大値
③ Mrd は 縁応力度検討用 - 永久作用の最小値で算出している
このため
➀ - ② ≠ ③
となっている

repo: structuralengine/WebDanforJS


text:
I'd like to color everything (background, strokes, etc.)

Hello! Thanks for this great tool, I'm trying it out for my first time right now. :)
It doesn't seem that everything is colorable - this is disappointing, as I want to generate diagrams with a purple-ish background and white box strokes. How can I change the background color for an entire view/diagram (or for groups / parent boxes)? How can I change the stroke color for the enterprise grouping?
My inference is that I'll need to do these final colorations in SVG post-processing steps, which is undesirable.

How can I change the background color for an entire view/diagram (or for groups / parent boxes)?

This isn't possible at this time.

How can I change the stroke color for the enterprise grouping?

See "Boundaries and groups" at https://structurizr.com/help/notation

authors: JanCVanB simonbrowndotje

repo: structurizr/dsl


text:
Admin post list render is blank the first navigate.

Description
The list of all posts within the admin area (/admin/posts) is blank on the first load. Clicking the link in the sidebar a second time will display the posts correctly. Leaving the page and going right back also corrects the problem
Steps to Reproduce
Load the dashboard either on a fresh tab or with a hard refresh. Navigate to /admin/posts.

 Admin post listing is blank on initial navigation

repo: strues/boldr


text:
--ignorePattern option stopped working for angular/karma

Summary

the --file AND --ignorePatterns option fails , the due to "Unable to find karma config at 'karma.conf.js'"  in the sandbox ERROR   and
although there is at least one "Files to mutate" is found , "Instrumenter Instrumented 1 source file(s) with 28 mutant(s)" but then
"Chrome Headless 104.0.5112.101 (Mac OS 10.15.7): Executed 0 of 0 SUCCESS (0 secs / 0 secs)"
however: stryker runs without problems without the --file or the --ignorePatters option.
however 2 : the --file option was working yesterday, before  I upgraded Java from 17 to 18 and rebooted of my Macbook, but that should be totally unrelated, shouldn't it ?

if I start stryker on ALL  files of the project, the karma config at 'karma.conf.js'" is found in the sandbox, just as expected , according to the stryker logfile.
see project :
https://github.com/bodote/book-monkey/commit/c8e53ce1be19377f9409515923b2406fd233004b
Stryker config

{
  "$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
  "_comment": "This config was generated using 'stryker init'. Please see the guide for more information: https://stryker-mutator.io/docs/stryker-js/guides/angular",
  "mutate": [
    "src/**/*.ts",
    "!src/**/*.spec.ts",
    "!src/test.ts",
    "!src/environments/*.ts"
  ],
  "testRunner": "karma",
  "karma": {
    "configFile": "karma.conf.js",
    "projectType": "angular-cli",
    "config": {
      "browsers": [
        "ChromeHeadless"
      ]
    }
  },

  "reporters": [
    "progress",
    "clear-text",
    "html"
  ],
  "concurrency": 4,
  "concurrency_comment": "Recommended to use about half of your available cores when running stryker with angular",
  "coverageAnalysis": "perTest",
  "timeoutFactor": 40,
  "checkers": ["typescript"],
  "tsconfigFile": "tsconfig.json",
  "ignorePatterns": ["**","!src/**/book-details*.ts"],
  "logLevel": "trace"
}

Test runner config

Stryker environment
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],
    client: {
      jasmine: {
        // you can add configuration options for Jasmine here
        // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
        // for example, you can disable the random execution with `random: false`
        // or set a specific seed with `seed: 4321`
      },
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    jasmineHtmlReporter: {
      suppressAll: true // removes the duplicated traces
    },
    coverageReporter: {
      dir: require('path').join(__dirname, './coverage/book-monkey'),
      subdir: '.',
      reporters: [
        { type: 'html' },
        { type: 'text-summary' }
      ]
    },
    reporters: ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false,
    restartOnFileChange: true
  });
};

├── @stryker-mutator/core@6.1.2
├── @stryker-mutator/karma-runner@6.1.2
├── @stryker-mutator/typescript-checker@6.1.2

├── @stryker-mutator/karma-runner@6.1.2
├── karma-chrome-launcher@3.1.1
├── karma-coverage@2.2.0
├── karma-jasmine-html-reporter@1.7.0
├── karma-jasmine@5.0.1
├── karma@6.3.20

Test runner environment

 ng test

Your Environment

software
version(s)

node
v16.15.1

npm
8.11.0

Operating System
maxos 12.4

Add stryker.log

is there any way to suppress deleting the .stryker-tmp  after the stryker run so that we can see , whats going on there?

found a workaround : --inPlace prevents that bug from happening.

...and here is the log file
stryker1.log

specifically the --ignorePattern=  does not work with the workaround mentioned above --inPlace.
because the thing is, that the command line:
 stryker run  --ignorePatterns='**','!src/**/search.effects.ts' --fileLogLevel=trace leads to strange type-errors , such as:
10:39:08 (87003) TRACE ChildProcessProxy
Error: src/app/search/search.effects.spec.ts:46:26 - error TS2339: Property 'pipe' does not exist on type 'EffectResult<Action> & CreateEffectMetadata'.
  Property 'pipe' does not exist on type '((...args: any[]) => Observable<Action>) & CreateEffectMetadata'.
46     effects.searchBooks$.pipe(toArray()).subscribe((actions) => {

while changing  the stryker.conf.json option
 "mutate": [
    "src/**/*.ts",
    "!src/**/*.spec.ts",

to :
 "mutate": [
    "src/**/search.effects.ts",
    "!src/**/*.spec.ts",

runs on the same source file without any problems.
to reproduce use: https://github.com/bodote/book-monkey/commit/1af6a02e66d11aae45f0a42656970aad2fb5fb89

problem persists after update all npm packages

what I found out so far with the debugger:
apearantly the content of the --ignore-pattern commandline option is already used here:
resolveInputFileNames (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/fs/project-reader.ts:194)
await (Unknown Source:0)
read (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/fs/project-reader.ts:53)
execute (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/process/1-prepare-executor.ts:65)
processTicksAndRejections (internal/process/task_queues:95)
await (Unknown Source:0)
runMutationTest (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker.ts:30)
runMutationTest (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:44)
run (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:201)
run (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:205)
<anonymous> (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/bin/stryker.js:6)
run (internal/modules/esm/module_job:193)

and added as rule 6 and 7 to the default ignoreRules which in turn leads to only one file left in the variable project->files->Map in
execute (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/process/1-prepare-executor.ts:67)
only after that the sandbox is filled with the only one file, selected by the --ignorePatter- option, which in turn leads to the problem that when the sandbox directory is filled, it is filled only with this only one file, but the configuration files from the root dir of the project to be analysed are therefore missing now in the sandbox-dir
When the dryRun is startet here:
runMutationTest (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker.ts:35)
await (Unknown Source:0)
runMutationTest (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:44)
run (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:201)
run (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/src/stryker-cli.ts:205)
<anonymous> (/Users/bodo.teichmann/dev/learning/myStryker/stryker-js/packages/core/bin/stryker.js:6)
run (internal/modules/esm/module_job:193)

stryker is complaining about the missing stryker-karma.conf.js file , since it is not in the sandbox directory.
this also explains , why when stryker is run with the --inPlace option, this problem does not occur.
contrary then not using the --ignorePattern cmdline option at all, but instead selecting on file via the "mutate" parameter in stryker.conf.json, the sandbox is filled with all project files. the filtering to one file to be analyzed seems to be applied only after that .
therefore the --ignorePattern seems to be NO replacement for the deprecated --files command line option.
the documentation however claims that
--files is deprecated and   --ignorePattern should be used instead to run stryker with only a selected set of files

even if i try this:
stryker run --ignorePatterns='src/app/**','!src/app/search/search*.ts'
then i got this output:
[0834][bodo.teichmann@ba-mb-006:~/dev/learning/angular_buch/book-monkey]$ stryker run --ignorePatterns='src/app/**','!src/app/search/search*.ts'
08:35:21 (27116) WARN ProjectReader Glob pattern "!src/**/*.module.ts" did not exclude any files.
08:35:21 (27116) INFO ProjectReader Found 6 of 2364 file(s) to be mutated.
08:35:21 (27116) INFO Instrumenter Instrumented 6 source file(s) with 34 mutant(s)
08:35:22 (27116) INFO ConcurrencyTokenProvider Creating 2 checker process(es) and 2 test runner process(es).
08:36:31 (27116) INFO DryRunExecutor Starting initial test run (karma test runner with "perTest" coverage analysis). This may take a while.
08:36:31 (27116) INFO DryRunExecutor Initial test run succeeded. Ran 0 tests in 0 seconds (net 0 ms, overhead 179 ms).
08:36:31 (27116) ERROR Stryker No tests were executed. Stryker will exit prematurely. Please check your configuration.

instead stryker run --mutate='src/**/search*.ts' seems to work just fine.

Which leads to the question, what is the "--ignorePatters" option good for anyway?
Why is "--ignorePatters" option recommended as a replacement for the deprecated --files option , when only --mutate seems to do the job ?

however --mutate used on the command line seems to replace all patters defined in mutate in the stryker.conf.json instead to complement those patterns.
that leads to the following problem:
when I use --mutate='src/**/search*.ts' , stryker tries to also mutate and run the *.spec.ts files, which makes no sense.
Therefore you need to write :  stryker run --mutate='src/**/search*.ts','!src/**/*.spec.ts' in Order to reach the goal of running stryker agains only a subset of your project.

Summary of my findings :
TL;DR: the problem might be the documentation.
Because:
What I was trying to do is to mutate just one specific file in my project.
The documentation in docs/configuration.md (or https://stryker-mutator.io/docs/stryker-js/configuration/#file ) for the --file option says:
DEPRECATED. Please use ignorePatterns instead, or use mutate to select which files to mutate.
However stryker run --ignorePatterns='**','!src/**/search.effects.ts' did not work as described in this Bug 3688
After debugging a little, its clear that the usage of
stryker run --ignorePatterns='**','!src/**/search.effects.ts'  on this project https://github.com/bodote/book-monkey/commit/2a8143dd8506494e57034c7f9a22b073fff2fd3d will not work because the --ignorePattern is applied also to the project files while copying these files to the sandbox. Therefore also the karma.config.js is missing and the src/**/search.effects.spec.ts are missing in the sandbox and in turn stryker fails with an error because of missing. (However there is a workaround that with --inPlace)
So I tried
stryker run --ignorePatterns='src/app/*','!src/**/search.e*.ts'
which also does not work:
08:12:04 (18283) INFO ProjectReader Found 37 of 2452 file(s) to be mutated.
08:12:04 (18283) INFO Instrumenter Instrumented 37 source file(s) with 558 mutant(s)
08:12:04 (18283) INFO ConcurrencyTokenProvider Creating 2 checker process(es) and 2 test runner process(es).
08:12:41 (18283) INFO DryRunExecutor Starting initial test run (karma test runner with "perTest" coverage analysis). This may take a while.
08:12:42 (18283) INFO DryRunExecutor Initial test run succeeded. Ran 0 tests in 0 seconds (net 0 ms, overhead 210 ms).
08:12:42 (18283) ERROR Stryker No tests were executed. Stryker will exit prematurely. Please check your configuration.

then I tried
stryker run --mutate='src/**/search.e_.ts'
which, weirdly enough tries to also mutate the test file !:
Ran 32.42 tests per mutant on average.
------------------------|---------|----------|-----------|------------|----------|---------|
File                    | % score | # killed | # timeout | # survived | # no cov | # error |
------------------------|---------|----------|-----------|------------|----------|---------|
All files               |   53.49 |       23 |         0 |         18 |        2 |      10 |
 search.effects.spec.ts |   53.49 |       23 |         0 |         18 |        2 |       4 |
 search.effects.ts      |     n/a |        0 |         0 |          0 |        0 |       6 |
------------------------|---------|----------|-----------|------------|----------|---------|

Ok then, lets try --files nevertheless:
first :
stryker run -f src/**/search.e*.ts
Error:
08:20:02 (24095) ERROR Stryker Invalid config file "src/app/app.component.spec.ts". Error during import. Inner error: TypeError: ERR_UNKNOWN_FILE_EXTENSION (undefined) TypeError: Unknown file extension ".ts" for /Users/bodo.teichmann/dev/learning/angular_buch/book-monkey/src/app/app.component.spec.ts
    at new NodeError (node:internal/errors:393:5)

next trial:
stryker run --files='src/**/search.e*.ts'
again errors:
08:22:19 (25767) WARN OptionsValidator DEPRECATED. Use of "files" is deprecated, please use "ignorePatterns" instead (or remove "files" altogether will probably work as well). For now, rewriting them as ["**","!src/**/search.e*.ts"]. See https://stryker-mutator.io/docs/stryker-js/configuration/#ignorepatterns-string
08:22:19 (25767) WARN ProjectReader Glob pattern "!src/test.ts" did not exclude any files.
08:22:19 (25767) WARN ProjectReader Glob pattern "!src/environments/*.ts" did not exclude any files.
08:22:19 (25767) WARN ProjectReader Glob pattern "!src/**/*.module.ts" did not exclude any files.
08:22:19 (25767) WARN ProjectReader Glob pattern "!src/main.ts" did not exclude any files.
08:22:19 (25767) WARN ProjectReader Glob pattern "!cypress/**" did not exclude any files.
08:22:19 (25767) INFO ProjectReader Found 1 of 2 file(s) to be mutated.
08:22:19 (25767) INFO Instrumenter Instrumented 1 source file(s) with 6 mutant(s)
08:22:19 (25767) INFO ConcurrencyTokenProvider Creating 2 checker process(es) and 2 test runner process(es).
08:22:25 (25767) INFO DryRunExecutor Starting initial test run (karma test runner with "perTest" coverage analysis). This may take a while.
08:22:25 (25767) INFO DryRunExecutor Initial test run succeeded. Ran 0 tests in 0 seconds (net 0 ms, overhead 54 ms).
08:22:25 (25767) ERROR Stryker No tests were executed. Stryker will exit prematurely. Please check your configuration.

So what do you do, if you want mutate just one specific file in your project?
Well I found a solution, but my point here is, that the documentation needs better examples like this one:
stryker run --mutate='src/**/search.e*.ts','!src/**/*.spec.ts'
which finally does what I wanted.
But before I make any suggestions to better documentation, I need to better understand.. :

why is "--files" deprecated?
what is the intention behind "--ignorePattern"
what is the basic idea behind the "--mutate" and should it supplement or replace whats already in the stryker.conf.json of a project ?

Wow I think this all could have been avoided with improved docs.

Why is --files deprecated.

You can do the same with' files' by using ignorePatterns. Stryker internally rewrites files to ignorePatterns when you run stryker with --files. The reason to deprecate it is that people were confused, thinking that you specify which files to mutate with files.

what is the intention behind "--ignorePattern".

The intention is to ignore big directories/files you might have in your repo that has nothing to do with your code. For example, 1.5GB of movie/image files. See the original PR for more details: https://github.com/stryker-mutator/stryker-js/pull/2848#issue-864152020

what is the basic idea behind the "--mutate"

With mutate you specify which files to mutate.

should those command line options supplement or replace whats already in the stryker.conf.json of a project ?

Command line arguments always replace configuration options in "stryker.conf.json".
Does this clarify it for you?

yes , thank you !

authors: bodote nicojs

repo: stryker-mutator/stryker-js


text:
Stryker integration with GitHub CI/CD?

Greetings. I didn’t see GH as a supported CI. I’d anticipate people will start using GitHub’s actions (I think this is what they’re called) to do light to moderate CI work. It may be beneficial to add support for this.

Hi @cpilson. I'm not sure what the issue would be to run Stryker in github actions (via a workflow) with the a run step. We're actually busy with that ourselves to enable running stryker on stryker in nightly builds.
Or are you referring to having it automatically send the results to the Stryker dashboard? I've created #1792 for this and planning to pick it up shortly.
Closing this issue for now because it isn't really an issue. Please add a comment if you still have questions.

authors: cpilson nicojs

repo: stryker-mutator/stryker


text:
Investigate timer precision

Perhaps it's worth using integers to represent the time internally, and then allow requesting it as either an integer or a double
Make sure appropriate types and sizes are used, as explicitly as possible

Working on nanosecond-timers

repo: stuarthayhurst/ammonite-engine


text:
Security: Add SECURITY.md with note about responsibile disclosure

This adds a written security policy, linking to the security section in the privacy policy and adding a note for how to do do responsible disclosure.

selfie

repo: studentinsights/studentinsights


text:
🛑 Moodstudios is down

In e8bbf5b, Moodstudios (https://moodstudios.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Moodstudios is back up in 220a2ac after 6 minutes.

repo: studiovlijmscherp/uptime


text:
Integrating with 1inch.exchange

Currently there is no examples on how to integrate with the DEX aggregator 1inch.exchange, would be useful to include it

I think this topic would be worthwhile to explore.
Task: Expand the following into a full-on tutorial: https://money-legos.studydefi.com/#/onesplit

Hello, is there any documentation for integrating with 1inch exchange via smart contracts ?

authors: adrianmcli bhargav55 kendricktan


text:
20181108 Golang: Candidates and Contexts — A Heuristic Approach to Detecting Race Conditions

标题：Golang: Candidates and Contexts — A Heuristic Approach to Detecting Race Conditions
原文链接：https://medium.com/dm03514-tech-blog/golang-candidates-and-contexts-a-heuristic-approach-to-race-condition-detection-e2b230e70d08
译者自己根据原文翻译，译文保存为 markdown 格式，并附上尾部的签名。
---

via: https://medium.com/dm03514-tech-blog/golang-candidates-and-contexts-a-heuristic-approach-to-race-condition-detection-e2b230e70d08

作者：[dm03514](https://medium.com/@dm03514)
译者：[译者ID](https://github.com/译者ID)
校对：[校对者ID](https://github.com/校对者ID)

本文由 [GCTT](https://github.com/studygolang/GCTT) 原创编译，[Go 中文网](https://studygolang.com/) 荣誉推出

@barryz translate

repo: studygolang/GCTT


text:
SassC supporting

SassC supporting. Very difficult to add something helpful for me in readme.
Closes #23.

Looks good to me

repo: stuyam/bootstrap-email


text:
Error on deploy:assets:prepare

If I try to precompile my assets locally cause of a lack of hardware on my DigitalOcean-Server, I always get this error:
00:11 deploy:assets:prepare
      01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:clean
(Backtrace restricted to imported tasks)
cap aborted!
Errno::ENOENT: No such file or directory - ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:clean )

Tasks: TOP => deploy:assets:prepare
(See full trace by running task with --trace)
The deploy has failed with an error: No such file or directory - ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.5" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:clean )

I checked my server, the directory exists, so I have no clue why this error gets thrown. I would love to use the gem but I can't seem to figure out why this happens :/.
The rest of the configuration is like described in the Readme.

I had the same issue

Same here.

Note that this is most likely happening because you are not using rbenv locally. This happened to me with rvm as capsitrano-rvm apparently also tries to use rvm with run_locally (https://github.com/capistrano/rvm/issues/62).

authors: alliedarmour danielristic seanfcarroll thbwd

repo: stve/capistrano-local-precompile


text:
🛑 Status is down

In 74db3eb, Status (https://status.xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Status is back up in e2824c5 after 3 hours, 21 minutes.

repo: stxrlite/xoro-updates


text:
Add linting

Would be great to add the same linting we have over at the main repo to make sure the code style is consistent and switching between repos isn't a hard context switch due to superficial code style differences.
We can probably just copy the .eslintrc from the main repo.

Feel free!

Oh I just saw we already have linting. Nevermind, closing!

I don’t mind if you want to make it match the main project—I’m mostly going to work on grammar.ne anyway!

repo: styled-components/css-to-react-native


text:
🛑 Cubari (imgBB) is down

In aa1aaf2, Cubari (imgBB) (https://cubari.moe/read/imgbb/SQMcSX/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 102 ms

Resolved: Cubari (imgBB) is back up in 562a001 after 6 minutes.

repo: subject-f/cubari-status-page


text:
Lime-95, Issue 78: credit lines borrow

Description
Stacked pull request on #198
Loss of ETH sent to CreditLine when borrowing.
https://github.com/code-423n4/2021-12-sublime/blob/9df1b7c4247f8631647c7627a8da9bdc16db8b11/contracts/CreditLine/CreditLine.sol#L691
Borrow accepts ETH which is sent by the lender but doesn't do anything with it resulting in lost funds.
Integrations Checklist

[ ]  Have any function signatures changed? If yes, outline below.
[ ]  Have any features changed or been added? If yes, outline below.
[ ]  Have any events changed or been added? If yes, outline below.
[ ]  Has all documentation been updated?

Changelog

Making borrow function non-payable in Creditline.sol(Issue 78: credit lines borrow
Ref: https://github.com/code-423n4/2021-12-sublime-findings/issues/78)

Event Signature Changes
Function Signature Changes
Features
Events

Codecov Report

Merging #199 (8502d40) into master (fdc1698) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   35.72%   35.72%
=======================================
  Files          22       22
  Lines        1870     1870
  Branches      306      306
=======================================
  Hits          668      668
  Misses       1202     1202

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 fdc1698...8502d40. Read the comment docs.

authors: KalpitaMandal codecov-commenter


text:
Gather and restore GW nodes state

Add functions that will gather the state of the gateway nodes on all
clusters and restore it when required.
Will be used in redundancy tests.

The "GatherClustersGatewaysState" function will execute during
"BeforeSuite" execution and store the GW state globally.
The "RestoreClustersGatewaysState" will be called by redundancy tests
and will restore the state of GW nodes to the initial state.

The change will replace a static definition of GW state during restore.

@tpantelis
You're right.
But this change relevant for the local (kind) environment or any other where the MachineSet is not applied.
And it reflects the current failure of the kind e2e execution where an environment of two gateway nodes is created (the default is one single gateway node), the gateway restore tries to make a restore of a single gateway node only.
And in case the cluster contains two GW nodes, the restore will fail.
https://github.com/submariner-io/shipyard/blob/devel/test/e2e/framework/gateways.go#L189
Beside the gateway node fail-over test the we spoke about in the slack thread, the gateway label change is made in "[expansion] Test expanding/shrinking an existing cluster fleet" test, which I'm not sure I'm going to refactor.
https://github.com/submariner-io/submariner/blob/devel/test/e2e/cluster/add_remove_cluster.go#L90
What do you think?

But this change relevant for the local (kind) environment or any other where the MachineSet is not applied.
And it reflects the current failure of the kind e2e execution where an environment of two gateway nodes is created (the default is one single gateway node), the gateway restore tries to make a restore of a single gateway node only.
And in case the cluster contains two GW nodes, the restore will fail.
https://github.com/submariner-io/shipyard/blob/devel/test/e2e/framework/gateways.go#L189

I'm not sure I follow. I thought we agreed on slack that we don't want to modify GW labels to effect node fail-over. But this PR is related to that. I proposed for 0.14 that we introduce a new submariner.io/gateway-disabled label to prevent a node from becoming a GW. As part of test cleanup, we would just ensure no node has the label. This way we don't touch the submariner.io/gateway label and conflict with the ACM controller. This approach may not work when MachineSets are used.

Beside the gateway node fail-over test the we spoke about in the slack thread, the gateway label change is made in "[expansion] Test expanding/shrinking an existing cluster fleet" test, which I'm not sure I'm going to refactor.
https://github.com/submariner-io/submariner/blob/devel/test/e2e/cluster/add_remove_cluster.go#L90

Those tests were pretty much experimental and don't run (ie they're pending).

Ok, if the second test that is using the labeling is experimental and not really executed, I'll close this PR and start working on a flow we discussed on slack.

authors: MaxBab tpantelis

repo: submariner-io/shipyard


text:
FF: Inserting a link breaks cusor navigation

Can't rule out this is caused by the EditLinkPrompt, however when you toggle a new link type in an url + enter, the cursor navigation breaks. So you can not move the cursor down anymore. Needs investigation.

via PR #107

authors: michael oliver----

repo: substance/substance


text:
Extension of schema needed?

I notice that if I launch a local instance of Texture with a MS file that does not contain a back element (in the DAR), I see the following message:

ERROR:Cannot read property 'append' of null

If it is necessary for there to be a back (should it be??), then it would be good if this message can be more informative. I assume the easiest way to do this would be to extend the schema so that it mandates articles must contain front, body and back (assuming that it doesn't already).
Steps to reproduce
Include this Manuscript file in a DAR and launch Texture
manuscript-without-back.zip
Note the following message:

Include this Manuscript file in a DAR and launch Texture (the only difference being the inclusion of an empty  element):
manuscript-with-back.xml.zip
Note no error message and the article can be viewed, edited etc. in Texture:

Thank you for the report. We‘ll take care of that. We should either fail early here or deal with the situation when no back element is present.

authors: FAtherden-eLife michael

repo: substance/texture


text:
Add Arrow serialization content_type

This commits add support for the Arrow serialization format.
The added test is very bare-bones, I didn't find any content_type specific tests, so I just slapped it onto an existing end-to-end serialization test.
The pyarrow package should probably be optional, but it's kind of impractical to specify optional dependencies for pip (AFAIK).

Looks good to me. I am only wondering why you have removed "pytest-timeout" from the docker file.

It was there twice :-)

Ah, I see! Thank you for your contribution.

authors: Kobzol spirali

repo: substantic/rain


text:
Tutorial: Resurrect our SubstrateKitties tutorial

Inspired by: https://vyper.fun/#/

I think @danforbes was working on this at some point? if not, I would like to take it on if its something we see as value to the ecosystem/dev hub tutorials et all

I have what I think/hope is a good start here, but I am stalled on it and could definitely use some help! https://github.com/danforbes/substratekitties

@goldsteinsveta out of curiosity have you had the chance to think about this any more? Your design skillzzz would be greatly appreciated, both in terms of visual design and game/interaction design :nerd_face:

yeah, I was mainly thinking how to skin the front-end template so that the pallet tutorial could be as interactive as possible and the result is neat and feels like a real app from 2020, without creating too much front end code. I also wanted to display some of the polkadotjs magic on the UI 🙂. Here's where I am right now:

I was not thinking about the docsify content or the character design stuff, nor about additional tutorials or overarching story behind them (ig the pokemon theme). Which are super valid aspects to think about, I guees. Let me push something to play with into dan's repo early next week? And chat about these points afterwards?

yesssssssssssssssss love this idea @goldsteinsveta  happy to help and work with you and @danforbes to get this rolling again

Happy to help out with any runtime stuff :smiley:

@goldsteinsveta lmk when you have had a chance to push stuff or if you want to jump on a call

@sacha-l do you have any formal work started on this?
I have a side project underway that will eventually (if you all like it) make this a cornerstone of learning substrate in a series of books. This is the rough outline: https://github.com/NukeManDan/devhub-books
Here is a community contributed FRAME V2 version to reference: https://github.com/ddimaria/substrate-collectables-workshop-template/blob/main/runtime/src/substratekitties.rs

Yes @NukeManDan ! Working on this here. No particular reason for it to be in the how-to guide repo -- I'm making it a tutorial -- just want to keep things in one place =)

https://github.com/substrate-developer-hub/substrate-docs/tree/main/v3/tutorials/11-kitties-workshop

authors: NukeManDan apopiak danforbes goldsteinsveta jimmychu0807 sacha-l wheresaddie


text:
Can I change size of a container after creating an environment?

Similar to hub #2560.

Yes you go to Environments. Edit existing environment. Its containers appear on the page.
You can change size by clicking plus icon:

authors: Dilshat akarasulu

repo: subutai-io/base


text:
Blueprint provisioning

Aim
Enable developers who use Subutai to launch entire application stacks using an application blueprint.
Usage
If a developer has a Subutai.json blueprint present in the same directory containing the Vagrantfile, the Subutai Vagrant Plugin should detect it, and automatically use it to build an environment (on the VM or multi-VM defined by the Vagrantfile) and deploy the blueprint into it.
As a developer this is very useful for me. I would like to erect a stack very quickly to test my code changes. A blueprint and a local environment is perfect. This makes Subutai and the Subutai Vagrant Plugin extremely useful for developers.
Implementation
Environments currently can be created in two modes: peer local mode, and hub mode. A peer environment can work without registering the peer with the Hub. It can also span multiple peers. If peers are subsequently registered on the Hub full management of these environments is not possible yet some functionality exists for that.
If users want to create environments that are fully manageable by the Hub they need to create hub environments. This requires using the Hub API and any peers involved need to be registered on the Hub. Just the opposite of a peer environment, a hub environment cannot be fully managed on a peer's console.
The plugin needs to be as intelligent as possible to prevent users from having to do too much work to get up and go with this blueprint provisioning feature. The plugin MUST use smart defaults to determine which mode of environment creation will be used. If Hub credentials are provided it should always default to hub environment creation mode, especially when the peer is configured to be registered with the Hub. If the peer is NOT setup to be registered, or Hub credentials are not available then it should default to building the environment in peer local environment creation mode.
In both cases the following steps are needed:

The plugin needs to launch the VM (or multi-machine environment - future capability) first
(future capability) If a multi-VM environment with RHs they need to be registered with the Peer

At this point we branch based on the availability of Hub credentials and based on the presence and value of an override variable SUBUTAI_ENV_TYPE. If SUBUTAI_ENV_TYPE is NOT set then we use the smart defaults described above. The SUBUTAI_ENV_TYPE variable overrides this smart default behavior. When set to peer it uses peer mode even if Hub credentials are available. If set to hub it uses hub API's to create the environment.
Using a Single Peer
We could have just fed the Subutai.json to the Hub to automate this process. However I don't think there is an API for that #1, and #2 I don't think it will work without having a GitHub repository associated with the Hub account for the blueprint. So this might create problems.
Plus we do not want to create a multi-peer environment. We want all the containers to be on the local VM peer. I am thinking we parse the JSON to detect what needs to be done and do it. We can look at the hub code to get ideas on this.
So even if we use the Hub we will still be making all the containers reside locally on the newly built VM for now. We might get new ideas later. So this is why it might be best to just use both the Peer and Hub API to step by step create the environment instead of using the Hub's blueprint code.

All issues in epic is closed. Closing

authors: akarasulu etursunbaev

repo: subutai-io/vagrant


text:
Dragging a slider thumb moves component

Figure out a way to disambiguate (defer dragging to the app by default?)

Since it also resets the transforms, I would prefer if the whole dragging/resizing feature could be toggled on off.

Yeah agreed. Moving and resizing might be better as explicitly enabled. Between this and wanting to disable the overlay entirely, I’m starting to feel toolbar vibes…
just keep thinking (along with #50) that there might be a better mental model of what “inspector is enabled” means…

I would steal as much behavior/decisions as possible from established tools, like the chrome inspector. The closer we can get to that, the better. Is familiar and there are often good reasons why things are the way they are.
Maybe even add a “console” for debugging messages (we can add our own log macro).

Is familiar and there are often good reasons why things are the way they are.

Yes, the tool is modeled on figma and safari/chrome web inspector, so 100% with you on that! Devil is in the details though, in particular because the tool started from 0 (for example moving components didn't exist) and is evolving incrementally.

Maybe even add a “console” for debugging messages

Tell me more! What benefits does this bring on top of IDE logging with DBG? Timestamps? Retention across sessions?

Retention in general, and we use multiple different macros Z_LOG for pure debugging, does nothing in release builds, but Z_WARN and Z_ERROR are always logged and visible to customers.
we can then collate that last 3-4 sessions into one text file and save it. That way customers can provide these to aid in trouble shooting.

Icons are already in place for this in the BinaryData

authors: reFX-Mike sudara


text:
🛑 Prod Mainnet Blocks Service (WS) is down

In 7db5996, Prod Mainnet Blocks Service (WS) (https://tracker.icon.community/ws/v1/blocks) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Prod Mainnet Blocks Service (WS) is back up in a2c32dd after .

repo: sudoblockio/icon-status-page


text:
Bulk Document Importing Support

I have used the basis of the Bulk Importer to assist in importing and relating Document records. Since this is often a common issue that comes up when importing new data it would be nice to implement this and make it compatible with On-Demand.
Perhaps this would need to be run on a local environment then package up the changes and open a support ticket to move a compressed version loaded via FTP. I'd like to help contribute to this functionality but perhaps we can have some discussion on the best method to implement.
Thank you

Hey Shad,
I had a quick think about it.
I believe one possible approach might be to import Documents, and have an after import hook that creates the related revision(s) as well. Revisions are the guids that should then be uploaded on the upload directory.
I would proceed with your suggested approach of importing the records first, and then upload the data separately.
Does that work?
Does it need any changes to the library to support document revisions or can it all be done through the current hooks?
The only part I am not so sure about is how to get the document revision id(s) that have been created/updated on the hook, as a return value from the api. Maybe that's where it could help to have some changes implemented, if it is currently not possible.
Let me know your thoughts as well
Thanks

Thanks a lot Enrico. This seems like the best plan forward.
Uploading each file would potentially take too much time and likely be
unreliable.
I’ll modify the Document Hook I used previously and submit that along with
examples and documentation.
I think we can advise on uploading the documents either in module loader
package(s) or perhaps working with Support for On Demand or scp for On
Prem.
Thanks again
On Wed, Nov 21, 2018 at 3:33 PM Enrico Simonetti notifications@github.com
wrote:

Hey Shad,
I had a quick think about it.
I believe one possible approach might be to import Documents, and have an
after import hook that creates the related revision(s) as well. Revisions
are the guids that should then be uploaded on the upload directory.
I would proceed with your suggested approach of importing the records
first, and then upload the data separately.
Does that work?
Does it need any changes to the library to support document revisions or
can it all be done through the current hooks?
The only part I am not so sure about is how to get the document revision
id(s) that have been created/updated on the hook, as a return value from
the api. Maybe that's where it could help to have some changes implemented,
if it is currently not possible.
Let me know your thoughts as well
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sugarcrmlabs/BulkImport/issues/18#issuecomment-440831688,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD6wBzsOyoZK28a8CI0Ou5P3QI0AoM29ks5uxdSfgaJpZM4X5f6F
.

--
Shad Mickelberry
shad@shad.me
702-883-2719

authors: ShadMickelberry esimonetti

repo: sugarcrmlabs/BulkImport


text:
Add direct conversions between the Lexicon integer types and primitives

These are necessary to get usable numeric values out of the parsed bounded types.

LGTM.

repo: sugyan/atrium


text:
[Question] Session active, but not stopped at breakpoint

Sorry for this question, I am pretty new to debugging ruby code in nvim with nvim-dap.
I have followed the setup instruction but nothing happens after I set a breakpoint and run :lua require'dap'.continue()
I am seeing Session active, but not stopped at breakpoint. Any idea why this is happening?

Debugging in a terminal with the debug gem seems fine, but would be awesome if I can get that experience in Neovim itself.
Thanks for the plugin!

I'm having the same problem. I've installed this plugin and can set a breakpoint for dap, and I get the prompt to debug the current file, but when I do that nothing happens. Looking at nvim-dap debug logs, I confirm that the breakpoint is set, and that rspec is started. I get the same "Session active" as in the above screenshot when I try to continue again, and when I try a ".c" in the REPL. I don't know how to further interpret the dap debug logs, but everything seems to show success and nothing jumps out at me.
I've also tried adding a binding.b in my code, and that doesn't help. I can run rdbg from the command line and it stops with both binding.b and a manually set breakpoint with b file:line.
I've tried running a normal ruby file and running a spec; neither work.
Any further debugging tips would be appreciated!

I found nvim-dap-ruby works fine with nvim-dap older version (Feb 4, 2022).
But I don't know what is the breaking change now. I'll investigate more.

I found nvim-dap-ruby works fine with nvim-dap with commit https://github.com/mfussenegger/nvim-dap/commit/1de5f63228488fef93af22448ba2febad71a3a4f
but nvim-dap-ruby does not work well  after commit https://github.com/mfussenegger/nvim-dap/commit/4446d77b75b41bae89a7d6d845f72333dcaba86a
I'll investigate more.

With https://github.com/mfussenegger/nvim-dap/commit/1de5f63228488fef93af22448ba2febad71a3a4f, I at least get a break at the beginning of file execution, though I do not get a break at a binding.b or a DAP breakpoint.

I think it is expected behavior.
Could you try the following after break at the beginning of file execution?

:lua require'dap'.repl.open()
move cursor into opened buffer
type i (move input mode and show dap> console)
type .c

Oh yeah, that does work. Interesting. lua require('dap').continue() does work sometimes too, but it seems to crash about half the time. Unfortunately I haven't managed to reproduce it with the repl open, so I can't diagnose. Gets me unblocked though: I can just open the repl and continue after I've done that. Thanks!

I think this https://github.com/mfussenegger/nvim-dap/pull/553 will fix this issue.
And https://github.com/suketa/nvim-dap-ruby/pull/12 will stop at breaking point at first.

With the latest, weird things happen.
Setting a breakpoint on a spec and then running continue and selecting rspec (2) will run the spec (as verified by output in the repl) but not stop on a breakpoint I set (binding.b or a DAP breakpoint).
It does, however, occasionally open a file in rubocop (so far, twice it was lib/rubocop.rb and once lib/rubocop/ast/node_pattern/lexer.rb) and show as if the breakpoint is paused there... but then it continues running without pausing, finishes execution, and leaves vim with that random rubocop file open.

I can't reproduce the behavior you said.
Could you show me the simple spec file to reproduce it?

authors: bmulholland marcushwz suketa

repo: suketa/nvim-dap-ruby


text:
Notify users of encoding errors before they submit items

Similar to the error found in for jx225zq1407  “Encoding::UndefinedConversionError: “\xE2" from ASCII-8BIT to UTF-8".
This got stuck on the back end and left the user watching the "Depositing" icon spinning. We need to identify any problems like this that will interfere with deposit so the user can fix them before they cause the object to get stuck.

Since this druid made it through Hydrus with this character encoding last fall, is this something that could be addressed in H2 or the SDR API? It seems like some of the system is able to process the characters already.

This is not an encoding error in the submission. This is an error in serializing the error message to JSON so it can be persisted in the database in SDR-API.  The original error message was a "failed to roundtrip" error in DSA and that error has been cleared.

So, it sounds like we can close this? I'm fine with that.

I think so. In any case the problem is not in h2.

authors: amyehodge andrewjbtw jcoyne

repo: sul-dlss/happy-heron


text:
[HOLD for PO review] embargo release date - set to nil if invalid when saving draft of work version

Why was this change made? 🤔
To avoid https://app.honeybadger.io/projects/77112/faults/85235636
Fixes #2235
How was this change tested? 🤨
⚡ ⚠ If this change involves consuming from or writing to another service (or shared file system), run integration test create_object_h2_spec.rb and/or test manually in [stage|qa] environment, in addition to specs. ⚡

@amyehodge I would like your signoff on this;  I can deploy it to stage and set your user to have no approval of work agreement so you can take it for a drive.  Peter could also do this.

Looks fine pending PO review.  Suggest a name change for the PR to reflect what it does now.

@ndushay I'm not seeing the last update to the error message. So, when I enter an invalid date, I see this:

It says I've agreed to the terms 9 months ago, so I'm not sure that I'm able to test that piece of the interaction.

This looks good to me. Okay to merge!

See also #2243

authors: amyehodge ndushay peetucket


text:
Add web. to the white list of prefix

web prefix should be manipulated as www. and www1 prefixes though indexing and replaying.

closed in favor of sul-dlss/swap/issues/15

authors: aalsum ndushay

repo: sul-dlss/openwayback


text:
🛑 SISTEMA ROYAL-HOLIDAY is down

In edc1109, SISTEMA ROYAL-HOLIDAY (https://www.royalholiday.com.ar/reservas/admin/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SISTEMA ROYAL-HOLIDAY is back up in 4dc95ed.


text:
更新组委会邮件列表说明，更新关于开放知识协议的说明

组委会邮件列表调整为用于向组委会反馈问题，以及组委会内部讨论。调整为任何人可发帖，仅成员可查阅邮件存档，仅邀请可成为成员。
完善关于开放知识协议的支持说明，聚焦在推荐的开放知识协议列表中，同时更新开放知识协议的链接为对应协议公布方的官方链接。

/lgtm

repo: summer-ospp/help


text:
Use modifier + F11 to hide both menu bar and app bar

Close: https://github.com/sunner/ChatALL/issues/736
https://github.com/sunner/ChatALL/assets/26683979/00a9ac46-c6bb-400e-9727-07d4a322587e

Thank you!

authors: sunner tanchekwei

repo: sunner/ChatALL