usb_dc_rpi_pico driver enables some interrupts it doesn't handle

Describe the bug
The usb_dc_rpi_pico driver enables some interrupts it doesn't handle,
and because of that, if these interrupts are ever triggered, they don't ever get cleared,
and the result is the interrupt handler re-executing forever, freezing the system.
To Reproduce
Most of these interrupts don't really happen during normal use in a good signal quality environment.
To reliably reproduce, one probably needs some kind of USB host that can test devices for these conditions.
Expected behavior
At the very least the OS should not freeze. So at least the interrupts should be cleared.
These conditions may or may not need to also be handled in more detail.
Environment (please complete the following information):

current main (at the time of opening the issue)

The following does the minimum, of at least clearing those interrupts when they arise:
https://github.com/zephyrproject-rtos/zephyr/pull/54194


Infer indentation from previous line

I typically do not indent namespaces in C++. If I define a namespace and hit enter, smart-pairs will automatically indent my cursor. Even if I manually remove the indentation, it will disregard that if I insert another pair of braces.
For example, let's say I have the following code:
namespace
{
constexpr uint8_t X = 123;
}

If my cursor is placed at the semicolon and I hit enter, smart-pairs will  indent my cursor on the next line. If I yet again manually remove the indentation and, say, define a function, it will indent the braces on the next line, and then indent the following code once more.
namespace
{
constexpr uint8_t X = 123;
void test()
    {
        | (cursor is now here)
    }
}

The desired behavior here would be for smart-pairs to not indent the braces following test() and instead use the same indentation as the line above it. I don't mind manually removing the initial indentation from the namespace as long as I don't have to do it more than once.

For your first example, you can set delete.empty_line.trigger_indent_level to 0 as a temporary workaround. This issue will be solved after refactoring the code of deletion and enter.

Now relative indent level is calculated correctly and trigger_indent_level is set to 0 by default. The wrong indentation of enter may be caused by cindent option, please check it by :echo &cindent.

Disabling cindent works, but I get similar issues with other languages. It'd be quite the downside to have to disable all the built-in formatting capabilities of VIm just to use this plugin. It seems other autopairs-esque plugins handle this by removing the inserted indent. Do you think something similar should be done for smart-pairs?


Zero Shot inference Top-1 Score Issue

I have followed your zero shot inference Colab code with custom dataset.
But Top-1 Accuracy =1.73 and Top-5 Accuracy = 4.74.
I think that these accuaracy value is not reasonable so these hypothesis can be true.

I missed something about your code
These inference can not be trusted and code or model should be updated...

안녕하세요!
I'd suspect if the class labels were inadvertently shuffled or mismatched. To verify, it'll be helpful to inspect the classification results for the individual images. As in the example notebook, you could try plotting the image along with the probability distribution of the top 5 labels (or the corresponding zero-shot prompts):


Switch surface indexing to start at 0 so string name matches integer index

Follow up to https://github.com/godotengine/godot/pull/69527 @fire and @dmaz have both pointed out that if Mesh and MeshInstance are going to share a base index it should have been 0 and not 1.
I have no strong opinion, but I can see how having the string names aligned with the integer indices would be preferable.
I implemented this with compatibility code (that includes the change made in https://github.com/godotengine/godot/pull/69527) so this should be compatible with both beta8 surfaces and those made over the last 3 days

Thanks!

I had a single override on mesh 2 of my model and after upgrading to beta 9, it was being rendered on mesh 0.
Are we sure the compatibility code is working as expected?


Unable to Setup

I had MM running for a few days. Unfortunately now the service isn't starting. I deleted and attempted to reconfigure the service and now it won't make any entities at all. Any Suggestions?
2024-06-01 14:33:09.688 DEBUG (MainThread) [custom_components.monarchmoney.update_coordinator] Setting up coordinator
2024-06-01 14:33:09.688 DEBUG (MainThread) [custom_components.monarchmoney.update_coordinator] Getting first refresh
2024-06-01 14:33:09.873 DEBUG (MainThread) [custom_components.monarchmoney.update_coordinator] Finished fetching monarchmoney data in 0.185 seconds (success: False)

Same issue here, setup fails

Can you please update to the latest release (0.0.3) and report if it's still an issue?

The setup appears to be working now after an update. Thanks!
On Fri, Jun 28, 2024, 6:17 PM Harshit Sanghvi @.***>
wrote:

Can you please update to the latest release (0.0.3) and report if it's
still an issue?
—
Reply to this email directly, view it on GitHub
https://github.com/sanghviharshit/ha-monarchmoney/issues/7#issuecomment-2197814132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGYNAJHN3GUE5EEN34TCXB3ZJYDI5AVCNFSM6AAAAABIUO5OG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHAYTIMJTGI
.
You are receiving this because you commented.Message ID:
@.***>

Didn't work for me unfortunately. What can i do to help?
On Fri, Jun 28, 2024, 18:34 Matt Blackmore @.***> wrote:

The setup appears to be working now after an update. Thanks!
On Fri, Jun 28, 2024, 6:17 PM Harshit Sanghvi @.***>
wrote:

Can you please update to the latest release (0.0.3) and report if it's
still an issue?
—
Reply to this email directly, view it on GitHub
<
https://github.com/sanghviharshit/ha-monarchmoney/issues/7#issuecomment-2197814132>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AGYNAJHN3GUE5EEN34TCXB3ZJYDI5AVCNFSM6AAAAABIUO5OG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHAYTIMJTGI>

.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/sanghviharshit/ha-monarchmoney/issues/7#issuecomment-2197824955,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5QJQAIZU3FRRQR7L7G6N3ZJYFKDAVCNFSM6AAAAABIUO5OG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHAZDIOJVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Looks like authentication failure. Do you have 2FA enabled?

I was able to get it working. Deleted the repo, scrubbed the file system
for any monarch files. Rebooted, redownloaded and logged in. Works fine
now!
Thanks!!
On Sat, Jun 29, 2024 at 5:44 PM Harshit Sanghvi @.***>
wrote:

Looks like authentication failure. Do you have 2FA enabled?
—
Reply to this email directly, view it on GitHub
https://github.com/sanghviharshit/ha-monarchmoney/issues/7#issuecomment-2198388667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5QJQDFR7QDBNC3XVPMS2DZJ5IIHAVCNFSM6AAAAABIUO5OG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGM4DQNRWG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I was able to get it working. Deleted the repo, scrubbed the file system for any monarch files. Rebooted, redownloaded and logged in. Works fine now! Thanks!!

I have the same issue and error message.  How did you scrub the file system for any monarch files? Is there a specific folder location I should be looking for?  Appreciate any help.


Background-size in shorthand causes parser error

Sample:
#test {
	background: #fff url('image.png') no-repeat 50% / contain;
}

Results in:
Expected number in right hand side of /

Found a workaround by escaping ~"/" but would love to see it implemented as-is.

2e10803 introduces Strict Math mode for dotless. In Strict Math mode, all math must be enclosed in an extra set of parentheses to be evaluated, so your example passes through unharmed.


stdlib.io: Implement seekable()

Seekable API is not yet implemented.
Apparently, this PR is not a perfect implementation of seekable but we can fill the rest of implementation in the future.

@coolreader18 Thanks coolreader, I've updated the PR


Communication error: 1

I'm following along with Davide Barranca's Native Applications for Photoshop course and so far everything has been working well once I got NW.js to run on Windows.
I'm now having an issue using his starter code for using Generator. I seem to get one of two error results.

An "ECONNRESET" error:

An "ECONNABORTED" error:

I have tried this with both Photoshop 2020 and Photoshop 2021 with the same result. I can tell that it's starting to communicate with Photoshop because I get a different error (ECONNABORTED) when PS isn't running.
Can anyone please help me to understand why I am getting these errors and, more importantly, how to address them?

Seems that one little underdocumented hangup was preventing the app from working. I've documented it all in a blog post.
TL;DR: Make sure to use "password" for the connection settings in Photoshop.


Track - Chat header turns skeleton after submitting track expense to user with no chat history

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.78-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com
Go to self DM.
Track a manual expense.
Click Submit it from the actionable whisper.
Select a user with no chat history (gmail user).

Expected Result:
Track expense can be submitted to the user without issue.
Actual Result:
After submitting the track expense to user without chat history,

the chat header turns skeleton
report title in LHN is blank
the expense is missing in the chat.

Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/43996225/33a63a8c-2f2b-476b-ab85-ad996ddb9f24

View all open jobs on GitHub

Dupe, closing


K8SSAND-1129 ⁃ Update Helm chart to support cluster-scoped deployments

This is a place holder for https://github.com/k8ssandra/k8ssandra/issues/1235. Creating this issue since folks are most likely going to look in this repo first for anything specific to k8ssandra-operator.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1129
┆priority: Medium

This will be fixed by https://github.com/k8ssandra/k8ssandra/pull/1236


feat: add support for resolve drop-in replacement

Right now we can use this for resolve4 and resolve6, but not resolve.  Can this be added?
We would gladly sponsor your efforts on GitHub Sponsors.

@titanism I guess you closed this because you see the example on the README 🙂

No, we're actually not using this project anymore because the Packet implementation is not up to par.

Can you explain that? what's wrong in the Packet implementation provided by dns2?

unfortunately, I can't use it – forcing to use a specific HTTP client is too inflexible to support real use cases, undici adoption is almost insignificant compared with axios, got, etc.


feat: add isSupported method

Is your feature request related to a problem? Please describe.
Currently it is not possible to check if the platform supports badges.
Describe the solution you'd like
Add a method (e.g. isSupported) that checks if badges are supported.
Describe alternatives you've considered
No alternative solutions.

I'd definitely like to see this feature.
Also, I would suggest changing the error text Uncaught (in promise) Error: "Badge" plugin is not implemented on android to something like "is not implemented in this version of Android."  When I first saw the error message, I thought that Badge wouldn't work in Android at all, because there are some Capacitor plugins that work only in iOS and not on Android.


[flutter_tools] add EACCES to list of immediate exit tool conditions

Description
Similar to the permission denied error on Windows, this is not resolvable by the tool.

google testing failure is due to bad bot merge, fyi @renyou


files are always being uploaded to root folder regardless of media_folder path

So it worked for quite some time and now images are always being uploaded to the root directory...

I'll take a look right away.


My Apps not in Mobile App

Thanks for such perfectly detailed instructions, up to the mobile app... In mobile app -> Marketplace -> SmartApps -> "My Apps" does not exist in ST Mobile V.2.3.0.
Can you let me know what to do?
Thanks so much

Which phone/device are you using?
You might have to kill the SmartThings app and relaunch after step 6 so the app reloads and recognizes that it has custom SmartApps.  I thought they fixed this but it may still be needed.

iPhone 6. I closed the app and re-opened but still no 'My apps'

Might the "X" in the icon mean anything?

No, the X means there is an updated version available to the one you currently have installed.

From: merrick777<EMAIL_ADDRESS>Sent: Monday, March 13, 2017 11:14:07 PM
To: rayzurbock/SmartThings-BigTalker
Cc: Brian Lowrance; Comment
Subject: Re: [rayzurbock/SmartThings-BigTalker] My Apps not in Mobile App (#4)
Might the "X" in the icon mean anything?
[screen shot 2017-03-14 at 12 12 43 am]https://cloud.githubusercontent.com/assets/22691436/23885665/1c8b1c14-084b-11e7-9f85-bc6ca1740e54.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/rayzurbock/SmartThings-BigTalker/issues/4#issuecomment-286317464, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIBAqfOCCaxKzih0kNks13RxmcYxL8Piks5rlhQPgaJpZM4MbXVf.

So I still cannot find the self-published apps. I was just reading old blogs that said you need to log out and then log back in for 'My Apps' to be there, but that didn't work either. Still trying, but you have any other suggestions?

I asked ST Support where My Apps can be found in the app - I thought you'd like to see their response:

Hi,
Thanks for contacting SmartThings Support! Very sorry for the trouble.
It seems you have installed your custom SmartApp code on our NA01 server - https://graph.api.smartthings.com
In order to show your "My Apps" Section in your SmartThings application, you will need to install that same code on our NA02 server - https://graph-na02-useast1.api.smartthings.com
We apologize for the confusion that our servers have caused, but please let me know if you run into any other problems
Regards

I started over and used the server they specified, and I'm now all set up! 'MyApps' showed under 'SmartApps' in the mobile app. Time for me to play!! One last thing- your github instructions are the best I've seen (most detail, accurate) - THANKS FOR THAT! Wanted to point out just one minor correction needed.... See screenshot - This should be "PUBLISH", not "PUBLIC".
Thanks!

That is very interesting what support told you.  I hope they get that fixed soon.
I updated the installation instructions.  Thanks for the heads up.


Item Search datetime parameter open-ended range value (e.g., 1985-04-12T23:20:50.52Z/..) returns 404 and parsing error

STAC API Item Search supports open-ended datetime range values for the datetime parameter through syntax like 1985-04-12T23:20:50.52Z/ and 1985-04-12T23:20:50.52Z/... stac-server fails with this syntax:
curl -v https://landsatlook.usgs.gov/stac-server/search?datetime=1985-04-12T23:20:50.52Z/..
Returns 404 status code with body:
search_phase_execution_exception: [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]; [parse_exception] Reason: failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]: [failed to parse date field [..] with format [strict_date_optional_time||epoch_millis]]

Workaround is to set the open interval to either a date in the distant past or future.
Errors per the stac-api-validator:
Search with datetime=../1985-04-12T23:20:50.52Z returned status code 404
Search with datetime=1985-04-12T23:20:50.52Z/.. returned status code 404
Search with datetime=/1985-04-12T23:20:50.52Z returned status code 404
Search with datetime=1985-04-12T23:20:50.52Z/ returned status code 404
Search with datetime=1985-04-12t23:20:50.000z returned status code 404

@philvarner Now that your PR was merged, can this be closed?


Add new attributes NOK Name & Phone

@AceCentury Can help me check why am I getting a NullPointerException in line 63 in PersonCard.java? It appears that both nokName & nokPhone have the problem

@Infinity-Ace You forgot to update the corresponding FXML file(s). The fields you added in the Java code are not declared in the FXML file(s).

Did you update your AddCommandParserTest to handle the new input?
Likewise for AddCommandSystemTest and EditCommandSystemTest.

The fix I made should let you pass all tests.

@Infinity-Ace Can you close and reopen the PR? I think Travis got 'detached' in this PR.


New JUnit Test

I screwed up and used the contributing branch but whatevs.

It's failing because the Unit Test doesn't work...


actions that complete and return a result but are application errors return BadGateway instead of OK

The controller rewrites the activation record into the following fields:

success: true|false
statusMessage: "success"|"application error"|"developer error"|"internal error"
result: {...}|{"error": ...}

The invariants are that sucess=true iff statusMessage="sucess" iff result.error == undefined.
The actual HTTP response code to the POST (action invoke) request is 200 for success and application errors, 502 for action errors, and 500 for internal errors.
Currently the implementation return 502 for application error.
Need to add a test and fix.

@rabbah i should probably know -- but what is an example for an application error (vs action error) ?
besides that -- in which category would a timeout fall?
@csantanapr have we documented all potential values already?

corrected description above - action error -> developer error.
Credit for the following to @psuter who originally authored it:
The intended meaning of the status was as follows:

"success": it all worked out
"application error": the action writer decided to terminate with an error (e.g. the submitted arguments are invalid). This is what you get if you call e.g. whisk.error(..) in JS.
"developer error": the action writer made a mistake (e.g. not handling a specific case resulted in a crash, or the action didn't return a JSON object)
"internal error": something went wrong in Whisk itself.

@csantanapr FYI for docs.

thx @rabbah .
which category would an action timeout fall into?

@rabbah what is the rationale for returning a 200 for an app error? if the args submitted were wrong, i as a dev wouldn't consider that to be a 200?

@mbehrendt timeout should fall into "developer error", since they are to blame if they cannot terminate gracefully within the timeout they set themselves.
On the rationale for 200; the problem is that there is no HTTP code that can capture all possible application errors, e.g.:

an invalid argument could arguably trigger a 4xx (client error)
an issue connecting to a database or REST API could conceivably trigger a 5xx (server-side error)

So we settled for 200 as carrying a meaning close to: "the action behaved according to the developer's explicit intent".
At a higher-level, it's useful to keep in mind that Whisk actions are conceptually not HTTP endpoints, although they can be consumed as such. The mapping between activation results and HTTP codes will therefore necessarily be imperfect.

thx @psuter .
i'm wondering whether timeout deserves its own state -- given it's a very special state, and it might happen relatively often (not only due to code runtime issues, but maybe an external dependency is slow). i think having a separate state for timeout would make the system more dev-friendly, since it would be very obvious what the root cause of the issue is vs. having to investigate various possible root causes of 'dev error'. also, i think a timeout shouldn't be reflected with a 200, which would be easy to address if there was a separate state for it.
re 200 -- in my mind, it would also benefit dev / ops friendliness if we only returned a 200 if everything was fully ok. the general understanding of a 200 is that everything was alright. however, with the semantics you described above, i as someone operating a whisk-based app can not be sure about that. i will always have to take the extra step of parsing the json, which is sth many monitoring are not suitable for. is there a strong reason to not do that?

@mbehrendt per #642 a timeout will be clearly reflected with a proper message. Also note that while we have these categories, every error is supplied with an error message describing what happened.

@markusthoemmes with 'message' you're referring to 'statusMessage' or 'result'? where are those msgs documented? what is the rationale for embedding timeout in a msg vs. exposing it as a dedicated state and error code?

as another state to consider -- how do we react when an invocation gets throttled and therefore not executed? a 429? does that also return a json?

@mbehrendt which HTTP code would you then use for application errors?
On Jun 14, 2016 4:54 PM, "mbehrendt"<EMAIL_ADDRESS>wrote:

thx @psuter https://github.com/psuter .
i'm wondering whether timeout deserves its own state -- given it's a very
special state, and it might happen relatively often (not only due to code
runtime issues, but maybe an external dependency is slow). i think having a
separate state for timeout would make the system more dev-friendly, since
it would be very obvious what the root cause of the issue is vs. having to
investigate various possible root causes of 'dev error'. also, i think a
timeout shouldn't be reflected with a 200, which would be easy to address
if there was a separate state for it.
re 200 -- in my mind, it would also benefit dev / ops friendliness if we
only returned a 200 if everything was fully ok. the general understanding
of a 200 is that everything was alright. however, with the semantics
you described above, i as someone operating a whisk-based app can not be
sure about that. i will always have to take the extra step of parsing the
json, which is sth many monitoring are not suitable for. is there a strong
reason to not do that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openwhisk/openwhisk/issues/645#issuecomment-226013226,
or mute the thread
https://github.com/notifications/unsubscribe/AAO_K0k7c-O704ghe6eDsRAUVOqpSVlzks5qLxUggaJpZM4I1ZqD
.

i think invalid parameters could be separated out as a separate issue and return a 40x for that. a code issue in an action should probably be a 50x

Revised proposal:

All blocking action activations will return 20x regardless of status/statusMessage if the activation results in an activation record. the rational is that the request completed and produced the activation record. The rationale here is that the system did its job, it ran the action, and produced the activation record that includes the details of the activation.

Blocking activations that are converted into non-blocking activations continue to return 202 (accepted). This can arise if the system is temporarily overloaded and the request was accepted but not yet processed completely.

Blocking activations that fail with internal (system) errors and hence do not produce an activation record will continue to yield a 50x response.

Of course for invoking an action that doesn't exit, or one that the subject is not authorized to, or if the subject does not authenticate, or if the content payload is not a JSON object will return 40x level errors.
This simplifies the API and pushes the idea that the status code is not what you should rely on to determine if the activation result was what you expect it. This is also more in line with Lambda for reference: http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_ResponseSyntax but where Lambda returns headers e.g., X-Amz-Function-Error whisk returns a JSON object with properties for status, log, the result, and other activation details.

@rabbah did you already have a chance to capture the revised version of this proposal, which we chatted about?

The revision to https://github.com/openwhisk/openwhisk/issues/645#issuecomment-232534948 as discussed with @mbehrendt is to distinguish between 200 + statusMessage == success and 200 + statusMessage != success using a 20x status code with 207 suggested as an alternative.
The rational for the disambiguation, in the absence of a header, it makes for easier analysis of request/response using network debugging and tracing tools vs. parsing a json object (the body) to classify success vs error.
I suggested 207 which loosely fits into the whisk activation response: there is a status field in the activation record that indicates success or one of several classes of failures [1] even though 207 was proposed for a different purpose [2].
[1] http://www.restpatterns.org/HTTP_Status_Codes/207_-_Multi-Status
[2] https://tools.ietf.org/html/rfc4918#section-13


Are we leaking Paragraphs?

Although I think the answer is no, here's what led me to the question.
Using Observatory I looked at the "Persistent Handles" page while running the Gallery demo:

showing the home screen: 42 Paragraphs
expanded all menus: 79 Paragraphs
scrolling the home screen for a while: 81 Paragraphs
launching each demo in turn: 1352 Paragraphs

The heap metrics page says that only 44 Paragraphs are "strongly reachable" and that they only cost about 32K, which sounds reasonable. Unless there's some other dire implication here, I'm not sure there's any problem at all.

Paragraphs hold onto big Engine objects.  I suspect we're not correctly telling Dart how much those wrappers cost from a c++ perspective. :)
https://github.com/flutter/engine/blob/master/sky/engine/core/text/Paragraph.h#L69

Leaks turn into crashes, so if true this would block folks trying to ship.

Closing this. If we are leaking things, we will find out when we look at profiles and so forth.


Fix crash when switching to a different node from AnimationTree

Fixes a nullptr crash when switch from an AnimationTree node to another node. Also includes a fix to not crash the editor if a state machine transition mode is using an invalid integer (this isn't really something that happens in normal use, but it was happening enough with some experimental stuff I'm doing and a crash is a crash, so might as well check for it)
Closes #72044

Thanks!


Accessibility Permissions for the app deployed in macOS

Description
I have an app that requires screen recording and full disk permission to work correctly. If the macOS machine had SIP disabled, I would have been able to do it by updating db entries of TCC.db.
Area for Triage:
Apple
Question, Bug, or Feature?:
Question
Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Allow access to permissions as requested by the app deployed in the VM.
Actual behavior
When the app is run, a dialog box appears and ask to Grant Access.
Repro steps
Deploy an App that records the system (using ffmpeg)

sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "select * from access;" | grep kTCCServiceScreenCapture

kTCCServiceScreenCapture|com.apple.screensharing.agent|0|1|1||||UNUSED||0|1597306440

I think if we allow terminal to have screen recording permissions than the application will be able to do screen recording.
Is it possible to update TCC.db entries ?

Hi @abdullah-lt!
We're not going to disable SIP in the nearest feature, please take a look at this comment
https://github.com/actions/virtual-environments/issues/650#issuecomment-610541765
However, we will consider updating TCC.db entry.
Is it enough to update /Library/Application\ Support/com.apple.TCC/TCC.db or $HOME/Library/Application\ Support/com.apple.TCC/TCC.db also need to be updated with some values?

Hi @miketimofeev
Here is the sample repo I created to reproduce it on the VM
https://github.com/LambdaTest/lambda-github-actions
Recorder is a golang binary which records video for 5 seconds. Here is the code
package main
import (
	"bytes"
	"fmt"
	"os/exec"
	"strings"
)
func main() {
	args := strings.Split("-f avfoundation -i 0 -pix_fmt yuv420p -r 25 -t 5 testing_out.mov", " ")
	cmd := exec.Command("ffmpeg",  args...)
	fmt.Println("starting video recording")
	var out bytes.Buffer
	var stderr bytes.Buffer
	cmd.Stdout = &out
	cmd.Stderr = &stderr
	err := cmd.Run()
	if err != nil {
		print("error is", err.Error(), stderr.String())
		return
	}
	print("result", out.String())
}

This workflow will do following steps

Install ffmpeg
Start golang binary that records video for 5 seconds
Upload the video(testing_out.mov) as output artifcats

I have run this on my catalina machine. Attaching screenshot
https://ibb.co/T8PnJFD

@abdullah-lt sorry, I meant not the repo that shows an inability to insert anything into TCC.db, but the repo that tries to capture the screen and fails with an error. Because to add something to TCC.db we need to know the exact application name\path and required service to access, like
/bin/bash and kTCCServiceSystemPolicyAllFiles

Start golang binary that records video for 5 seconds

Does this binary use some macOS software to capture the screen or the binary itself do all the job?

Also as per this link, we were able to update TCC.db but now we can't. Any reason why it is now disabled?

In the link, we updated not the /Library/Application\ Support/com.apple.TCC/TCC.db but $HOME/Library/Application\ Support/com.apple.TCC/TCC.db and this db in $HOME can be updated with SIP enabled, but it contains only user-specific records, which are not enough, unfortunately.

@miketimofeev  I have updated the above repo.
Does this binary use some macOS software to capture the screen or the binary itself do all the job
It uses FFmpeg to capture video.

@abdullah-lt thanks! I've cloned your repo and run
chmod +x Recorder
brew install ffmpeg
./Recorder

Then I logoned to the test VM and there were no security pop-ups there even though the Recorder process was running

@miketimofeev That's strange. My actions are running from last 20 minutes and is stuck (probably waiting for access).
Could you please check if the video file (testing_out.mov) is created.

@miketimofeev The only thing I can think of is that somehow the system automatically denied the access to the terminal. Then the Recorder binary will be stuck forever waiting for permission. Could you try running ffmpeg command directly on the terminal which will give you better output on what is happening
ffmpeg -f avfoundation -i 0 -pix_fmt yuv420p -r 25 -t 5 testing_out.mov
If this doesn't work, just replace -i flag value with "1" instead of "0"
If the command is still stuck, then just enable the screen recording permission for the terminal and again run the above command. It should work then and will create a file testing_out.mov

@abdullah-lt the problem is that it's not executed by the terminal directly, there is a level of abstraction that includes runner, which does all the job. So if I run ffmpeg -f avfoundation -i 0 -pix_fmt yuv420p -r 25 -t 5 testing_out.mov directly from VM terminal it asks for permission

And after I restarted the terminal it finally works.
I disabled SIP and checked what entries were added to TCC.db and it's
service|client|client_type|allowed|prompt_count|csreq|policy_id|indirect_object_identifier_type|indirect_object_identifier|indirect_object_code_identity|flags|last_modified
kTCCServiceScreenCapture|com.apple.Terminal|0|1|1|??
                                                    |||UNUSED||0|1599818715

Next, I prepared a VM with SIP disabled and run the following script in action:
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" "insert into access (service, client, client_type, allowed, prompt_count, indirect_object_identifier, flags) values ('kTCCServiceScreenCapture', 'com.apple.Terminal', 0, 1, 1, 'UNUSED', 0)"
brew install ffmpeg
ffmpeg -f avfoundation -i 0 -pix_fmt yuv420p -r 25 -t 5 testing_out.mov

with a bit better result
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[AVFoundation indev @ 0x7fade342a600] Configuration of video device failed, falling back to default.
[avfoundation @ 0x7fade3814600] Selected pixel format (yuv420p) is not supported by the input device.
[avfoundation @ 0x7fade3814600] Supported pixel formats:
[avfoundation @ 0x7fade3814600]   uyvy422
[avfoundation @ 0x7fade3814600]   yuyv422
[avfoundation @ 0x7fade3814600]   nv12
[avfoundation @ 0x7fade3814600]   0rgb
[avfoundation @ 0x7fade3814600]   bgr0
[avfoundation @ 0x7fade3814600] Overriding selected pixel format to use uyvy422 instead.

And then it stuck as before.
i -1 gives:
[AVFoundation indev @ 0x7fe240c05980] Invalid device index
1: Input/output error

I wonder if the issue is somehow related to non-interactive mode because it runs fine directly in the VM.

@abdullah-lt looks like I've managed to find a solution 🥳
ffmpeg -f avfoundation -i 0 -pix_fmt uyvy422 -r 25 -t 5 testing_out.mov
works after adding this entry:
sudo sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db" "insert into access (service, client, client_type, allowed, prompt_count, indirect_object_identifier, flags) values ('kTCCServiceScreenCapture', '/bin/bash', 1, 1, 1, 'UNUSED', 0)"
testing_out.mov created succesfully.
However, Recorder produces an error during the execution:
[avfoundation @ 0x7fa4da014400] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, avfoundation, from '0':
  Duration: N/A, start: 961.796167, bitrate: N/A
    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1904x885, 1000k tbr, 1000k tbn, 1000k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x7fa4dd84ce00] height not divisible by 2 (1904x885)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

@miketimofeev  That's great news. The above error looks like some encoding issue which can be solved by using a different encoder.
Would it be possible to add the above SQL entry to the mac machines, so that we can use the screen recording feature of the Mac?

@abdullah-lt yes, I've just added the entry. The new image will be available next week if nothing blocks the deployment. I'll let you know when it's done.

Thanks, @miketimofeev. Looking forward to it.

@abdullah-lt we've successfully deployed the new image. Could you please check the behavior?

@miketimofeev I have tested the screen recording and it's working now. Thanks for the quick deployment.

@abdullah-lt great! Yes, the issue can be closed.
Thank you!


Doesn't get values from cloud

Hi again,
I used this plugin to backup all my settings and ssh profiles. The backup file size is around 40kB. Then I deleted Tabby and installed it on a different driver on the computer. When I try to retrieve old settings plugin creates a new file on the remote server which is around 18kB in size. It gets SSH keys in the vault but doesn't get SSH profiles.

I tackled a little bit more. Turns out that it doesn't get the vault too. I'm using Digital Ocean Spaces as a remote. It seems that whatever option I choose for synching, the plugin first updates the cloud with local settings and then checks if the cloud backup is recent or not.  I couldn't get old settings to the new installation.

I think you're the first one faced this issue, could you provide more details information so I could help to take a look?

Hi again,
I tried the plugin again. Before I start, I removed the Tabby installation and deleted the /AppData/Roaming/tabby folder. I downloaded a fresh copy of the portable version of the Tabby. I unpacked it into the C/Program Files/Tabby folder.
I had the old settings from the old installation. It was backed up to DigitalOcean Spaces with this plugin.

Then I opened the fresh installation of the Tabby which I mentioned above. I entered the cloud credentials. Then, I tried the test connection. Old settings are still 40kB.

After, I saved the cloud settings. I chose "Sync Cloud Settings" option. Then restarted the Tabby.

Tabby opened with default config. The vault was deleted and connection profiles are wiped. The backup file seemed to be re-uploaded with a smaller file.

I closed the Tabby again. And reuploaded the old settings again.

I opened the Tabby again. I prompted the vault password. Meantime I checked the cloud files and I saw that the backup file changed again with a file which is 412B in size.

I entered the vault password again. Tabby opened. I checked the file size on the cloud again. The file is replaced again with a file which is 752B in size. The vault and the profiles are still missing.

Logs are here
test.log

Btw, I decoded tabby-settings.json file with this script.
https://gist.github.com/birkanozer/9b645321c98d9712357c6263de2612ef

I think the problem while you are using Tabby vault then set the password, the plugin doesn't support yet, I will update soon

Any news on that? Did i get it right - this sync doesnt currently support encrypted settings / vault settings?
Thanks in advance.

The plugin does not work with the Tabby Vault, you could disable this plugin and use the Tabby vault instead.

Thanks. Does not work is the same as is not planned to work with? I prefer this plugin because i can use my own server....

@AndreasW79 it's planned in the future but not so soon, the vault is based tabby application.
Keep in touch.


[don't pull] overflow comments

overflow comments for reviewing our logic.
//+ is where we can see value limit for some number.
//* is when we have to review this math. and approve it is ok

closing in favour of a new PR with updated base code.


Release 0.4.0-alpha.X

This PR is used to release 0.4.0 versions of next-auth.

Hey @Q16solver 👋
Thanks for the remark - we do not need at least 4.8.18 as this fixes a bunch of regressions that next-auth themselves had. So I'll relax it a bit and set it to ^4.8.18. Checkout #192


Add Windows Support

So far this issue added macOS support to get External IPs. This enables connectivity to a KIND cluster from a development computer in a more real-world manner. It would be great if we could work out how to do the same on Windows, since there are a large number of cloud-native developers who work at organizations with a policy of using Windows computers.
CONSIDERATIONS

Windows does not have a sudo command, but you can run a shell as an administrator
Windows does not have an ifconfig command (it has an ipconfig tool or other commands might do the same job)
To run a Linux-like solution on Windows I tend to use git bash. There are other options like WSL2, though perhaps that is not really doing Windows?

I installed golang and built from source the branch that resolved the macOS issue on Windows. I used a git bash shell which I ran as administrator. Note that I have run some quite advanced KIND clusters on Windows using git bash and it has worked well. The code currently I throws a not implemented error, by design. We should investigate further, since hopefully the difficult work has already been done.

The code currently I throws a not implemented error,

we just need the command that allows to add an IP to an interface in windows
https://github.com/kubernetes-sigs/cloud-provider-kind/blob/fa5e2fcf963a0d16e8ed5e3aa10308723b08378e/pkg/loadbalancer/address_windows.go#L7-L12
the information I found so far is https://stackoverflow.com/questions/8944860/how-to-create-an-ip-alias-on-windows
but that name sounds arbitrary, ideally will be to use a loopback interface , but the comments seems to indicate people has to do some manual steps to enable it

Cool - I will do some investigation when I get some time, later in April.

/help

Sorry - been a bit snowed under recently but I finally got a bit of spare time debugging this and you were right - it works equivalently on Windows as on macOS:
I updated address_windows.go in a fork of your project. In my tracing I received values like these:
ifaceName=lo0
ip=<IP_ADDRESS>

This translates to commands of this form, yet the lo0 interface does not exist on Windows so these commands fail:
netsh interface ip add address lo0 <IP_ADDRESS> <IP_ADDRESS>
netsh interface ip delete address lo0 <IP_ADDRESS> <IP_ADDRESS>

If I therefore used the Windows interface name of loopback and updated the code like this and it worked fine:
//go:build windows

package loadbalancer

import (
	"os/exec"
)

func AddIPToInterface(ifaceName string, ip string) error {
	// The passed through ifaceName is 'lo0' which is called 'loopback' on Windows
	err := exec.Command("netsh", "interface", "ip", "add", "address", "loopback", ip, "<IP_ADDRESS>").Run()
	if err != nil {
		return err
	}
	return nil
}

func RemoveIPToInterface(ifaceName string, ip string) error {
	// The passed through ifaceName is 'lo0' which is called 'loopback' on Windows
	err := exec.Command("netsh", "interface", "ip", "delete", "address", "loopback", ip, "<IP_ADDRESS>").Run()
	if err != nil {
		return err
	}
	return nil
}

In my setup I used Run as Administrator to run a Git Bash shell, which is a Windows equivalent of using sudo.

So my thoughts are to integrate this change in your preferred way and update the README something like this:
- Mainly tested with docker and Linux.
- On macOS you must run cloud-provider-kind with sudo
- On Windows you must run cloud-provider-kind from a shell started with the 'Run as administrator' option
- We welcome further feedback from podman, Windows and Mac users

@gary-archer those changes look good to me, just submit a PR with them
diff --git a/pkg/loadbalancer/address_windows.go b/pkg/loadbalancer/address_windows.go
index fd686e0..b0d0e8e 100644
--- a/pkg/loadbalancer/address_windows.go
+++ b/pkg/loadbalancer/address_windows.go
@@ -2,12 +2,24 @@

 package loadbalancer

-import "fmt"
+import (
+       "os/exec"
+)

 func AddIPToInterface(ifaceName string, ip string) error {
-       return fmt.Errorf(("not implemented"))
+       // The passed through ifaceName is 'lo0' which is called 'loopback' on Windows
+       err := exec.Command("netsh", "interface", "ip", "add", "address", "loopback", ip, "<IP_ADDRESS>").Run()
+       if err != nil {
+               return err
+       }
+       return nil
 }

 func RemoveIPToInterface(ifaceName string, ip string) error {
-       return fmt.Errorf(("not implemented"))
+       // The passed through ifaceName is 'lo0' which is called 'loopback' on Windows
+       err := exec.Command("netsh", "interface", "ip", "delete", "address", "loopback", ip, "<IP_ADDRESS>").Run()
+       if err != nil {
+               return err
+       }
+       return nil
 }

Fixed by https://github.com/kubernetes-sigs/cloud-provider-kind/pull/49


92 speaker card improved

Resolves #92
Experimenting with the card layout using v-expansion-panels to expand open the speaker bios.
Changes include:

Click header to reveal speaker bio and social links
Rounded language chips to differentiate from topic tags. Thoughts?
Added pronouns
Adding some design guidelines now that we're including Font Awesome icons.

Remaining work:

[x] Adjust fonts for pronouns
[x] Allow a second job / affiliation (secondary_title, secondary_affiliation)
[x] Test on mobile -- Responsive design adjustments
[x] Add links to social profiles via icons (need to find an icon set matching material design)

There is opportunity for more polish and better gridding, but I have this in a decent place and would love to get feedback. Here are some screenshots:
Mobile Card:

Desktop Card:

Desktop Expanded Card:

Thanks for the PR @ann-kilzer! I think the design looks a little weird as some elements look unaligned due to different margin/padding or wrapped line. Let me see if I can tweak a little on my side and get back to you on this 🙇

Let me poke around with the margins / padding a bit more. As I mentioned, the gridding needs more polish.
What do you think about the expand / collapse?

Okay, used CSS instead of the built-in classes to get better control over the gridding, and at least have vertical alignment working.
Can you annotate a picture with anything you'd liked adjusted?
One area for improvement is the email / contact button, which is tricky to adjust around the expansion arrow. We could consider moving it somewhere else, or rewriting the expansion panel for greater customization. However, it might also be nice to get a working version out and then iterate on that too.

An experiment in another direction, moving some things around:

Make primary action (connect with speaker) a FAB
Location aligned left
drop pronouns into hidden section
raise social links to header

Thoughts?

Thank you so much for the alternatives, @ann-kilzer ! This last version looks pretty neat, I'd be fine shipping it like that for now and improving it iteratively whenever we find good tweaks 👍

Thanks for your feedback! I will recode that version in a less hacky way tomorrow.


[BUG] The charset compatibility of tidb and tispark is not clear

Describe the bug

When inserting a character that length is 3 such as ࠄ using tispark , the binary charset table will raise exception. But the latin1 and ascii  charset table is inserted successfully. Accroding to the definition of binary,latin1 and ascii,the length of them is 1 byte, and the result of inserting should all fail.
What did you do

execute in tidb
create table t1(a char(1)) character set binary;
create table t2(a char(1)) character set latin1;
create table t3(a char(1)) character set ascii;
execute in tispark
create table st1 using tidb options(table 't1')
create table st2 using tidb options(table 't2')
create table st3 using tidb options(table 't3')
insert into st1 VALUES ('ࠄ')
insert into st2 VALUES ('ࠄ')
insert into st3 VALUES ('ࠄ')

What do you expect

The result of inserting should all fail.
What happens instead

insert into st1 VALUES ('ࠄ') fails, the detail log is as follows:
Caused by: com.pingcap.tikv.exception.ConvertNotSupportException: do not support converting from [B to  com.pingcap.tikv.types.BytesType
	at com.pingcap.tikv.types.BytesType.convertToBytes(BytesType.java:111)
	at com.pingcap.tikv.types.BytesType.doConvertToTiDBType(BytesType.java:85)
	at com.pingcap.tikv.types.DataType.convertToTiDBType(DataType.java:395)
	at com.pingcap.tispark.write.TiBatchWriteTable$$anonfun$com$pingcap$tispark$write$TiBatchWriteTable$$sparkRow2TiKVRow$1.apply$mcVI$sp(TiBatchWriteTable.scala:560)
	... 30 more

insert into st2 VALUES ('ࠄ') and insert into st3 VALUES ('ࠄ') are susseful.
Spark and TiSpark version info

Git Commit Hash: 9687b70202584883fe5b88d39fb62d64867ebde2
Git Branch: release-2.3
UTC Build Time: 2020-10-16 02:40:15
Supported Spark Version: 2.3 2.4
Current Spark Version: 2.4.3
Current Spark Major Version: 2.4
TimeZone: Asia/Shanghai
TIDB: release-4.0

/lifecycle frozen


FEEstimator gets stuck in fitting when the sample size excesses 1 million observations

FEEstimator gets stuck in fitting when the sample size exceeds ~1 million observations. I am doing HE correction. After the "leverages batch" step, it stops at the "leverages" step. The progress bar is always 0%.

Do you mind telling us which platform you are using? Windows, mac, linux?

It would also be helpful if you could please paste the code you are using.
In addition, you should see if you can run the code using simulated data, you can use the code from the benchmark:
import numpy as np
import bipartitepandas as bpd

sim_params = bpd.sim_params({'n_workers': 500000, 'firm_size': 10, 'p_move': 0.05})
rng = np.random.default_rng(1234)

sim_data = bpd.SimBipartite(sim_params).simulate(rng)

I don't think the sample size is an issue, I've run the estimator with multiprocessing on simulated datasets larger than yours (for example in the benchmark) and it runs fine.

Do you mind telling us which platform you are using? Windows, mac, linux?

I am using linux

It would also be helpful if you could please paste the code you are using.
In addition, you should see if you can run the code using simulated data, you can use the code from the benchmark:
import numpy as np
import bipartitepandas as bpd

sim_params = bpd.sim_params({'n_workers': 500000, 'firm_size': 10, 'p_move': 0.05})
rng = np.random.default_rng(1234)

sim_data = bpd.SimBipartite(sim_params).simulate(rng)

I don't think the sample size is an issue, I've run the estimator with multiprocessing on simulated datasets larger than yours (for example in the benchmark) and it runs fine.
EDIT: please also try installing the package multiprocess by running pip install multiprocess, it is possible this could fix the issue you are having

Yes, I am using simulated data. Once the sample size is more than 1 million observations, multiprocessing is not working. I tried re-install the package multiprocess but it does not solve the problem.

Below is the code using:
`import pandas as pd
import numpy as np
import pytwoway as tw
import bipartitepandas as bpd
sim_params = bpd.sim_params({'n_workers': 500000, 'firm_size': 10, 'p_move': 0.05})
rng = np.random.default_rng(1234)
sim_data = bpd.SimBipartite(sim_params).simulate(rng)
FE
fe_params = tw.fe_params(
{
'he': True,
'ncore': 8
}
)
Cleaning
clean_params = bpd.clean_params(
{
'connectedness': 'leave_out_spell',
'collapse_at_connectedness_measure': True,
'drop_single_stayers': True,
'drop_returns': 'returners',
'copy': False
}
)
sim_data = bpd.SimBipartite(sim_params).simulate()
Convert into BipartitePandas DataFrame
bdf = bpd.BipartiteDataFrame(sim_data)
Clean and collapse
bdf = bdf.clean(clean_params)
Initialize FE estimator
fe_estimator = tw.FEEstimator(bdf, fe_params)
Fit FE estimator
fe_estimator.fit()`

Below is the code I used:
import pandas as pd
import numpy as np
import pytwoway as tw
import bipartitepandas as bpd

sim_params = bpd.sim_params({'n_workers': 500000, 'firm_size': 10, 'p_move': 0.05})
rng = np.random.default_rng(1234)

sim_data = bpd.SimBipartite(sim_params).simulate(rng)

# FE
fe_params = tw.fe_params(
    {
        'he': True,
        'ncore': 8
    }
)
# Cleaning
clean_params = bpd.clean_params(
    {
        'connectedness': 'leave_out_spell',
        'collapse_at_connectedness_measure': True,
        'drop_single_stayers': True,
        'drop_returns': 'returners',
        'copy': False
    }
)

sim_data = bpd.SimBipartite(sim_params).simulate()

# Convert into BipartitePandas DataFrame
bdf = bpd.BipartiteDataFrame(sim_data)
# Clean and collapse
bdf = bdf.clean(clean_params)

# Initialize FE estimator
fe_estimator = tw.FEEstimator(bdf, fe_params)
# Fit FE estimator
fe_estimator.fit()

The code you posted works for me (I am on Mac).
Could you please post the versions of bipartitepandas and pytwoway that you are using?

The code you posted works for me (I am on Mac).
Could you please post the versions of bipartitepandas and pytwoway that you are using?

bipartitepandas: 1.1.4
pytwoway: 0.3.21

I think as @tlamadon mentioned this could be an os issue. Unfortunately I don't have Linux so can't test it myself, and I'm also taking classes so don't have time to do any real work on this for at least a month.
One last idea I have could be your python version: I'm running version 3.10.4, so if you're using a newer version, it's possible multiprocessing has changed and is not compatible with the code I wrote.
I hope in the meantime that using a single core is fast enough for what you need, otherwise you could always try using LeaveOutTwoWay (Matlab) or VarianceComponentsHDFE (Julia). I know the Matlab code has multiprocessing and I wouldn't be surprised if the Julia code also has multiprocessing. I would just recommend using bipartitepandas to compute the largest leave-one-out connected set, since as noted in the benchmark, the KSS code unnecessarily drops observations.
Feel free to post an update here if you manage to get multiprocessing to work, and please let us know what steps resolved the issue so that if anyone else encounters this in the future they can see what worked for you.

I just quickly looked up issues with multiprocessing on Linux, maybe this could help?
https://stackoverflow.com/questions/55615981/why-does-my-python-multiprocessing-script-run-on-windows-but-not-on-linux
If you are using VSCode and switching to another IDE or Terminal doesn't work, I can try the multiprocessing.set_start_method("spawn") fix at some point after my classes are done.

@adamoppenheimer Thanks a lot for your help! I tried LeaveOutTwoWay on Matlab, and it works. Also, for my data, single-core computation is acceptable, so just take your time to fix the problem.


Not able to download and configure docker image

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing

Hi ,
I was missing one step while pulling image. Its working now. Thanks for folowup.
Sachin


stale pods, no nodes

pods, but no nodes:
https://user-images.githubusercontent.com/3893/172909950-2ed71ccc-4dcf-4f6a-885d-ec18218b0941.mov

If this happens again would you be able to provide some logs from the devtools?


Error using cache_dir in from_pretrained since update

While using Diffusers with an absolute path set in cache_dir, I'm suddenly getting an error "[Errno 95] Operation not supported" when loading any model from_pretrained with all the pipelines.  Was working fine a week ago, happened since this commit https://github.com/huggingface/huggingface_hub/commit/cdaa4107909861e16a37546624942636b3cf242a by @Wauplin and would like to be able to use cache again.  Here's the error:
  File "<ipython-input-7-cc85556e36ff>", line 8965, in get_lpw_pipe
    pipe = DiffusionPipeline.from_pretrained(model_path, custom_pipeline="AlanB/lpw_stable_diffusion_mod", cache_dir=prefs['cache_dir'] if bool(prefs['cache_dir']) else None, torch_dtype=torch.float16, safety_checker=None if prefs['disable_nsfw_filter'] else StableDiffusionSafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker").to(torch_device), requires_safety_checker=not prefs['disable_nsfw_filter'])
  File "/usr/local/lib/python3.9/dist-packages/diffusers/pipelines/pipeline_utils.py", line 764, in from_pretrained
    cached_folder = cls.download(
  File "/usr/local/lib/python3.9/dist-packages/diffusers/pipelines/pipeline_utils.py", line 1093, in download
    config_file = hf_hub_download(
  File "/usr/local/lib/python3.9/dist-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/huggingface_hub/file_download.py", line 1256, in hf_hub_download
    _create_symlink(blob_path, pointer_path, new_blob=False)
  File "/usr/local/lib/python3.9/dist-packages/huggingface_hub/file_download.py", line 857, in _create_symlink
    os.symlink(abs_src, abs_dst)
OSError: [Errno 95] Operation not supported: '/content/drive/MyDrive/AI/Stable_Diffusion/models/models--prompthero--openjourney/blobs/ec7e89e526405bf51ca1f538c8d48e76fd3e8f27' -> '/content/drive/MyDrive/AI/Stable_Diffusion/models/models--prompthero--openjourney/snapshots/bf2f700a1623c5d0de5197ae6267e96db9bea998/model_index.json'

Hope it's a simple correction, I may need to revert to a previous version of the hub until resolved.  I've also posted issue here: https://github.com/huggingface/diffusers/issues/2729
Thanks for the assistance..

Issue is reported as solved. I'm closing this issue definitively.


Docker container running cuda support

I've created a Docker file for CUDA support. There are a few changes that would need to be made in the Cargo.toml also.
Here are the changes for the Cargo.toml:
# Change the features to cublas
llm = { git = "https://github.com/rustformers/llm.git", branch = "main", optional = true, features = ["cublas"] }

# change the site-addr to listen to all
site-addr = "<IP_ADDRESS>:3000"

Here's the docker file:
FROM nvidia/cuda:12.2.0-devel-ubuntu20.04

SHELL ["/bin/bash", "-ec"]

ARG DEBIAN_FRONTEND=noninteractive

WORKDIR /usr/src/app
RUN mkdir /usr/local/models

#RUN touch ~/.bashrc

RUN apt-get update
RUN apt-get install -y git build-essential curl libssl-dev pkg-config vim
RUN apt-get update
RUN curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:$PATH"

# install NodeJS
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash
RUN apt-get install -y nodejs

# CUDA GPU enabling cuBLAS
ENV PATH="$PATH:/usr/local/cuda/bin"
ENV CUDACXX=/usr/local/cuda/bin/nvcc

COPY . .

RUN rustup toolchain install nightly
RUN rustup target add wasm32-unknown-unknown
RUN cargo install trunk cargo-leptos

RUN source ~/.bashrc && npm install

RUN npx tailwindcss -i ./input.css -o ./style/output.css

EXPOSE 3000/tcp

CMD ["cargo", "leptos", "watch"]

I'm not all the familiar with Rust... So i'm just using the cargo leptos watch command to run this. I figure you can run the cargo leptos build then start the server that way... but maybe i can just let you guys take this and run with it.
Docker build:
docker build -t rusty_llama .

 I do see the tensor cores loading and my GPU VRAM loads up the model... However, it's not using it for queries. I see the CPU still being used.
 ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla T4                       Off | 00000000:3B:00.0 Off |                  Off |
| N/A   46C    P0              27W /  70W |    117MiB / 16384MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  Tesla T4                       Off | 00000000:87:00.0 Off |                  Off |
| N/A   46C    P0              27W /  70W |    117MiB / 16384MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   2  Tesla T4                       Off | 00000000:AF:00.0 Off |                  Off |
| N/A   46C    P0              26W /  70W |    117MiB / 16384MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A   3100066      C   target/server/debug/leptos_start            112MiB |
|    1   N/A  N/A   3100066      C   target/server/debug/leptos_start            112MiB |
|    2   N/A  N/A   3100066      C   target/server/debug/leptos_start            112MiB |
+---------------------------------------------------------------------------------------+

I'm curious if there's an issue with the session.infer() ?

@cwysong85 consider to split the issue into merge requests and smaller issues.


Fix compile with latest VC2017 update

updated boost-build to master to (3d4fa4162d05d155539d247998a499ec7c5dcd69)
@bspratt try this

All those damn typo fixes made it a lot harder than it could have been...

Still gives me "'cl' is not recognized as an internal or external command, operable program or batch file." - but perhaps I'm using it wrong?
pwiz_tools\build-apps.bat 64 variant=release --i-agree-to-the-vendor-licenses --without-compassxtract --msparser-path="C:\PROGRA~1\MATRIX~1\MASCOT~1\vs2015" toolset=msvc-14.1

I'm not able to reproduce, and I did go ahead and update my Visual Studio to 15.8.9. Email me your environment variables in a stock cmd prompt. What happens when you run: libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd? It should set: VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\ (but with Enterprise in your case)

No such luck:
Microsoft Windows [Version 10.0.17134.590]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\bspratt>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\bspratt\AppData\Roaming
APR_ICONV_PATH=C:\Program Files (x86)\Subversion\iconv
BOOST_ROOT=I:\Dev\boost_1_56_0
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=BSPRATT-UW2
ComSpec=C:\WINDOWS\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\bspratt
INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses
LOCALAPPDATA=C:\Users\bspratt\AppData\Local
LOGONSERVER=\BSPRATT-UW2
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\bspratt\OneDrive
OS=Windows_NT
Path=C:\Program Files (x86)\Intel\iCLS
Client;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Intel\iCLS
Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
Files\Agilent\MassHunter\Workstation\IMS\B.07.02\Bin;C:\MYSTUFF;C:\PROGRAM
FILES (X86)\NOTEPAD++;C:\PROGRAM FILES (X86)\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\DTS\BINN;C:\PROGRAM FILES
(X86)\WINMERGE;C:\UNXUTILS\USR\LOCAL\WBIN;I:\DEV\PROTEOWIZARD\BUILD-NT-X86\PWIZ_TOOLS\COMMANDLINE\0D99B0746140928B164C19149A4C111F;C:\PROGRAM
FILES\7-ZIP;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 10.0\TEAM
TOOLS\PERFORMANCE TOOLS\X64;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO
10.0\TEAM TOOLS\PERFORMANCE TOOLS;C:\PROGRAM FILES
(X86)\SUBVERSION\BIN;C:\PROGRAM FILES (X86)\WINDOWS KITS\8.1\WINDOWS
PERFORMANCE TOOLKIT;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\110\TOOLS\BINN;C:\PROGRAM FILES\IBM\RATIONALPURIFYPLUS;C:\Program
Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth
Software\syswow64;C:\Program Files (x86)\Common Files\Micro
Focus\NMShared\CTI\11.1;C:\Program Files (x86)\Microsoft
SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL
Server\120\Tools\Binn;C:\Program
Files\EmEditor;C:\Users\bspratt.dnx\bin;C:\Program Files\Microsoft
DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program
Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\GitExtensions;C:\Program
Files\Git\cmd;C:\Program Files (x86)\Intel\UCRT;C:\Program
Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program
Files\dotnet;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program
Files\TortoiseGit\bin;C:\Users\bspratt\AppData\Local\Microsoft\WindowsApps;c:\Program
Files (x86)\Microsoft Visual Studio\Installer;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=5e03
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\bspratt\AppData\Local\Temp
TMP=C:\Users\bspratt\AppData\Local\Temp
USERDOMAIN=bspratt-UW2
USERDOMAIN_ROAMINGPROFILE=bspratt-UW2
USERNAME=bspratt
USERPROFILE=C:\Users\bspratt
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
11.0\Common7\Tools
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\Tools
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Tools
windir=C:\WINDOWS
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
C:\Dev\master_clean>libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd
could not find "vswhere"
[Manually update path to include  c:\Program Files (x86)\Microsoft Visual
Studio\Installer  ]
C:\Dev\master_clean>which vswhere.exe
c:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
C:\Dev\master_clean>libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd
could not find "vswhere"
On Mon, Mar 11, 2019 at 10:51 AM Matt Chambers<EMAIL_ADDRESS>wrote:

I'm not able to reproduce, and I did go ahead and update my Visual Studio
to 15.8.9. Email me your environment variables in a stock cmd prompt. What
happens when you run:
libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd? It should
set: VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\Common7\Tools\ (but with Enterprise in your case)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/474#issuecomment-471649545,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJSecrGOaLZVZGe3b9kyyrN0Wh1acbqks5vVpeugaJpZM4bpH_g
.

set DEBUG_HELPER=1
Then rerun vswhere_usability_wrapper.cmd and show the output.

C:\Dev\master_clean>set DEBUG_HELPER=1
C:\Dev\master_clean>libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd
C:\Dev\master_clean>setlocal
C:\Dev\master_clean>set "InstallerPath=C:\Program Files (x86)\Microsoft
Visual Studio\Installer"
C:\Dev\master_clean>if not exist "C:\Program Files (x86)\Microsoft Visual
Studio\Installer" set "InstallerPath=C:\Program Files\Microsoft Visual
Studio\Installer"
C:\Dev\master_clean>if not exist "C:\Program Files (x86)\Microsoft Visual
Studio\Installer" goto :no-vswhere
C:\Dev\master_clean>set Path=C:\Program Files (x86)\Intel\iCLS
Client;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Intel\iCLS
Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
Files\Agilent\MassHunter\Workstation\IMS\B.07.02\Bin;C:\MYSTUFF;C:\PROGRAM
FILES (X86)\NOTEPAD++;C:\PROGRAM FILES (X86)\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\DTS\BINN;C:\PROGRAM FILES
(X86)\WINMERGE;C:\UNXUTILS\USR\LOCAL\WBIN;I:\DEV\PROTEOWIZARD\BUILD-NT-X86\PWIZ_TOOLS\COMMANDLINE\0D99B0746140928B164C19149A4C111F;C:\PROGRAM
FILES\7-ZIP;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 10.0\TEAM
TOOLS\PERFORMANCE TOOLS\X64;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO
10.0\TEAM TOOLS\PERFORMANCE TOOLS;C:\PROGRAM FILES
(X86)\SUBVERSION\BIN;C:\PROGRAM FILES (X86)\WINDOWS KITS\8.1\WINDOWS
PERFORMANCE TOOLKIT;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\110\TOOLS\BINN;C:\PROGRAM FILES\IBM\RATIONALPURIFYPLUS;C:\Program
Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth
Software\syswow64;C:\Program Files (x86)\Common Files\Micro
Focus\NMShared\CTI\11.1;C:\Program Files (x86)\Microsoft
SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL
Server\120\Tools\Binn;C:\Program
Files\EmEditor;C:\Users\bspratt.dnx\bin;C:\Program Files\Microsoft
DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program
Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\GitExtensions;C:\Program
Files\Git\cmd;C:\Program Files (x86)\Intel\UCRT;C:\Program
Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program
Files\dotnet;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program
Files\TortoiseGit\bin;C:\Users\bspratt\AppData\Local\Microsoft\WindowsApps;c:\Program
Files (x86)\Microsoft Visual Studio\Installer;;C:\Program Files
(x86)\Microsoft Visual Studio\Installer
C:\Dev\master_clean>where vswhere  2>nul 1>nul
C:\Dev\master_clean>if errorlevel 1 goto :no-vswhere
C:\Dev\master_clean>set VSWHERE_REQ=-requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
C:\Dev\master_clean>set VSWHERE_PRP=-property installationPath
C:\Dev\master_clean>set VSWHERE_LMT=-version "[15.0,16.0)"
C:\Dev\master_clean>vswhere -prerelease  1>nul
C:\Dev\master_clean>if "" == "prerelase" set VSWHERE_WITH_PRERELASE=1
C:\Dev\master_clean>if not errorlevel 1 if "" == "1" set
"VSWHERE_LMT=-version "[15.0,16.0)" -prerelease"
C:\Dev\master_clean>SET VSWHERE_ARGS=-latest -products * -requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property
installationPath -version "[15.0,16.0)"
C:\Dev\master_clean>for /F "usebackq tokens=*" %i in (vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -version "[15.0,16.0)") do (
endlocal
set "VS150COMNTOOLS=%i\Common7\Tools"
exit /B 0
)
C:\Dev\master_clean>endlocal
C:\Dev\master_clean>echo could not find "vswhere"
could not find "vswhere"
C:\Dev\master_clean>exit /B 1
C:\Dev\master_clean>
That message is misleading: it does find vswhere but no output happens
C:\Dev\master_clean>vswhere -latest -products * -requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property
installationPath -version "[15.0,16.0)"
Drop the requires argument and:
C:\Dev\master_clean>vswhere -latest -products * -property installationPath
-version "[15.0,16.0)"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
C:\Dev\master_clean>
On Mon, Mar 11, 2019 at 12:19 PM Matt Chambers<EMAIL_ADDRESS>wrote:

set DEBUG_HELPER=1
Then rerun vswhere_usability_wrapper.cmd and show the output.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/474#issuecomment-471683200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJSeZLMF3v2OsJgEmWbQ5d96vmcH3fLks5vVqwsgaJpZM4bpH_g
.

So maybe it's uncovering a flaw in my installation. In the IDE the About
box shows:
Microsoft Visual Studio Enterprise 2017
Version 15.9.8
VisualStudio.15.Release/15.9.8+28307.481
Microsoft .NET Framework
Version 4.7.03056
Installed Version: Enterprise
C# Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings,
a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft
Azure Tools.
CustomizeVSWindowTitle 3   1.0
Information about my package
JetBrains ReSharper Ultimate 2018.1.2    Build 112.0.20180530.113618
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more
information about ReSharper Ultimate, visit
http://www.jetbrains.com/resharper. Copyright © 2019 JetBrains, Inc.
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet,
visit http://docs.nuget.org/.
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
Visual Basic Tools
2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and
settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
On Mon, Mar 11, 2019 at 12:25 PM Brian Pratt<EMAIL_ADDRESS>wrote:

C:\Dev\master_clean>set DEBUG_HELPER=1
C:\Dev\master_clean>libraries\boost-build\src\engine\vswhere_usability_wrapper.cmd
C:\Dev\master_clean>setlocal
C:\Dev\master_clean>set "InstallerPath=C:\Program Files (x86)\Microsoft
Visual Studio\Installer"
C:\Dev\master_clean>if not exist "C:\Program Files (x86)\Microsoft Visual
Studio\Installer" set "InstallerPath=C:\Program Files\Microsoft Visual
Studio\Installer"
C:\Dev\master_clean>if not exist "C:\Program Files (x86)\Microsoft Visual
Studio\Installer" goto :no-vswhere
C:\Dev\master_clean>set Path=C:\Program Files (x86)\Intel\iCLS
Client;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Intel\iCLS
Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
Files\Agilent\MassHunter\Workstation\IMS\B.07.02\Bin;C:\MYSTUFF;C:\PROGRAM
FILES (X86)\NOTEPAD++;C:\PROGRAM FILES (X86)\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\TOOLS\BINN;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\100\DTS\BINN;C:\PROGRAM FILES
(X86)\WINMERGE;C:\UNXUTILS\USR\LOCAL\WBIN;I:\DEV\PROTEOWIZARD\BUILD-NT-X86\PWIZ_TOOLS\COMMANDLINE\0D99B0746140928B164C19149A4C111F;C:\PROGRAM
FILES\7-ZIP;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 10.0\TEAM
TOOLS\PERFORMANCE TOOLS\X64;C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO
10.0\TEAM TOOLS\PERFORMANCE TOOLS;C:\PROGRAM FILES
(X86)\SUBVERSION\BIN;C:\PROGRAM FILES (X86)\WINDOWS KITS\8.1\WINDOWS
PERFORMANCE TOOLKIT;C:\PROGRAM FILES\MICROSOFT SQL
SERVER\110\TOOLS\BINN;C:\PROGRAM FILES\IBM\RATIONALPURIFYPLUS;C:\Program
Files\WIDCOMM\Bluetooth Software;C:\Program Files\WIDCOMM\Bluetooth
Software\syswow64;C:\Program Files (x86)\Common Files\Micro
Focus\NMShared\CTI\11.1;C:\Program Files (x86)\Microsoft
SDKs\TypeScript\1.0;C:\Program Files\Microsoft SQL
Server\120\Tools\Binn;C:\Program
Files\EmEditor;C:\Users\bspratt.dnx\bin;C:\Program Files\Microsoft
DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program
Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\GitExtensions;C:\Program
Files\Git\cmd;C:\Program Files (x86)\Intel\UCRT;C:\Program
Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program
Files\dotnet;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program
Files\TortoiseGit\bin;C:\Users\bspratt\AppData\Local\Microsoft\WindowsApps;c:\Program
Files (x86)\Microsoft Visual Studio\Installer;;C:\Program Files
(x86)\Microsoft Visual Studio\Installer
C:\Dev\master_clean>where vswhere  2>nul 1>nul
C:\Dev\master_clean>if errorlevel 1 goto :no-vswhere
C:\Dev\master_clean>set VSWHERE_REQ=-requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
C:\Dev\master_clean>set VSWHERE_PRP=-property installationPath
C:\Dev\master_clean>set VSWHERE_LMT=-version "[15.0,16.0)"
C:\Dev\master_clean>vswhere -prerelease  1>nul
C:\Dev\master_clean>if "" == "prerelase" set VSWHERE_WITH_PRERELASE=1
C:\Dev\master_clean>if not errorlevel 1 if "" == "1" set
"VSWHERE_LMT=-version "[15.0,16.0)" -prerelease"
C:\Dev\master_clean>SET VSWHERE_ARGS=-latest -products * -requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property
installationPath -version "[15.0,16.0)"
C:\Dev\master_clean>for /F "usebackq tokens=*" %i in (vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -version "[15.0,16.0)") do (
endlocal
set "VS150COMNTOOLS=%i\Common7\Tools"
exit /B 0
)
C:\Dev\master_clean>endlocal
C:\Dev\master_clean>echo could not find "vswhere"
could not find "vswhere"
C:\Dev\master_clean>exit /B 1
C:\Dev\master_clean>
That message is misleading: it does find vswhere but no output happens
C:\Dev\master_clean>vswhere -latest -products * -requires
Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property
installationPath -version "[15.0,16.0)"
Drop the requires argument and:
C:\Dev\master_clean>vswhere -latest -products * -property installationPath
-version "[15.0,16.0)"
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
C:\Dev\master_clean>
On Mon, Mar 11, 2019 at 12:19 PM Matt Chambers<EMAIL_ADDRESS>wrote:

set DEBUG_HELPER=1
Then rerun vswhere_usability_wrapper.cmd and show the output.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/474#issuecomment-471683200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJSeZLMF3v2OsJgEmWbQ5d96vmcH3fLks5vVqwsgaJpZM4bpH_g
.

Yeah, looks like your C++ got zapped somehow. The error message could be a lot better in the "usability" wrapper though!
Microsoft Visual Studio Community 2017
Version 15.9.8
VisualStudio.15.Release/15.9.8+28307.481
Microsoft .NET Framework
Version 4.7.03062

Installed Version: Community

Visual C++ 2017   00369-60000-00001-AA351
Microsoft Visual C++ 2017

ASP.NET and Web Tools 2017   15.9.04012.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   15.8.31590
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.60913.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.9.03024.0
Azure App Service Tools v3.0.0

C# Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter   15.9.18254.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

File Icons   2.7
Adds icons for files that are not recognized by Solution Explorer

JavaScript Language Service   2.0
JavaScript Language Service

JetBrains ReSharper Ultimate 2018.2.3   Build 182.0.20180912.70621
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2019 JetBrains, Inc.

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v<IP_ADDRESS>

Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager   1.0
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Python   15.9.18254.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - Django support   15.9.18254.1
Provides templates and integration for the Django web framework.

Python - IronPython support   15.9.18254.1
Provides templates and integration for IronPython-based projects.

Python - Profiling support   15.9.18254.1
Profiling support for Python projects.

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

SQL Server Data Tools   15.1.61902.21100
Microsoft SQL Server Data Tools

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools   15.9.20918.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers

yeah, it went away... progress, thanks!
[image: image.png]
On Mon, Mar 11, 2019 at 12:31 PM Matt Chambers<EMAIL_ADDRESS>wrote:

Yeah, looks like your C++ got zapped somehow. The error message could be a
lot better in the "usability" wrapper though!
Microsoft Visual Studio Community 2017
Version 15.9.8
VisualStudio.15.Release/15.9.8+28307.481
Microsoft .NET Framework
Version 4.7.03062
Installed Version: Community
Visual C++ 2017   00369-60000-00001-AA351
Microsoft Visual C++ 2017
ASP.NET and Web Tools 2017   15.9.04012.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   15.8.31590
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017   5.2.60913.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.9.03024.0
Azure App Service Tools v3.0.0
C# Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   15.9.18254.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
File Icons   2.7
Adds icons for files that are not recognized by Solution Explorer
JavaScript Language Service   2.0
JavaScript Language Service
JetBrains ReSharper Ultimate 2018.2.3   Build 182.0.20180912.70621
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2019 JetBrains, Inc.
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v<IP_ADDRESS>
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python   15.9.18254.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   15.9.18254.1
Provides templates and integration for the Django web framework.
Python - IronPython support   15.9.18254.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support   15.9.18254.1
Profiling support for Python projects.
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
SQL Server Data Tools   15.1.61902.21100
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools   15.9.20918.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/474#issuecomment-471687652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJSeS0Nd4FGK1bPYSEbEfRT1JOsQgjFks5vVq8JgaJpZM4bpH_g
.

So in the end it was just that the Visual Studio update disable my C++ installation. All working now with these changes, which were likely a goose chase, sorry.

Oh well, at least the typo fixes are integrated so the next merge will be less painful. :)

:shipit: Thanks!


ElastiCache on EC2

Enhancement
Hi
I'm trying to develop an app using spring-cloud-aws(2.0.0RC1)
I didn't use ElastiCache. And It doesn't have a problem on my develop machine.
And I trying to deployment on AWS, it caused problem.
like below message

No qualifying bean of type 'java.util.List<org.springframework.cloud.aws.cache.CacheFactory>'

I solved this problem like below

@SpringBootApplication(exclude = ElastiCacheAutoConfiguration.class)

It is problem that enabling elasticache configuration, running on ec2.
I think it should be optional feature likes below.
User write explicit @EnableElastiCache on code
or
Write in application properties

cloud.aws.cache.auto: false

And It need to update manual more detail, can possible predicate issue.
Thanks

@jehunkim we check for com.amazonaws.services.elasticache.AmazonElastiCache in the classpath and assume that if you have that class on your classpath, then you want to create a cache instance. Can you please check if you have that dependency ? Because that should be optional.


[DevCentral Migration] Conflicting extension contributions after migration

As users install the newly published extension version from the marketplace it could have conflicting commands from the existing extension.
Can test this by packaging a vsix from the new repo before publishing and trying to install over the existing extension.
May need to include some logic to remove the old extension or present the user with a warning box to remove the old extension before the new extension will work properly.

I've found a way to detect if both extension are installed, delete the old extension folder and reload the workspace.  This seems to work out pretty well in my testing.  But all this depends on how microsoft migrates the marketplace details, which may drive a scenario where vscode will understand the name change and uninstall the previous extension automatically

old extension has been unpublished and new extension is public.  The uninstall function seems to be working in all my test cases


Failed to load validator indexes

Description
I am getting errors like these:
:15:32.357 INFO  - Completed regeneration of block 0x569e64641a87ae18d69b1f2dafb5fa2d586abf82447f0f31a1f7e59035534f7d at slot 547233 by replaying 1 blocks. Took 197ms
13:15:32.523 INFO  - Chain reorg from 2a22fb..8d03 (547275) to bbacf2..4255 (547275). Common ancestor at slot 547244
13:15:32.529 WARN  - The latest finalized checkpoint at epoch 15614 (74606 active validators) fell outside of the weak subjectivity period after epoch 16802, which is prior to the current epoch 17102.
13:15:32.529 WARN  - The latest finalized checkpoint at epoch 15614 is outside of the weak subjectivity period.  Please supply a recent weak subjectivity checkpoint using --ws-checkpoint=<BLOCK_ROOT>:<EPOCH>.
13:15:37.990 INFO  - Slot Event  *** Slot: 547276, Block:    ... empty, Epoch: 17102, Finalized checkpoint: 15614, Finalized root: b38064..b440, Peers: 36
13:15:40.761 INFO  - Chain reorg from bbacf2..4255 (547276) to ef4cc4..4b23 (547276). Common ancestor at slot 547249
13:15:49.705 INFO  - Regenerate state for block 0x7047760bbb1b8d38d0990ef8afec1c47dde4d193cb003e923ce8942a29260b38 by replaying 4 blocks
13:15:50.001 ERROR - Failed to load validator indexes.
java.util.concurrent.CompletionException: java.util.concurrent.TimeoutException
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
        at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:870) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) ~[?:?]
        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) [?:?]
        at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2152) [?:?]
        at java.util.concurrent.CompletableFuture$Timeout.run(CompletableFuture.java:2864) [?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.util.concurrent.TimeoutException
        ... 7 more

Frequency: [What percentage of the time does it occur?]
medium
Versions (Add all that apply)
Teku version: teku/v0.12.11-dev-35d5b8a4/linux-x86_64/oracle_openjdk-java-14 in Docker

@tzapu - thanks for reporting.  Can you attach the full log file related to these errors?

logs.txt
hi, here are the full logs, they should apply to https://github.com/PegaSysEng/teku/issues/3013#issuecomment-712241657 as well

awesome - thanks!


MBI-17: Setup Continuous Integration with Travis-CI

Jira references

Ticket (issue) — https://essentiatechnologies.atlassian.net/browse/MB-17

Description
Continuous integration is the practice of merging all developer working copies to a shared mainline several times a day. When embarking on a change, a developer takes a copy of the current code base on which to work. As other developers submit changed code to the source code repository, this copy gradually ceases to reflect the repository code. Not only can the existing code base change, but new code can be added as well as new libraries, and other resources that create dependencies, and potential conflicts.
Implemented
The continuous integration was integrated based on the Travis service that is the great solution for small libraries that should be tested and checked by linters, and deployed for cloud only.
It required the configuration file .travis.tml. The integrated config contains the language, image of the MacOS and one command to tun the tests.
language: objective-c
osx_image: xcode9.4

script:
  - xcodebuild test -workspace 'Example/HDWallet.xcworkspace' -scheme 'HDWalletKit_Tests' -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4'

References

Continuous integration — https://en.wikipedia.org/wiki/Continuous_integration
Travis CI — https://docs.travis-ci.com
Travis for iOS — https://docs.travis-ci.com/user/languages/objective-c

@impul, I have added badge for develop branch.


add code so that devtools::check() works

Thanks to @ChristineStawitz-NOAA for figuring out this post command allows devtools::check() to work:
"postCreateCommand": "echo 'options(repos = c(CRAN = \"https://cloud.r-project.org\"))' | sudo sh -c 'cat - >>\"${R_HOME}/etc/Rprofile.site\"'",

I think this would be necessary for a codespace used to develop and R package, so perhaps we should have a separate template for running r code vs developing an r package.

addressed in #10