Unable to distinguish stack frames using proposed kernels API

In the proposed kernel executeCode API, tracebacks in error results are concatenated together into one string (despite the underlying messages from the kernel having them split up by stack frame). This makes it difficult / generally impossible to distinguish each stack frame when using the new API.
For example, executing the code:
def div(a, b):
  return a / b
div(1, 0)

The Jupyter error message directly from the kernel gives:
{
  "ename": "ZeroDivisionError",
  "evalue": "division by zero",
  "traceback": [
    "---------------------------------------------------------------------------",
    "ZeroDivisionError                         Traceback (most recent call last)",
    "Cell In[1], line 3\n      1 def div(a, b):\n      2   return a / b\n----> 3 div(1, 0)\n",
    "Cell In[1], line 2, in div(a, b)\n      1 def div(a, b):\n----> 2   return a / b\n",
    "ZeroDivisionError: division by zero"
  ]
}

Notice that each stack frame in the traceback is contained in its own string in the array. Also note that the stack frames themselves may contain multiple lines.
But executing the same code with the new API and parsing the data from the application/vnd.code.notebook.error output gives:
{
  "name": "ZeroDivisionError",
  "message": "division by zero",
  "stack": "---------------------------------------------------------------------------\nZeroDivisionError                         Traceback (most recent call last)\nCell In[2], line 3\n      1 def div(a, b):\n      2   return a / b\n----> 3 div(1, 0)\n\nCell In[2], line 2, in div(a, b)\n      1 def div(a, b):\n----> 2   return a / b\n\nZeroDivisionError: division by zero"
}

Here the stack frames have all been joined together, and it is generally infeasible to split them back out. We need to be able to distinguish the stack frames so that we can exclude some frames before displaying to the user.

Please use the following approach
let output: NotebookCellOutput
const oldTraceback = output.metadata.originalError.traceback

This is guaranteed to work, we store the original error as originalError in the metadata of the error output item.

@kycutler @pwang347
The API has changed

kernel execution now returns an enumerable of Outupts, this as the individual output items as well as the metadata associated with the output
In the case of errors, please use the metadata to access the originalError.tracback as follows
output.metadata.originalError.traceback, where output is the output returned by the execution method.
You can access the individual items in the output using the items property


emem: 0.2.24 -> 0.2.25

Motivation for this change
Things done

[.] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[.] NixOS
[ ] OS X
[.] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[.] Tested execution of all binary files (usually in ./result/bin/)
[.] Fits CONTRIBUTING.md.

Thanks! ᕕ( ᐛ )ᕗ


Feature Request: Cache playlists/albums, similar to the android app

OS:
Issue Descriptions:
Steps to Reproduce:

Unfortunately this is not something that can be done on desktop period. There is no API for it. @MarshallOfSound this should be added to the FAQ.

@jostrander Indeed it should :+1:


Fixed pretty-printing of for loop with empty header, and removed some…

… assumptions about available precision that were being made when 'injectionSwitch' or structs were added.

Starting again with this one as I rebased wrongly.


Version strategy for providers

Now that 1.0.0 has been released, I'm wondering if you have any thoughts as to how providers such as Npgsql should be versioned. I guess it's a general question wherever there's a core and providers.
Should provider releases be synced with core releases (i.e. should I wait for an EFCore 1.0.1 release before releasing the 1.0.1 for the Npgsql provider)? The downside is that the provider no longer follows its own release schedule, and important/critical bugfixes get delayed.
On the other hand, if the provider releases in an independent way then versions numbers go totally out of sync, e.g. Npgsql version 1.2.3 works with EFCore 1.0.8 and above, which seems confusing for end users.
A hybrid approach might be good, i.e. release patch versions independently but sync on minor versions.

Our recommendation would be:

Always sync with the core packages on major versions, as they may contain breaking changes etc.
Ideally, sync on minor versions, as they may light up new features and it helps folks understand which version of the package to use.
Feel free to patch at whatever cadence works for you. We don't see any need to sync on these as we only make critical bug fixes.

Closing as I think we have answered, but feel free to follow up with questions/suggestions/etc.


Adding retries to Invoke-UseCase and GetAzureStackScaleUnitNode.

@BrianLPeterson,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add upgrade command for Application; start using mocks

Description of change
Adds an upgrade command for Application dependencies, with some cleanup optimizations
some refactoring around using interfaces and mocking
doc updates
Fixes https://github.com/meroxa/turbine-project/issues/265
Type of change

[x]  New feature
[ ]  Bug fix
[x]  Refactor
[x]  Documentation

How was this tested?

[x]  Unit Tests
[ ]  Tested in staging
[ ]  Tested in minikube

Demo

Documentation updated
changelog and CLI doc updates pending...

Also when it's a failure we add \t when we don't need it:

not sure where this pattern came from... perhaps just copy and paste. i was doing it for consistency. maybe a separate PR at this point to make logging a little easier/more consistent?


WSL2 Consumes more than half of system memory

Windows Build Number
Microsoft Windows [Version 10.0.19043.1202]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
4.19.128
Distro Version
Ubuntu-18.04
Other Software
No response
Repro Steps
I have 16GB RAM, running projects in Docker that take up a lot of memory apparently. The memory usage is often through the roof and makes the system unstable. Supposedly this should be limited to 50% of system memory: https://github.com/microsoft/WSL/issues/4166#issuecomment-662705705

I have no .wslconfig
Expected Behavior
Vmmem process doesn't use more than 50% of system memory.
Actual Behavior
Vmmem process uses all memory.
Diagnostic Logs
No response

10.0.19043.1202

In build 20175 we've changed the default memory scheme in WSL 2 to use 50% of your memory in Windows, or 8GB (whichever is smaller).

19043 < 20175
This change hasn't come to Windows 10 stable release.

I see, thanks


Add caching to aggregate and quaternary unit tests

These changes to unit tests in packages aggregate and quaternary follow same pattern as done for matrix_full_other tests to reuse expected R results and skip redundant R script invocations.  Note no changes to matrix characteristics of input test data.
Switched some tests in aggregate package to use target directory instead of previous base script src directory for storing generated test data.  Also included caching of specific tests in indexing and parfor packages.
Tests completed successfully here.

LGTM

Merged.  Thanks, Glen!


Add Lin_domain.stress_test

This PR adds Lin_domain.stress_{prop,test}
These are useful to test that parallel misuse does not cause any crashes.
For the testsuite we add stress tests of modules containing only negative parallel tests, that tend to find a counterexample fast, and hence not perform much parallel stress testing.
While experimenting with the branch, this mode has already been useful to help create a consistent reproducer of the Dynlink issue #307.
I tried cleaning up the git-history this time, so it should read relatively cleanly @shym :wink:
Can you give it a brief look, e.g., just the first 4 commits?

CI summary:

Cygwin trunk failed during configure #439
MinGW 5.2 timed out in the Dynlink stress test #307
MinGW trunk timed out in Dynlink stress test #307
freebsd-amd64-5.0 failed with Failed: Internal error before running any tests
freebsd-amd64-5.1 failed with Failed: Internal error before running any tests

The two MinGW failures nicely makes the case for this PR :tada:
Out of 35 workflows 5 failed with 3 genuine issues and 2 CI issues

CI summary for merge to main:

Cygwin 5.2 found a counterexample in STM Out_channel test parallel #444
Cygwin trunk failed during configure #439
MinGW 5.2 timed out in Dynlink stresstest #307
MinGW trunk timed out in Dynlink stresstest #307
freebsd-amd64-5.0 failed with Internal error
freebsd-amd64-5.1 failed with Internal error

Out of 36 workflows 6 failed with 4 genuine issues and 2 internal multicoretests-ci failures


how to import anki card?

how to import anki card?

Hi. I am not that familiar with Anki. However I would suggest trying to export all Anki cards into a text file (I guess it should be possible) and then editing the file in VSCode to give it the necessary Markdown structure for Recall to process.

thank you


As a user, i want to join / request to join a group

@relrod is this one valid? IIRC, the idea here is that a group sponsor just adds a user to the group. there is no longer going to be a concept of requesting a group membership.
AIUI, the workflow here is the user requests access to a group via other means, like the group email list or whatever.

@ryanlerch correct, this ticket is just for tracking and noting that. No action needed.


snowball probes

from https://github.com/Nanami18/Snowballed_Hallucination / https://ofir.io/snowballed_hallucination.pdf

added in 75a66aa071cc02f5ae10062073c3174a3e51a9f8


esc removes invalid xml chars

I was having trouble converting data that had invalid unicode chars (usually invisible), such as BACKSPACE (0x08), so I added a replace statement to the esc function that removes those invalid chars (according to the XML specification (see: https://stackoverflow.com/questions/14665288/removing-invalid-characters-from-xml-before-serializing-it-with-xmlserializer).
I also added to the test data a 0x08 char to make sure it works (although you can't see it in the github diff UI).

wow thanks. looks good to me

landed in v0.0.12


Firefox port

It would be great if you could port your browser extension from Chrome/ium also to other browsers like Firefox, i.e. making it a cross-compatible browser extension (“WebExtension”).
See https://extensionworkshop.com/documentation/develop/porting-a-google-chrome-extension/ for more information on how to do that.
The reason why I am asking is that the previously linked Firefox extension is apparently unmaintained(?), see https://github.com/gnonio/korporize/issues/14 (ref https://github.com/naptha/tesseract.js/issues/807) and also like in general maintaining one codebase should be easier than maintaining it twice.

Hi, I just submitted it and am waiting for it to be approved for Firefox!

Awesome! So if it is, could you also link it from the Readme, so people can find it? You can also use these download badges here: https://extensionworkshop.com/documentation/publish/promoting-your-extension/

It got approval and I updated the Readme with a download badge to the Firefox addon. Thank you for the suggestions and help!
https://addons.mozilla.org/en-US/firefox/addon/image-to-text-chatgpt/


Exam link is old as exam page says that exam has retired.

[Enter feedback here]

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

ID: c1bcd2b9-d75a-e8ba-eebc-a9a397930e97
Version Independent ID: 44135730-6a5f-9c84-70ab-4c6b5c7a34aa
Content: Learning catalog for users of Dynamics 365 Finance - Finance | Dynamics 365
Content Source: articles/finance/get-started/learning-catalog-business-user.md
Service: dynamics-365-finance
Product: ****
Technology: ****
GitHub Login: @MargoC
Microsoft Alias: margoc

Thank you for your feedback. @twheeloc can you please update or remove link?

Thank you for the feedback, the exam link has been updated.


Infinite loop when I check JSON schema file

I want to validate my JSON schema file
$refResolver = new \JsonSchema\RefResolver();
$refResolver::$maxDepth = 10000;

$jsonSchema = $refResolver->getUriRetriever()->retrieve('http://json-schema.org/draft-04/schema#');
$refResolver->resolve($jsonSchema);

Script failed with error:
PHP Fatal error:  Uncaught exception 'JsonSchema\Exception\JsonDecodingException' with message 'The maximum stack depth has been exceeded' in /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php:100
Stack trace:
#0 /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php(63): JsonSchema\RefResolver->resolve(Object(stdClass))
#1 /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php(208): JsonSchema\RefResolver->fetchRef('#', 'http://json-sch...')
#2 /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php(114): JsonSchema\RefResolver->resolveRef(Object(stdClass), 'http://json-sch...')
#3 /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php(152): JsonSchema\RefResolver->resolve(Object(stdClass), 'http://json-sch...')
#4 /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php(126): JsonSchema\RefResolver->resolveArray in /sync/vendor/justinrainbow/json-schema/src/JsonSchema/RefResolver.php on line 100

Should also be fixed after merging: #245

Closed with https://github.com/justinrainbow/json-schema/pull/245


1.20.1 LootR Crashes when opening chests (forge)

https://pastebin.com/84GgYij8  There's the full details of the crash and the mod list involved. I'm not sure if there's another mod in the list that's causing conflict with LootR's or if its just something in the lootr's forge file itself that's causing the crashes though. I figured you would know more on the matter after looking at the log though.

The error appears to be from "Relics":
Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow method throwItems in relics.mixins.json:MixinPiglinAi was not located in the target class net.minecraft.world.entity.monster.piglin.PiglinAi. Using refmap relics.refmap.json

I assume this is because the Lootr chests called the PiglinAi "react to chest being opened" method.
It doesn't appear to be an issue with Lootr itself though. I'd recommend chasing up whichever mod is Relics.


中文模式下没有办法 insert mode

VSCode Version:
OS Version:

Steps to Reproduce:

Reproduces without extensions: Yes/No

Sorry I don't understand what you mean by no insert mode with Chinese IME, can you elaborate ?


Removed unnecessary glslang #include from ShaderModule.h

This should have been fixed with #14, but there is still one public header file which needlessly includes a glslang header. Removing that #include makes the public interface entirely independent from glslang.

@rafalcieslak, thank you for your contributions. We're in the process of setting up an CLA to accept external contributions. Once this process is done we'll go on with your PRs.

@rafalcieslak instead of adding #include  to ShaderModule.h, I'd add it to Device.h, where it's in fact missing.


Bingo feedback

Hi @saibing,
I just tried bingo with vscode. It works great, fast and smooth. The only problem for me is that I'm using vscode workspaces and I have multi-root folders.
workspace
    frontend
    backend

In frontend I hold only UI related code, it's separate repo. But go lsp server doesn't allow to work in multi root. Do you know how complicated it would be to support workspaces?

@anjmao
Your question is similar to #2 ,
The difficulty is that I need to recursively visit all sub directories to determine the location of go.mod and how to support multiple go.mod file.
I will solve this problem in the future.

@anjmao
I have implement support multi-root workspace. please try the latest version.

@anjmao
bingo support multi-module project under workspaces folder, not only first workspace folder.
there are may be something wrong. Can you give me more information on this question?

@saibing
I created workspace which contains folders a and b with modules a and b.
Workspace

I hold my lang server settings under workspace settings
{
	"folders": [
		{
			"path": "a"
		},
		{
			"path": "b"
		}
	],
	"settings": {
		"go.useLanguageServer": true,
		"go.languageServerFlags": [
			"--pprof",
			":6060"
		],
		"go.languageServerExperimentalFeatures": {
			"format": true,
			"autoComplete": true
		}
	}
}

After I open this setup it successfully creates cache for the first project, but second project is not working.

@saibing is this multi-root vscode workspaces support broken in the latest bingo?

@saibing @guiguan Was happy to find this and it looked like it worked to begin with, the server setup and so on seemed to work, but then I noticed "token file does not exist of" when trying to complete things even if all modules have go.mod files. Only the first workspace folder seems to work correctly.


Add Feature Documentation

Fix #153

alright, it looks good from my perspective, however there's one more thing that could be done if you want.
Optionally, you could add more details about what it means to make a type and implement FromAsyncState for it, basically point the contributors to a minimal example where this is implemented, via a link they can click on to get to the files, perhaps the handler for focused events is simple enough?


failed to auto cherry pick PR 2444 to branch release-v0.7

commits d062792a8afe128071fb27b33f917a9b5fdf4471 conflict when merging to branch release-v0.7, please manually cherry pick it by yourself.
PR https://github.com/spidernet-io/spiderpool/pull/2444 ,  action https://github.com/spidernet-io/spiderpool/actions/runs/6588832106
Auto-merging pkg/multuscniconfig/multusconfig_informer.go
Auto-merging test/doc/spidermultus.md
CONFLICT (content): Merge conflict in test/doc/spidermultus.md
error: could not apply d062792a... Merge pull request #2444 from cyclinder/spidermultusconfig/empty_cr
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

It's hard to cherry pick, so I will close it.


Noob question -- tried to selfhost.

I've got a domain that I wanted to host files on.
I'm using PHPMyAdmin and CPanel, but I'm getting a server error when uploading files. How can I fix this?
define('POMF_DB_CONN', 'mysql:host=localhost;port=3306;dbname=domain_pomf');
define('POMF_FILES_ROOT', '/public_html/a/files/');

You should check your web server error logs and provide the detailed log.

I'll send them over.
https://hastebin.com/etabecujem.pas
I've replaced my domain with "domain", my db username with "pomf", and my password with "password123".

Go to /public_html/a/files
Create a file called test.php
Open test.php in an editor and paste this in:
<?= getcwd(); ?>
Then open the file in your browser (yourdomain.tld/a/files/test.php) and paste the text that it displays

The output is:
/home/account/public_html/a/files
Where:

account = my hosting account

Try replace
define('POMF_FILES_ROOT', '/public_html/a/files/');
with
define('POMF_FILES_ROOT', '/home/account/public_html/a/files/');

Alright. That worked, thanks so much!

No problem :)


get the error 'ConfigParser.NoOptionError' when run install.sh

docker version：1.12.6
docker-compose：1.12.0
harbor version：1.2.0-rc2
2)
I just modified these sections in harbor.cfg and the other sections are by default.
#The IP address or hostname to access admin UI and registry service.
#DO NOT use localhost or <IP_ADDRESS>, because Harbor needs to be accessed by external clients.
hostname = <IP_ADDRESS>
#The protocol for accessing the UI and token/notification service, by default it is http.
#It can be set to https if ssl is enabled on nginx.
ui_url_protocol = http
#The password for the root user of mysql db, change this before any production use.
db_password = 123456

Error:"ConfigParser.NoOptionError: No option u'clair_db_password' in section: u'configuration'"
./install.sh
[Step 0]: checking installation environment ...
Note: docker version: 1.12.6
Note: docker-compose version: 1.12.0
[Step 1]: loading Harbor images ...

Traceback (most recent call last):
File "./prepare", line 156, in
pg_password = rcp.get("configuration", "clair_db_password")
File "/usr/lib64/python2.7/ConfigParser.py", line 340, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option u'clair_db_password' in section: u'configuration'

Are you using an old version of harbor.cfg?

no,  I was copying an old harbor.cfg for 1.1rc3 here,  I hit the problem. Then I cleaned the directory and extracted the tar ball again. While I modified the configuration and rerun install.sh, the problem is the same.

That's why I say it's old version, see:
https://github.com/vmware/harbor/blob/master/make/harbor.cfg#L35
@wy65701436 let's revise the upgrade guide to mitigate such situation..

wow,I uncomment the parameter 'clair_db_password',it is resolved. I thought it may bring negative effects at that moment since I don't deploy with clair.
Thanks a lot!!

For the OVA, we can handle it in the upgrade script but not for standalone.

@hzfeng87 thanks for letting us know this issue, we should improve that but we are too close to official release, so the fix will be deferred.


date parameters in ads stats

Hello :)
I'm extending Zuck's to support adstatistics.
To set a specific date range, I need to enter the start and end unix timestamps in the requested graph URL

To query statistics within a particular time windows, append a start and stop time in the UNIX timestamp to the URL path as follows:
https://graph.facebook.com/act_{ad_account_id}/stats/1320451200/1321315200?access_token=___

I saw that the URL is built based on the ancestor and the list_path, but I'm not sure how to add some dynamic options there (report start and finish).
This is how my AdCampaignStat looks like:
module Zuck
  class AdCampaignStat < RawFbObject

    known_keys :name,
               :objective,
               :campaign_group_status,
               :buying_type,
               :end_time,
               :id,
               :adgroups,
               :is_completed

    parent_object :ad_account
    list_path     :adcampaignstats
    connections   :ad_groups

  end
end

hey @runa, should we close this?

yeah, I'm currently hitting the Graph API directly for this..


[Excel] (Custom Functions) Update TOC and article names

This PR includes:

Reorganization of the Custom Functions TOC, to

deprioritize the manual JSON metadata process
emphasize the autogenerate JSON metadata process
create a more logical structure, from basic to more complex concepts
group tutorials/quick starts together

Adjustment of the manual JSON metadata article title, to clarify the distinction between autogenerate/manual JSON metadata processes, and then carrying this new title throughout the docset
Minor adjustment of a few other titles and link updates
Minor typo/grammar updates

Docs Build status updates of commit 763d0dc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-json-autogeneration.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-json.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-localize.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-naming.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-parameter-options.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-volatile.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-web-reqs.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 3b8e855:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-json-autogeneration.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-json.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-localize.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-naming.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-parameter-options.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-shared-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-volatile.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-web-reqs.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit b516652:
:clock10: Pending: waiting for processors (11 builds ahead of you)
:warning: Docs Build is busy, currently there are 11 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit b516652:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-json-autogeneration.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-json.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-localize.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-naming.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-parameter-options.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-shared-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-volatile.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-web-reqs.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


init is run each time setState is invoked [v4.3.3]

Please checkout this fork of the sample project where I have made a few modifications:

downgraded to marko-widgets 4.3.3 (latest release on npm)
added an init function that simply writes to the browser console each time it's run.

As you can see, each time you change the state of the widget, init runs.  This is a problem only in 4.x as it seems to be fixed in 5.0.0-beta of marko-widgets; however, given that it's still a beta and v4 is what is living in NPM I think it's worth taking a look.
According to the docs, init should run only once.  Unless I'm totally misunderstanding this, which is definitely a possibility :sleepy:

This should be expected behavior in 4.x (the docs were updated for 5.x). init gets called whenever the widget is rendered (including client rerenderings via setState). More discussion on this here: https://github.com/marko-js/marko-widgets/issues/60

@yomed is exactly right. I just wanted to add that I found the behavior of init being called more than once confusing as well but @patrick-steele-idem was worried about changing this behavior and breaking apps. For that reason, the change to call init only once is coming in marko-widgets v5 (currently in beta now but should be published next week).

Ok this is great info, thank you both. I apologize for the noise, but I was confused by the updated docs vs latest release on NPM.
Happy to hear that v5 is just around the corner!


Added additional fields for task:help printout

Added "notation for required or not" and also the "default setting".  This will help to make the command creation easier without having to reference back to the read.md.

Concerned this will make the task listing unweildy

Good point.  Listed below is a sample of what the help output would look
like  (Thoughts?):
dzq6k6@Kenna-Gerhart:/mnt/c/Users/toby/OneDrive/Documents/GitHub/toolkit$
docker run -it --rm toolkit task=csv2kdi:help
Running: Kenna::Toolkit::Csv2kdi

Task Option: csv_in (string): Required? true: CSV to be converted to KDI
JSON
         (Default setting: input.csv)

Task Option: has_header (string): Required? false: Does the input file
have a header?
         (Default setting: true)

Task Option: meta_file (string): Required? true: File to map input to
Kenna fields
         (Default setting: meta.csv)

Task Option: skip_autoclose (string): Required? false: If vuln not in
scan, do you want to close vulns?
         (Default setting: false)

Task Option: assets_only (string): Required? false: Field to indicate
assets only - no vulns
         (Default setting: false)

Task Option: domain_suffix (string): Required? false: Optional domain
suffix for hostnames
         (Default setting: )

Task Option: input_directory (string): Required? false: Where input files
are found. Path is relative to /opt/app/toolkit/
         (Default setting: input)

Task Option: output_directory (string): Required? false: If set, will
write a file upon completion. Path is relative to /opt/app/toolkit/
         (Default setting: output)

Task Option: kenna_api_host (string): Required? false: Host used for the
API endpoint
         (Default setting: api.kennasecurity.com)

Task Option: kenna_connector_id (integer): Required? false: ID required
for connector to ingest file converted
         (Default setting: )

Task Option: kenna_api_key (string): Required? false: Kenna API code to
be used to ingest
         (Default setting: )

*Toby Gerhart · Kenna SE Director *· ©<PHONE_NUMBER>
From: Jonathan Cran<EMAIL_ADDRESS>Sent: Monday, October 26, 2020 11:26 AM
To: KennaPublicSamples/toolkit<EMAIL_ADDRESS>Cc: tmgerhart<EMAIL_ADDRESS>Mention <
<EMAIL_ADDRESS>Subject: Re: [KennaPublicSamples/toolkit] Added additional fields for
task:help printout (#47)
Concerned this will make the task listing unwieldy
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KennaPublicSamples/toolkit/pull/47#issuecomment-716663650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWFV6SKWJKPIGOXTYLAHXDSMWPH5ANCNFSM4S7RSMPQ
.

That is exactly what it is meant for…..just the task help requested.
*Toby Gerhart · Kenna SE Director *· ©<PHONE_NUMBER>
From: Jonathan Cran<EMAIL_ADDRESS>Sent: Monday, October 26, 2020 11:25 AM
To: KennaPublicSamples/toolkit<EMAIL_ADDRESS>Cc: tmgerhart<EMAIL_ADDRESS>Mention <
<EMAIL_ADDRESS>Subject: Re: [KennaPublicSamples/toolkit] Added additional fields for
task:help printout (#47)
Is the goal to print help per task? Maybe we should add a default option to
each task that prints the help only for that task?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KennaPublicSamples/toolkit/pull/47#issuecomment-716663254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWFV6TBPNV2AUU3O4TQYP3SMWPF3ANCNFSM4S7RSMPQ
.

Could definitely be a unconscious (unknowing) error on my part but I did
not intend for that to be updated if it was an action of mine.   I will
grab someone to discern where I went wrong.  The only lines intended to be
updated are listed below:
  def print_task_help(task_name)

    task = TaskManager.tasks.select{|x| x.metadata[:id] == task_name

}.first.new
    task.class.metadata[:options].each do |o|

      puts "- Task Option: #{o[:name]} (#{o[:type]}): Required?

#{o[:required]}: #{o[:description]}"
      puts "               (Default setting: #{o[:default]})"

    end

  end

*Toby Gerhart · Kenna SE Director *· ©<PHONE_NUMBER>
From: Jerry Gamblin<EMAIL_ADDRESS>Sent: Monday, October 26, 2020 11:04 AM
To: KennaPublicSamples/toolkit<EMAIL_ADDRESS>Cc: tmgerhart<EMAIL_ADDRESS>Mention <
<EMAIL_ADDRESS>Subject: Re: [KennaPublicSamples/toolkit] Added additional fields for
task:help printout (#47)
@jgamblin commented on this pull request.
In lib/helpers.rb
https://github.com/KennaPublicSamples/toolkit/pull/47#discussion_r512078240
:

   def upload_file_to_kenna_connector(connector_id, api_host, api_token, filename)

     # optionally upload the file if a connector ID has been specified

+=======
Good point... missed those when reading through this. Thoughts @tmgerhart
https://github.com/tmgerhart?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KennaPublicSamples/toolkit/pull/47#discussion_r512078240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALWFV6XJWL6KLNB7H37K4DLSMWMXDANCNFSM4S7RSMPQ
.

Closing this to start over.


pulumi: 3.49.0 -> 3.50.2

Description of changes
Upgraded pulumi from 3.49.0 to 3.50.2
Surprisingly sdkVendorHash did not change for this new version. pulumi-language-nodejs and pulumi-language-python built fine.
Not to be confused with https://github.com/NixOS/nixpkgs/pull/207179 . pulumi-bin is a different package.
Things done

Built on platform(s)

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

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

with the tests inherited from pulumi repo, which run during build

[x] Tested compilation of all pulumiPackages that depend on this change
[x] Tested basic functionality of all binary files in ./result/bin/, by calling the built binaries
[x] Fits CONTRIBUTING.md.

Converting to draft.
As I think I have spotted a mistake in my logic. Which I'm trying to fix at this moment.

Found an issue in my logic. By not updating expected vendor hashes.
Closing this for now, as I don't know how soon I can fix the error.

Sharing some insights about how far I got.
After specifying the correct hash to pull from pulumi repo, the build fails, since some tests cannot pass.
--- FAIL: TestGoModEdits (0.00s)
    --- FAIL: TestGoModEdits/valid-module-name (0.00s)
        program_test.go:178:
                Error Trace:    /build/source/pkg/testing/integration/program_test.go:178
                Error:          Received unexpected error:
                                no go.mod at directory, set the path to the module explicitly or place the dependency in the path specified by PULUMI_GO_DEP_ROOT or the default GOPATH: error reading go.mod at /build/go/src/github.com/pulumi/pulumi/sdk: open /build/go/src/github.com/pulumi/pulumi/sdk/go.mod: no such file or directory
                Test:           TestGoModEdits/valid-module-name
        program_test.go:179:
                Error Trace:    /build/source/pkg/testing/integration/program_test.go:179
                Error:          Not equal:
                                expected: "github.com/pulumi/pulumi/sdk/v3=/build/source/sdk"
                                actual  : ""

                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -github.com/pulumi/pulumi/sdk/v3=/build/source/sdk
                                +
                Test:           TestGoModEdits/valid-module-name
    --- FAIL: TestGoModEdits/invalid-module-name (0.00s)
        program_test.go:176:
                Error Trace:    /build/source/pkg/testing/integration/program_test.go:176
                Error:          Error "no go.mod at directory, set the path to the module explicitly or place the dependency in the path specified by PULUMI_GO_DEP_ROOT or the default GOPATH: error reading go.mod at /build/go/src/github.com/pulumi/pulumi/sdk: open /build/go/src/github.com/pulumi/pulumi/sdk/go.mod: no such file or directory" does not contain "found module github.com/pulumi/pulumi/sdk/v3, expected github.com/pulumi/pulumi/sdk/v2"
                Test:           TestGoModEdits/invalid-module-name
FAIL
FAIL    github.com/pulumi/pulumi/pkg/v3/testing/integration     0.029s
FAIL
error: builder for '/nix/store/fgs7icb4i70jfv1w516h2xhm0wxpfcsk-pulumi-3.50.2.drv' failed with exit code 1;
       last 10 log lines:
       >                                  +
       >              Test:           TestGoModEdits/valid-module-name
       >     --- FAIL: TestGoModEdits/invalid-module-name (0.00s)
       >         program_test.go:176:
       >               Error Trace:    /build/source/pkg/testing/integration/program_test.go:176
       >              Error:          Error "no go.mod at directory, set the path to the module explicitly or place the dependency in the path specified by PULUMI_GO_DEP_ROOT or the default GOPATH: error reading go.mod at /build/go/src/github.com/pulumi/pulumi/sdk: open /build/go/src/github.com/pulumi/pulumi/sdk/go.mod: no such file or directory" does not contain "found module github.com/pulumi/pulumi/sdk/v3, expected github.com/pulumi/pulumi/sdk/v2"
       >               Test:           TestGoModEdits/invalid-module-name
       > FAIL
       > FAIL  github.com/pulumi/pulumi/pkg/v3/testing/integration     0.029s
       > FAIL
       For full logs, run 'nix log /nix/store/fgs7icb4i70jfv1w516h2xhm0wxpfcsk-pulumi-3.50.2.drv'.

These tests were introduced recently in the newer version, to which I was trying to upgrade.
https://github.com/pulumi/pulumi/commit/6642fb5f1a407673872eeced96df6fc0af417431


add action buttons to peripheral accordions

@0xbase12 atm, the peripheral accordions are re-rendered whenever there's an update to any peripheral. This means the order of the accordions will change and the collapsing will be reset to false
Is there a way to subscribe to each peripheral, instead of all of them, so that if there's a change to a single peripheral resource, the only thing that is re-rendered is the corresponding table inside the respective accordion?

Yes should be possible


Bug?

Hi,
I got the error below (from both running your demo code and running my own analysis). Could you please help?
Thanks!
Yuchaos-MacBook-Pro:BooteJTK-master yuchaojiang$ ./BooteJTK-CalcP.py -f example/TestInput4.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x OTHERTEXT -r 2 -z 10
File "./BooteJTK-CalcP.py", line 72
print 'Please make the suffix of your raw data file or means file  .txt'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Please make the suffix of your raw data file or means file  .txt')?

I also have the same issue and I'm would be interested in hearing a solution

Hi,
Are you running python 2.7 or python 3? I think that is at the heart of the
issue.
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Thu, Aug 29, 2019 at 5:40 PM jgsmith3<EMAIL_ADDRESS>wrote:

I also have the same issue and I'm would be interested in hearing a
solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77DS532PMB26J4TRT6LQHBF4LA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QAYMQ#issuecomment-526388274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3Y77HHRXGEWU3GHVWZQTDQHBF4LANCNFSM4HK6G4HA
.

Hi Alan, thanks for your email. I’ll retry with python 2.7 and let you know.
All the best,
Jacob
On Mon, 2 Sep 2019 at 06:09, alanlhutchison<EMAIL_ADDRESS>wrote:

Hi,
Are you running python 2.7 or python 3? I think that is at the heart of the
issue.
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Thu, Aug 29, 2019 at 5:40 PM jgsmith3<EMAIL_ADDRESS>wrote:

I also have the same issue and I'm would be interested in hearing a
solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77DS532PMB26J4TRT6LQHBF4LA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QAYMQ#issuecomment-526388274
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AA3Y77HHRXGEWU3GHVWZQTDQHBF4LANCNFSM4HK6G4HA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=ANBIDXT5VJYN4RGRNG5XRXTQHUGCDA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VY7AA#issuecomment-527142784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANBIDXUHAK7AIHGX75ODVVDQHUGCDANCNFSM4HK6G4HA
.

Hi Alan, I'm now running Python 2.7 and I'm still having some issues. This
may be something obvious (I'm completely new to Python). Version info and
my terminal history is below. Would you be able to offer some advice?
Many thanks in advance,
Jacob
Version:
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 12:54:16)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Terminal Attempt (also attached as .txt)
Jacobs-MacBook-Pro:~ Jacob$ pip freeze
backports.functools-lru-cache==1.5
cycler==0.10.0
Cython==0.24
kiwisolver==1.1.0
matplotlib==2.2.4
numpy==1.11.0
pyparsing==2.4.2
python-dateutil==2.8.0
pytz==2019.2
scipy==0.15.1
six==1.12.0
statsmodels==0.6.1
subprocess32==3.5.4
Jacobs-MacBook-Pro:~ Jacob$ cd Desktop/
Jacobs-MacBook-Pro:Desktop Jacob$ cd empirical-JTK_CYCLE-with-asymmetry-master/
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
chmod 755 eJTK-CalcP.py
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ cd bin/
Jacobs-MacBook-Pro:bin Jacob$ python setup.py build_ext --inplace
running build_ext
Jacobs-MacBook-Pro:bin Jacob$ cd ../bin/
Jacobs-MacBook-Pro:bin Jacob$ ./eJTK-CalcP.py -f
example/TestInput4.txt -w ref_files/waveform_cosine.txt -p
ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a
ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
-bash: ./eJTK-CalcP.py: No such file or directory
Jacobs-MacBook-Pro:bin Jacob$ python ./eJTK-CalcP.py -f
example/TestInput4.txt -w ref_files/waveform_cosine.txt -p
ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a
ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
can't open file './eJTK-CalcP.py': [Errno 2] No such file or directory
Jacobs-MacBook-Pro:bin Jacob$ cd ..
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ls
LICENSE.txt	bin		example		ref_files
README.md eJTK-CalcP.py	previous_files
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
./eJTK-CalcP.py -f example/TestInput4.txt -w
ref_files/waveform_cosine.txt -p ref_files/period24.txt -s
ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt
-x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
python ./eJTK-CalcP.py -f example/TestInput4.txt -w
ref_files/waveform_cosine.txt -p ref_files/period24.txt -s
ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt
-x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
On Mon, Sep 2, 2019 at 12:37 PM Jacob Smith<EMAIL_ADDRESS>wrote:

Hi Alan, thanks for your email. I’ll retry with python 2.7 and let you
know.
All the best,
Jacob
On Mon, 2 Sep 2019 at 06:09, alanlhutchison<EMAIL_ADDRESS>wrote:

Hi,
Are you running python 2.7 or python 3? I think that is at the heart of
the
issue.
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Thu, Aug 29, 2019 at 5:40 PM jgsmith3<EMAIL_ADDRESS>wrote:

I also have the same issue and I'm would be interested in hearing a
solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77DS532PMB26J4TRT6LQHBF4LA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QAYMQ#issuecomment-526388274
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AA3Y77HHRXGEWU3GHVWZQTDQHBF4LANCNFSM4HK6G4HA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=ANBIDXT5VJYN4RGRNG5XRXTQHUGCDA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VY7AA#issuecomment-527142784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANBIDXUHAK7AIHGX75ODVVDQHUGCDANCNFSM4HK6G4HA
.

Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ls
LICENSE.txt	bin		example		ref_files
README.md eJTK-CalcP.py	previous_files
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ python ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$

This is of course in regards to eJTK, though I would like that and BooteJTK
to work. Many thanks
On Mon, Sep 2, 2019 at 9:54 PM Jacob Smith<EMAIL_ADDRESS>wrote:

Hi Alan, I'm now running Python 2.7 and I'm still having some issues. This
may be something obvious (I'm completely new to Python). Version info and
my terminal history is below. Would you be able to offer some advice?
Many thanks in advance,
Jacob
Version:
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 12:54:16)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Terminal Attempt (also attached as .txt)
Jacobs-MacBook-Pro:~ Jacob$ pip freeze
backports.functools-lru-cache==1.5
cycler==0.10.0
Cython==0.24
kiwisolver==1.1.0
matplotlib==2.2.4
numpy==1.11.0
pyparsing==2.4.2
python-dateutil==2.8.0
pytz==2019.2
scipy==0.15.1
six==1.12.0
statsmodels==0.6.1
subprocess32==3.5.4
Jacobs-MacBook-Pro:~ Jacob$ cd Desktop/
Jacobs-MacBook-Pro:Desktop Jacob$ cd empirical-JTK_CYCLE-with-asymmetry-master/
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ chmod 755 eJTK-CalcP.py
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ cd bin/
Jacobs-MacBook-Pro:bin Jacob$ python setup.py build_ext --inplace
running build_ext
Jacobs-MacBook-Pro:bin Jacob$ cd ../bin/
Jacobs-MacBook-Pro:bin Jacob$ ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
-bash: ./eJTK-CalcP.py: No such file or directory
Jacobs-MacBook-Pro:bin Jacob$ python ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file './eJTK-CalcP.py': [Errno 2] No such file or directory
Jacobs-MacBook-Pro:bin Jacob$ cd ..
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ls
LICENSE.txt	bin		example		ref_files
README.md eJTK-CalcP.py	previous_files
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ python ./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
On Mon, Sep 2, 2019 at 12:37 PM Jacob Smith<EMAIL_ADDRESS>wrote:

Hi Alan, thanks for your email. I’ll retry with python 2.7 and let you
know.
All the best,
Jacob
On Mon, 2 Sep 2019 at 06:09, alanlhutchison<EMAIL_ADDRESS>wrote:

Hi,
Are you running python 2.7 or python 3? I think that is at the heart of
the
issue.
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Thu, Aug 29, 2019 at 5:40 PM jgsmith3<EMAIL_ADDRESS>wrote:

I also have the same issue and I'm would be interested in hearing a
solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77DS532PMB26J4TRT6LQHBF4LA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QAYMQ#issuecomment-526388274
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AA3Y77HHRXGEWU3GHVWZQTDQHBF4LANCNFSM4HK6G4HA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=ANBIDXT5VJYN4RGRNG5XRXTQHUGCDA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VY7AA#issuecomment-527142784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANBIDXUHAK7AIHGX75ODVVDQHUGCDANCNFSM4HK6G4HA
.

You need to install pandas on your machine:
https://pandas.pydata.org/pandas-docs/stable/install.html
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Mon, Sep 2, 2019 at 11:56 PM jgsmith3<EMAIL_ADDRESS>wrote:

This is of course in regards to eJTK, though I would like that and BooteJTK
to work. Many thanks
On Mon, Sep 2, 2019 at 9:54 PM Jacob Smith<EMAIL_ADDRESS>wrote:

Hi Alan, I'm now running Python 2.7 and I'm still having some issues.
This
may be something obvious (I'm completely new to Python). Version info and
my terminal history is below. Would you be able to offer some advice?
Many thanks in advance,
Jacob
Version:
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 12:54:16)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Terminal Attempt (also attached as .txt)
Jacobs-MacBook-Pro:~ Jacob$ pip freeze
backports.functools-lru-cache==1.5
cycler==0.10.0
Cython==0.24
kiwisolver==1.1.0
matplotlib==2.2.4
numpy==1.11.0
pyparsing==2.4.2
python-dateutil==2.8.0
pytz==2019.2
scipy==0.15.1
six==1.12.0
statsmodels==0.6.1
subprocess32==3.5.4
Jacobs-MacBook-Pro:~ Jacob$ cd Desktop/
Jacobs-MacBook-Pro:Desktop Jacob$ cd
empirical-JTK_CYCLE-with-asymmetry-master/
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
chmod 755 eJTK-CalcP.py
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ cd
bin/
Jacobs-MacBook-Pro:bin Jacob$ python setup.py build_ext --inplace
running build_ext
Jacobs-MacBook-Pro:bin Jacob$ cd ../bin/
Jacobs-MacBook-Pro:bin Jacob$ ./eJTK-CalcP.py -f example/TestInput4.txt
-w ref_files/waveform_cosine.txt -p ref_files/period24.txt -s
ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
-bash: ./eJTK-CalcP.py: No such file or directory
Jacobs-MacBook-Pro:bin Jacob$ python ./eJTK-CalcP.py -f
example/TestInput4.txt -w ref_files/waveform_cosine.txt -p
ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a
ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python:
can't open file './eJTK-CalcP.py': [Errno 2] No such file or directory

Jacobs-MacBook-Pro:bin Jacob$ cd ..
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$ ls
LICENSE.txt bin example ref_files
README.md eJTK-CalcP.py previous_files
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
./eJTK-CalcP.py -f example/TestInput4.txt -w ref_files/waveform_cosine.txt
-p ref_files/period24.txt -s ref_files/phases_00-22_by2.txt -a
ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
Jacobs-MacBook-Pro:empirical-JTK_CYCLE-with-asymmetry-master Jacob$
python ./eJTK-CalcP.py -f example/TestInput4.txt -w
ref_files/waveform_cosine.txt -p ref_files/period24.txt -s
ref_files/phases_00-22_by2.txt -a ref_files/asymmetries_02-22_by2.txt -x
cos24_ph00-22_by2_a02-22_by2_OTHERTEXT
Traceback (most recent call last):
File "./eJTK-CalcP.py", line 19, in
import CalcP
File "./bin/CalcP.py", line 32, in
import pandas as pd
ImportError: No module named pandas
On Mon, Sep 2, 2019 at 12:37 PM Jacob Smith<EMAIL_ADDRESS>wrote:

Hi Alan, thanks for your email. I’ll retry with python 2.7 and let you
know.
All the best,
Jacob
On Mon, 2 Sep 2019 at 06:09, alanlhutchison<EMAIL_ADDRESS>wrote:

Hi,
Are you running python 2.7 or python 3? I think that is at the heart of
the
issue.
Alan
Alan L. Hutchison, MD, PhD
PGY-1, Internal Medicine
University of Chicago Medicine
he/him/his
On Thu, Aug 29, 2019 at 5:40 PM jgsmith3<EMAIL_ADDRESS>wrote:

I also have the same issue and I'm would be interested in hearing a
solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<

https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77DS532PMB26J4TRT6LQHBF4LA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QAYMQ#issuecomment-526388274

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AA3Y77HHRXGEWU3GHVWZQTDQHBF4LANCNFSM4HK6G4HA

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=ANBIDXT5VJYN4RGRNG5XRXTQHUGCDA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VY7AA#issuecomment-527142784
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ANBIDXUHAK7AIHGX75ODVVDQHUGCDANCNFSM4HK6G4HA

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alanlhutchison/BooteJTK/issues/1?email_source=notifications&email_token=AA3Y77HXOZ7ZKJNF6CUO4GDQHXU7DA5CNFSM4HK6G4HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5XAI7A#issuecomment-527303804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3Y77CAF72UCG2M3DHDGULQHXU7DANCNFSM4HK6G4HA
.

Hi Jacob,
I have been on the same boat as yours while I was trying to run eJTK on my macbook. In case you are also running the program on mac, here is a small protocol that I made to make it work. I hope it helps.
Protocol_Running_eJTK_on_Mac.pdf
N.B. I am struggling to run the BooteJTK program, so in case you have figured it out, I would love to know how to.


Make batch sizes configurable

Description
Replaced batch sizes  hard-cored values with configuratable for: sqlite, postgrsql, hana.

Closes #3708.
Readiness checklist

[x] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[x] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[x] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

Thank you!


checkify: in traceable, convert constvars to args to fit ClosedJaxpr convention

Because the 'consts' that come out when we trace the user function to a jaxpr could be Tracers (e.g. doing grad-of-checkify), by ClosedJaxpr convention we shouldn't package them up in a ClosedJaxpr.
Since checkify isn't a higher-order primitive, and is instead an initial-style transformation, putting Tracers in the ClosedJaxpr was not actually a bug, in that it wouldn't cause any incorrect behavior. Still, it's usually a bug for Tracers to end up in ClosedJaxprs, since usually ClosedJaxprs are used for higher-order primitives. For that reason, I'd like to add the assertion in core.py.
Without this change, if we add the assertion in core.py, the test AssertPrimitiveTests.test_assert_discharging_no_data_dependence fails.
But let me know if you think this convention is not worth keeping!

Subsumed by #14250


Introduced DynEq + DynHash bounds for MacroPlugin, InlineMacroExprPlugin and AnalyzerPlugin traits

Stack:

#6843
#6842
#6841
#6840
#6839 ⬅
#6838

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


Add user guide doc to website

Added the user guide built using geode-docs and geode-book to geode-site/content/. Built and reviewed the site locally. Related docs/website changes are in feature/GEODE-2015.

The travis CI is failing because the asf-site branch is just the website, it doesn't have any code or the .travis.yml file. I wouldn't worry about that.
We don't want to take any manual changes only asf-site branch though, it should be built from the source. So at the least this needs a PR against develop with the changes to generate this content.

I'm merging in this PR.  Its sole task is to get the docs hosted within the website.  PR #267 will help to get the content right against develop.


Able to determine progress

When executing a workflow or a series of workflow it would be useful to track progress.
One possible way to do this is to implement a progress method in the DSL.
id = progress 'workflow', steps: 5
progress id, step: 1, info:'Just getting started'
progress id, step: 2, info:'doing work'
...
progress id, step:5, info:"sweet, I'm all done"

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6321505-able-to-determine-progress?utm_campaign=plugin&utm_content=tracker%2F4030409&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F4030409&utm_medium=issues&utm_source=github).

I'll only track it if there is a concrete scenario. The original one that suggested this is off the table.


Feature/implement heartbeat in deploy

Described in: #6
Base on: #8
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

what changes does this pull request make?

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

Please rebase this pr @bsbds


bug in dropdown sample.

i found a bug in your documentation.
here is the link of your documentation : https://api.flutter.dev/flutter/material/DropdownMenu-class.html

I try to run your sample but it won't work. here is the error that can be found in the console
Error compiling to JavaScript:
/tmp/dartpadBDOIQS/lib/main.dart:20:16: Error: 'DropdownMenuEntry' isn't a type.
final List<DropdownMenuEntry> colorEntries =
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:21:10: Error: 'DropdownMenuEntry' isn't a type.
<DropdownMenuEntry>[];
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:27:16: Error: 'DropdownMenuEntry' isn't a type.
final List<DropdownMenuEntry> iconEntries =
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:28:10: Error: 'DropdownMenuEntry' isn't a type.
<DropdownMenuEntry>[];
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:23:24: Error: The method 'DropdownMenuEntry' isn't defined for the class '_DropdownMenuExampleState'.

'_DropdownMenuExampleState' is from 'package:dartpad_sample/main.dart' ('/tmp/dartpadBDOIQS/lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DropdownMenuEntry'.
colorEntries.add(DropdownMenuEntry(
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:31:16: Error: The method 'DropdownMenuEntry' isn't defined for the class '_DropdownMenuExampleState'.
'_DropdownMenuExampleState' is from 'package:dartpad_sample/main.dart' ('/tmp/dartpadBDOIQS/lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DropdownMenuEntry'.
.add(DropdownMenuEntry(value: icon, label: icon.label));
^^^^^^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:45:19: Error: The method 'DropdownMenu' isn't defined for the class '_DropdownMenuExampleState'.
'_DropdownMenuExampleState' is from 'package:dartpad_sample/main.dart' ('/tmp/dartpadBDOIQS/lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DropdownMenu'.
DropdownMenu(
^^^^^^^^^^^^
/tmp/dartpadBDOIQS/lib/main.dart:57:19: Error: The method 'DropdownMenu' isn't defined for the class '_DropdownMenuExampleState'.
'_DropdownMenuExampleState' is from 'package:dartpad_sample/main.dart' ('/tmp/dartpadBDOIQS/lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'DropdownMenu'.
DropdownMenu(
^^^^^^^^^^^^

I also try to download the sample with flutter create --sample=material.DropdownMenu.1 mysample, but it still gives a failure.
i want really need this sample.
please help

duplicate of https://github.com/flutter/flutter/issues/118161


Issue in executing the demo

Hi,
I compiled thing.c in demos with gcc on linux, and when I run the patch.py, I get the following weird error:
 File "patch.py", line 16, in <module>
    exe.replace_instruction(ins, '')
  File "build/bdist.linux-x86_64/egg/dispatch/formats/elf_executable.py", line 292, in replace_instruction
  File "build/bdist.linux-x86_64/egg/dispatch/util/trie.py", line 62, in __contains__
TypeError: unsupported operand type(s) for >>: 'Instruction' and 'int'

Can you please help me with this?

Hi Ayush,
Thanks for the report. I believe this is due to me not having completely switched over the implementations for replace_instruction (we changed what the method takes to let you replace a sequence of instructions instead of just one). I'll fix this up later today/tomorrow.

Fixed in cfaa93f


Allow same source git patches with different rev / branch, etc.

Problem
Currently if I wanted to override and patch dependency across workspace of a dependency https://github.com/owner/repo to branch b this does not work
[patch.'https://github.com/owner/repo']
baz = { git = 'https://github.com/owner/repo', branch = 'my-branch' }

because of the input validation here https://github.com/rust-lang/cargo/blob/13662250abdd813755263e0de5623bd314a443db/src/cargo/core/registry.rs#L363-L371
Proposed Solution
Remove the validation or make an exception when the source is a git url?
Notes
No response

Semi-related: https://github.com/rust-lang/cargo/issues/10667
Source replacement for git URL doesn't support rev and branch.

Bumping this up, this is a blocker for private project development where forks are not an option. Patching a project to override a crate dependency with a different branch of the same repo would be the way to go but is impossible right now because of this URL check.
A solution would be to compare the whole package specification (including any tag, branch, commit clause) and block only if every field is the same.
I could start work on a PR for it if this solution makes sense and the interest is there.

I definitely agree that it should be supported in cargo properly, but just to mention a workaround in case it's useful to anyone: it's possible to trick cargo into thinking that it's a different repo by using a double slash in the URL, like this:
[patch.'https://github.com/owner/repo']
baz = { git = 'https://github.com/owner//repo', branch = 'my-branch' }

Cloning https://github.com/owner//repo is the same as cloning https://github.com/owner/repo, so it works.

@dimonomid I have tried this on Windows and I would like to report that it did not work. Maybe this is a linux-only workaround?

I'm not a Windows expert and don't have it around to try it right now, but I didn't expect that it wouldn't work. Could you share what is the error message?

@dimonomid I have tried this on Windows and I would like to report that it did not work. Maybe this is a linux-only workaround?

That's worked for me on windows, also with ssh paths.
Corrected workaround, with specifying ssh/https port in path to be patched:
[patch.'https://github.com:443/owner/repo']
baz = { git = 'https://github.com/owner/repo', branch = 'my-branch' }

Just found this is exactly the same issue as https://github.com/rust-lang/cargo/issues/5478. Close in favor of that.


Hide delete column if no jobs can be deleted

In the admission system, for a given group, if no jobs can be deleted, right now there is an empty column to the right. This should not be visible if no jobs can be deleted (i.e, all jobs have had at least one job application).

Closed by #471


Slug prefix feature

I added a new field for adding an optional slug prefix. Preceding and succeeding forward slashes are removed when creating the slug in the collection. Also updated the readme to reflect the changes.

Hello thanks for your contribution. I will test it and will merge the PR. I'm planning to do it today. I'll inform here


Problem: moving among pages in nextjs kills WC sesion

I'm running a dApp with nextjs and I just founded a problem, seems like when moving from one page to another onboard detects the dApp is being closed and kills WC session.
I've tried locally deleting this line and everything works as expected https://github.com/blocknative/onboard/blob/develop/src/modules/select/wallets/wallet-connect.ts#L109.
do you think is it possible to find a workaround for this problem? I think that killing WC session should be something optional for each dApp.

@nicosampler With nextjs are you doing server side or client side routing?

Hi @taylorjdawson  client side

@nicosampler Where in your codebase are you creating your Onboard instance? Make sure you have it globally in memory otherwise if the component get's unmounted/destroyed then remounted onboard will re-init and kill the session.

@taylorjdawson 🍻.
thx!

Hey @taylorjdawson!
It is still annoying as any rerender of the App component will crash the app.
I'm having an issue with this combined with i18n through next-i18next where switching the locale rerenders the App component thus crashing the app.
Have to revert back to 1.29 just for this. :(

@Msordet Onboard can be defined outside of any component. v1.30 adds clean up to prevent memory leaks. For best practices and performance reasons it is highly recommended that you change your implementation and switch back to v1.30 and define your Onboard instance outside of any component in some global state.

@Msordet you could also try adding a customWallet, just copy the walletConnect current implementation and remove provider.wc.killSession(). I've tried to do it but for some reason, it was not adding the new customWalletConnect to in selectModal.

Ended up using a HOC around the app so it's all fine now but rather breaking for a minor change. ^^'

Having onboard in global state is best practice. The onboard instance should not exist within a component that's an anti-practice IMO.


Crash on complete

What steps will reproduce the problem?
Download a batch of files. The remove box is checked.
What is the expected behavior? What do you get instead?
Expect the program to finish the download, pop up the completed notification box, and clear downloaded files from list. Instead the application crashes roughly when it finishes downloading everything.
How often does this problem occur?
Just about every time.
What version of the program are you using? On what operating system?
5.2.4 is what I just installed I believe, it has done this for the last several releases. Windows 10.
Please provide any additional information below
I'm not sure if this is still the case, but in the past if I finished a download without it crashing, it would crash when I tried adding new pictures to the queue. I rarely have the chance to test that anymore since it crashes on completion.
I'm saving to an external HD, the program is installed in program files on C.

Your issue is complete duplicate of https://github.com/Bionus/imgbrd-grabber/issues/812 so...

I just tested that out, It does seem that unchecking that does fix the issue. I guess it is a duplicate.


⚠ Bofrost.de has degraded performance

In 2504049, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1162 ms

Resolved: Bofrost.de performance has improved in 9e0652a.


new gongdoc

gongsvg does not seem to display the diagram.

debug the stack

maybe the forwarding of commit to gongdoc are not propagated to gongsvg

generate svg is called but returns unexpectdly


[docs] Add document for X_VCPKG_APPLOCAL_DEPS_INSTALL

Waiting for #16722 merge.

Fixes https://github.com/microsoft/vcpkg/pull/16557.

Close this temporary.


CRD Validation

What would you like to be added?
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md
Why is this needed?
There is no validation of CR

Repeat with #529
/close


Migrate codebase to v2

Tasks:

[x] Copy templates
[x] Rewrite styles to cssnext
[x] Copy scripts

finished in b01656163f35d877a75e416f9409c489a9115aaa


Render PSPs for CSI driver pods

Description

CSI Drivers are missing PSPs to be rendered in  the restricted RKE2 CIS Hardened environment where their PSPs override the PSS tigera-operator sets in the calico-system namespace
For PR author

[x] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

Removing "merge-when-ready" label due to new commits

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


Fix WatDiv query discovery and add newlines to experiment loggers

Here is a small set of changes to:

Fix the issue with detecting WatDiv queries. They use .txt extension, which I completely missed. Sorry about that. :frowning_face:
Add newlines to the logger functions in the experiments, because otherwise the output becomes unreadable.

I think these changes only require a minor bugfix release.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
838

Relevant Lines:
838

💛  - Coveralls

Released as 5.0.1!

Awesome, thank you. :tada: I will make a PR to update the Comunica performance check later today, once I make sure that the reason some of the queries fail is not related to the jbr changes.

once I make sure that the reason some of the queries fail is not related to the jbr changes.

All queries should succeed AFAIK, but some will not produce any results.

All queries should succeed AFAIK, but some will not produce any results.

They actually do succeed! The files just happen to have two newlines at the end, so the benchmark runner considers there to be one additional (empty) query at the end. I will need to add some kind of sanitization there to remove empty queries. :grimacing:
So the queries that fail do not actually exist.


Modal gets separated from field if there is a keyboard dismissed animation

If there is a TextInput focused with the keyboard visible, tapping on the dropdown dismisses the keyboard and the window scrolls, the modal gets separated from the dropdown.
See this screen recording:

Note that there's a few seconds pause in the video, just watch till the end.

@reddo Thanks for the video. This is also happening to me. Any luck finding a workaround?

@abartolo nope, still an issue

I have the same issue. Anyone solved?

I patched this adding:
  componentWillMount()
  {
    const handler = (e) => { if(this.state.modal){ this.onPress(null) } }
    this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow',handler)
    this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide',handler)
  }

Seems to be working for me. I would probably like to see the position measurements separated from the animation and only trigger the former.
Full diff:
react-native-material-dropdown+0.11.1.patch.zip

@ryachza Yes! It seems work. Pull request made ;)

@n4kz Hi, any idea when the PR from @matteodanelli might get accepted?

Hi there, any solution for this! Can we keep the keyboard open rather than dismissing the keyboard ??

hi is there any fixes regarding this, I have used the patch but not any luck,

I have the same issue.

@ryachza this works for me on iOS but not on android.
It seems that the 'keyboardDidHide' event fires too early on Android. Logging the x and y values measured in the onPress function shows the difference between the platforms.
Setting a timeout leads to equal values for iOS and Android (and the expected behavior):
const handler = (e) => { if(this.state.modal){ setTimeout(() => {         this.onPress(null)       }, 10); } }
Maybe someone can explain the difference in the keyboard event handlers in iOS and Android?


Fix issues in runner tests

These were likely caused by an update to the graph-cli and -ts versions used by the tests. This updates the tests and tries to make them more robust to this situation in the future.

CI got an error on poi_for_deterministically_failed_sg, retrying.


v1.0.0-beta.46 fails to compile

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

To work.
Current Behavior

Failed to compile.
Steps to Reproduce (for bugs)

Use create-react-app with typescript to create a new project

yarn global add create-react-app
create-react-app my-app --scripts-version=react-scripts-ts
cd my-app

Install v1.0.0-beta.46

yarn add material-ui@next

Add any material-ui component to src/App.tsx

...
import AppBar from 'material-ui/AppBar';
...
                <AppBar position="static" />

Do yarn start

Error you get is
Failed to compile.
./node_modules/material-ui/styles/withStyles.js
Module not found: Can't resolve '@babel/runtime/core-js/map' in '/Users/talha/Repos/temp/my-app/node_modules/material-ui/styles'

Context

Your Environment

Tech
Version

Material-UI
^1.0.0-beta.46

React
^16.3.2

Submitted same issue in same time  https://github.com/mui-org/material-ui/issues/11286

Try installing @babel/runtime or using v1. 0.0-beta.45. I have forgotten about it :/.

npm install @babel/runtime fixed the problem for me.

Try installing @babel/runtime or using v1.0.0-beta.45.

v1.0.0-beta.45 has the same issue.

I have been having this issue, one thing I notice is that /node_modules has babel-runtime/core-js and not babel/runtime/core-js

I'm moving the next tag from beta.46 to beta.45 waiting for the beta.47 release to fix the problem.
npm dist-tag add<EMAIL_ADDRESS>next.

@HarryCaveMan  I faced the same problem with v1.0.0-beta.44. I observed one strange thing, when I installed @babel/runtime before the babel-rutime , the compilation was still giving the errors, but when I installed babel-runtime before installing the @babel/runtime it worked. Strange.

I encountered this issue last night and it didn't go away even when I switched to beta.41 and cleared my lockfile and node_modules directory. Really bizarre, but I can confirm that installing @babel/runtime as a dev dependency fixes the issue.

I'm releasing v1.0.0-beta.47 with the fix. Next release will be v1.0.0-rc.0.

v1.0.0-beta.47 has the same issue.

ERROR in ./node_modules/material-ui/styles/withStyles.js
Module not found: Error: Can't resolve '@babel/runtime/core-js/map'

For me it worked with version 1.5.0 but did not worked with 1.51.
So I downgrade it to that seems to more stable or am I wrong?


Change access modifiers so subclasses can access methods and members

Without this change, it's a pain to extend OptlyEventHandler
https://optimizely.atlassian.net/browse/OASIS-809
@optimizely/fullstack-devs @vraja2

@vraja2 yeah implementing EventHandler is a possibility but I thought OptlyEventHandler was easier to use b/c it gives you logging already
Do you see any problems with making OptlyEventHandler extendable?

Continuing the thread in Jira:
https://optimizely.atlassian.net/browse/OASIS-809

The existing access modifiers are intentional. Users should implement
EventHandler and pass their instance to the Optimizely Manager builder.
On Jan 23, 2017 8:18 AM, "Elliot Kim"<EMAIL_ADDRESS>wrote:
Continuing the thread in Jira:
https://optimizely.atlassian.net/browse/OASIS-809
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/optimizely/android-sdk/pull/80#issuecomment-274533866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOplyLQAoUm49v_IMmcqvVI3o0ltGUEks5rVNK7gaJpZM4LpZdi
.

This PR was created to demonstrate one possible short-term solution for OASIS-809. It is no longer needed


Tasks, crawl and exceptions.

I have a question about dealing with tasks where for some reason come out exception. For example i had mistake in directory name where i want save files which i fetched. I noticed this and changed code. But because of that i passed that directory name in response.save i have now plenty of tasks which fail everytime. I understand right that i can override this with force_update? Now i just gave up on those tasks and just truncated taskdb of my spider :(.

as the task had created and you don't have a list of wrong url, the best way is to restart the whole project.
but you can use itag to restart the project easier.

Are not tasks in error state are like active tasks and you can't change them without force_update even when you changed itag? I remember situation like that earlier.

Yes, you are right, if they are waiting to retry, you cannot change them without force_update. But with force_update enabled, every submitted task will restart. itag is not designed for response.save exceptions. Truncate the project is the best solution in this case.


[flutter_releases] Flutter Stable 2.2.2 Framework Cherrypicks

Scheduled Cherrypicks

Roll engine cherrypicks https://github.com/flutter/engine/pull/26669

https://github.com/flutter/engine/commit/91c9fc8fe011352879e3bb6660966eafc0847233

#83799 Tool may crash if pub is missing from the artifact cache

302e992ca7d5a16e1e44910ab98a7526f0d2d829

#83102 Generated l10n file is missing ‘intl’ import with Flutter 2.2.0

485c409184777c9a5eac0d65c362e00d080ea310

#82874 PopupMenuButton is broken after upgrade to Flutter 2.2.

43d22ae2d38445e96ec865522da2e228ef392c4d

Known Presubmit Failures

Customer testing - clones flutter/tests from HEAD
Mac module test ios - https://github.com/flutter/flutter/issues/83048

Gold has detected about 2 new digest(s) on patchset 7.
View them at https://flutter-gold.skia.org/cl/github/84364

Overriding CLAbot as all commit authors have signed the CLA, the bot just doesn't know how to handle multiple authors.


Improve default config file

Following https://github.com/meilisearch/meilisearch/pull/2745#pullrequestreview-1115361274
@gmourier @maryamsulemani97, here are the changes I applied

After discussing with the cloud team (internal link only), I let commented and uncommented the variables depending on their role.
The only boolean variable I let be commented is the no_analytics one, and I wrote the non-default value (i.e. true)-> it will be easier for the users to disable analytics by only uncommenting the line. Plus, no_analytics = false is a double negative and not really easy to understand.
I removed the INDEX section that was not really related to indexes
I keep only 4 sections: SSL, Dumps, Snapshots, and an untitled section with all the uncategorized variables. I gathered all the uncategorized variable at the top of the file, so in the "untitled" section.
I copied/pasted the really basic documentation description of the variables
I added every doc linked to each variable.

Let me know if you agree or not with my choices!
Thanks for your review 🙏

bors merge