KeyError: 'ckanext'

(default)[root@ckanhost1 default]# paster --plugin=ckanext-harvest harvester jobs
Traceback (most recent call last):
  File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 890, in <module>
    main()
  File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 848, in main
    virtualenv_search_paths(sys.prefix)
  File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 638, in virtualenv_search_paths
    addsitedir(sitedir, known_paths)
  File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 204, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "/usr/lib/ckan/default/lib64/python2.7/site.py", line 173, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
KeyError: 'ckanext'

Another user posted pretty much the same problem in a forked repo herehttps://github.com/ckan/ckanext-geoview/issues/39 - not sure which repository to post though. I am also not sure whether this is a problem related to ckanext-geoview or ckan itself.
Could the problem be related to an update from ckanext-geoview-0.0.7 to ckanext-geoview-0.0.9?

Alright, I did find out how to fix it. I deleted the package from the sites-package and manually installed version 0.0.7 from the src/ directory as your README suggests. For some reason the problem caused the python interpreter to abort during startup as well - quite weird - so I went looking for it and found a relevant issue - http://bugs.python.org/issue10642.


Add a deep merge operation

Requested by @mpilquist on Gitter, where there's some discussion of the issues involved. For now I think it makes sense to go with something like the simpler version in Argonaut (not the HCursor => HCursor idea) but with the argument determining the field order for consistency.

As per the contributing guide, I am going to begin work on this.

Fixed by @anakos in #172.


CODEOWNERS: pull in sig-wireguard for wireguard-related files

CODEOWNERS: pull in sig-wireguard for wireguard-related files

/test


Implement support for SSM parameter store

This commit adds initial support for the Simple System Manager client.
It currently only mocks the following api endpoints:

delete_parameter()
put_parameter()
get_parameters()

Coverage decreased (-0.1%) to 93.592% when pulling 783a1d73b4ce31ee80ccd45931bcf9b08aa72b3e on mvantellingen:ssm into df84675ae67e717449f01fafe3a022eb14984e26 on spulec:master.

For reference, i'm using this in https://github.com/LabD/python-param-store/blob/master/tests/test_stores.py

This is great! Thank you for your work!


Terrain deploy contract: Request failed with status code 400 - MsgStoreCode: tx parse error: invalid request

Error: Request failed with status code 400
Response: unable to resolve type URL /cosmwasm.wasm.v1.MsgStoreCode: tx parse error: invalid request
Someone can help me?
Thanks a lot,
ds

This is a Terra-specific problem. Can you please try to consult their support channels?


Disk pressure in one of the nodes of OpenShift cluster

Description
When I was working on Elasticsearch, I found out that one of the cstor-pool pod was not getting scheduled on one of the nodes(node 2). The status of the pool pod was 'pending'. After describing the pod I got to know that the node has disk pressure.
 - lastHeartbeatTime: 2019-04-19T06:38:17Z
    lastTransitionTime: 2019-04-19T06:37:36Z
    message: kubelet has disk pressure
    reason: KubeletHasDiskPressure
    status: "True"
    type: DiskPressure

Expected Behavior
The cstor-pool pod should get scheduled in the respective node.
Current Behavior
Because of the disk pressure in the node the pod was not getting scheduled.
When I did 'df -h' I got to know that 81% is used.
/dev/mapper/rhel-root   50G   41G  9.9G  81% /
devtmpfs               3.9G     0  3.9G   0% /dev
tmpfs                  3.9G     0  3.9G   0% /dev/shm
tmpfs                  3.9G  5.9M  3.9G   1% /run
tmpfs                  3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda1             1014M  206M  809M  21% /boot
/dev/mapper/rhel-home   39G   48M   39G   1% /home
tmpfs                  799M   12K  799M   1% /run/user/42
overlay                 50G   41G  9.9G  81% /var/lib/docker/overlay2/bd1d048f832b6438661967e95a2a241ed02a34036500f7bf948156f8838089f3/merged
overlay                 50G   41G  9.9G  81% /var/lib/docker/overlay2/37a77a2a2764ff1b0d4496f15b07b51c151c057d3344975e7aaeb768fe824035/merged
overlay                 50G   41G  9.9G  81% /var/lib/docker/overlay2/9144fc9bb8daca792d5047dc4d40697c78ad8f40278efd9da89cf0bfcd71db11/merged

Possible Solution
The disk pressure is because as mentioned in the Kubernetes docs, nodefs.inodesFree<5%
imagefs.available<15%. Else the threshold is crossed. Here Filesystem 'overlay' is using 81%.
Go into the node having disk pressure and delete the core dump.
Steps to Reproduce

Screenshots

Your Environment

kubectl get nodes:
kubectl get pods --all-namespaces:
kubectl get services:
kubectl get sc:
kubectl get pv:
kubectl get pvc:
OS (from /etc/os-release):
Kernel (from uname -a):
Install tools:
Others:

Please also give the output of df -i

@sushma1118 Please also share the output of df -i


Migrate to .NET Core 2.0

All projects dependencies are upgraded to .net core 2.0
Merge if you have .net core 2.0 SDK setup

good


Including the Dublin Core and/or other core metadata elements

In #18, Stephen suggested we incorporate the Dublin Core in the EYA DEF Schema. There may also be other core metadata schemas that are worth considering.

Review what metadata schema(s) are useful to cover and decide which one(s) to focus on.
Integrate the relevant metadata fields into the EYA DEF Schema.
Review how we can link the metadata fields to the core schemas, so that it is clear that a metadata field in our model is using a particular definition from a core metadata schema.
If possible and relevant, implement the linked schema approach.

See also #18 for some background.

We cover the following elements:

Contributors;
Spatial coverage (country);
Date;
Description;
Format, subject and type (covered by the EYA DEF schema);
Identifier (resource UUID and URI, and document ID);
Publisher (issuing organisations);
Rights (contract reference and confidentiality classification);
Source (metadata for inputs); and
Title.

It is not important to distinguish creators from contributors.
The language will always be English, so is probably not relevant to include.
Related resources are probably not relevant. If there is a good use case to include that, we can do so later.

I close this as there are no concrete actions for now. We can open new issues later if there are concrete proposals to enrich the metadata.


Download ABFS Driver from here:

You can get the driver from this link
https://jira.apache.org/jira/browse/HADOOP-15407

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

ID: 4ca909b0-2d80-ca90-52d4-c3d7958040d9
Version Independent ID: b5c888da-ff2e-7fc2-3c36-e0eb22132932
Content: The Azure Blob Filesystem driver for Azure Data Lake Storage Gen2 Preview
Content Source: articles/storage/data-lake-storage/abfs-driver.md
Service: storage
GitHub Login: @jamesbak
Microsoft Alias: jamesbak

@pakshi Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi, I don’t see any link for downloads

#reassign:@normesta

Thank you for the link suggestion. The content has been updated with a link to the most recent ABFS driver documentation.

#please-close


docs(Installation): Document required polyfill for IE11

Fixes #507

@jamesmfriedman adding doc for second polyfill required for IE11

Thanks!

This is closed, not merged. Do you not want this change?


Static parameters to callback class

I was reading issue https://github.com/jamesdbloom/mockserver/issues/120 and I've got something that's a little less dynamic than was requested there. I'd like to be able to pass hard coded parameters to my callback class so I can make a callback that's somewhat generic. My use case is I'd like to either return a json file or a value from within a json file. So for instance my path would be "/users" to return a json array of users or "/users/myuser" to return the "myuser" user from the json file.
Here's how I envision setting up the mock responses:
`mockServer.when(request().withPath("/users"))
.callback(HttpCallback.callback().withCallbackClass("MyGeneralCallback", "users.json"));
mockServer.when(request().withPath("/users/.+"))
.callback(HttpCallback.callback().withCallbackClass("MyGeneralCallback", "users.json", "username"));
`
And in the latter case, MyUserCallback would pull the user name from getPath() and then find a user record in the json where the username property equals what was pulled off of the path.
Ideally this would allow for passing an Object which would mean I could pass a map containing whatever I want in it. That could even mean passing in a custom class that has a more dynamic nature to it. Not sure if it would meet the use case described in issue 120 (I didn't read the use case closely enough to tell), but at any rate it would increase the flexibility of mockserver.
This would mean not having to spend so much time creating lots of callback classes that do similar stuff!

#120 is now pretty much complete and released as detailed in the last comments on that issue.
Adding static parameters is none trivial because the type would also need to be provided and would need to be a type that could be serialised, etc.  I would suggest just using the new callback method logic.  Does that meet your use case?

It meets it in a better way! Instead of having to pass a map I can just add constructor parameters for my callback class. Thank you for this improvement and for updating issue 120 with an example!


[RFC][move][sui-verifier] Flip ID Leak rules

Instead of checking leaks at unpack, we check them at pack.
The rule for this is that the id field of an object must come from a set of approved functions, ostensibly just object::new
This is quite the breaking change, but opens up the door for more complicated dynamic field behavior, since you can keep the UID around after the object is unpacked.

This might complciate efforts to track wrapped objects?

It's possible I'm being dense, but I couldn't find the change to the verifier implementation here -- just changes to tests. Have I missed something?

Well... what have I done...


Feature Request: Add ability to mute logger

This feature is useful when running tests. We can either mute the whole logger or mute just a specific transport.

logger.transports['console'].silent = true;


Alignment issue

Amazing statusline, thanks!
There is a problem with aligning center element when line number is double digit and column changes between single and double digit as seen below.

Ah, so you want that part to take fixed width? So it's not so noisy?

You can now do something like this:
      '[', builtin.line_with_width(3), ':',  builtin.column_with_width(2), ']',

To set the width that you want for line and column.
If that works for you, feel free to close the issue.

Would you mind adding right alignment as well? It works much better now though.


Adding extra phonons to dataset

Hello! I am trying to add new phonon data to dataset, but I don't understand how to normalize phononDOS like you. I downloaded phonon data from materials project (same structures), but using cutoff to 1000 cm^(-1) and minmax normalization makes results much weaker. Please, can you tell how you transformed phonon density of states for dataset?

Hi! We did some additional preprocessing to the phononDoS to downsample spectra down to 51 points, detailed here: https://onlinelibrary.wiley.com/action/downloadSupplement?doi=10.1002%2Fadvs.202004214&file=advs2492-sup-0001-SuppMat.pdf. The gist of it was to smooth the raw spectra using a Savitzky-Golay filter of window length 101 and
polynomial order 3, and then interpolate the smoothed spectra to 51 evenly-spaced points from 0-1000 cm^(-1). Representative examples of the before and after are shown in the linked pdf.

Hello again, sorry for delay. I successfully made it with. Thanks for explaining this to me!


Update MD file on new branch 2017-34-09_19-12-12

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


i2c_ack_type_t I2C_MASTER_ACK mismatch with ACK_EN in i²C examples/

Environment

Development Kit: ESP32-DevKitC
Kit version: revision 1
Core (if using chip or module): ESP32D0WDQ6
IDF version: d441dd32
Development Env:		other
Operating System:		Arch
Power Supply:         USB 5V

Problem Description
Checking i2c examples I see that to enable acknoledgement ACK_EN(ABLE) is equal to 0x01
instead i2c_ack_type_t (I2C_MASTER_ACK) here is equal to 0x00
working with an i²c device (PCA9685) if i disconnect the device while i²c is active (to cause error).
with I2C_MASTER_ACK (0x00) -> i don't get any error (return of i2c_master_cmd_begin() == 0)
with I2C_MASTER_NACK (0x01) > i get an error as expected
shouldn't be the opposite?

https://github.com/espressif/esp-idf/blob/master/examples/peripherals/i2c/main/i2c_example_main.c#L154-L156
Can you be more specific in what values and lines of source code you are referring to?


Stabilize blank_lines_upper_bound

Closes #3381
Looks like any outstanding discussion has died out and that we won't change the default? Can we stabilize this feature please? If anything, the discussion around the default showed that many people want this set to two or higher. So let us do that on stable rather than needing to use the nightly formatter in our CI just to check formatting.
I have not contributed to rustfmt before. Maybe I'm not doing the correct thing here. I just mimicked other stabilization PRs. I want to get this ball rolling.
The formatting RFC discussion: https://github.com/rust-dev-tools/fmt-rfcs/issues/57

Ok. Sorry to hear that. Yeah I know the default was not going to change. That's why I thought it could be stabilized. I did not find any concrete list of todo items such as missing tests or anything. It would be helpful if the initial post of the tracking issue had a list of outstanding issues with checkmarks.
Sorry that I missed the documentation section about stabilizing options. I only skimmed Contributing.md and did not realize there were other documents on contributing. I fully agree premature stabilization is evil, so I understand. I was just not able to find the list of remaining problems for this option.

No worries!

It would be helpful if the initial post of the tracking issue had a list of outstanding issues with checkmarks.

I've been thinking about going through all the open ones and at least plugging in the link or adding a comment with a link to the stabilization requirements, but am extremely resource constrained with too many higher priority items to do even that; much less enumerate the specific outstanding items for each issue.
Unfortunately I don't think it'd be feasible to do anything beyond enumerating/linking to the requirements at issue creation either, as most of the stabilization-blocking issues aren't known straight away


Remove C# compilation stuff  from the project

CodeBuilder.cs

CodeBuilderBase

CSharpStreamCompiller

[x] move the code to mpostol\tp

The code must be reviewed. Partially it should be moved to UT.

Adopt the code moved from the RealTime project.


haproxy_install breaks on OEL6

Cookbook version
4.3.0
Chef-client version
13.0.118
Platform Details
Oracle Linux Server release 6.6
Scenario:
haproxy_install creates an incompatible init script, which fails to load /lib/lsb/init-functions
Steps to Reproduce:
no strings attached: create a default haproxy_install resource on a OEL6 system.
Expected Result:
A redhat-compatible init script is installed
Actual Result:
A debian-compatible init script gets installed

I found haproxy_install resource creates a poise_service with sysvinit provider, with no option for skipping it. It also provides a cookbook and template name as string literal, with no options to configure. Then, platforms amazon, centos and redhat are handled as special case, making debian as a fallback option.
I know of oracle and science linux (which are in the supported distributions list), which get the fallback template.

Can you do a pull request? and possibly add a test?

For now I've replicated the functionality into my configuration cookbook, I can prepare something early next week. Most likely redhat/centos init script has to be copied under templates/oracle/. Alternatively, we can have a separate flow of actions for debian and rhel platform families, just like how systemd is handled.
@rshade, what do you think?

I think that should probably be all it needs, and added to the list on the case, then a test in .kitchen.dokken.yml and .travis.yml


composition: Enable layering of pallets

Currently, the only way to make a variant of a pallet is to fork it into a new repo and then synchronize changes between the upstream repo and the downstream fork; any changes from other upstream pallets must be manually copied from those upstreams, with no support in git for synchronizing future changes from those upstreams. Making variants of pallets would be easier if we could take a "layering" approach (like how container images can be composed by copying files from multiple other container images). Prototypical motivating use-cases include:

Moving generalizable host package deployments (e.g. for machine-name stuff, autohotspot stuff, etc.) from github.com/PlanktoScope/pallet-standard to github.com/PlanktoScope/device-pallet-base, and defining github.com/PlanktoScope/device-pallet-standard as a layer on top of it. github.com/PlanktoScope/device-pallet-base could be the pallet used by the PlanktoScope SD card images in the none hardware type, while github.com/PlanktoScope/device-pallet-segmenter-only could be the pallet used by the PlanktoScope SD card images in the segmenter-only hardware type.
Making github.com/PlanktoScope/pallet-standard (or github.com/PlanktoScope/device-pallet-standard) default to providing package deployments for the Planktoscope HAT, and then making another pallet (e.g. github.com/PlanktoScope/device-pallet-adafruithat) layered on top of it which overrides PlanktoScope HAT-specific package deployments with Adafruit HAT-specific package deployments
Making a custom pallet which tracks github.com/PlanktoScope/pallet-standard as its base but adds a few more package deployments, and maybe disables some unnecessary package deployments. In fact, in PlanktoScope SD card images we might want to just initialize a new pallet which merely declares github.com/PlanktoScope/pallet-standard as a required pallet, so that users can then add new package deployments (or override imported package deployments) without touching github.com/PlanktoScope/pallet-standard.

Just like how pallets have a requirements/repositories subdirectory which is manipulated with the [dev] plt add-repo and [dev] plt rm-repo subcommands, we can add a requirements/pallets subdirectory which also uses forklift-version-lock.yml files, and we can add [dev] plt add-plt and [dev] plt rm-plt subcommands. Note that we'd probably want to provide a way to easily (check for and) switch to newly-released versions of required pallets, as a parallel to #246. This could be implemented by adding /requirements/pallets/{pallet path}/forklift-updates.yml files, for example.
Then we need to figure out how to organize the inclusion of files (e.g. files/directories under requirements and/or files/directories under deployments) from required pallets, e.g. with one or more of the following options:

Mirroring the filesystem structure, we could allow listing files in forklift-includes.yml files which can exist anywhere. Wherever such a file exists, it can specify one or more file imports; each file import consists of:

the path of the file (which may be a directory) to import, prefixed with the path of the pallet which provides the file to import (e.g. github.com/PlanktoScope/pallet-standard/deployments/infra)
(optionally) a target path to import a file into, relative to the parent directory of the forklift-includes.yml file, if the target subdirectory path is different from the subdirectory path of the file to import relative to its parent pallet (e.g. the /deployments/forklift-includes.yml could specify the target as base-infra; or the /forklift-includes.yml file could specify the target as deployments/base-infra)

This option could be very familiar with the syntax for specifying file exports from Forklift packages, and placing forklift-includes.yml files next to the places where files will be imported provides some nice locality between declarations and their effects, and it's also familiar with the idea of importing certain Go packages in certain other Go packages. On the other hand, allowing forklift-includes.yml files to be anywhere other than the root of the pallet would expose some additional complexity for people who need to understand what files get included where. We could start with only allowing forklift-includes.yml at the root of the pallet and then later experiment with the ramifications (for transitive layering and for composition of files from multiple upstream pallets) of allowing forklift-includes.yml files in subdirectories of the pallet.
It's not clear to me how we could inherit everything in a required pallet's forklift-includes.yml file but narrow the files imported from it, or combine it with additional files in the same directory provided by some other required pallet. So I'm not sure the advantages of this approach outweigh its limitations and its complexity.

Adding a section to forklift-pallet.yml with a mapping between required pallets and objects declaring a list of objects, each one declaring a list of files/patterns/globs to include or exclude (depending on the object type) from the respective pallet, with the lists applied in order (so that a list of exclusions declared after a list of inclusions will cause the exclusions to override any overlapping inclusions).
This option would be simple and transparent, and it would make forklift-pallet.yml be a single source of truth for all file imports from required pallets. For users to selectively narrow the inclusion of files from a required pallet, they could just include all the files from it and then exclude particular paths which might conflict with other required pallets. I think we should take this approach, at least for basic use-cases.
However, we should think about whether/how this design could enable certain files imported from required pallets to be saved to other target locations (e.g. to rename a deployment). For example, maybe we have source-root and target-root fields so that files in source-root can be imported into target-root instead. Then the inclusion/exclusion blobs would be given relative to source-root.
As an alternative option, we could store these imports in requirements/pallets/{pallet path}/forklift-pallet-imports.yml files. However, I am not sure what (unintended) consequences might result from importing another pallet's requirements directory.

Enabling a pallet to declare feature flags, each of which declares a list of files which other pallets can include. This would parallel the way Forklift packages can declare feature flags. We would probably just declare feature flags in forklift-pallet.yml, and then we could add a YAML file into /requirements/pallets/{pallet path}/forklift-pallet-features.yml to select feature flags to enable from the respective required pallet. This makes it easier to declare a public interface from a pallet with pre-defined groups of files which we want to encourage people to reuse (instead of forcing them to reverse-engineer inclusion patterns from inspecting the pallet's file structure), so we might want to use this approach for cleaner composability anyways.
However, this adds a layer of indirection which makes it harder to figure out which files come from which required pallets. We could mitigate this by automatically generating file import manifests for the required pallets...almost like a checksum, but human-readable. These could be stored as /requirements/pallets/{pallet path}/forklift-pallet-imports-lock.yml which are recomputed (alongside a checksum file to be added by #243) whenever we change the corresponding forklift-version-lock.yml or forklift-pallet-features.yml files, for easy inspection without the forklift tool.

We would probably want to enable any files provided by the pallet to override files imported at the same paths from required pallets. This would make it easy to import all files from some other pallet, and then just override a particular package deployment declaration.
We also need to figure out how to ensure that we safely handle transitive requirements among pallets (especially if we are able to include forklift-includes.yml files from other pallets), how we can prevent circular dependencies, and how we can deal with conflicting files among different pallets. For example, the simplest way to prevent file import conflicts among required pallets is by prohibiting a pallet from importing a non-directory file to the same target path from multiple distinct pallets - instead, the pallet must select which pallet that file will be imported from.
To merge all the layered pallets together, we'd probably want to make an merge filesystem which we can use as the underlay for the pallet as an overlay filesystem. We might want to export the resulting overlay filesystem separately as merged-pallet in the staged pallet bundle.

Test cases which must be handled include:

Linear transitive imports: pallet A is imports files from pallet B, which imports files from pallet C
Branched transitive imports: pallet A imports files from pallets B and C, and pallet B also imports files from pallet C
Diamond-shaped transitive imports: pallet A imports files from pallets B and C, and pallets B and C import files from pallet D
Import cycle: we do not allow pallet A to import files from pallet B and pallet B to simultaneously import files from the same version of pallet A. In other words, a pallet must not be allowed to be in the transitive closure of its required pallets.

In each case, we need to handle overrides of particular files which might be in any pallet.

Here's one possible formal description of the file import-based pallet layering mechanism I am considering:

Pallets: A pallet has a set of intrinsic files which exist in the Git working tree of the pallet, and (after imports are evaluated) a set of imported files which are virtually overlaid by Forklift under the intrinsic files whenever the pallet is queried (e.g. for staging). For describing the pallet layering mechanism, any pallet P can be formally defined as a 5-tuple (D(P), IS(P), IT(P), N(P), F(P)), consisting of:

Pallet dependencies: let D(P) be the set of other pallets from which pallet P imports files; these dependencies are specified by forklift-version-lock.yml files in the requirements/pallets/ subdirectory.
Imports from dependencies: let IS(P) be a function which maps from every p ∈ D(P) to the set of paths in p (relative to p's root) of all files imported by pallet P; in other words, IS(P) gives us source file paths for file imports. And let IT(P) be a function which maps from every p ∈ D(P) to a function which maps from every f ∈ IS(P) to the path (relative to P's root) where that respective file will be imported to; in other words, IT(P) gives us target/destination file paths for source paths for file imports, and IT(P)(p) is the transformation which pallet P makes on the path of each file it imports from pallet p. Then {IT(P)(p)(f) | p ∈ D(P) ∧ f ∈ IS(P)(p)} is the set of paths in P of all files imported by P. These path mappings are specified by *.imports.yml files in the imports/pallets subdirectory.
Names of intrinsic files: Let N(P) be the set of paths (relative to the pallet's root) of all intrinsic files in pallet P.
File contents of intrinsic files: let F(P) be a function which maps from every f ∈ N(P) to the contents of the intrinsic file with path f.

File overlay behavior: Let N'(P) be the set of paths of all files used when querying the pallet after its imports are evaluated; we will require that N'(P) = {IT(P)(p)(f) | p ∈ D(P) ∧ f ∈ IS(P)} ∪ N(P) (i.e. every file is intrinsic or imported). Let F'(P) be a function which maps from every f ∈ N'(P) to the contents of the file used when querying the pallet after imports are evaluated; then:

File overrides: we require for every f ∈ N'(P) that f ∈ N(P) → F'(P)(f) = F(P)(f); in other words, the contents of an intrinsic file will be used when querying the pallet instead of the contents of any file imported to the same path.
File imports: we require for every f ∈ N'(P) that f ∉ N(P) → ∃p ∈ D(P) : ∃f' ∈ (IS(P)(p) ∩ N'(P)) : F'(P)(f) = F'(p)(f') ∧ f = IT(P)(p)(f'); in other words, evaluating file imports involves querying pallet dependencies for file contents after their own imports have been recursively evaluated.
No diamond dependency conflicts: we require for every p, p' ∈ D(P), for every f ∈ IS(P)(p) and every f' ∈ IS(P)(p'), that IT(P)(p)(f) = IT(P)(p')(f') → F'(p)(f) = F'(p)(f'); in other words, if a pallet imports files from multiple other pallets into the same target path, those files cannot have different contents. This is to prevent the need to handle diamond dependency conflicts, while allowing avoiding the need to choose between pallets which all have the same file to be imported.

No circular dependencies: P is not allowed to be a member of the transitive closure of the dependencies of P. This is to prevent circular dependencies.

(TODO: formally specify how we construct IS(P) and IT(P), and what constraints we have on them)

Now that I've implemented file import groups declared as files within the /requirements/pallets directory of a pallet, I wonder if I can add a feature flags section (either to forklift-pallet.yml or as a /features directory) to declare named file import groups which can be used by name in other pallets. One nice thing about the /features directory is that then it's easy to copy a file import group declaration (e.g. to make a modified version) just by copying the file. Additionally, then it'd be easy to expose all declared feature flag declarations imported from other pallets (by just importing files in those other pallets' /features directories).


brew install error

vipinsahu$ brew install https://github.com/codekitchen/dinghy/blob/master/cli/dinghy.rb
######################################################################## 100.0%
Error: /Library/Caches/Homebrew/Formula/dinghy.rb:5: syntax error, unexpected '<'

^
/Library/Caches/Homebrew/Formula/dinghy.rb:6: syntax error, unexpected '<'

 ^
/Library/Caches/Homebrew/Formula/dinghy.rb:6: syntax error, unexpected keyword_class, expecting end-of-input

                     ^
Please report this bug:
    https://git.io/brew-troubleshooting

That's not how brew works.  Use:
$ brew tap codekitchen/dinghy
$ brew install dinghy

Did you get that command from somewhere? Please follow the install instructions in the README.


any alternative of Amazon Cloud Map?

https://aws.amazon.com/blogs/opensource/aws-cloud-map-service-discovery-serverless-applications/

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

ID: 30d02f16-9621-d204-4132-8ce8db79b0af
Version Independent ID: 65b4385b-79f0-d842-d4a1-5d013615f9b1
Content: AWS to Azure services comparison - Azure Architecture Center
Content Source: docs/aws-professional/services.md
Service: architecture-center
Sub-service: cloud-fundamentals
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#320888


[HUDI-795] Ignoring missing aux folder

What is the purpose of the pull request
Seeing breakages on GCS. When something removes the folder deleteAllInstantsOlderorEqualsInAuxMetaFolder breaks.
Brief change log

Modifed HoodieCommitArchiveLog.deleteAllInstantsOlderorEqualsInAuxMetaFolder to ignore missing folder

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #1515 into master will decrease coverage by 0.55%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #1515      +/-   ##
============================================
- Coverage     72.17%   71.62%   -0.56%
- Complexity      289      294       +5
============================================
  Files           372      378       +6
  Lines         16267    16552     +285
  Branches       1637     1672      +35
============================================
+ Hits          11741    11855     +114
- Misses         3791     3965     +174
+ Partials        735      732       -3

Impacted Files
Coverage Δ
Complexity Δ

.../org/apache/hudi/table/HoodieCommitArchiveLog.java
76.43% <66.66%> (-1.06%)
0.00 <0.00> (ø)

...di/hadoop/realtime/HoodieRealtimeRecordReader.java
70.00% <0.00%> (-14.22%)
0.00% <0.00%> (ø%)

...ain/java/org/apache/hudi/avro/HoodieAvroUtils.java
84.82% <0.00%> (-7.18%)
0.00% <0.00%> (ø%)

...lities/checkpointing/KafkaConnectHdfsProvider.java
89.28% <0.00%> (-3.03%)
14.00% <0.00%> (+2.00%)
:arrow_down:

...i/common/table/timeline/TimelineMetadataUtils.java
93.02% <0.00%> (-2.22%)
0.00% <0.00%> (ø%)

...i/utilities/deltastreamer/HoodieDeltaStreamer.java
78.13% <0.00%> (-1.01%)
11.00% <0.00%> (+1.00%)
:arrow_down:

...in/java/org/apache/hudi/utilities/UtilHelpers.java
64.70% <0.00%> (-0.71%)
22.00% <0.00%> (+1.00%)
:arrow_down:

...ain/java/org/apache/hudi/io/HoodieWriteHandle.java
74.46% <0.00%> (-0.54%)
0.00% <0.00%> (ø%)

...i/common/table/timeline/HoodieDefaultTimeline.java
92.30% <0.00%> (-0.12%)
0.00% <0.00%> (ø%)

...in/java/org/apache/hudi/io/HoodieAppendHandle.java
84.17% <0.00%> (ø)
0.00% <0.00%> (ø%)

... and 26 more

Continue to review full report at Codecov.

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

LGTM.


Prune previous OCI publishing location on Docker Hub

About

Initial OCI image releases have been published at https://hub.docker.com/r/crate/crate_adapter.
While improving CI with GH-42, we switched to publishing OCI images to GHCR, see https://ghcr.io/crate/cratedb-prometheus-adapter.

Details
While everything is documented correctly on the README, we still may want to prune the project on Docker Hub.
Q&A
If you agree, please add a 👍. If you have objections, 👎, optimally with a suggestion how to do it differently [^1].
[^1]: For example, by bringing back publishing to Docker Hub, for example. It will be a bit more effort needed to setup authentication properly. Using GHCR is just super convenient.

+1
Btw. even without pruning, we should ensure in future that people ending up on an old, deprecated place like the Docker Hub should get notified that this project has moved.

Do you have a suggestion how to pull that off? Maybe keep the documentation page there, let it refer to the new location, and purge the images only?

I've added a note to the deprecated docker image registry that new images are available now on GHCR.


ID Alias

What is the best way to handle multiple IDs that reference the same object? For example, usernames may be case insensitive and ignore dots and dashes but that user should also be queryable by their ID. For example, Twitter allows case-insensive queries for a user ID or a username. How could I accomplish this with JSON API?

Maybe the filter query param?

Would you mind posting this on http://discuss.jsonapi.org/ please? it's better for these kinds of 'how do I use' questions. Thank you!


Image us.gcr.io/k8s-artifacts-prod/artifact-promoter/cip does not contain dashboard binary

What happened:
We have the job https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/wg-k8s-infra/trusted/wg-k8s-infra-trusted.yaml#L25-L47 that runs the vulnerabilities and export a dashboard.
To run that it needs the dashboard binary that is available here: https://github.com/kubernetes-sigs/k8s-container-image-promoter/tree/master/dashboard
But this is missing when building the image us.gcr.io/k8s-artifacts-prod/artifact-promoter/cip and the job is failing because this binary is missing: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-k8sio-vuln-dashboard-update/1319508946259546112
I'm trying to see what is missing but I'm not an expert on bazel :/
/cc @justaugustus @listx
/kind bug

This probably needs to be revisited (or be made a part of) #266.

I believe the root of this is that the vulnerability dashboard binary was not actually in the cip image (nor do I think it should be).
So I'm have done / am doing a few things:

[x] migrate the vulnerability dashboard (vulndash) to k/release: https://github.com/kubernetes-sigs/k8s-container-image-promoter/pull/276
[x] fixup image building for vulndash: https://github.com/kubernetes/release/pull/1662
[ ] update image locations, job refs in k/test-infra: https://github.com/kubernetes/test-infra/pull/19725

/assign

Closing in favor of https://github.com/kubernetes/release/issues/1665.
/close


[HOLD #12603] [Image] Seeing blank modal for avatar, when offline reported by @thesahindia

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

Tap on the avatar

Expected Result:
The photo loads after uploading a new avatar and clicking on details
Actual Result:
The photo does not load after uploading a new avatar and clicking on details
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
Desktop App
Mobile Web

Version Number: 1.2.27-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/201702995-cdcff1ad-f743-469a-9b33-9b2800a68b9b.mov
Expensify/Expensify Issue URL:
Issue reported by: @thesahindia
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668369779537849
View all open jobs on GitHub

Placing on hold & adding to tracker: https://github.com/Expensify/App/issues/10894
Ideally this will get fixed once image caching works, but we'll keep this open to investigate

Makes sense. I'll switch Conor out for myself as the BZ.

Caching on native is done, still held on Web/Desktop before we can retest this one.

Still on hold.

Still on hold. Looking to explore the route of getting the web/desktop caching PR unblocked by fixing it in our RNW fork while we wait on the upstream.

No change since the last update.

Note: Possible fix for me later:

Remove isAuthTokenRequired from DetailsPage -> AttachmentModal
In AttachmentView, render ImageView also if props.sourceURL starts with blob:

Note: Added another set of reproduction steps to the OP (from here: https://github.com/Expensify/App/issues/14130) so we can close out the other issue

Still held.

Still waiting on the web/desktop caching PR, but we're real close to getting that merged from looking at it!

App PR for web/desktop image caching is still in review: https://github.com/Expensify/App/pull/13036

No change, Melv.

Still held on the caching PR which is being held by a CORS issue.

Still held on web caching, Melv.

No change.

Samesies!

Same Melv!

Same Melv!

Still held on web caching, Melv.

Still held on web image caching, but we're making progress there with the CORS issue dependency blocking that.

Still held, but the web image caching PR is in review.

Image caching PR was deployed and reverted. Awaiting this now before re-implementing: https://github.com/Expensify/App/issues/32703

Damn, we so unlucky Melv! The image caching PR got reverted again, so this is still held.

No change.

All good here. Closing!
https://github.com/Expensify/App/assets/16232057/900991a5-212e-4a0f-a609-3339fe5f3aa1

Payment summary:

$50 to @thesahindia for reporting the bug. Eligible as prior to the program change. 👍

$250 approved for @thesahindia


How to parse array of arrays?

How should i handle JSON object field being an array like this?
"vertices": [  [3413.33,3728.0], [1990.61,3444.67],  ...   ]

I have tried the following:
@JsonField(name = "vertices")
public List<List<Double>> vertices_;

and
@JsonField(name = "vertices")
public List<Double[]> vertices_;

but the result is always an array with elements that are null.

The picture above shows the state of the `vertices_` array at the begining of
@OnJsonParseComplete
void onParseComplete() {...}

method. Please help.

Using the second approach you mentioned, I'm able to get LoganSquare to parse the information correctly using version 1.3.7:
@JsonObject
public class Whatever {
    @JsonField(name = "vertices")
    List<Double[]> vertices;
}

{
   "list":[
      {
         "vertices":[[2.4, 1.3, 5.6], [9.6, 8.4, 3.5]]
      },
      {
         "vertices":[[2.4, 1.3, 5.6], [9.6, 8.4, 3.5]]
      },
      [...]
   ]
}

I have found that I had other bug. The approach of
 @JsonField(name = "vertices")
    List<Double[]> vertices;

works well. Thanks !


bug: Github Actions integration tests do not work with text events

We don't really care for this feature anymore, as we have a working setup locally.


docs: Add yarn workspaces example

Update usage verbiage

Avoids using the word "root" and clearly states to execute the command in an individual package

Add yarn workspaces cli example

Thank you!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


EE3 Support

EE3 support for its items?

I've been looking into it yesterday. Most if Ender IO's items would have EMC values, but there are bugs in EE3 that prevent that. Main one is that is fails to compute EMC as soon as an item in the recipe has multiple oreDict names. I plan on adding the support, but until EE3 gets an update that addresses this, it's not high on my TODO list---I don't want to add code to compute EMC for items that EE3 should compute itself.

Hmm I'm confused. Because EE3 seems to lack EMC for most of the alloys and stuff. I assumed it ws because they go through a machine that EnderIO needed to inform EE3 about. Should those be computed automatically?

No, alloys and liquids need to be added from our side. But EE3 doesn't manage to compute EMC for e.g. the Basic Gear---which is just 4 cobble and 4 sticks. Depending on the installed mods, many or even most of the basic recipes---which only contain vanilla items---fail to compute. That is what makes it not so useful to add the alloy and fluid emc values.

Hmm. Then how are Furnace recipes auto-computed? Can't you simply add the
Alloy Furnace as another "furnace" for alloys? Also, as for the failure to
calculate EE3 I have found that installing EE3helper resolves the issue.
Though that would explain why I have to Forge Lexicon one mods Copper Ingot
to another to get the proper EMC when the mod claims to add EMC values for
all the equivalent ore dict items.
On Sep 16, 2015 6:25 AM, "Henry Loenwind"<EMAIL_ADDRESS>wrote:

No, alloys and liquids need to be added from our side. But EE3 doesn't
manage to compute EMC for e.g. the Basic Gear---which is just 4 cobble and
4 sticks. Depending on the installed mods, many or even most of the basic
recipes---which only contain vanilla items---fail to compute. That is what
makes it not so useful to add the alloy and fluid emc values.
—
Reply to this email directly or view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/2817#issuecomment-140712285
.

The fact that you need another mod to make EE3 work properly makes me less inclined to add support for it.

The thing is, it seems the development version of EE3 appears to fix the issue (based on what I have seen on Soaryns Stream and Dire's series) with the lack of DynEMC values being calculated. the problem with that is.. it seems that pahimar has yet to do a proper release. And this version just does not work properly. I have heard rumors of buildcraft being an issue among other things.

As tt said. However, I plan to do so. It is not much hassle to register our liquids and alloys. If the automatic calculation for crafting recipes works.
It'd be nice if EE3 had an IMC API. It's much simpler to send a couple of messages than to include yet another batch of code.

Recipes with glass, sand, sticks or ender pearls still fail to compute in EE3. I force some of the more basic ones (gears, binder, item conduits) to get a least most things values.

I know I'm a bit late to the party, but I would like to add the EE3H has never claimed to add oreDic support for EMC. What it does add is a command you can use to add custom EMC to an oreDic entry from the console or as an OP inside an instance.
This ability is also available in EE3, albeit slightly more difficult to implement for your average user.


Front end 4

Coverage decreased (-8.9%) to 91.061% when pulling 1234555b9d64dd9dcaea36861ad0b05fdc843c6c on front-end-4 into 62d21f0d0661856a1847089f14f353564efeecb3 on master.

Coverage remained the same at 100.0% when pulling b5f65722832e50851a171bf311dd250082181a4c on front-end-4 into 62d21f0d0661856a1847089f14f353564efeecb3 on master.


QR code to $GET url

Hi,
What i would like to do is to directly follow an url after scannig a qrcode :
ex : https://www.mydomain.com/page.html?qrcode=codejustscanned
What kind of changes I have to do in your script to do that ?
Thank you very much,

Hi @batgau71,
you will get the result in main.js. All you have to do is open your desired url using window.open with scanned code.

Perfect ! Thank you ! ;)

@batgau71 Cool 👍

Hi @gokulkrishh. Thank you for making this wonderful program. This is one of the best working solution on the internet for QR scanning using browser.
Could you please help me to understand what changes do I make in the web version (gh-pages) main.201113f887d44acdfa77.bundle.js file to redirect to the scanned URL, instead of showing the popup/snackbar.

@hvarora Thanks.
Source: https://github.com/code-kotis/qr-code-scanner/blob/master/app/js/main.js#L92
In above line, scan method we get the result. There you have to do changes required to open or redirect the result if its URL.
You have edit the source and build the app to make it work.
And main.201113f887d44acdfa77.bundle.js is compiled & minified version to make changes in this file would be hard to find and do it.


add Kress mower

Thank you. Some small comments:

Please remove "www" and "widget "dirs of not needed
same for "docs" if nothing in there ... or better add docs there and reference in io-package :-)
please add common.license to io-package
please check again all states to have correct roles (e.g. areas.startSequence do not have a role)
please add bluefox as npm owner

thank you!

Also added bluefox as npm owner?

Please Check the roles and descriptions.
https://github.com/MeisterTR/ioBroker.kress/blob/master/io-package.json#L80
Type string cannot have a role "value".
https://github.com/ioBroker/ioBroker/blob/master/doc/STATE_ROLES.md

ok i correct states again.


feat: add Expo React Native docs

Pull Request Checklist

[ ] Did you add new tests and confirm existing tests pass? (yarn test)
[x] Did you update relevant docs? (docs are found in the site folder, and guidelines for updating/adding docs can be found in the contribution guide)
[x] Do your commits follow the Conventional Commits standard?
[x] Does your PR title also follow the Conventional Commits standard?
[x] If you have a breaking change, is it correctly reflected in your commit message? (e.g. feat!: breaking change)
[x] Did you run lint (yarn lint:check) and fix any issues? (yarn lint:write)
[x] Did you follow the contribution guidelines?

PR-Codex overview
This PR focuses on reorganizing and enhancing the sidebar navigation for React Native resources, integrating new content related to the react-native-signer and getting-started sections, and updating references across various files.
Detailed summary

Deleted the react-native.mdx file.
Added react-native-signer.ts and getting-started.ts sidebar items.
Updated index.ts to include new sidebar items.
Modified sidebar references in multiple files to incorporate new structure.
Enhanced content in overview.mdx, setup-guide.mdx, and authenticating-users.mdx for clarity and guidance.
Updated links in faqs.mdx to point to new resources.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Closing this in favor of https://github.com/alchemyplatform/aa-sdk/pull/1181


Plugin not working when config.json in /var/homebridge/ ?

My config.json is not in the default folder. Might this be the reason that I do not see devices coming up? (see https://timleland.com/setup-homebridge-to-start-on-bootup/
I saw other plugins working with "homebridgeDirectory": "/path/to/config.json key/value pair to the platform config.

Hello @hartmood,
I believe the plugin would work even without any config.json, can you check if there are any errors in the homebridge log?
Thanks!

Thanks for following up
Jul 10 13:07:24 openHABianPi homebridge[8568]: [7/10/2019, 1:07:24 PM] [Yeelight] doing a round of proactive search for known devices. Jul 10 13:07:24 openHABianPi homebridge[8568]: [7/10/2019, 1:07:24 PM] [MiAqaraPlatform] [INFO]Aqara LAN protocol server is listening on port: 9898 Jul 10 13:07:24 openHABianPi homebridge[8568]: [7/10/2019, 1:07:24 PM] Homebridge is running on port 51826. Jul 10 13:07:39 openHABianPi homebridge[8568]: [7/10/2019, 1:07:39 PM] [Yeelight] all known devices found, stopping proactive search.
I can find no errors. Although it states to have found all devices none of them pop up in the iOS Home app. I have two Yeelight ceiling lights that are connected through openHAB - so API is open. As far as I understand your plugin correctly the bulbs should appear instantly which they don't do.

Hello @hartmood,
If the lamps are new to the plugin, i.e., it never saw them before, that message is OK. The bulbs will advertise themselves on the network and the plugin should then add them. From that moment on they become "known devices".
If after some time they still do not appear and nothing appears on the logs then make sure that the raspberry pi and the bulbs are on the same network and that multicasting is allowed.

UPnP is activated on my Router and I just have one network. I also did a reboot and additionally a restart of the homebridge. But even after two hours nothing has happened yet.

Hmm, I can’t think of anything else right now that could cause this. What are the IPs of the ceiling light and of the rpi running homebridge?

OK, I will try to evaluate further after my holidays. Thanks for your help.


refactor: Volumes Query Key Factory 🏭

Description 📝

A proof of concept for a "Query Key factory"

The idea behind this is to create a single source of truth for query keys
Currently we have no "safety" ensuring you invalidate or use the correct query key
Hopefully we can use this idea of a "query key factory" to make our query keys more consistent across the app as we scale React Query

The easy part of this is creating the queryKey, the hard part is finding a good way to invalidate data using the query key "factory"
Looking to hear options from the team (cc @hkhalil-akamai and @jaalah-akamai )
Inspired by https://twitter.com/TkDodo/status/1448232665686106119 and https://github.com/lukemorales/query-key-factory

Warning: This is just a proof of concept, I hope we can find ways to improve upon this

How to test 🧪

Test Volume features of Cloud Manager

After thinking about this a little more, I think we should just pull in the Query Key Factory package you mentioned above. It has zero dependencies, an API that is really nice, and it's suggested as the default solution by TanStack.


No need to clean the temporary directory of the running terminal

fix: https://github.com/version-fox/vfox/issues/283
A running terminal's temporary directory should never be deleted

Looks great. Just the library hasn't been updated in a while.

After a cursory look at the function of this library, it should be fine, but it is indeed a bit old.

Looks great. Just the library hasn't been updated in a while.

After a cursory look at the function of this library, it should be fine, but it is indeed a bit old.

Actually, we can implement it ourselves, and both libraries are a bit complicated.
For Windows, we can use refer following code:
https://github.com/version-fox/vfox/blob/2d15fc8bccd84989f73300732c8d1b8d6018a57f/internal/shell/windows_process.go#L36-L44
For Unix-like, we can directly use os.FindProcess function.

For Unix-like, we can directly use os.FindProcess function.

os.FindProcess always returns success under Linux, so it needs to be written as follows
package main

import (
	"flag"
	"os"
	"syscall"
)

func main() {
	pid := flag.Int("p", 0, "")
	flag.Parse()

	err := ProcessIsRun(*pid)
	if err != nil {
		panic(err)
	}
}

func ProcessIsRun(pid int) error {
	proc, err := os.FindProcess(pid)
	if err != nil {
		return err
	}
	defer proc.Release()
	return proc.Signal(syscall.Signal(0))
}

window does not support

Processes created by other users cannot be viewed under Linux. If you only consider cleaning up temporary files generated by the current user, there is no problem in doing so.

It is impossible to predict whether this scheme will behave correctly on different platforms

Okay. We can merge this now.


Added Bootstrap 5 cheatsheet and Themeselection

Bootstrap 5 Cheatsheet
It is an interactive list of Bootstrap 5 classes, variables, and mixins. It also helps you easily find the differences between Bootstrap 4 and Bootstrap 5. Besides, it is the only Bootstrap 5 CheatSheet you will ever need whether you are upgrading your Bootstrap 4 project or starting a new Bootstrap 5 project.
Furthermore, it is aimed towards a large community of bootstrap users who find it difficult to search for bootstrap classes, variables, and mixins. Thus, you'll surely find it amazing, and very useful.
Key Features🛠
• Search for your class, variable, or mixin
• Highlight Difference Between Bootstrap 4 & 5 Classes
• Also, Live preview of HTML & code snippet
• Update code snippet on the go
• Easily copy the code snippet and use it
Useful links🔗
• Website: https://bootstrap-cheatsheet.themeselection.com/
• GitHub: https://github.com/themeselection/bootstrap-cheatsheet
Themeselection
ThemeSelection provides selected high quality, modern design, professional, and easy-to-use Bootstrap HTML Themes, Admin Dashboard Template, Vuejs admin templates, and UI Kits.

Hey @saanvi-ts, thank you very much for your contribution.
Unfortunately, you made the changes on the README file, while they should actually be made in /resources/*.js.
If you need any instructions, you can find them here: CONTRIBUTING.
And please let me know if you need any assistance. :)

Ok. Thank you for your guidance.🙂
I'll add the resources as per your instructions in a new pull request.
I'm closing this pull request.


Skipped slides result in misaligned slide/note ouput

Slide and their notes get out of alignment in the HTML output if there are skipped slides in the presentation.

Derp, would love to take a PR to fix that

(Inadvertently closed the issue, sorry about that)

The fix is not obvious to me (never used appscript), but I'll take a look.


Feature/api ease of use

Description

Development notes

Checklist

[x] Read the contributing guidelines
[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[x] Updated the documentation to reflect the code changes
[ ] Added a description of this change in the RELEASE.md file
[x] Added tests to cover my changes

Closing! Meant to make this from my personal account.


fix doc comments in new ClearObservations methods

#5035 had some todo comments where the documentation comments should have been. this change adds the proper text.

/azp run mrtk_docs

/azp run mrtk_pr


keep on playing : 132 games & Gauntlet

Fascinated ..
While testing the recent Sapling versions (upto v1.0.5, see also my #4 and #6 ) i estimate its current rating 3100. At first i picked opponent engines with rating from 2500 and up, but it became clear Sapling is much stronger, it won almost all those games. So here are 132 5m+3s games (13 with Black and 119 with White) against engines with ratings 2900 upto 3400 : here Sapling will show its limits ..
download PGN : sapling-132-games-5m+3s.zip
(when 'ECO' is missing : the game had a custom starting position)

Most engines are 3000+ -- i also let a few really weak ones play, they obscure this list a bit ..
Ratings aren't shown in this table, although this info would make the list more relevant, but i use CuteChess GUI for tournaments (and normally just single games) and this program lacks the feature to give engines a rating, at least, this is unclear to me : when doing a tournament in CuteChess (GUI) a Result List is shown which has a column called 'Elo' .. then how is this value calculated ? Also see my recent Issue https://github.com/cutechess/cutechess/issues/824 on their GitHub page -- at this moment there's no reaction. Am i missing something ?
anyhow, here's the result of a 5m+3s Gauntlet tournament, Sapling v1.0.5 playing White against 30 (mostly) equal and stronger opponents, from start position. I added their ratings to the Result List.
 I guess v1.0.5 is 3100+.
what about v1.1.0 ? Is it much stronger ? Does it play differently ?

Amazing! Thank you :) I'm actually currently developing my own tournament runner and plan on automatically pulling the latest version of each chess engine and constantly updating it's elo as well as recording loads of useful information (average thinking time, nodes per second, depth searched etc.) It's going to be up on osccel.com (opensource computer chess engine league) pronounced  /oʊ sɛl/ (oh-sell) when it's done, hopefully over the weekend.
Maybe you'd like to use that for your own experiments if it works for you, i'd be able to add the features you like.
V1.1.0 is about 30 elo stronger, the only major change was the increased network size, though I hope that with the next training round tonight it'll gain even more since there is so much more data! ~1.5bn positions

Amazing! Thank you :)

It's rare i spend that much 'effort' on one engine .. but in this case i also updated my engine archive a bit, using Sapling as kind of reference, but high as 132 i didn't expect - must be fun ..

I'm actually currently developing my own tournament runner and plan on automatically pulling the latest version of each chess engine and constantly updating it's elo as well as recording loads of useful information (average thinking time, nodes per second, depth searched etc.) It's going to be up on osccel.com (opensource computer chess engine league) pronounced /oʊ sɛl/ (oh-sell) when it's done, hopefully over the weekend.

i once created some terminal scripts in python to display search data when solvinf STS bm & am puzzles. You're creating all code in dot-net / C# ? Pitty, i'm only on Linux, and have trouble compiling such M$ code ..

Maybe you'd like to use that for your own experiments if it works for you, i'd be able to add the features you like.

your assets give no problems here !

V1.1.0 is about 30 elo stronger, the only major change was the increased network size, though I hope that with the next training round tonight it'll gain even more since there is so much more data! ~1.5bn positions

how do you create / select the training data ?
and what about those many STS bm / am puzzles ? are they valuable ? how ? can we prove anything, or is it all statistics & self-play ? I'm tending to find positions to prove something, like "find the move within X seconds".

It's rare i spend that much 'effort' on one engine .. but in this case i also updated my engine archive a bit, using Sapling as kind of reference, but high as 132 i didn't expect - must be fun ..

Honestly I've been blown away by your support, you've really energized me to make the engine be the best it can!

i once created some terminal scripts in python to display search data when solvinf STS bm & am puzzles. You're creating all code in dot-net / C# ? Pitty, i'm only on Linux, and have trouble compiling such M$ code ..

Yeah, though the new system will probably have a decent amount of python too. If you're ever interested i'd be happy to help you get dotnet compilation working on linux! It should be fully supported, so probably just a build option you're missing.

how do you create / select the training data ?
There is a 'datagen' function you can run in Sapling which outputs a bullet format set of training data, in a nutshell it plays the first 9 moves randomly then plays itself and records the evaluation and result of all quiet positions to a fixed number of nodes.I usually generate around  1.5 billion positions to train a new network at the moment, I actually had to buy some new hardware for this because it's a lengthy process, usually taking 6 servers around 2 days for a new net! Though it's getting good enough now I can start to re-use data from the prev net.  I then feed that data into a program called 'bullet trainer' which runs on the GPU to generate the weights, from what I can tell most people don't bother with this, they just use the 'Leeler' data set, which is absolutely amazing - but it doesn't give your engine a unique play style.

and what about those many STS bm / am puzzles ? are they valuable ? how ? can we prove anything, or is it all statistics & self-play ? I'm tending to find positions to prove something, like "find the move within X seconds".

Can you explain what you mean by this? what are 'STS bm / am puzzles' ?

nice info, thanks.

Can you explain what you mean by this? what are 'STS bm / am puzzles' ?

https://www.chessprogramming.org/Strategic_Test_Suite
the 'WAC' file is famous, here's a newer version i once found : wac.zip 'am' is Avoid Move and 'bm' means Best Move. Look at the EDP syntax.

If you're ever interested i'd be happy to help you get dotnet compilation working on linux! It should be fully supported, so probably just a build option you're missing.

yes, i would really like to be able to use dot-net / C# compilation here .. indeed i must be missing something simple .. it's about conflicting dotnet versions, not in the PATH, or both .. i don't know .. and 'msbuild' is executed but doesn't exist .. i wished M$ never set foot on our base :-)

about STS : https://github.com/fsmosca/STS-Rating

Anything else you know like that please share, it's really useful.

well, i wrote about 'Patricia', see https://github.com/Adam-Kulju/Patricia , a new and very aggressive engine .. the author mentions Stefan Pohl's EAS tool at https://www.sp-cc.de/eas-ratinglist.htm , which was a great help for him .. i'm not familiar with this tool but i guess you'll appreciate it.

About STS : there are many .epd files with such 'puzzles' .. not all are relevant any more, because many are from an older age when computers were much slower, so i guess you should select and judge them .. i gathered many of those files, i can ZIP some for you.

And i will mention the tool 'analyse-pgn' which i once found at https://github.com/mrdcvlsc/analyse-pgn .. see also an Issue there from me (i'm tissatussa) .. i remember this tool is OK, but i changed some code to suit my needs .. it's not for those .epd 'puzzles' but just to let an engine analyse a game, like the LiChess graphs (but analyse-pgn only gives textual output).

yes, i would really like to be able to use dot-net / C# compilation here
*** Well idk if you're on discord but I'd be happy to jump on a call with you to help get it working, should take 10 mins max.

About my problems compiling dot-net code : i can use Visual Studio Code on Linux, but i don't understand that program .. i like to use terminal based scripts and commands to compile .. i have several dot-net versions (i remember 6, 7 and 8) but they're scattered around my OS file tree, probably by wrong installations / PATHs etc. .. some code C# packages having a .sln file require a specific dot-version to compile, and i often get many (differen) errors and warnings i can't solve .. i'm not new to Linux, i dare and can do extensive hacks under-the-hood, but this chapter is a hard one for me. And i don't like M$, i prefer (your) assets. I appreciate your help, but let's freeze this subject for now. I know Discord, but i'm not "on it" regularly .. but sometimes indeed got some great help there.

Another one (you got me triggered) is my rather old (2021) Issue regarding the Bagatur engine : 'develop NN', see https://github.com/bagaturchess/Bagatur/issues/16 .. it's a long one, with much info, not all may be relevant to you, but it's a nice read with lots of info & questions & ideas .. then and now Bagatur is a special creation, written in Java, but i no longer bother to compile & use it, because it consists of a bunch of files and settings to run it, the worst config i've seen so far ..
that 4N-position is interesting, read my description and comments in that Issue .. i just took that FEN and did a quick test with Sapling v1.1.1 : it has no problem winning with Black, even against the strongest engines, like SF 17.

And i just saw https://github.com/KierenP/Halogen/pull/573/commits/a224b9e9ced3f48a2bea96d7a772528a8673f04a .. it's just one of the many updates of the Halogen engine (NN, rating 3460) .. it uses 'fastchess' which seems to be a well-known and respected tool for engine development .. here an .epd file is processed .. i didn't work with fastchess though .. if you didn't know this tool exists, it might be another help.

About STS : there are many .epd files with such 'puzzles' .. not all are relevant any more, because many are from an older age when computers were much slower, so i guess you should select and judge them .. i gathered many of those files, i can ZIP some for you.

Yeah if your able to share them I'd be very interested to try them out!

Yeah if your able to share them I'd be very interested to try them out!

of the many EPD files i gathered, some are hundreds Mb in size, i can't post those here .. in fact it's hard to judge their content, but heee .. here are two ZIPs :
bigEPD.zip
manyEPD.zip
one big set of EPDs with comments (part of the syntax) and one set of singles, some doubles or different versions.

Thank you! Closing, and continuing discussion in #9


Linux & tree

Linux & tree
https://www.computerhope.com/unix/tree.htm
https://www.computerhope.com/unix/tree.htm#examples
https://linux.die.net/man/1/tree
https://www.cyberciti.biz/faq/linux-show-directory-structure-command-line/
https://www.ostechnix.com/view-directory-tree-structure-linux/
http://mama.indstate.edu/users/ice/tree/
# all
$ tree

# folder only
$ tree -d

# src folder
$ tree src

# ignore folder
$ tree -I "node_modules*"

iframe

embeded pages

https://www.w3schools.com/tags/tag_iframe.asp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
https://html.com/tags/iframe/

https://www.openstreetmap.org/export/embed.html
https://leafletjs.com/

an open-source JavaScript library for mobile-friendly interactive maps

https://github.com/Leaflet/Leaflet
https://davidwalsh.name/fetch

publish.sh
https://github.com/Leaflet/Leaflet/blob/master/build/publish.sh

#!/bin/bash

npm update

VERSION=$(node --eval "console.log(require('./package.json').version);")

npm test || exit 1

echo "Ready to publish Leaflet version $VERSION."
echo "Has the version number been bumped?"
read -n1 -r -p "Press Ctrl+C to cancel, or any other key to continue." key

git checkout -b build

export NODE_ENV=release

npm run-script build

echo "Creating git tag v$VERSION..."

git add dist/leaflet-src.js dist/leaflet.js dist/leaflet-src.esm.js dist/leaflet-src.js.map dist/leaflet.js.map dist/leaflet-src.esm.js.map -f

git commit -m "v$VERSION"

git tag v$VERSION -f
git push --tags -f

echo "Uploading to NPM..."

echo "Remember to run 'npm run-script integrity' and then commit the changes to the master branch, in order to update the website."

nodejs & es6 & import & export
https://stackoverflow.com/questions/31354559/using-node-js-require-vs-es6-import-export
https://medium.com/the-node-js-collection/an-update-on-es6-modules-in-node-js-42c958b890c

ruler image
https://codepen.io/webgeeker/pen/pZMJza

https://mailchimp.com/
https://material-ui.com/

UI
https://www.zhihu.com/question/20857524
http://www.xueui.cn/
http://www.ui.cn/
http://www.shui-mai.com/
http://www.tuyiyi.com/show

构建一个平台，感觉会有各种现在考虑不到的问题，现在还是先实现一个框架吧；等框架完全OK了，在基于框架构建一个平台，才比较靠谱，你觉得呢？

iframe cors
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
https://stackoverflow.com/questions/22413098/how-to-use-cors-to-access-an-iframe

X-Frame-Options
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options#Syntax

https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

https://stackoverflow.com/questions/22413098/how-to-use-cors-to-access-an-iframe
https://stackoverflow.com/questions/21237278/cors-iframe-example
https://www.eriwen.com/javascript/how-to-cors/

webpack.config.js
https://github.com/carloluis/webpack-demo/tree/master/config

Blocked a frame with origin "null" from accessing a cross-origin frame.
https://stackoverflow.com/questions/29983786/blocked-a-frame-of-origin-null-from-accessing-a-cross-origin-frame-chrome
https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame

https://www.teamviewer.com/en/download/windows/

单引号 === OK

双引号， bug

https://github.com/jantimon/html-webpack-plugin/issues/1029


Add information on scheduled events (VM terminations)

What this PR does / why we need it:
Adds information on scheduled events (VM terminations)

thanks for the review, applied your corrections, ptal

/retest

concourse-ci/check-manifest-entrypoint build fails with
Build finished in 185.588044 seconds
Error: 1 error occurred:
	* cannot determine resource type for path /pkg/util/provider/machinecodes/codes/codes.go and source https://github.com/gardener/machine-controller-manager/blob/master/docs/development/cp_support_new.md: Get "https://api.github.com/repos/gardener/machine-controller-manager/contents//pkg/util/provider/machinecodes/codes?ref=master": dial tcp <IP_ADDRESS>:443: i/o timeout

What's needed to progress this PR?


How diff-cover excludes multiple paths

diff-cover -- exclude
I want to filter out all files in the test directory and third_party directory through the exclude parameter
How should I write the --exclude parameter？ thank you!

I have successfully excluded a directory, now I want to exclude two directories

solved，thanks

solved，thanks

Hi, can you please share the solution? I am trying to run diff-cover from bash with multiple paths and it doesn't seem to work.
if I use
--exclude *a/b/c/* --exclude *b/c/d* ... -> it only excludes the last solution and if I use
--exclude *a/b/c* *b/c/d* ... -> it throws an error that invalid argument exception.
Thank you

@zeavielly I'll admit it's been a while and I'll have to experiment a bit but I would have expected --exclude *a/b/c* *b/c/d* to work in theory.
Perhaps quoting them?
--exclude "*a/b/c*" "*b/c/d*"


Inconsistent help text in Remap shortcuts in Hungarian

Microsoft PowerToys version
0.60.1
Utility with translation issue
Keyboard Manager
🌐 Language affected
Hungarian
❌ Actual phrase(s)
"fizikai beállításkulcs".

✔ Expected phrase(s)
"fizikai billentyűparancs"-ra.
The whole sentence:
Megjegyzés: ha egy fizikai billentyűt átköt, az hatással lesz a "fizikai billentyűparancs"-ra.
ℹ Why is the current translation wrong
Two different words are used for the very same concept in the translation. The original (English) version uses the same words in both places.
In fact, the only way to understand the screen was for me finding an English windows and look for the original, English text.

It is fine now. Checked in v0.66.0.


Add drawer module

This module uses matplotlib to draw commonly used data visualization charts, including some legend combinations.

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

Project coverage is 0.00%. Comparing base (481e3b3) to head (617b40e).
Report is 10 commits behind head on main.

Files
Patch %
Lines

src/mathtools/drawer/plot.py
0.00%
105 Missing :warning:

src/mathtools/drawer/heatmap.py
0.00%
60 Missing :warning:

src/mathtools/drawer/bar.py
0.00%
57 Missing :warning:

src/mathtools/initialize.py
0.00%
13 Missing :warning:

src/mathtools/globals.py
0.00%
11 Missing :warning:

src/mathtools/drawer/__init__.py
0.00%
4 Missing :warning:

src/mathtools/__init__.py
0.00%
3 Missing :warning:

src/mathtools/db/__init__.py
0.00%
2 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (481e3b3) and HEAD (617b40e). Click for more details.
HEAD has 13 uploads less than BASE

Flag
BASE (481e3b3)
HEAD (617b40e)

16
3

Additional details and impacted files
@@             Coverage Diff              @@
##              main      #8        +/-   ##
============================================
- Coverage   100.00%   0.00%   -100.00%
============================================
  Files            1       9         +8
  Lines          158     413       +255
============================================
- Hits           158       0       -158
- Misses           0     413       +413

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create sqlite indexes to improve db queries

Description
Fixes #202

configures sqlite indexes for frequently used queries
removes payloads that are in Created state at startup
stops storing file metadata that are in the upload queue to speed up performance

Status
Ready
Types of changes

[x] Non-breaking change (fix or new feature that would not break existing functionality).
[ ] Breaking change (fix or new feature that would cause existing functionality to change).
[ ] New tests added to cover the changes.
[x] All tests passed locally.
[ ] Documentation comments included/updated.
[ ] User guide updated.
[ ] I have updated the changelog

All licensing approvals to be done in #198


unable to see screens during simulation

I do not see the simulation screen with the drone. This includes the depth map and the segmentation map.
However, I can see the floorplan and the front facing camera.

Hello,
Did you try using the key 1, 2, 3?
You can find more information here
https://github.com/aqeelanwar/PEDRA/blob/master/unreal_envs/readme.md#environment-supported-features

Yes, I have tried keys 1,2,3 because 3 was able to produce the front-facign camera.
I think this is an issue with airsim.

Can you please share the screenshot?

Here is screen shot in train mode:

Try using the key 'F'. This will enable the cameras and you will see the big black screen replaced with the feed from the front facing camera. Then try using keys 1 and 2.

Thank you! This helped.
Is the key 'F' from the airsim instructions?
(i can only find a reference of it https://github.com/microsoft/AirSim/blob/master/docs/using_car.md)

Yes it is from AirSim. The 'F' key enables the graphics rendering. When it is enabled, only then you can view the depth and segment map in the simualtion. This rendering however doesn't affect the backedn python API. Python can still 'see' these images. Its just that these are not beging rendered for the users to see in the simualtion.
Graphics rendering for unreal simulation can take up significant compute power. So, I intentionally disable it when generating the settings.json file (No Display). This helps during the training phase, and each training iteration is much faster (about x2 times on GTX 1080) when the rendering is disabled. This means total training time is reduced by almost half.

Great! Thank you for the explanation. Hopefully this will be helpful for others.
I will be closing this issue.


Add code owner file

Description
Add code owner file to automatically assign required reviewer:

example source - link

Tests
Please describe the tests that you ran on Cloud VM to verify changes.
Instruction and/or command lines to reproduce your tests: ...
List links for your tests (use go/shortn-gen for any internal link): ...
Checklist
Before submitting this PR, please make sure (put X in square brackets):

[X] I have performed a self-review of my code.
[X] I have necessary comments in my code, particularly in hard-to-understand areas.
[X] I have run one-shot tests and provided workload links above if applicable.
[X] I have made or will make corresponding changes to the doc if needed.

Going to merge this PR. @will-cromar Please let me know if you have further questions.


Proper Handling of the URL Configuration Change

This commit provides proper handling of url configuration change. This fixes the issue of when the user changes the URL of the server, the user would need to reopen vscode so that all of the manangers can be initialized with the proper tspClientURL. With this commit, all tspClient dependent components are notified of a URL change.
Signed-off-by: Neel Gondalia<EMAIL_ADDRESS>

Hey Neel,
I currently have a PR under review that addresses this exact problem as well.  https://github.com/eclipse-cdt-cloud/vscode-trace-extension/pull/196.
Maybe you can take a look and see if this works for you?

I was testing this change and the URL change is propagated correctly. However, I noticed that when change the URL, the webviews don't populate and I see the error message below in the console log. In my test I changed the URL from localhost to <IP_ADDRESS>. All the updates are done but, the html of the webview is not resolve again and it has the old URL for the connect-src. For example, the method resolveWebviewView() which calls _getHtmlForWebview of TraceExplorerOpenedTracesViewProvider is only called once and hence the connect-src is not updated. I'm not sure how to fix that. Please note it's a general problem and not related to this change. Any ideas how to fix it?

I pushed a patch for it! Can you please re-test it and let me know?
From the docs of webview.html property:
"
HTML contents of the webview.
This should be a complete, valid html document. Changing this property causes the webview to be reloaded.
"
Based on this, you can just assign the updated html content to the webview and it will get reloaded.

I was testing this change and the URL change is propagated correctly. However, I noticed that when change the URL, the webviews don't populate and I see the error message below in the console log. In my test I changed the URL from localhost to <IP_ADDRESS>. All the updates are done but, the html of the webview is not resolve again and it has the old URL for the connect-src. For example, the method resolveWebviewView() which calls _getHtmlForWebview of TraceExplorerOpenedTracesViewProvider is only called once and hence the connect-src is not updated. I'm not sure how to fix that. Please note it's a general problem and not related to this change. Any ideas how to fix it?

I pushed a patch for it! Can you please re-test it and let me know?
From the docs of webview.html property: " HTML contents of the webview. This should be a complete, valid html document. Changing this property causes the webview to be reloaded. "
Based on this, you can just assign the updated html content to the webview and it will get reloaded.

Yes, this did the trick. I tested it and works. Thanks.
I'm going to do a review now. Once this PR merged, @williamsyang-work will base his work on it.

Looks good to me. Thanks a lot for this contribution. Since you're committer, you can submit it. Please use Rebase and Merge.

I don't have that option. It seems like i still don't have write access.

I was testing this change and the URL change is propagated correctly. However, I noticed that when change the URL, the webviews don't populate and I see the error message below in the console log. In my test I changed the URL from localhost to <IP_ADDRESS>. All the updates are done but, the html of the webview is not resolve again and it has the old URL for the connect-src. For example, the method resolveWebviewView() which calls _getHtmlForWebview of TraceExplorerOpenedTracesViewProvider is only called once and hence the connect-src is not updated. I'm not sure how to fix that. Please note it's a general problem and not related to this change. Any ideas how to fix it?

I pushed a patch for it! Can you please re-test it and let me know?
From the docs of webview.html property: " HTML contents of the webview. This should be a complete, valid html document. Changing this property causes the webview to be reloaded. "
Based on this, you can just assign the updated html content to the webview and it will get reloaded.

Awesome find.  This bug has been on my radar for a while, I appreciate the fix!


vote only callable by NULL_SENDER

addresses #147

add NULL_SENDER param to contract
enforce vote only callable by NULL_SENDER via an assert
add send_vote helper fixture in test to hide the sending from null_sender

Note, I did add NULL_SENDER as an init param. It is non-trivial to fake an on-chain tx from a sender without a privkey web3.py/eth-tester. Without the client specific implementation to parse null_sender from the r = s = 0 signature, we can't really send an on-chain tx from 0xFF in our tests.

@ChihChengLiang I'll merge in your votable PR into master and handle any merge conflicts before this is merged

merged https://github.com/ethereum/casper/pull/157 to unblock this pr


Texture coordinate bug

The last committed source of master, it seems, represent wrong texture coordinate compare with my last downloaded version.
My last version up to dated on Oct 31 2016, it work good for texture coordinate.

@generalistr6 , could you provide a repro case?

I found the different line.
[scene.cpp]
float2 uv = **0.2f *** float2(objshapes[s].mesh.texcoords[2 * i], objshapes[s].mesh.texcoords[2 * i + 1]);
when I changed as below, it works fine.
float2 uv = float2(objshapes[s].mesh.texcoords[2 * i], objshapes[s].mesh.texcoords[2 * i + 1]);

Should be fixed here: https://github.com/GPUOpen-LibrariesAndSDKs/RadeonRays_SDK/commit/cb562f01ddaa61240bcac99183fd837d99117d93
Can you check?

Thanks. It works correctly.


Not able to retrieve scan status with Burp version 1.7

Describe the bug
Not able to retrieve scan status with Burp version 1.7
To Reproduce
Steps to reproduce the behavior:

Initialise burp using ./burp-rest-api.sh
include a url in scope
trigger a scan
retrieve scan status again and again till 100% is achieved

code for checking this:
`
 String responseText="";

 int responseCode=200;

while(!responseText.equalsIgnoreCase("100") && responseCode==200)

{

    System.out.print(responseText+"true");

    URL urlForGetRequest = new URL("http://localhost:8090/burp/scanner/status");

     String readLine = null;

    HttpURLConnection conection = (HttpURLConnection) urlForGetRequest.openConnection();

    conection.setRequestMethod("GET");

    responseCode = conection.getResponseCode();

    System.out.println("response"+responseCode);

        BufferedReader in = new BufferedReader(

                new InputStreamReader(conection.getInputStream()));

        String response = "";

        while ((readLine = in .readLine()) != null) {

            response+=(readLine);

        } in .close();
    JSONObject jsonObj = new JSONObject(response);
        // print result
responseText= String.valueOf(jsonObj.get("scanPercentage"));
        System.out.println("ScanPercentage",responseText);
    TimeUnit.MINUTES.sleep(2);
        //GetAndPost.POSTRequest(response.toString());

}

`
O/P I got :
response 200
ScanPercentage 0
response200
ScanPercentage 4
response200
ScanPercentage 14
response200
ScanPercentage 17
and after this code doesnt return anything
Expected behavior
It should return scan status
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS:  Windows
Burp Suite Professional version: 1.7
Extension burp-rest-api version  latest

Note: I perform get request from  swagger UI to get scan status but its showing loading again and again, finally after 10 mins it gave 1 error. i.e TypeError: Failed to fetch
@ikkisoft @adracea

I have noticed there is no problem with above code but it is with the way I am initialising the burp
`
ProcessBuilder builder2 = new ProcessBuilder(
        "cmd.exe", "/c", "cd \"C:\\burp-rest-api-master\" && burp-rest-api.bat --headless.mode=false");
builder2.redirectErrorStream(true);
Process p3 = builder2.start();
BufferedReader r2 = new BufferedReader(new InputStreamReader(p3.getInputStream()));
String line2;
ArrayList a=new ArrayList();
line2 = r2.readLine();
p3.waitFor(25,TimeUnit.SECONDS);

while (true) {

    System.out.print("done");

    line2 = r2.readLine();
    if (line2 == null) { break; }

}

`
As soon as I am entering to the while loop, and if we try to hit the api (get scan) again and again multiple times, api is getting crashed. Any idea  @adracea ?

Have you tried manually starting the api in the console with burp-rest-api.bat --headless.mode=false and then getting the status with the first script to see if there's any errors from the API ?
The additional wrapper script you're using seems a bit overkill ?

No @adracea  I am not getting any error  starting the api in the console with burp-rest-api.bat --headless.mode=false and then getting the status with the first script.
The additional wrapper script is creating the problem only but does not know the exact reason behind it. Is this the api problem>

Well , by the looks of it , it's related to your wrapper script as , if it were a problem with the api , it would replicated when directly starting it and using the script .

Can you suggest any way out here as I want to run my burp, fill the sitemap through proxy and then scan in single java code.

Since this doesn't look like a bug in the rest-api component, closing the issue.


Empty model

Just found this project and it looks really interesting however I'm having an issue trying to use it.
I'm fetching the json data from a database via my api and assigning it to schema but model stays empty and the form doesn't render.
Using data from the example, this is what the FormSchema component looks like:

Note that this component is still in development. I'm planing to add the support of more types of properties. So if something is not working properly, please open an issue.

I see, adding a v-if made it work as expected. Thanks!
I'll keep an eye on this package, it's very nice so far!


added sample interval as a pointer to check if its set in a file

proposal to #86

closed in favor of #88


Fix MMR peak bagging, add tests cases

Changes peak bagging to expect all right peaks to be bagged into one hash in the proof
Copies @vgeddes' hardhat config to enable logging from Solidity (thanks 🎉 )
MMR verification works now with the same data that substrate uses in https://github.com/paritytech/substrate/blob/87e63fa7c70be29383cb95ff52d71874f1db908a/frame/merkle-mountain-range/src/tests.rs#L263
Adds further test fixtures generated with substrate code

@philipstanislaus is this based onto the right branch? or should it be onto main?

It is based on the correct branch since @denalimarsh has made further changes to fix MMR bagging.

This is ready to be merged @musnit

@philipstanislaus ok - can we get a PR targeting main? either this one or merge into dm-update-peak-bagging and then PR that?

Replaced by #418


Install external WebView dependency

Codecov Report

Merging #26 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #26   +/-   ##
========================================
  Coverage    98.25%   98.25%
========================================
  Files           25       25
  Lines          574      574
  Branches        95       95
========================================
  Hits           564      564
  Misses          10       10

Impacted Files
Coverage Δ

src/models/iap.ts
100% <ø> (ø)
:arrow_up:

src/models/ads.ts
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


npm does not update git submodules before make

trying to install expresso on node 0.6.5 fails because it can't find the deps/jscoverage directory, a git submodule.
the same package installs correctly on 0.4.x.
i can also install and run it manually.
><EMAIL_ADDRESS>preinstall /home/vincent/devel/node_modules/expresso
> make deps/jscoverage/node-jscoverage

cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage
cd: 1: can't cd to deps/jscoverage
make: *** [deps/jscoverage/node-jscoverage] Error 2
npm ERR! error installing<EMAIL_ADDRESS>Error<EMAIL_ADDRESS>preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! error installing<EMAIL_ADDRESS>`sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.emit (events.js:70:17)
npm ERR! error installing<EMAIL_ADDRESS>   at maybeExit (child_process.js:359:16)
npm ERR! error installing<EMAIL_ADDRESS>   at Process.onexit (child_process.js:395:5)
npm ERR<EMAIL_ADDRESS>preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! `sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is most likely a problem with the expresso package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make deps/jscoverage/node-jscoverage
npm ERR! You can get their info via:
npm ERR!     npm owner ls expresso
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-12-server
npm ERR! command "node" "/usr/local/bin/npm" "install" "expresso"
npm ERR! cwd /home/vincent/devel
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message<EMAIL_ADDRESS>preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! message `sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2
npm ERR!

my fault, sorry for the noise


Instagram API update

Apparently this plugin stopped working since Instagram changed their data names.
You now get the error results.data is undefined. Has there been an update/fix for this script yet?

Hello, i have the same problem.. 😢

just to let y'all know - they plan to deprecate the api in july, so looks like we have to update to the new graph api stuff.


rte: deps: update to 0.14

Bump to RTE 0.14.0 and make the necessary API changes.

/hold
let's branch off before to merge this

/hold cancel
4.14 branch done

/cherry-pick release-4.14

backport to 4.14 is still fine, but we should not go older than that


[ROS2 Porting] Meeting 2020/11/26

Go over previous meeting minutes

Investigate what would happen if we add gcc options and linters to a package -> @nnmm

From Josh: We use ament_lint_common which runs all of the linters listed here: https://github.com/ament/ament_lint/blob/master/ament_lint_common/package.xml
flake8 is giving an error. @nnmm will look deeper into it.

Fix CI in autoware_launcher repository

It was due to comments in https://github.com/tier4/autoware_launcher.iv.universe/blob/ros2/.github/workflows/build_and_test.yml
It is now fixed. All other authors of PRs should rebase to the newest ros2 branch and make sure they move the package from --packages-ignore to packages-up-to

Discuss about current blockers.

scenario_runner https://github.com/tier4/scenario_runner.iv.universe/pull/28

It’s now ready for review. @TakaHoribe will do the final review.

We have a issue regarding missing parameters to test launch file: https://github.com/tier4/scenario_runner.iv.universe/issues/30

Tier IV can do the test with their maps and scenario files.
@mitsudome-r will write the procedure in the issue thread with necessary files

Sensing_launch

@mitsudome-r needs to ask about Livox drivers in ros2.
It is using nodelets in a launch file.

There is a way to put components in a container in Python: https://github.com/tier4/Pilot.Auto/blob/518c2e1147cc07986f75147c16f41f542bd43453/sensing/preprocessor/pointcloud/pointcloud_preprocessor/launch/preprocessor.launch.py#L87
Investigate if we can create component container from XML.
If we cannot replace it with XML, port the nodelet section as a python script and call it from lidar.launch

planning_sim_launch port

@mitsudome-r will post how this package should be launched in ROS1 version in https://github.com/tier4/scenario_runner.iv.universe/issues/30

About Livox lidar driver:
＞Q1. It says in the repo, "The driver is currently only recommended to run under ubuntu18.04, the corresponding ROS2 version is dashing, and other versions of ROS2 (such as foxy) are not currently supported." Is there any plans to release for foxy?
A1.  Currently, there is no plans to support Foxy. There are ROS2 release twice a year, which they think is too frequent to support all versions.

Q2. Are you aware of any difference in performance between the ROS1 version and ROS2 version? (e.g. less support of sensor models, latency...)

A2. No, it should be straight porting from ROS1 to ROS2.


sacroiliac joint terms

Add new terms:
abnormal sacroiliac joint morphology (a child of abnormal pelvic girdle joint morphology)
DEF: any structural anomaly of the synovial joint that forms between the lateral articulating surfaces of the sacrum and the articulating surfaces of the ilium; it is supported by a number of strong ligaments which increase joint stability and reduce the incidence of dislocations
SYN: abnormal sacro-iliac joint morphology
SYN: abnormal SI joint morphology
SOURCE: https://www.kenhub.com/en/library/anatomy/sacroiliac-joint, UBERON:0001365
sacroiliac joint inflammation ( a child of joint inflammation MP:0002933)
DEF: inflammation of one or both of the sacroiliac joints; it may be a symptom of other inflammatory arthritic conditions
SYN: SI joint inflammation
SYN: sacroiliac arthritis
SYN: sacroiliitis

Add new terms:
abnormal sacroiliac joint morphology MP:0030821
sacroiliac joint inflammation MP:0030822


ConnectionResetError when retrieving sensor state via

I am using BeamNG 0.23.5 (tech) with beamngpy==1.22. I have spawned a vehicle and wanted to retrieve the sensor state. When I call vehicle.poll_sensors() I get the following error:
sensors = self.vehicle.poll_sensors()   File "XXX\venv\lib\site-packages\beamngpy\vehicle.py", line 360, in poll_sensors     response = self.bng.recv()   File "XXX\venv\lib\site-packages\beamngpy\beamng.py", line 557, in recv     return recv_msg(self.skt)   File "XXX\venv\lib\site-packages\beamngpy\beamngcommon.py", line 256, in recv_msg     length = skt.recv(16) ConnectionResetError: [WinError 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossen [Vehicle] Disconnecting.
I checked the firewall already, and I checked that there is a port allocated for the vehicle. Does anyone have any ideas?

Hi, the supported version for BeamNG 0.23 is beamngpy==1.21.1, can you try with this version?

Hi, yes I have tried both versions and I get the same problem. I checked this script here, and that works for me. However, when I add a userpath to the initialization of BeamNGpy or change the scenario to my custom scenario, I get the same error.
I dont understand how this can lead to this error.

Do you see any errors in BeamNG console? Can you please share the beamng.log files that are generated by BeamNG in your userpath? Also, is your userpath "clean enough"? There may for example be some mod files which are causing BeamNG to not work correctly.

The problem is now gone, after I have cleaned the user folder and switched also to the 1.21.1 version. I am not sure if this was the reason, when I find time, I will check that in detail.


RE-65 Generate ARA report and gather results

The gate-check-commit script in OSA, which is used for deployment
execution in RPC-O queens & pike, installs ARA [1] which is a tool
that gathers the ansible runtime execution results for each task
and is able to generate html/junit result files.
In this patch we use ARA to generate an html report and a junit
report, and we gather the database and all results with the rest
of the log data.
This has proved very useful for diagnostics in OSA gating, so we
expect that it will be very useful to RPC-O too.
[1] https://github.com/openstack/ara
Issue: RE-65

Kicked off an MNAIO job to verify whether this works: https://rpc.jenkins.cit.rackspace.net/job/PM_rpc-openstack-master-xenial_mnaio_no_artifacts-swift-deploy/129/


Settings Page

This is less of an issue and more of a suggestion, it would be nice to add a settings page, so that you can have settings accessible in a way where anyone who doesn’t know how to edit the .json file can mess with the settings without breaking it

@iisGmoney Thanks for the suggestion, this is what I had in mind from the beginning but then I did updated the README for a while suggesting it's a headache building a GUI setting page, especially for those squares.
For a while I thought I will not add any settings page at all but then I thought adding a json editor would be a nice hack since without a settings page I can't push the extension to web stores and so I added that json editor. I will still consider your suggestion though but seriously, it's a real mess for me designing that atm.

I think a JSON editor is fine and all the options are well-documented, as well as allowing @deepjyoti30 to work on new and improved features.

@iisGmoney close?
@deepjyoti30 wontfix label

@deepjyoti30 just filed a PR making some improvements to settings #29


[11.x] Handle case when a seeder call includes php extension

I found myself frequently add ".php" to seeder when calling the command with "--class" arg, and I was bothered that Laravel isn't handling this simple yet common mistake, so I'm submitting this PR to address this issue.

Just don't do that. 😊