Amplify init command freezes after I select default editor: Visual Studio Code

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

Describe the bug
When I try initializing amplify in my Angular 7 project using the command amplify init it starts up the process and asks me for my default editor. Once I select Visual Studio Code, the process freezes.
I've tried letting it run for hours but it doesn't get past that screen.
Also tried downgrading from 1.8.2 to 1.7.5 but the same thing happens.
Also tried selecting other text editors but still no luck.
To Reproduce
Steps to reproduce the behavior:

Initialize new angular project ng new appName
Install @aws-amplify/cli npm install @aws-amplify/cli
Run amplify configure
Run amplify init
Select text editor
See error

Expected behavior
Was expecting it to initialize amplify and generate a aws-exports.js file
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 75.0.3770.142

Additional context

Node version v10.16.0
Npm version 6.9.0
Angular CLI 7.2.4
Angular 7.2.15

Just tested this on a different computer and everything works as it should, don't know if it only happens when you re-install the aws amplify CLI on a machine that already had it installed.

@GIOkafor
Seems like one of the inquirer (one of the Amplify CLI dependencies) issues that once popped up
https://github.com/aws-amplify/amplify-cli/issues/1688
I'd suggest to remove Amplify CLI completely from the original computer, reinstall and try again.

I did so by running npm uninstall -g @aws-amplify/cli from an admin console. It ran successfully but amplify didn't uninstall and the issue persists

You were right, despite running npm uninstall, aws amplify did not uninstall.
I ran which amplify and it showed me where it was installed, so I went ahead and deleted all the associated files, ran the install command and it worked.
Thanks for the assist.


Workspace resource

Issue #, if available: 1323
Description of changes:
Added the workspace resource.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Merged on the upstream branch.


Transitions in Android can't be handled in the background?

I'm not really familiar with Android programming.
From my first attempt after implementing this plugin in Android, the geofence.onTransitionReceived seems to have been called only the moment I launched the app myself, and not silently in the background the moment I crossed the geofences, as I have come to understand that it should.
From my tests with the iOS version of my app, it seemed to have worked in the background fine. But I saw the section about implementing that BroadcastReceiver thing and I've come to wonder - does the Android code in this plugin must rely on some personal implementation in native code for it to respond in the background, or can it do this straight out of the box?

You are right, on Android it doesn't trigger onTransitionReceived javascript handler in background. You can handle some cases using native java code described here or maybe try with background mode plugin (I haven't tried it, though).

Hi! Is this feature a future implementation? This plugin would be very valuable working on backroung in Android.

+1

On 27 Oct 2015, at 5:01 PM, ramon-bistuer<EMAIL_ADDRESS>wrote:
Hi! Is this feature a future implementation? This plugin would be very valuable working on backroung in Android.
—
Reply to this email directly or view it on GitHub https://github.com/cowbell/cordova-plugin-geofence/issues/86#issuecomment-151419469.

Hi! Is this feature a future implementation? This plugin would be very valuable working on backroung in Android.

Duplicate of #53


Refactor the test suite

The test suite is currently structured into these files:
t/
  semantics/
    types.t (AAA)
    operators.t (6 x A, 5 x E)
    blocks.t (6 x A)
    variables.t (A)
    if-statement.t (AA)
    subroutines.t (8 x A)
    return.t (6 x A)
    for-loop.t (AAAA)
    while-loop.t (A)
    fibonacci.t (A)
    begin-blocks.t (A, 3 x P, 7 x O)
    type.t (6 x A)
    builtins.t (21 x A)
    constants.t (OOO)
    macros.t (A)
  syntax/
    elements.t (24 x T)
    corner-cases.t (9 x T, 15 x F)
    expr.t (9 x T)
    macros.t (OO)
    quasi.t (OO)
    errors.t (F)
    begin-time.t (O)
    custom-ops.t [still in a branch] (T, 2 x F, 5 x O)

The letters in parentheses mark individual test calls:
A  AST input, expect (runtime) stdout
E  AST input, expect (runtime) error
F  program text input, expect (compile-time) error
O  program text input, expect (compile-time & runtime) stdout
P  program text input, expect (compile-time) stdout
T  program text input, expect AST

The project started out with just A tests (in the semantics/ directory) and T tests (in syntax/). Later tests added E and F tests, which... fine.
Then, BEGIN blocks necessitated the P test, and then, the parser got access to the runtime, and then we got static lexpads and values surviving from compile time to runtime, and so we needed O test (and could in retrospect perhaps have done without the P kind)...
BEGIN blocks deliberately flaunt the compile/runtime subdivision. So do operators, constants and (especially) macros. I think in recognition of this, we should retire the original directory structure and not distinguish so heavily between syntax and semantics.
Dividing things by feature still makes sense to me. So I mostly like the test file names in the semantics/ directory, and suggest reorganizing most tests to be under them. Actually, perhaps put them in a features/ subdirectory instead, and then put fibonacci.t (and later, man or boy) under some other aptly named subdirectory.
It's nice when a project outgrows its original assumptions.

Then, BEGIN blocks necessitated the P test, and then, the parser got access to the runtime, and then we got static lexpads and values surviving from compile time to runtime, and so we needed O test (and could in retrospect perhaps have done without the P kind)...

Indeed, c730955 removes the P type of test, unifying it with O.


string refs don't work with cloneElement in inferno-compat

Observed Behaviour
I'm using a component called rc-slider. It calls cloneElement with a string ref, like so:
https://github.com/react-component/slider/blob/master/src/Slider.jsx#L491
    const handles = bounds.map((v, i) => cloneElement(customHandle, {
      ...commonHandleProps,
      className: handlesClassNames[i],
      value: v,
      offset: offsets[i],
      dragging: handle === i,
      index: i,
      key: i,
      ref: `handle-${i}`,
    }));

This causes inferno-compat to crash with such an error:

... as I can see the string refs are supported just on createElement: https://github.com/trueadm/inferno/commit/74e869b78ce3299dd19deb71a1f99191a25ee85a#diff-d3e3b3c9e04b8ff8476c6a0dbb068117R66
Expected Current Behaviour
inferno-compat should also support string refs on createElement.
I'm willing to work on this and submit a PR, however I'm having issues getting my environment working properly.
I tried yarn link'ing the packages and adding local paths in package.json but nothing worked. The error I was finally stuck with was this:
ERROR in ../inferno/packages/inferno-compat/lib/ReactCSSTransitionGroup.js
Module build failed: ReferenceError: Unknown plugin "react-transform" specified in "base" at 0, attempted to resolve relative to "/Users/marius/Projects/Apprentus/inferno/packages/inferno-compat/lib"

However, when I manually edited node_modules/inferno/dist/inferno-compat.min.js and copied the post-babel code generated by these changes, it worked:

Remove L52 (const cloneElement = cloneVNode;)

Add this instead of const createElement = ... from L76

const injectStringRefs = (originalFunction) => {
	return function (name, _props, ...children) {
		let props = _props || {};
		const ref = props.ref;

		if (typeof ref === 'string') {
			props.ref = function (val) {
				if (this && this.refs) {
					this.refs[ref] = val;
				}
			}.bind(currentComponent || null);
		}
		if (typeof name === 'string') {
			normalizeProps(name, props);
		}
		return originalFunction(name, props, ...children);
	};
}

const createElement = injectStringRefs(infernoCreateElement);
const cloneElement = injectStringRefs(cloneVNode);

Inferno Metadata
macOS / Chrome / beta32

A way we could fix this (if anyone is up for the task) is by changing:
https://github.com/trueadm/inferno/blob/dev/packages/inferno-compat/src/index.js#L52
So rather than passing the Inferno's cloneVNode directly to cloneElement, we create a proxy function that does this, but applies our string ref monkey patch, like we do already for createElement in inferno-compat:
https://github.com/trueadm/inferno/blob/dev/packages/inferno-compat/src/index.js#L80
@mariusandra is this something maybe you could play with and see if you can get it working? That would be awesome if you could!

@trueadm I created a PR based on the above patch: https://github.com/trueadm/inferno/pull/564
I'm unable to use the code directly in my app due to the issues reported above with linking the projects, but this does seem to work. When I manually updated files under node_modules it worked. npm run build also works.

Another question. I'm not 100% sure what these lines do:
https://github.com/trueadm/inferno/pull/564/commits/020a740c4dd741c42fe96a62cb5b5712f3d508af#diff-d3e3b3c9e04b8ff8476c6a0dbb068117R87
if (typeof name === 'string') {
	normalizeProps(name, props);
}

Thus, should they apply to cloneVNode and infernoCreateElement both like in the PR, or just infernoCreateElement as it was until now?

@mariusandra ah that's a valid point. This check is for createElement, as the type coming in can either be string (element) or function/class (component).

@trueadm hmm... is it possible there's actually no issue then? typeof is a very fast operation and if cloneElement never gets a string, nothing will break?

@mariusandra I see no real issue here, so I merged it :) we can always take a look at this again if issues come back.

@mariusandra can you confirm this works now in beta33?

@trueadm Yes, it works! :)

Good work guys, closing this ticket.


fix(updateExistingSnapshotEnvironmentBindingWithSnapshot): segfault

Logger is causing segfault from snapshotEnvironmentBinding.Spec.Environment, because updateExistingSnapshotEnvironmentBindingWithSnapshot may return nil pointer when patching failed, and logger tries to access to struct values of nil pointer.
At first that function doens't need to return pointer, because it already received a pointer as parameter, and it's exactly the same pointer.
Also unittest has been updated to test, if resource has been really patched.
Segfault traceback:
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x118 pc=0x180b176]

goroutine 1638 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:119 +0x1fa
panic({0x19d1520, 0x2d5ba40})
	/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/panic.go:884 +0x212
github.com/redhat-appstudio/integration-service/controllers/snapshot.(*Adapter).EnsureSnapshotEnvironmentBindingExist(0xc000ec7a90)
	/home/runner/work/integration-service/integration-service/controllers/snapshot/snapshot_adapter.go:377 +0x8b6
github.com/redhat-appstudio/operator-toolkit/controller.ReconcileHandler({0xc000ec7a68, 0x5, 0x3fb999999999999a?})
	/home/runner/go/pkg/mod/github.com/redhat-appstudio/operator-toolkit@v0.0.0-20230913085326-6c5e9d368a6a/controller/handler.go:25 +0x49
github.com/redhat-appstudio/integration-service/controllers/snapshot.(*Reconciler).Reconcile(0xc0005412f0, {0x1f2dfd8?, 0xc000d9aba0}, {{{0xc00066f186, 0x7}, {0xc00066f190, 0xf}}})
	/home/runner/work/integration-service/integration-service/controllers/snapshot/snapshot_controller.go:111 +0x845
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0x1f2dfd8?, {0x1f2dfd8?, 0xc000d9aba0?}, {{{0xc00066f186?, 0x193c820?}, {0xc00066f190?, 0xc000cdf0e0?}}})
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:122 +0xc8
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0009779a0, {0x1f2df30, 0xc0007c0500}, {0x1a451a0?, 0xc000cdf0e0?})
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:323 +0x3a5
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0009779a0, {0x1f2df30, 0xc0007c0500})
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:274 +0x1d9
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:235 +0x85
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/internal/controller/controller.go:231 +0x333

Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

I'd like to wave gitlint check, not going to change format of traceback

@dirgim I cannot waive gitlint, it's required check

I don't think that the full stack trace is needed in the commit message, it's a standard nil-pointer exception.


[Compute] Fix #16585: az vmss deallocate --instance-ids failed

Description
Fixes #16585 deserialization error when users pass in multiple instance ids
Testing Guide
History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

@08nholloway You will be responsible to merge it since you are an internal member. Feel free to ask review from other code owners if necessary, especially when it is a complex PR.

is there test to test the change?

@yungezz there wasn't a test already for that command, though there are several ones used in other tests (test_invoke_action for instance) that pass with the change. I can write some additional tests for the deallocate specifically


Open Source : 7.7 Explain everything related to MIT license

Description 📜
Open Source : 7.7 Explain everything related to MIT license
NOTE 👇
Please put your doc 7.License/ with the name 7.7_MIT_License.md

Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

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

/assign

@Bhuvnesh875  Assigned, Happy Learning 🎉🎉

@Aryamanz29 thannkyouu


Handles failures when making PUT request to Rogue's /items endpoint

What's this PR do?

Updates the  dosomething_rogue_failed_task_log:

Adds the rogue_item_id, status, and type columns
If a reportback fails to send to Rogue, the type will be reportback.
If a reportback item's status fails to send to Rogue, the type will be reportback item.
drupal_id, campaign_id, campaign_run_id, quantity, and why_participated are now all set to 'not_null' => FALSE.

Enters the rogue_item_id and updated status in the dosomething_rogue_failed_task_log if the PUT request to /items fails and sends stathat alerts.

How should this be reviewed?

Turn Rogue off.
Submit a new reportback.
Check the dosomething_rogue_failed_task_log and all expected columns should be filled out. The type should say reportback.
Submit a new reportback item (or many!).
Check the dosomething_rogue_failed_task_log table and rogue_item_id, status, and type should be filled out. type should be reportback item.

Relevant tickets
Fixes #7157
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love
[ ] Post a message in #phoenix if this includes something that causes a rebuild!

@chloealee when you say "Turn Rogue off" do you mean uncheck the box?

@katiecrane sorry for not clarifying! The way I was testing was actually pretty scrappy - I'll update with better instructions now!

So we also have a cron job that runs to re-send the failed stuff so that we eventually get it (hopefully) I think you will need to update that to re-send the items.

awesome, thanks for pointing that out @sbsmith86 ! Is there anyway to test to make sure the code in the cron job works?

@chloealee yea. After you update the cron job you run drush cron and the reportbacks and items in there should be sent to rogue and then removed from the table or if they fail again, they should get re-stored in failed table.

@sbsmith86 just updated everything and ran the cron job and everything worked! Ready for another review :)
Also - if testing, you'll need to do some steps you helped me with above!

delete the dosomething_rogue_failed_task_log
go to the system table and search for name dosomething_rogue
change the schema_version to 7001
close your tab and re-open another connection to your local phoenix database

Looks good!


fix: do not try to notify if required data are missing

Adds a check which controls if notification will happen or not. The check validates presence of the most required parts and creates a basis for adding more.
Now it checks for:

having at least one sample to send
HostInfo present and containing HostID and ExternalOrganization

All comments should be addressed. The PR is rebased and ready for re-review.

Merged, thanks @pvoborni !


Error in cachetool.php on line 57

Describe the bug
task cachetool:clear:opcache
[beta]  error  in cachetool.php on line 57:
[beta] run command -v 'cachetool.phar' || which 'cachetool.phar' || type -p 'cachetool.phar'
[beta] exit code 1 (General error)

https://gitlab.com/foodsharing-dev/foodsharing/-/jobs/835344131
Behavior is also after I installed cachetool via composer.json. Also downloaded the cachetool in bin and contrib and got the same error message.
I thought cachetool is downloaded in https://github.com/deployphp/deployer/blob/master/contrib/cachetool.php#L60
To reproduce

Git clone...
cd deployer && composer install
deployer/vendor/bin/dep deploy $CI_ENVIRONMENT_NAME --revision $CI_COMMIT_SHA

Expected behavior
Environment

Deployer version: 7.0.0.beta4
PHP version: 7.4.11
CI-Image: https://gitlab.com/foodsharing-dev/images/-/blob/master/ci/Dockerfile
Gitlab Deploy Config: https://gitlab.com/foodsharing-dev/foodsharing/-/blob/master/.gitlab-ci.yml
Config: https://gitlab.com/foodsharing-dev/foodsharing/-/blob/master/deploy.php
Composer files: https://gitlab.com/foodsharing-dev/foodsharing/-/tree/master/deployer
Deployment target(s) OS: debian buster

Can you create PR to fix it?

Can you create PR to fix it?

I don't know the cause. I'm a beginner in programming.


Nested selectors result in wrong classnames during hot reload and results in duplicate styles in the sheet

Version: 6.0
Environment: DOM
Type: Bug / Clarification

Description
When latest 6.0 version is used with styleguidist, the initial load has proper classnames with nested selectors, but on hot reload, rules shared from the nested rule will result in irregular class name being appended. Further the latter style generations will result in duplicate styles.
Steps to reproduce (No SSR Involved)
Detailed in the comments of source
https://github.com/aga5tya/fela/blob/bump-fela-styleguide/packages/example-with-styleguidist/src/components/AComponent/AComponent.js#L26
Commits for Repro:
https://github.com/aga5tya/fela/commit/2d3a6b3021af46018476852dad3d49c91537b69b
https://github.com/aga5tya/fela/commit/1aa2803ed486482d8e42e3f2bdec77d34bd5c5c3
https://github.com/aga5tya/fela/commit/ab9485a2692cfb3a974e168a69ba6d1eb1a1083c
Expected Behavior
Class Names has to be substitued properly as when initial load and duplicate styles should not appear in the injected stylesheet.
Actual Behavior

@rofrischmann Got a chance to look into the repro ?

Not yet actually. I'm in Amsterdam right now at the Fronteers Conference. Will dig into it later this weekend maybe.

Would you mind updating to 6.0.1 and check if the error persists? If yes, I will dig deeper for sure!

@rofrischmann,, Nested selectors seem to work fine and cannot reproduce it now 🎉  But duplicate styles as shown in the last image still exists,, its present even on first load and then becomes more on hot reload.

Found the issue. Not sure if it's an "issue" yet, but I might think about it later. Definitely feels like a wrong behaviour right now.

@rofrischmann Didn't get time earlier, tested now. Works like a charm, Thank you so much 🎉  Publishing anytime soon ?

Later today :)


lightweight rerankers

hello, I sincerely apologize for asking this question in issues, I wanted to know what are some of the really lightweight < 100Mb rankers if you happen to know? and also are there any lexical rankers that only care about exact and fuzzy matches?

some of the really lightweight < 100Mb rankers if you happen to know?

You've got a couple decent options in this area, but you'll need to use half-precision:

our own answerai-colbert-small-v1, a ColBERT model, is ~67MB when used in 16-bit precision
Jina's jina-reranker-v1-turbo-en is 75MB in BF16

and also are there any lexical rankers that only care about exact and fuzzy matches

No general-purpose, widely-used one as far as I'm aware. Though it's relatively easy to build, depending on which lexical distance you care about!


Extension installation button unresponsive when no nameservers available

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

VS Code Version: 1.60.0
OS Version: Windows 10 Version 20H2 (Windows Insider Program) + Ubuntu 20.04.3 (via WSL2)

Problem:
Nothing happens when clicking the "Install in WSL: Ubuntu" button when DNS information is not available. I would expect an error to pop up saying that VSCode is unable to contact the extension server, or something to that effect.
Steps to Reproduce:

Open VSCode
Install the WSL2 extension
Open VSCode in Ubuntu in WSL2 with an empty resolv.conf file
Try to install an extension (I was trying to install the Python extension)

Do you see any errors in the logs?
F1 > Open View > Log (Window)
F1 > Open View > Log (Remote Server)

I could not find the "Open View" option, but I found logs by doing F1 > Developer: Open Log File > Window. I assume these are the logs you are talking about?
I attempted the above with a different extension, Python Docstring Generator. This time the text of the button immediately changed to "Installing" and it eventually was installed successfully. I then tried uninstalling the Python extension and installing it again via the above steps. The same thing happened as before where clicking the button seemed to have no effect. After clicking, the button still says "Install in WSL: Ubuntu". No errors appear and the text and color of the button do not change. While looking for the logs, I noticed that it too was eventually installed. So it seems this problem is just a visual one, and only happens with the Python extension.
There seems to be nothing interesting in the Remote Server logs. There is an error in the Window logs and they look useful, so I will paste them below. I don't quite understand what is happening. It looks like maybe it tried to install the extension in WSL, but failed, so then downloaded through Windows (local) and installed it in Ubuntu (remote server)?
[2021-09-14 11:27:57.166] [renderer1] [info] Creating lazy extension host: contains 2 extension(s): ms-python.python,ms-python.vscode-pylance.
[2021-09-14 11:28:34.732] [renderer1] [error] Error while installing 'ms-python.python' extension in the remote server. getaddrinfo EAI_AGAIN ms-python.gallery.vsassets.io
[2021-09-14 11:28:34.732] [renderer1] [info] Downloading the 'ms-python.python' extension locally and install
[2021-09-14 11:28:36.385] [renderer1] [info] Downloading the workspace dependencies and packed extensions of 'ms-python.python' locally and install
[2021-09-14 11:28:36.587] [renderer1] [info] Downloaded extension: ms-toolsai.jupyter /c:/Users/TLinger/AppData/Local/Temp/f2b91f2e-0409-4b7d-af05-2c09ae75eb1e
[2021-09-14 11:28:49.031] [renderer1] [info] Successfully installed 'ms-toolsai.jupyter' extension
[2021-09-14 11:28:49.032] [renderer1] [info] Downloaded extension: ms-python.vscode-pylance /c:/Users/TLinger/AppData/Local/Temp/db61d324-a125-4643-8714-9c72d0e3100d
[2021-09-14 11:29:03.862] [renderer1] [info] Successfully installed 'ms-python.vscode-pylance' extension
[2021-09-14 11:29:03.862] [renderer1] [info] Downloaded extension: ms-python.python /c:/Users/TLinger/AppData/Local/Temp/01dfd551-526c-41f6-8179-f941a7a520c8
[2021-09-14 11:29:17.972] [renderer1] [info] Successfully installed 'ms-python.python' extension

It looks like maybe it tried to install the extension in WSL, but failed, so then downloaded through Windows (local) and installed it in Ubuntu (remote server)?

Yes, so the extension is installed. Is not it getting reflected in the UI? Can you please share a recording of what you are seeing?


[FLINK-16805][e2e] Remove pre-commit profile activation

What is the purpose of the change
Remove the pre-commit profile from the global PROFILE variable.
Verifying this change
I verified the change here: https://dev.azure.com/georgeryan1322/Flink/_build/results?buildId=243&view=logs&j=764762df-f65b-572b-3d5c-65518c777be4&t=764762df-f65b-572b-3d5c-65518c777be4

Thank you for the quick review :)


Remote FTP: Error: All configured authentication methods failed while trying to connect via SFTP

I am trying to connect via SFTP to remote server and hitting this error. Wondering what's going on here. I see a similar issue still open from 2015 (https://github.com/mgrenier/remote-ftp/issues/83), has there been a fix/workaround for this.
I am connecting to remote using username-password pair. Able to connect via FileZilla.
Thanks!

Can you post more details about your exact setup? Specifically about the key and how it was generated. There could be some sort of incompatibility based on the type of encryption you use.
If I'm able to re-create the problem, I (or someone else) could possibly help find a solution.

I am also facing the same problem. Please reply soon.

@samifouad  can you share your .ftpconfig file ??
I guess you might be missing
"privatekey": "/path/to/private/key"
And It should have 644 permission as well.

I am not using key-pairs to login, authenticating via a central ldap server to connect to my box.
This is how my .ftpconfig looks like:
{
"protocol": "sftp",
"host": "hostname.blah.blah.blah",
"port": 22,
"user": "anusrat",
"pass": "*******",
"promptForPass": false,
"remote": "/home/anusrat",
"local": "",
"agent": "",
"privatekey": "",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": true,
"watch": [],
"watchTimeout": 500
}

Same here
If you are not using keys, config is ignoring password auth

I am not using key-pairs to login, authenticating via a central ldap server to connect to my box.
This is how my .ftpconfig looks like:

"protocol": "sftp",
"host": "hostname.blah.blah.blah",
"port": 22,
"user": "anusrat",
"pass": "*******",
"promptForPass": false,
"remote": "/home/anusrat",
"local": "",
"agent": "",
"privatekey": "",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 10000,
"keepalive": 10000,
"keyboardInteractive": true,
"watch": [],
"watchTimeout": 500
}

Looks good to me. Could be a server problem, what server are you trying to connect to, what SFTP/FTP package does it run? ServerOS? Are you able to connect to other SFTP servers?

I am having the same issue with 1.2.6 with the following .ftpconfig.  When I revert back to 1.2.4 all is fine (and I have sftp access to this host from command line/Tecta clients as well).  I've tried suggestions I've seen in other posts but no luck so far.  Any advice/recommendations?  Thanks
{
"protocol": "sftp",
"host": "blahblah",
"port": 22,
"user": "ME",
"pass": "pass",
"promptForPass": true,
"remote": "/icgcmpl/compliance",
"agent": "",
"privatekey": "",
"passphrase": "",
"hosthash": "",
"ignorehost": true,
"connTimeout": 90000,
"keepalive": 10000,
"keyboardInteractive": true,
"watch": [],
"cipherFix": true
}

@unixjkn Try this config:
"promptForPass": false,
"keyboardInteractiveForPass": true,

The new options use default pass property if keyboardInteracive enable.
https://github.com/icetee/remote-ftp/commit/e75e137979be7f023a9868ffd43595909f9bbf35

@icetee Thanks! working just fine now.

well, when i tried this configuration
"promptForPass": false,
"keyboardInteractiveForPass": true,
I failed! How to solve this problem, maybe you should try this
"promptForPass": true,
"keyboardInteractive": true,
"keyboardInteractiveForPass": false,
I don't know why, but i succeeded!


Create a component for the Menu Bar in the design system

https://www.figma.com/design/viunKHcA1HQgulHSDvuMfj/NPDC-v2?node-id=34-18596


Removing drawfeature since it's not in NPM yet

it is in npm but in the new @boundlessgeo/sdk package location (published under an npm org)
so a better change would be to move to that, see similar changesets that I did today in other apps
Sent from my iPhone

On 24 Apr 2017, at 18:04, CarlyLanglois<EMAIL_ADDRESS>wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/boundlessgeo/sdk-apps/pull/18
Commit Summary
Removing drawfeature since it's not in NPM yet
File Changes
M quickview/app.jsx (4)
Patch Links:
https://github.com/boundlessgeo/sdk-apps/pull/18.patch
https://github.com/boundlessgeo/sdk-apps/pull/18.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Markdown notes for each task

Create Markdown notes for each task in the project

[x] Add note saying that markdown is supported @haitianxu2024
[x] Debug note not fetched issue @ishanppendse
[x] Render to do lists @byunsy
[x] External library @ishanppendse
[x] We need to clean current code up so that we adopt a single approach about external library

I have transferred the library Markdown to the integrated on in the edit part, the MD finally appeared

Fixed in #62 #40 #35


bucket problems

When I use bucket parameters, the code failed, after removing the buckets, the code runs very well. Could you please help on this issue?

It's probably related to #103 - Duplicate.


Data logger RTC DS1307 + SD

Data logger module - RTC DS1307 + SDcard

Features:
With this Data Log Shield for WiFi D1 Mini board, can saving data to files on any FAT16 or FAT32 formatted MicroSD card.
The included RTC (Real Time Clock) can be used to timestamp all your data with the current time, so that you know precisely what happened when!
SD card interface works with FAT16 or FAT32 formatted cards.
Real time clock (RTC) keeps the time going even when the power disconnected. The coin cell battery backup last date and time.
RTC protected from wrong connecting of battery.
Pinout:
RTC:
D1 - SCL
D2 - SDA
SD card:
D5 - CLK
D6 - DO
D7 - DI
D8 - CS
https://github.com/wemos/D1_mini_Examples/blob/master/examples/04.Shields/Micro_SD_Shield/Datalogger/Datalogger.ino

Pinout SPI?
https://forum.m5stack.com/topic/4197/stamp-c3-c3u-spi/2

First of all I really really like the Stamp C3(U), I find the plastic cover totally great. But what frustrates me (maybe I'm doing something wrong) is that SPI is not usable.
The reason is that for classic full-duplex SPI on a ESP32C3 you need SPI2 (Fast SPI) which leads to the following:

MOSI = FSPID = GPIO7 --> nicely on the PIN header
MISO = FSPIQ = GPIO2 --> the status LED on Stamp C3(U), not on the header
CLK = FSPICLK = GPIO6 --> nicely on the PIN header
CS = FSPICS0~5 = GPIO10 for CS0 --> nicely on the PIN header and in general chip select is a bit easier
I really don't get why GPIO2 was used for the status LED, from what I get there's nothing special about it. So I think / strongly believe / am convinced that SPI peripherals just don't work on the stamp...

Hello @dominik
the nice thing about ESP32 and its variants (like the C3) is that different functions (like SPI) can use almost any GPIOs.
With the Arduino environment you can define the GPIOs to be used for SPI like this:

#define SCK GPIO_NUM_6
#define MISO GPIO_NUM_4
#define MOSI GPIO_NUM_7
#define CS GPIO_NUM_5

SPI.begin(SCK, MISO, MOSI, -1);

So depending version, it should match like that:
SD card:
D5 = CLK = SCK = FSPICLK = GPIO6
D6 = DO = MISO = FSPIQ = GPIO2
D7 = DI = MOSI = FSPID = GPIO7
D8 = CS = FSPICS0~5 = GPIO10

https://github.com/PaulStoffregen/DS1307RTC

#include "Arduino.h"
#include <SPI.h>
#include "FS.h"
#include <SD.h>
#include <Adafruit_I2CDevice.h>
#define SCK 10
#define MISO 8
#define MOSI 7
#define CS 6
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(115200);
SPI.begin(SCK, MISO, MOSI, CS);
Serial.print("Initializing SD card...");
// see if the card is present and can be initialized:
if (!SD.begin(CS)) {
Serial.println("Card failed, or not present");
// don't do anything more:
return;
}
Serial.println("card initialized.");
}
void loop()
{
// make a string for assembling the data to log:
String dataString = "";
// read three sensors and append to the string:
//for (int analogPin = 0; analogPin < 3; analogPin++) {
//  int sensor = analogRead(analogPin);
//  dataString += String(sensor);
//  if (analogPin < 2) {
//    dataString += ",";
//  }
//}
// The WeMos D1 Mini only has one analog pin A0.
int sensor = analogRead(3);
dataString += String(sensor);
// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
File dataFile = SD.open("datalog.txt", FILE_WRITE);
// if the file is available, write to it:
if (dataFile) {
dataFile.println(dataString);
dataFile.close();
// print to the serial port too:
Serial.println(dataString);
}
// if the file isn't open, pop up an error:
else {
Serial.println("error opening datalog.txt");
}
delay(1000);
}

Ok, I tet that I need to define SPI pins.
#define SCK 10
#define MISO 8
#define MOSI 7
#define CS 6

And launch it in Setup:
SPI.begin(SCK, MISO, MOSI, CS); and SD.begin(CS);
but then,
I still get "Card failed, or not present" or nothing.
I tried example from several library and tutorial, with a focus on the Setup to just get to initialize the module....
I quit.
I will try something else, like writing my log on a internal SPIFFS partition


Add reexports and update JS agent INTER-65

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Interpolation in translations doesn't work with Ruby 3 and I18n 1.6.0

I've upgraded Middleman from 4.3.11 to 4.4.0. I18n was upgraded from 0.9.5 to 1.6.0. String interpolation in translations stopped working after that.
Let's say I have a translation Page_N: "Page %{number}". I call it in ERB templates with <%= t(:Page_N, number: 123) %>. I expect to see Page 123 in generated HTML, but instead I see Page %{number}.
Remember that in Ruby 3 positional and keyword arguments are completely separated. I've solved the problem by adding custom helper:
def t(*args, **kwargs)
  I18n.t(*args, **kwargs)
end

I can't submit a pull request because I'm not sure how to deal with both Ruby 2.5 and Ruby 3. The declaration of #t is here.

Thanks @kotovalexarian. Can you share an example erb snippet that I could use to build a test case?

Thanks @kotovalexarian. Can you share an example erb snippet that I could use to build a test case?

Let me better submit a pull request. I have an idea about how to deal with both Ruby 2.5 and 3. I can just check RUBY_VERSION constant and conditionally create helper method.

It still requires a patch. I'll try to send one as soon as possible.


Determin the size of placeholder to match the actual size of the image

"width": 5245, "height": 3497, "color": "#60544D"
this is part of the API response, i want to know  how to use these values. i can set the width of all images to double.infinity but i need to calculate the height, so that i can put a placeholder color and when the image loaded it replaces it smoothly

https://stackoverflow.com/questions/53396921/flutter-determine-the-size-of-placeholder-to-match-the-actual-size-of-the-image is the right place for this kind of question.


Catch rate estimator missing using tampermonkey script

Using the script the minicre is missing

Fixed in v0.32.0


When following log files, tail them rather than truncate them.

This change makes the exporter tail log files, meaning that the files can be opened read only and don't need to be truncated. This seems like a general all around win because:

It doesn't require any special syslog configuration to duplicate logs
The exporter process can be run by a user without write privileges to log files
This will likely work better out-of-the-box for most people

Thanks, that's a very sane idea.

Thanks for the pull request.
It looks like you are still using the duplicated log file since the default path to the log is the duplicated one.
Can you fix it so that the configured Postfix log file is used by default?

Thanks for the work, it should have been merged earlier.


[FEATURE] Support Windows Docker/WSL

🚀 Feature
Support Docker Desktop on Windows
Motivation
Currently on Docker Desktop for Windows, am able to build the docker image using the DockerFile, but am having trouble using docker run.  Error is [FATAL tini (7)] exec /workspace/entrypoint.sh failed: No such file or directory
Supplied command is  docker run --runtime=nvidia --shm-size=64g --init --rm -it -u llmstudio:llmstudio -p 10102:10102 -v  \llmstudio_mnt:/home/llmstudio/mount -v ~/.cache:/home/llmstudio/.cache h2o-llmstudio

H2O LLM Studio does run on WSL2, can you provide more information where it fails for you?


Need to be able to set the text style for the country code

I wanted to give the field a dark background so I need control over the country code color so that it is easily visible.

https://github.com/natintosh/intl_phone_number_input/pull/44
Opened a pull request with support for this

Duplicate of #38

Hi @emmett-deen I just publish an updated that has the feature you requested, thanks for the PR ✨


Add latent mixing metric for task 3

Add latent mixing metric for joint embedding task. Latent mixing metric is calculated by entropy_batch_mixing() imported from utils.py.
The latent mixing metric measures how well the latent cell representations are mixed between batches relative to the global frequency of batches.

Hi @atchen!
Thanks for your PR! I reformatted the code a bit and fixed some minor issues. I removed most of the functions from the utils file, because there were a lot of unused imports.
Did you try running the viash component by running the code below?
viash run src/joint_embedding/metrics/calculate_totalVI_metrics/config.vsh.yaml -- \
  --input_prediction resources_test/joint_embedding/test_resource.prediction.h5ad  \
  --input_solution resources_test/joint_embedding/test_resource.solution.h5ad \
  --output here.h5ad

Robrecht

Hi Robrecht. I didn't test the viash component. Christ just provided me with the outputs of his methods script directly.


Parser drops UNA Segments while converting tokens to segments

Consider an interchange like
UNA:+.? '
UNB+UNOC:1+1234+3333+200102:2212+42'
UNH+42z42+PAORES:93:1:IA'
UNT+2+42z42'
UNZ+1+42'

While the Parser correctly uses the given control characters to convert the tokens to Segments, it does not pass on the UNA Segment to the created Interchange. Therefore, the interchange has no knowledge of any from the default set differing characters:
./tests/test_segmentcollection.py::test_interchange_with_custom_character Failed: [undefined]AssertionError: assert ',' == '.'
  - .
  + ,
def test_interchange_with_custom_character():
        i = Interchange.from_str(
            "UNA:+.? '"
            "UNB+UNOC:1+1234+3333+200102:2212+42'"
            "UNH+42z42+PAORES:93:1:IA'"
            "UNT+2+42z42'"
            "UNZ+1+42'"
        )
>       assert i.characters.decimal_point == "."
E       AssertionError: assert ',' == '.'
E         - .
E         + ,

tests\test_segmentcollection.py:264: AssertionError

or that an UNA segment was parsed:
./tests/test_segmentcollection.py::test_interchange_with_una Failed: [undefined]assert False
 +  where False = <pydifact.segmentcollection.Interchange object at 0x0000010EF8F34B50>.has_una_segment
def test_interchange_with_una():
        i = Interchange.from_str(
            "UNA:+,? '"
            "UNB+UNOC:1+1234+3333+200102:2212+42'"
            "UNH+42z42+PAORES:93:1:IA'"
            "UNT+2+42z42'"
            "UNZ+1+42'"
        )
>       assert i.has_una_segment
E       assert False
E        +  where False = <pydifact.segmentcollection.Interchange object at 0x0000010EF8F34B50>.has_una_segment

tests\test_segmentcollection.py:253: AssertionError

The docstring of convert_tokens_to_segments  hints, that passing information of any parsed UNA was intended but has not been implemented yet.

fixed by #57


Add search

Can't find a company by search?

@3686 at the moment there is no possibility to search for companies or technologies but I like the idea and we definitely consider to implement a search.


Add Item class

Add item class
In this branch, I have done the following;
✅ Add the Item class in a separate .rb file
✅ Defined all Item class properties visible in UML diagram
✅ Fixed errors spotted by linters

Approved ✅
Hi @BenjaminSemah
This task is done, there is nothing else to say other than merge it!.


Update README.md

added "SET" since export doesn't work on Windows

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 60.779%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
733

Relevant Lines:
1206

💛  - Coveralls


Coalescing of sequential read requests

If I add 100 sequential read requests (e.g. for blocks 0-99 of a file), they appear to be coalesced and executed atomically by the NVME. That is, io_uring_wait_cqe_nr(1) will block until all 100 reads complete.
I see how this helps with throughput, but this can be a problem for an application that cares about latency and is ready to handle individual block reads as soon as they complete.
Is there a flag to prevent this coalescing and if not, would it make sense to add one?

This isn't something that io_uring controls, this is all done by the block layer. io_uring sends off separate requests, and the lower levels may merge them. If your device is nvme0n1, then you can turn that off completely with:
echo 2 > /sys/block/nvme0n1/queue/nomerges
In that same directory, there are also settings for max request size. So if you think that eg a 128K request is fine, but you don't want it larger than that, you could do:
echo 128 > /sys/block/nvme0n1/queue/max_sectors_kb

Thanks, didn't realize there already was a setting.

What do you think about adding an option to io_uring to control request merging, such as IOURING_SQE_NOMERGE used together with io_uring_prep_read()?
When passed to lower levels, this would override the system-wide /sys/block/nvmeX/queue/nomerges setting.
This would be useful to implement something like buffered reads with O_DIRECT-opened files from user space, to consume a file in small chunks while additional reads are pending. Currently, I do not think this is possible, as block merging would combine everything into a single request and execute it atomically.
Changing kernel-wide parameters is not always an option and may hurt performance for some applications while benefiting others. Having finer-grained control over merging would be preferable.

https://fosstodon.org/@axboe/112916146564606008

This is awesome. Would you like me to test this change? Will it work with ext4 or does that filesystem not rely on iomap?


Ruby 2.5.9 fail to compile on latest macOS 12.5

Steps to reproduce the behavior
bin/ruby-build 2.5.9 /opt/rubies/2.5.9

Expected vs. actual behavior
I expect ruby to compile.
However it fails to compile the ffi extension
Logs
compiling escape.c
closure.c:264:14: error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    result = ffi_prep_closure(pcl, cif, callback, (void *)self);
             ^
6 warnings and 1 error generated.

2.5 being EOL, it's very unlikely this will ever be fixed upstream. So the question is wether ruby-build should flip that compilation flag so that 2.5 (and older probably?) can still be installed.
cc @eregon

The upstream fix for that issue was done in https://github.com/ruby/fiddle/commit/7fede8a3096f3aeb582806e3c8f65b8d415d3cbf

You can build it with -Wno-error=implicit-function-declaration flags.

@hsbt yes I'm aware, the question is more wether there is desire to have this option applied by default to older rubies by ruby-build when compiling with clang or wether it's something for the wiki.

There was a recent discussion about -Wno-error=implicit-function-declaration in https://github.com/rbenv/ruby-build/issues/2001.
My feeling is it's generally unsafe to do that by default.
https://github.com/ruby/fiddle/commit/7fede8a3096f3aeb582806e3c8f65b8d415d3cbf mentions pkg-config, if pkg-config is installed does it avoid the problem? If so maybe one way to solve this is to add pkg-config in https://github.com/rbenv/ruby-build/wiki ?

Another alternative would be to pass RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC automatically as mentioned in https://github.com/ffi/ffi/issues/869#issuecomment-752123090, but probably only for recent enough libffi, and I'm not sure how to find that out.
In general if one wants to build old Rubies, I think there is a much higher chance for that to work on Linux or in Docker. Apple/macOS seems rather careless about compatibility and typically old software on latest macOS doesn't work.

if pkg-config is installed does it avoid the problem?

I don't think so because it's installed on my system:
$ which pkg-config
/opt/homebrew/bin/pkg-config

Is there a way to disable Fiddle? That bug seems pretty messy, an AFAIK Fiddle is very rarely used.
Also handling libffi correctly on M1 is unlikely to work well with an old Fiddle.

We can skip it with --with-out-ext=+,fiddle option.

In general ruby-build does not patch Ruby/deps and does not try to fix things the OS updates messed up, the only exception being openssl because that's hard to do manually.
I think what we need to progress here is: understand if the -Wno-error=implicit-function-declaration is fine or dangerous for this particular case:

are the arguments all typed the same as the signature, no implicit cast happening?
does Fiddle work with it on darwin-aarch64 and on darwin-amd64 with that ignoring-the-error approach? Could you (@casperisfine) e.g. build 2.5.9 from source and run make test-all on it, or run Fiddle's tests in another way?

-Wno-error=implicit-function-declaration is never ideal because it ignores all such cases and not just this one, and some may be benign but in general it depends, e.g. if the function uses varargs it's pass wrong values to the function.
That's what makes RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC more appealing to me, but the trade-off how to find out when passing that is appropriate?
Disabling fiddle would be easy to implement, but would cause issues if people actually use Fiddle.

Could you (@casperisfine) e.g. build 2.5.9 from source and run make test-all on it, or run Fiddle's tests in another way?

Ok, so it was quite tricky for many reasons. What I ended up doing:

Checking out ruby/fiddle v1.0.0, since AFAICT it's the version included with 2.5.9.
Replace test/fiddle/helper.rb with the one from latest fiddle.
rake test

$ rake test
Run options:

# Running tests:

[ 64/142] Fiddle::TestFunc#test_syscall_with_tainted_string#<Thread:0x0000000132105c88@/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_func.rb:17 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	1: from /Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_func.rb:19:in `block (2 levels) in test_syscall_with_tainted_string'
/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_func.rb:19:in `call': tainted parameter not allowed (SecurityError)
[ 84/142] Fiddle::TestHandle#test_safe_function_lookup#<Thread:0x0000000132126bb8@/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:20 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	1: from /Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:23:in `block in test_safe_function_lookup'
/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:23:in `[]': Insecure operation - [] (SecurityError)
[ 85/142] Fiddle::TestHandle#test_safe_handle_open#<Thread:0x000000013212ee80@/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:12 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	2: from /Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:14:in `block in test_safe_handle_open'
	1: from /Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:14:in `new'
/Users/byroot/src/github.com/ruby/fiddle/test/fiddle/test_handle.rb:14:in `initialize': Insecure operation - initialize (SecurityError)
Finished tests in 0.766470s, 185.2649 tests/s, 404.4516 assertions/s.
142 tests, 310 assertions, 0 failures, 0 errors, 3 skips

Mmh, so besides these $SAFE-related errors it seems to work fine.

Checking out ruby/fiddle v1.0.0, since AFAICT it's the version included with 2.5.9.

I think it's the typical issue of CRuby not increasing the version number while changing the Fiddle in-tree, so that might not be the same version, and explain those $SAFE-related errors.
@mislav & @hsbt: Any preference between the possibilities in https://github.com/rbenv/ruby-build/issues/2022#issuecomment-1208387615?

automatically RUBY_CFLAGS=-Wno-error=implicit-function-declaration for 2.5.9
automatically RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC for 2.5.9 on new macOS (or maybe all macOS if it works fine)
automatically patch CRuby 2.5.9 to fix the error? (i.e., apply https://github.com/ruby/fiddle/commit/7fede8a3096f3aeb582806e3c8f65b8d415d3cbf)
Maybe warn/print to manually pass such CFLAGS if on macOS as known to be problematic for some macOS versions?

I feel the patch is the safest/most reliable, but a bit hesitant as I don't think ruby-build should maintain a collection of patches for trying to build old Rubies on new OS.

There is also of course:

Do nothing and let people find this issue/other discussions and find out what to do with -Werror=implicit-function-declaration on macOS, which is an issue likely to happen with a broad range of software on macOS (since that werror is enabled default (apparently for -Wall) on recent macOS but not on Linux, IMHO weird/inconsistent for clang to do that, would be better if same default on Linux).

Yeah, all rubies and even extensions from that era have problems with various new errors introduced by clang in the last few years.
I totally understand that trying to fix this issue is a slippery slope for ruby-build, and might not be justified for EOL rubies, but I wonder if trying to disable most of the new default flags clang introduced in the last years for older rubies when compiling on MacOS could make sense as a fix that wouldn't require much maintenance.

@byroot Does Shopify still use Ruby 2.5? I'm negative to add the additional workaround to EOL Rubies. I'm afraid other people ask, "We still use Ruby 1.8/1.9(also other versions), Please add workaround". There is no reason to reject it if we add workaround for Ruby 2.5.
I want to add like RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC workaround to only wiki.

@hsbt, no our entire infra has been moved to 3.1, this is just me maintaining gems that are still compatible with Ruby 2.5.
I totally understand your stance on workarounds, I'll update the wiki when I'm back at work Monday.


Add support for binary packages

Hello!
This PR will add support for installing nodejs from binary packages from NodeSource.
Version checking is not done when installing from deb packages.

Revisiting this.

@brad, @axos88 , shall we update this? One thought though is I'd like to have this done as an option, where by default build from source is done. Only my opinion. @brad what do you think?

My preference would actually be the opposite (default to binary) because it's faster :neckbeard:

As long as there is an option to do either, I'm happy.
Are you on dialup or something? :runner: :dash:

Heh, I don't mean download speed. I mean waiting for it to compile. It seems needless to me unless you compile with special flags to get huge optimization speed boosts.

Compile speed is much more relevant for me, since I was installing it on a beaglebone. It took about 5hrs to compile...

Who's going to update the pr? ;-)

I'll rebase it.

Handle with care, I have not tested the changes.

Travis likes it. I'm testing now as well.
Fyi, to test use the Dockerfile.

Comments above, almost there!!!

Will get to this soon

:turtle: :-P

@brad mind taking this over?

@ninthnails Feel like diving into a drifting PR?


Ambiguous reference to member 'bind'

Error Line
`
.bind(address: SocketAddress(ipAddress: serverAddress, port: Int(serverPort)))
`
system: macOS Catalina 10.15
Xcode Version 11.1 (11A1027)

Fixed. Thank you.


How can I specify custom headers? init(asset: AVAsset) not implemented

how can I use AVAsset with this control, I have to use AVAsset in order to add header to my URL
advice please.

You can avoid using init(asset: AVAsset) if you just want to add custom headers. What you can do instead is to change ResourceLoaderDelegate's startDataRequest(with:) method and provide the necessary headers to the dataTask.


Per-page & inline comments.

Let's open opentracing.io up for direct feedback as early as possible. Perhaps something like https://tsi.github.io/inlineDisqussions/ is a good start.
Thoughts?

I like the idea but would also like to wait a short while until OT docs are in a place where we are happy enough to want feedback... there are some significant semantic changes brewing in the APIs and it could be a lot of wasted effort to make and respond to comments until that stuff has settled down. (Hopefully soon)
If the comments have low signal:noise and only serve to distract from the content I would also reserve the right to renege on this... but generally happy to find out and adjust only if necessary.

OT docs?

Aaah. Open Tracing Docs :)

Sorry, yes :)

Agree that we should wait for quieter times.
Re the inline comments plugin, it does not keep up with changes in the document structure, the way google docs do, so it's tricky to use to actually propose & discuss changes to the docs. People can always copy a paragraph into a github issue, which will be better for discussion & change management.


"Run helper at login" grayed out

I don't want to disable SIP, and would like to remove the helper...there seems to be no way to do this?
https://imgur.com/qKz67i0

Delete /System/Library/Scripting Additions/SIMBL.osax
Right now this isn't a totally finished project so not everything works or is enabled.


Rust scripts and notebooks

Aim: Allow snakemake to execute Rust "scripts" in the same way it can execute Python and R scripts. Additionally, allow the use of Rust in notebooks.
A single Rust source file is given to the script directive, and if necessary, Cargo.toml-like configuration embedded in the script, as in rust-script.
rust-script somewhat encapsulates the thesis of this feature.
The use of Rust in notebooks is probably best facilitated by evcxr.
Usage
A minimal example of how I envisage this working is the following
Snakefile
rule snakers:
    output:
        "file.txt",
    params:
        fave_lang="rust",
    log:
        "snakers.log"
    script:
        "scripts/snake.rs"

scripts/snake.rs
use std::fs::File;
use std::io::Write;

fn main() {
    let outpath = snakemake.output[0];
    let fave_lang = match snakemake.params.get("fave_lang") {
        Some(s) => s,
        None => "no language",
    };
    let mut outfile = File::open(outpath).expect("Couldn't create outfile");
    write!(&mut outfile, "My favourite language is {}", fave_lang).expect("write fail");
}

In terms of how this will be implemented, @johanneskoester has suggested using rust-script itself to do this. I have one reservation about this, which is that it adds an external dependency - although we will be relying on either cargo or rustc anyway.

Sorry, will leave this open until we have notebooks too


Streamline Slab types

Currently, slab models are used for land (in some cases), sea ice, and ocean. Land can also be a bucket model, and ocean temperatures can also be prescribed. In the future, there will be different sea ice models as well.

use multiple dispatch for obtaining T, energy, etc correctly from different models, as they are stored differently in different models
make a more useful slab_utils file and separate ocean, land, and ice directories?

Basically, clean up duplicate code between slab models and make use of dispatch over flags for different model types.

To be addressed as part of #212


[Improve][Manager] Add a common implementation for HTTP calls

Description
Add a common implementation for HTTP calls, that could avoid each Service using different ways.
InLong Component
InLong Manager
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I would like to work on this issue

Class org.apache.inlong.manager.common.util.HttpUtils is already a common implementation for HTTP calls. This issue may be duplicated.


Horizontal scrollbar if the table size exceeds the screen width.

react-pagify uses a horizontal scrollbar when the size of the widget is larger than the screen width.

A similar horizontal scrollbar is required for the main table when the table size exceeds the screen width. The screenshot below shows how the table appears cut off with no indication to scroll to the right.

If I'm not mistaken, Reactabular is in general strongly non-opinionated with regard to styling; hence what you ask is not provided.
Do you have a jsbin/codepen to show the behaviour?
I would suggest to try adding overflow-x:auto; to your Reactable's parent container 's CSS.
E.g.
<div id='mytable'>
  <Table.Provider ...>
    ...
  </Table.Provider>
</div>

div#mytable{
  overflow-x: auto; // alternatively use "scroll" instead of auto
}

Thanks @git-toni. overflow-x: auto to the container is what I needed. It worked.


Add !!/idiom

Technically it's just !!/idiom add, because I'm not sure how to do !!/idiom search w/o getting ratelimited.

Merging this should also fix #34, I hope


Plugin is failing when using .yaml swagger specs

Currently the plugin supports only .json swagger specs.
This is because the CodegenPlugin.kt#L128 class is trying to read the version from the specs, assuming the spec file is a .json file (which is not always the case).
We should extend the plugin to work with both yaml and json files.

Closed by #23


link to the main collective from a subcollective

User story
As a user viewing a collective with its sub-collectives I want to have links between the main and the sub-collective in both directions, so that I don't get lost.
Best solution for this problem
Sub-collectives have a link back to the main collective and potentially even to the other sub-collectives, so that users can easily move around to see the different causes within our initiative they can support.
MVP
A link from the sub-collective to the main collective.

That's legit, we'll need an input from @opencollective/design before implementation.
Also @znarf I think that you had concerns about using the ParentCollectiveId for that, let me know if you want to chat about a better technical solution before we move forward with this issue.

Note: this will be easier now that https://github.com/opencollective/opencollective/issues/2633 is done, it won't require any API changes. The only thing we need to move forward is a design proposal acknowledging that a subcollective can have multiple parents.

Link to the Figma file @Betree:
https://www.figma.com/file/GF1gQ7fWNfaOAFNwuLeAUl/OC.com-Hot-Fixes?node-id=1081%3A12923


docs updates

Coverage remained the same at 81.746% when pulling 593bdf3ba558c993b4f155801db08b24b9cb8b19 on mayn-docs into d8782f8d173bd5f930efdaffc6801c1e6deb5dd0 on master.


Edit

👷 Deploy Preview for adoring-leavitt-e31a11 processing.

Name
Link

🔨 Latest commit
8e3329c6a31a2f7e0615805dead65f81ecf7e386

🔍 Latest deploy log
https://app.netlify.com/sites/adoring-leavitt-e31a11/deploys/62876a80ce7e2100086b0495


BZ 1278756 - Isn't possible to move group of elements from container

@krisv 6.3.x PR

Merged http://github.com/droolsjbpm/jbpm-designer/commit/49da2556d


How to connect D415 with matlab

| Camera Model                       | D400  |
| Firmware Version                   | don‘t konw |
| Operating System & Version |   Win10|
| Kernel Version (Linux Only)    |        |
| SDK Version                            |  2.0 |
I tried to call D415 through the matlab image collection box,  the result failed, is my operation problem or matlab call has not yet developed？

[Realsense Customer Engineering Team Comment]
hi @XMYFYM,
yes, Matlab still on the way.

Is the SR300 the same?

Any release date for matlab wrapper?

We now provide matlab bindings for the Windows SDK.

[Realsense Customer Engineering Team Comment]
Hi @XMYFYM,
Did you try the matlab wrapper? Still need any support for this topic?

I haven't tried it yet. Do you mean that D415 can connect to matlab now?

[Realsense Customer Engineering Team Comment]
Hi @XMYFYM,
Yes, please check below link.
https://github.com/IntelRealSense/librealsense/tree/development/wrappers/matlab

[Realsense Customer Engineering Team Comment]
Hi @XMYFYM,
any update?


v1 react 16 compat

Fixes #75
Note: Should be based on tag:1.7.2.  Need a branch synced to this tag to make a proper PR.

Up?


Window without title bar and exit button

In the old version you yourself can decide if you want to have a title bar and a X button for closing the window. in the 5.0 version this is not optional anymore. Can these please be a optional future.
PS the new version looks a lot cleaner.

This is now a theming option for the windows. See:
https://pygame-gui.readthedocs.io/en/latest/theme_reference/theme_window.html
Basically you want to set
"enable_title_bar": "0"
in the "misc" block of your "window" theming block.
On Thu, Mar 26, 2020 at 3:43 PM rvhu-cl<EMAIL_ADDRESS>wrote:

In the old version you yourself can decide if you want to have a title bar
and a X button for closing the window. in the 5.0 version this is not
optional anymore. Can these please be a optional future.
PS the new version looks a lot cleaner.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MyreMylar/pygame_gui/issues/87, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGDGGWPL3NSBBLO24UOKSTRJNZ27ANCNFSM4LUKQE5Q
.

I have tried it but still there is a titlebar and exit button
this is my css
"alarm_window":
{
    "colours":
    {
        "dark_bg": "#000000,#000000,180",
        "normal_border": "#ffB2A5",
        "normal_bg": "#000000"
    },
    "misc":
    {
        "enable_title_bar": "0",
    "enable_close_button": "0",
    "title_bar_height": "0",
    "shape": "rounded_rectangle",
        "border_width": "0",
        "shadow_width": "1"
    }
},

"alarm_window#title_bar":
{
    "colours":
    {
        "dark_bg": "#000000,#000000,180",
        "normal_border": "#ffB2A5",
        "normal_bg": "#000000"
    },
    "misc":
    {
        "enable_title_bar": "0",
    "enable_close_button": "0",
    "title_bar_height": "0",
    "shape": "rounded_rectangle",
        "border_width": "0",
        "shadow_width": "1"
    }
},

and my code
class alarmWindow(UIWindow):
def init(self, rect, ui_manager):
    #element_ids = ['alarm_window']

    #super().__init__(rect, ui_manager, element_ids=element_ids)
    super().__init__(rect, ui_manager,
                     window_display_title='Alarm window',
                     object_id='alarm_window',
                     resizable=True)

result:
Still a title bar and a exit button

Ah, I think I figured out the bug. Right now the title bar elimination code only kicks in when you edit the theme live rather than on startup.
I'll patch it. in 0.5.1.

OK this should be resolved in 0.5.1 - which is now released on PyPI.

Test it with 0.5.1 perfect it works. many thanks. Keep up the good work.


Fix documentation for nested routing

You need to use component={xxx} syntax, otherwise match will be undefined.

Nope, there is a pending of mine from yesterday fixing this incorrect behaviour: #6951

Yeah, let's get #6951 in. The docs should be correct.

Let's get this in then.

My fault, I prematurely updated those docs without updating the Topic and Topics components. Will do that today.


[WIP] Enable logging for all components, remove print statements

This change creates a logger under the single name 'yarn_api_client'.
It is made available to components via the accessor method: apiLogger().
The default logging level is INFO and the level, as well as the
log and date formats can be modified via the environment variables
YARN_API_CLIENT_LOG_LEVEL, YARN_API_CLIENT_LOG_FORMAT, and
YARN_API_CLIENT_DATE_FORMAT, respectively.
Since the urllib3.connectionpool module frequently logs things under INFO

which should be under DEBUG - I've set its log level to WARNING and
allowed it too to be adjusted via an environment variable (URLLIB_LOG_LEVEL).

The previous INFO log statement has been changed to DEBUG and I've
added timing results for the request. In addition, the previous print
statements have been replaced with calls to apiLogger().warning().
Fixes: #73

I have next notes in mind

global is somewhat antipattern, and usually direct road to undesired behaviour. I see the point in trying to have only one single logger instantiated, but I'm not sure if its the best way to implement it. I would suggest one way to instantiate it and simply import it to each working module.
Environment variables might be good, but its typically discouraged for usage of loggers. I might assume the only real practical usage would be for main.py for essentially CLI (but even there it can be implemented via verbosity level argument?). In the rest python community typically overrides loglevels, formats, and date formats using native python logging handlers.
Having just one-named logger might help in our current situation, but might be not flexible enough. Instead, I suggest to use __name__ based loggers which are essentially nested like yarn_api_client.application_master. Why? It allows flexible controls for end user to not just change nested levels logger handling, but also has full-pledged inheritence of controls. So, if you want to control all loggers, you can change yarn_api_client, it will automatically apply it to nested levels too.
Might be interesting to read -https://fangpenlin.com/posts/2012/08/26/good-logging-practice-in-python/

I have slightly adjusted version with mentioned stuff. Let me know what you think.
https://github.com/dimon222/hadoop-yarn-api-python-client/commit/c1cdcf39e9c6a3e6d9b4b3c598ed88a365dff445

Thank you for the excellent feedback!
What I delivered was an evolution of odd behaviors I encountered - probably due to do the unnecessary.  I agree with your suggestions and your branch looks good.  Using a logger per module makes sense and I had recently discovered the hierarchical nature - similar to log4j.
Since the logger(s) can be accessed by "hosted applications", they can adjust the formatting also as you suggest, so I would agree we can drop the env-based approach.
Thanks.  I'll revisit this first thing tomorrow and will update the title to WIP now.

Hmm - looks like because there are handlers set for every logger access, we now get 5 entries for each log statement (this is produced using the submit code attached to #75):
[I 2020-01-14 06:56:27.551 yarn_api_client.base] Getting resource manager endpoint from config: /etc/hadoop/conf/yarn-site.xml
[I 2020-01-14 06:56:27.551 yarn_api_client.base] Getting resource manager endpoint from config: /etc/hadoop/conf/yarn-site.xml
[I 2020-01-14 06:56:27.551 yarn_api_client.base] Getting resource manager endpoint from config: /etc/hadoop/conf/yarn-site.xml
[I 2020-01-14 06:56:27.551 yarn_api_client.base] Getting resource manager endpoint from config: /etc/hadoop/conf/yarn-site.xml
[I 2020-01-14 06:56:27.551 yarn_api_client.base] Getting resource manager endpoint from config: /etc/hadoop/conf/yarn-site.xml
Getting application id...
[D 2020-01-14 06:56:27.581 yarn_api_client.base] 'POST' request against endpoint 'http://yarn-eg-node-1.fyre.ibm.com:8088/ws/v1/cluster/apps/new-application' took 9.849 ms
[D 2020-01-14 06:56:27.581 yarn_api_client.base] 'POST' request against endpoint 'http://yarn-eg-node-1.fyre.ibm.com:8088/ws/v1/cluster/apps/new-application' took 9.849 ms
[D 2020-01-14 06:56:27.581 yarn_api_client.base] 'POST' request against endpoint 'http://yarn-eg-node-1.fyre.ibm.com:8088/ws/v1/cluster/apps/new-application' took 9.849 ms
[D 2020-01-14 06:56:27.581 yarn_api_client.base] 'POST' request against endpoint 'http://yarn-eg-node-1.fyre.ibm.com:8088/ws/v1/cluster/apps/new-application' took 9.849 ms
[D 2020-01-14 06:56:27.581 yarn_api_client.base] 'POST' request against endpoint 'http://yarn-eg-node-1.fyre.ibm.com:8088/ws/v1/cluster/apps/new-application' took 9.849 ms

I think we need to check if there are handlers defined and, if not, only create one then.  I'll give this a shot.

@dimon222 - I've experimented with enabling formatting from the calling application and have greatly simplified the logger acquisition logic.  The previous attempt had a couple issues.

Multiple handlers were getting created (one for each module) and associated with the same logger (because __name__ was always 'yarn_api_client.base').
Because __name__ was always the same value, it defeated the purpose and flexibility of the hierarchical nature of loggers.

If I add a method similar to the following to the hosting applications that use the api, I get the desired formatting (relative to the application)...
def configure_yarn_api_client_logger():
    logger = logging.getLogger("yarn_api_client")
    logger.setLevel(logging.INFO)
    if not logger.handlers:
        my_app_log_format = "[%(levelname)1.1s %(asctime)s.%(msecs).03d %(name)s] %(message)s"
        my_app_date_format = "%Y-%m-%d %H:%M:%S"
        _log_handler = logging.StreamHandler()
        _log_handler.setFormatter(logging.Formatter(fmt=my_app_log_format, datefmt=my_app_date_format))
        logger.addHandler(_log_handler)
        logger.propagate = False

which then produces the formatting the developer wants for their application.
P.S., I've added you as a co-author on this PR.  If you're uncomfortable with that, please let me know and I'll amend the PR.


Individual styles, key bindings for multiple trays

This is a collection of questions/feature requests; but they all involve trays. I wasn't certain whether to open separate issues.

Is it possible to set a key binding to toggle an auto-hidden tray instead of moving the mouse cursor to the edge? Currently I have a key binding to bring up a tray with a task list (see screenshot), but it is also activated when I move the mouse to the top edge of the screen. I'd just like it to be toggled with the key binding instead.

Is it possible to set colour/font/size/transparency options for each tray, rather than just the global TrayStyle?

Hi, the first one is already implemented
Here is an example:
<Key mask="4" key="t">showtray</Key>
For the second one, I do not think this is possible currently, but i understand why you want to, especially if you have a Tray that is more like a dock application.

I mentioned the individual tray and menu styles in https://github.com/joewing/jwm/issues/247
Some of that was also to implement styles as properties for a variety of reasons, but from the user perspective the biggest one is the ability to have unique trays and menus for varied actions.

Support for multiple tray styles is something I’ve been considering (see issue #39).
Currently, there isn’t a way to have a tray key binding without also having the mouse show the tray.  I could see that being useful though.

Currently, there isn’t a way to have a tray key binding without also
having the mouse show the tray.  I could see that being useful though.

Indeed, this is exactly what I was thinking. Sadly, "showtray" only
works if the cursor is in same area as the tray itself (which I can see
would be useful in some cases, but just not the one I need).


Conflict with Zip dependency for Carthage users

Though the Zip dependency has been somewhat handled by making it explicit in the Cartfile of the repo here, there is still a conflict between the Zip library that is checked out as a dependency and the one in the Example/Pods directory. Is it possible to remove the Zip directory there altogether? I don't use CocoaPods so I may not be fully understanding part of this, but isn't it something that should be checked out as a dependency and not committed directly to the library repo here?

Hi Jake!
Sorry for the inconvenience.
you are right about it being a dependency that needs to be installed later on, however, some projects, like ours for example, decide to track the pods installation so that anyone that checks it out is able to build out of the box without needing to install cocoapods.
I have managed to build it with carthage before without any issues.
can you give me the exact steps that you take so i can reproduce the issue ?

Hey @mostafaberg this is how we have our Cartfile set up:
github "delba/Permission" ~> 2.0
github "NordicSemiconductor/IOS-Pods-DFU-Library" ~> 2.1
github "Alamofire/Alamofire" ~> 4.0
github "delba/Log" ~> 1.0

When I build our Carthage dependencies with carthage update --platform iOS, everything works well without any issue:
*** Fetching Alamofire
*** Fetching IOS-Pods-DFU-Library
*** Fetching Permission
*** Fetching Zip
*** Checking out Alamofire at "4.1.0"
*** Checking out Log at "v1.0"
*** Checking out Permission at "v2.0"
*** Checking out Zip at "0.6.0"
*** Checking out IOS-Pods-DFU-Library at "2.1.6"
*** xcodebuild output can be found in /var/folders/8s/04msnzh10gq4t4_7phkdhr100000gn/T/carthage-xcodebuild.GE8A4P.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Log iOS" in Log.xcodeproj
*** Building scheme "Permission" in Permission.xcodeproj
*** Building scheme "Zip" in Zip.xcodeproj
*** Building scheme "iOSDFULibrary" in iOSDFULibrary.xcworkspace

However, when I go to build our project, I get an issue because of a "Redefinition of module 'minizip'"

Is the Carthage directory inside the project's root?

Yup, our current directory structure looks like this:

Yeah I guessed that was the issue, problem is you're now importing files that are not intended to be in there, you need to just use the contents of carthage's build directory and not the checkouts directory , you only need the framework files in the build dir in your project
Do you have a reason that requires having a carthage inside the project ?

@mostafaberg It's definitely possible to delete the Checkouts directory, as the built frameworks are all we need to build the project, which is why this isn't a fatal issue in any respect (this is what we've been doing). But since the Checkouts directory will be generated every time the Carthage dependencies are rebuilt with carthage update --platform iOS, it seems like unideal behavior to have to manually delete the Checkouts directory in order for this Framework to work. 😅

I wanted to bring the issue up though as it seems like unideal behavior on the side of this Framework, when other Carthage Frameworks usually don't require you to delete the Checkouts folder, though perhaps we just want to mark this as a wontfix issue depending on if it is necessary to have the Zip files committed to the repo in the Pods directory or if there is a better work-around available there (I don't know enough about CocoaPods to offer any suggestions there 😓).

Removing the zip dependency in cocoa pods is not an option for us as then the user will have to install cocoapods to test the project.
Is the Carthage checkouts directory added to the xcode project ? Or are they only in the file system?

@mostafaberg That makes sense as to why you need it included for that purpose then, hmm... The Checkouts directory is not added to the XCode project as far as I understand and is only in the file system, which is why its perplexing me a bit that the conflict arrises in the first place, perhaps I'm missing something here?

I agree that's weird indeed, maybe your search paths have some configuration that causes this ?
I'll actually try to reproduce this with Carthage within the project and see what happens and will update you

Ok issue reproduces here !, looking into a fix right now

Unfortunately I can't see a quick fix for this right now, the easiest thing i can suggest until we do a proper fix is to add a build step in your project that simply deletes the file Pods/Zip/Zip/minizip/module.modulemap before building or having the carthage build outside the project, in the same project root should be fine i think ?

Is this still being considered?

Hi @AlexDM0, Not really as this is a very low priority issue, we have concluded for now that it's best to build using carthage in the project's root or outside the project rot and manually importing the required files. will close this issue to avoid confusion, if we have a better solution in the future we will surely mention it in the change logs.
if you have a related issue or other questions just open a new issue and we can handle it from there

While my lib compiles using the run script
# required to build framework in xcode
rm -f ./Carthage/Checkouts/Zip/Zip/minizip/module.modulemap

in the build phase, I also package my lib for use in carthage with other apps.
When I include this in another app, I need to include the minizip dependency manually and I need to add this line
# required to build framework when used with carthage externally
rm -f ./Zip/Zip/minizip/module.modulemap

This removes the redifinition notice but I get another issue that the Minizip is not available. I added minizip to my carthage list but it again fails saying could not build objective C module minizip.
To be clear, this only happens when ios pods DFU lib is part of a lib that is included by carthage in another app.
Any ideas?

@AlexDM0 I don't know if this is helpful to you, but this is what we do.
Add the IOS-Pods-DFU-Library to your Cartfile regularly:
github "NordicSemiconductor/IOS-Pods-DFU-Library" ~> 3.0
To build dependencies:
carthage update --platform iOS
To cleanup the Zip conflict:
rm -rf Carthage/Checkouts/IOS-Pods-DFU-Library/Example/Pods/
We use Fastlane, so we just have a lane set up for building dependencies, which looks like this:
  desc "Update dependencies"
  lane :dependencies do
      carthage(command: "update", use_binaries: false, platform: "iOS") # Builds all dependencies
      sh "bash ./dfulibcleanup" # Delete IOS-Pods-DFU-Library/Example/Pods directory
  end

@AlexDM0 please open a new issue, this is not the same bug

created #76

@jakerockland , @AlexDM0  Issue is now resolved in version 3.0.5 !
Remember to do the following:
1-Remove your build step / fastlane comand that did the cleanup in your project
2-Remove the Zip directory in your Checkouts directory to avoid future conflicts !

@mostafaberg This worked for me, thank you!

Issue resolved in 3.0.6 by making the Zip framework scheme shared. now Carthage picks it up and builds both iOSDFULibrary and Zip frameworks!
give it a shot and let me know if you experience any more issues!

Hi! I can run the App, but can't get the Archive work. I always get:

strip -S Carthage/Build/iOS/Zip.framework.dSYM/Contents/Resources/DWARF/Zip -o Zip.framework.dSYM/Contents/Resources/DWARF/Zip
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: string table not at the end of the file (can't be processed) in file: Carthage/Build/iOS/Zip.framework.dSYM/Contents/Resources/DWARF/Zip (for architecture i386)
error: strip Carthage/Build/iOS/Zip.framework.dSYM/Contents/Resources/DWARF/Zip: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip exited with 1


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In 256a020, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2698 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in 5c8c755.


documentation Tip? - don't use AuthenticationContext for v2 endpoints

Hi guys,
really small thing, but can't help thinking the documentation could give a pointer regarding the endpoints "v2.0". There could be just a little tip to point people in the direction of ConfidentialClientApplication - I spent a fair while scratching my head trying to get a client credentials token using AuthenticationContext;
presumably AuthenticationContext shouldn't be used with v2 endpoints because it doesn't build matching endpoints
AuthenticationContext;
POST https://login.microsoftonline.com/{tenant}/oauth2/token HTTP/1.1
whereas the endpoints described in the documentation state that the endpoints should be;
POST https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token HTTP/1.1

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e50110dd-3c4d-6e42-8f71-332062279f30
Version Independent ID: 0ae0df0d-9fbb-861a-a50a-9e2f3792d6b1
Content: OAuth 2.0 and OpenID Connect protocols on Microsoft identity platform - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-v2-protocols.md
Service: active-directory
Sub-service: develop
GitHub Login: @hpsin
Microsoft Alias: hirsin

@AlexSapple
Thanks for your feedback! We will investigate and update as appropriate.

@AlexSapple -
Thanks again for bringing this to our attention. We have updated the Doc and it will be live once its merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hi @AlexSapple - AuthenticationContext is part of "ADAL", our legacy SDK that uses the "v1" endpoint.  MSAL uses v2.  So it's not unexpected that your SDK uses the older v1 endpoint.  Would it have been helpful to have docs indicating on this page the library you should be using if you want to use the v2 endpoint?

Thanks @MonikaReddy-MSFT @hpsin
appreciate the quick feedback! - yes, it's just the sort of thing that can save an hour of dev time figuring out the library that ought to be used for v1 or v2 enpoints.
many thanks guys! all the best.


Using nanopolish after barcoded samples demultiplexing

Hi,
I have six barcoded samples multiplexed in a sequence run on Minion.
I used porechop to demultiplex my six samples and now I have six .fastq files (one file per sample).
I want to index my reads before calling SNPs using nanopolish. Is it ok if I use fastq file for one (sample_01) while feeding the path to all of my fast5 files. These fast5 files are all fast5 files generated during the run (i.e. fast5 for the six samples are located in one directory)
nanopolish index -d /path/to/fast5/  sample_01.fa
In another word, I have six fastq files for six samples, and one directory containing all fast5 files generated. How can I use these files to index my reads
Thanks

Hi Jared,
Thanks for the reply.
Do I have to build the index for the six samples?
and if so how can I save the outputs ?
My samples id are BC01 to BC06
for file in BC0*.fastq; do nanopolish index -d /path/to/fast5/ $file; done

I indexed my reads as above, then I used variants to call snps. The process was completed but there was an error message. The fastq file has 103328 reads but variant calling algorithm processed only 57246.
`$ nanopolish variants -p 2 -w chr9:84273123-84368634  --reads BC01.fastq -b BC01_sorted.bam  --genome NCBI.GRCh38.fa -o BC01.polish.vcf`
[post-run summary] total reads: 57246, unparseable: 0, qc fail: 6, could not calibrate: 19, no alignment: 1500, bad fast5: 0

Thanks
Tarek

Any thougths @jts

It will only use reads that are aligned to the region of interest (chr9:84273123-84368634), so that likely accounts for the remaining reads.

Hi,
Some reads might have multiple alignments so you might be overcounting. Also nanopolish might be filtering out some reads.
The --snps option was recently reenabled. Try updating to the latest code.
Jared

On Aug 23, 2018, at 2:24 PM, herrroaa<EMAIL_ADDRESS>wrote:
I checked this, and there are 62720 reads within this region. But nanopolish variants processed 57378 reads only. Do you have any idea why it did not process the
$ samtools view BC01_bwa_sorted.bam  chr9:84273123-84368634 | wc -l
62720
I have another question as well. I wanted to get vcf file with snps only and with no indels. For this I used --snps argument
``$ nanopolish variants -p 2 -w chr9:84273123-84368634 --snps --reads BC01.fastq -b BC01_bwa_sorted.bam --genome NCBI.GRCh38.fa -o BC01.bwa.polish.onlysnps.vcf
However the resulted vcf file was similar to the only generated without --snps aurgment
$ cat BC01.bwa.polish.onlysnps.vcf | head -n 20
##fileformat=VCFv4.2
##nanopolish_window=chr9:84273123-84368634
##INFO=<ID=TotalReads,Number=1,Type=Integer,Description="The number of event-space reads used to call the variant">
##INFO=<ID=SupportFraction,Number=1,Type=Float,Description="The fraction of event-space reads that support the variant">
##INFO=<ID=BaseCalledReadsWithVariant,Number=1,Type=Integer,Description="The number of base-space reads that support the variant">
##INFO=<ID=BaseCalledFraction,Number=1,Type=Float,Description="The fraction of base-space reads that support the variant">
##INFO=<ID=AlleleCount,Number=1,Type=Integer,Description="The inferred number of copies of the allele">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	sample
chr9	84274234	.	GT	G	31.2	PASS	BaseCalledReadsWithVariant=1346;BaseCalledFraction=0.233397;TotalReads=5554;AlleleCount=1;SupportFraction=0.418452	GT	0/1
chr9	84274571	.	GT	G	199.2	PASS	BaseCalledReadsWithVariant=1978;BaseCalledFraction=0.342452;TotalReads=5563;AlleleCount=1;SupportFraction=0.37853	GT	0/1
chr9	84274584	.	GA	G	388.7	PASS	BaseCalledReadsWithVariant=1425;BaseCalledFraction=0.246796;TotalReads=5561;AlleleCount=1;SupportFraction=0.446105	GT	0/1
chr9	84275074	.	GA	G	83.8	PASS	BaseCalledReadsWithVariant=1371;BaseCalledFraction=0.23765;TotalReads=5556;AlleleCount=1;SupportFraction=0.46579	GT	0/1
chr9	84275709	.	TG	T	185.6	PASS	BaseCalledReadsWithVariant=1505;BaseCalledFraction=0.26325;TotalReads=5517;AlleleCount=1;SupportFraction=0.380448	GT	0/1
chr9	84275797	.	AC	A	37.7	PASS	BaseCalledReadsWithVariant=1703;BaseCalledFraction=0.297884;TotalReads=5517;AlleleCount=1;SupportFraction=0.408038	GT	0/1
chr9	84276158	.	C	T	453.6	PASS	BaseCalledReadsWithVariant=1497;BaseCalledFraction=0.262218;TotalReads=5502;AlleleCount=1;SupportFraction=0.264834	GT	0/1
chr9	84276468	.	AC	A	42.5	PASS	BaseCalledReadsWithVariant=1663;BaseCalledFraction=0.292576;TotalReads=5479;AlleleCount=1;SupportFraction=0.344277	GT	0/1
chr9	84276582	.	TG	T	580.2	PASS	BaseCalledReadsWithVariant=1289;BaseCalledFraction=0.227257;TotalReads=5472;AlleleCount=1;SupportFraction=0.481912	GT	0/1
chr9	84277004	.	CT	C	375.8	PASS	BaseCalledReadsWithVariant=1894;BaseCalledFraction=0.337071;TotalReads=5431;AlleleCount=1;SupportFraction=0.438558	GT	0/1
chr9	84278763	.	G	A	5765.2	PASS	BaseCalledReadsWithVariant=1324;BaseCalledFraction=0.238301;TotalReads=5380;AlleleCount=1;SupportFraction=0.406403	GT	0/1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
I am using nanopolish version 0.10.1 which I installed through conda install -c bioconda nanopolish
Is this the most updated version ?
I tried to download it using but I had a problem.
g```
it clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
make

Tarek

Hi,
These values are extracted from the bam file at chr9:84,307,083. It is clear that this should be called as a heterozygous SNP GA as The A-allele is present in 2881 reads. However nanopolish variants did not call this SNP.
nanopolish variants -p 2 -w chr9:84273123-84368634  --reads BC01.fastq -b BC01_bwa_sorted.bam  --genome NCBI.GRCh38.fa -o BC01.bwa.polish.vcf
Type| Base|Count of reads|% of Total | MeanQuality
(match) | G | 3982 | 56.0 | 14.3
(mismatch) | A | 2881 | 40.5 | 10.6
(mismatch) | C | 20 | 0.3 | 6.5
(mismatch) | T | 79 | 1.1 | 5.7
(deletion) |   | 145 | 2.0 | ?
Total |   | 7107 | 100 | 12.7

Hi,
Sorry but I'm on vacation right now, I'll try to help you more when I'm back. In the meantime you can try the methylation-aware option in case this is a CpG site: -q cpg
Jared

On Aug 23, 2018, at 8:27 PM, herrroaa<EMAIL_ADDRESS>wrote:
Hi,
These values are extracted from the bam file at chr9:84,307,083. It is clear that this should be called as a heterozygous SNP GA as The A-allele is present in 2881 reads. However nanopolish variants did not call this SNP.
nanopolish variants -p 2 -w chr9:84273123-84368634 --reads BC01.fastq -b BC01_bwa_sorted.bam --genome NCBI.GRCh38.fa -o BC01.bwa.polish.vcf
Type| Base|Count of reads|% of Total | MeanQuality
(match) | G | 3982 | 56.0 | 14.3
(mismatch) | A | 2881 | 40.5 | 10.6
(mismatch) | C | 20 | 0.3 | 6.5
(mismatch) | T | 79 | 1.1 | 5.7
(deletion) |   | 145 | 2.0 | ?
Total |   | 7107 | 100 | 12.7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
Thanks for your reply, and sorry for bothering you.
Tarek


GEOPY-1057: Change enforce_active to False

GEOPY-1057 - Bad handling of topo from joint drivers

@andrewg-mira @sebhmg  Weird pylint import-error here. Not sure if we have to tackle this here, but I can't reproduce it locally.


Author 404

Not sure what's happening here:
https://lionsroar.ghst.pro/the-buddha-taught-one-thing-only/
Author is listed as Sharon Salzberg, but when you click on her profile URL at the bottom of the post: https://lionsroar.ghst.pro/author/sharon-salzberg/ you get a 404
Within Ghost admin, the post shows as being authored by another user entirely:

Editing the content and saving/updating the post does not change anything.
This post was imported, so I'm not sure if it might be an import error. I have the import file if anyone wants it - not going to post it here because it has private user email addresses in it.
Wouldn't normally say this was a blocker, but given how much the importer is going to be used it seems like it might be one?
Ghost 1.0-rc1

This sounds like it may be a duplicate of https://github.com/TryGhost/Ghost/issues/8645? @kirrg001 is looking into that for 1.0 - it's already been identified as a blocker, doesn't look like the tag was added though.
I'll double check the author bug in Ghost-Admin - that's a new detail.

This sounds like it may be a duplicate of #8645

Yes, duplicate.

Within Ghost admin, the post shows as being authored by another user entirely:

I guess that might be caused by https://github.com/TryGhost/Ghost/pull/8693.

This also relates to https://github.com/TryGhost/Ghost/issues/8652, which suggests adding a new category to the team view e.g. locked users (next to suspended and active users). All three categories have a different meaning. Suspended/Inactive users can't do anything anymore. Locked users are still active users, but they have to reset their password to be able to access the admin panel again.


Error while starting AMP NPM package

<EMAIL_ADDRESS>start C:\Users\amanpreet.oberoi\ampbench
node ampbench_main.js

module.js:442
throw err;
^
Error: Cannot find module './amp-story/linter'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\amanpreet.oberoi\ampbench\ampbench_handlers.
js:23:16)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node ampbench_main.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR!      C:\Users\amanpreet.oberoi\AppData\Roaming\npm-cache_logs\2018-10-1
6T09_46_17_221Z-debug.log
C:\Users\amanpreet.oberoi\ampbench>

This may be due to windows. I can't replicate this problem (e.g. via https://gitpod.io/#https://github.com/ampproject/ampbench).
Can you try installing amp-story/linter manually:
$ cd amp-story/linter
$ npm install
$ cd ../..
$ npm start

(If this works can try to come up with a better fix.)

Still no resolution
C:\ampbench\amp-story\linter>npm install

<EMAIL_ADDRESS>prepare C:\ampbench\amp-story\linter
$npm_execpath run update-data && tsc -p tsconfig.json --sourceMap -d --module
commonjs

'$npm_execpath' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>prepare: $npm_execpath run update-data && tsc - p tsconfig.json --sourceMap -d --module commonjs
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

Looks like some of the recent changes are not compatible with Windows. I will attempt to make the scripts Windows compatible but for the moment your best bet might to use a Unix virtual machine, or hand translate the scripts from Unix to Windows style.
(e.g. replace $npm_execpath with %npm_execpath% or just npm.)

Closing this. We don't have a good way of testing on Windows, and it was never really "supported" (PRs welcome, though).
The closest thing to a list of supported platforms are the ones Travis runs on: https://github.com/ampproject/ampbench/blob/master/.travis.yml.


Migrate https://github.com/kcp-dev/helm-charts

This ticket is about migrating the repository named in the title to the new kcp-prow.

There are no jobs defined in openshift prow for this repo, so there is nothing to do here.


⚠ Processors has degraded performance

In 61b6d4f, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 99 ms

Resolved: Processors performance has improved in dc70ca7.


⚠ Bofrost.be has degraded performance

In 25a0119, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1026 ms

Resolved: Bofrost.be performance has improved in 626c892.


Update rebar.config.tpl

in "master" branch no command ltest...

Note that the latest releases of the plugin are using hex.pm now, so this change has been superceded.


Ensure that FKs are being correctly created on look-up tables

On a recent project these indexes failed to create when the lookup tables was created.  Here is an example error from the log:
"2019-03-31 20:37:20",ERROR,ActiveRecordProviderMySQL,"Failed to create the index [Todo2TodoRepeat_leftID_fk_idx] on [Todo2TodoRepeat], error is [Can't create table fivetoday.#sql-cbc_17 (errno: 150 ""Foreign key constraint is incorrectly formed"")], query [ALTER TABLE Todo2TodoRepeat ADD FOREIGN KEY Todo2TodoRepeat_leftID_fk_idx (leftID) REFERENCES Todo (ID) ON DELETE SET NULL;]"....
A unit test should check to ensure this is working as expected.

Maybe the index for the FK is failing as the rightID/leftID columns are not unsigned like the ID PK columns are?
MariaDB [fivetoday]> desc Todo2TodoRepeat; +-------------+---------------------------+------+-----+---------+----------------+ | Field       | Type                      | Null | Key | Default | Extra          | +-------------+---------------------------+------+-----+---------+----------------+ | ID          | int(11) unsigned zerofill | NO   | PRI | NULL    | auto_increment | | leftID      | int(11)                   | YES  | MUL | NULL    |                | | rightID     | int(11)                   | YES  | MUL | NULL    |                | | version_num | int(11)                   | YES  |     | NULL    |                | | created_ts  | datetime                  | YES  |     | NULL    |                | | created_by  | int(11)                   | YES  |     | NULL    |                | | updated_ts  | datetime                  | YES  |     | NULL    |                | | updated_by  | int(11)                   | YES  |     | NULL    |                | +-------------+---------------------------+------+-----+---------+----------------+ 8 rows in set (0.002 sec)


installation error on Mac

When I try to install by typing pip install -e git+https://github.com/SohierDane/BigQuery_Helper#egg=bq_helper, the following error messages are encountered as attached image

I get the same error :(

Include this argument in setup function in setup.py
packages=find_packages(include=['bq_helper', 'test_helper'])


Fix REPO_API_REGEX

Fix https://github.com/huggingface/datasets/issues/6728 by applying the patch suggested by @padeoe in https://github.com/huggingface/datasets/issues/6728#issuecomment-1987929914.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.