[Protocol]  Ensure the task starts on time (fMRI, breath-holding task)

They started at 8/207 on July 14th, 2023 (from https://github.com/TheAxonLab/hcph-sops/issues/181#issuecomment-1719762301).

@helenelajous - what do you mean by "recordings"? is it the physiological recordings (i.e., BIOPAC)?

I meant that the task didn't start right after the dummy scans - sorry for the misunderstanding.

Thanks! edited the title.

Last time we checked, it finished on time, so I'm closing the issue (Feel free to reopen if needed).


Feature/fix non existing gj data newest develop

Note that this probably will not work if the axes are compressed -> we'll remove the entire node although it might only be one of the values that doesn't exist... so we need to make sure either that we slice on values that have data in the fdb or that when we assign data to the nodes in polytope, we return None when there is no data returned by gj


New data retrival

Changed the API code, to allow testing functionality for every function
Added functionality to get bulk dataset
Split the get_data.py file into two files
Updated tests accordingly

Great, improvement of the data extraction process. The data retrieved is now quite plentiful.
I will approve the PR and can add some simple documentation comments to each of the unit tests Great work sir


Flat Desktop Client Now Available in Arch User Repository (AUR)

I'm excited to announce that the Flat Desktop client has been successfully ported to the Arch User Repository (AUR). Arch Linux users can now conveniently install the Flat desktop client directly from the AUR.
The package is available at the following AUR repository link: https://aur.archlinux.org/packages/flat-bin
I want to extend my sincere gratitude to wuyudi for his invaluable assistance and guidance throughout the porting process.
The application has been thoroughly tested on Arch Linux and runs smoothly. I suggest adding this information to the Flat client's installation guide to let Arch Linux users know about the availability of the app in the AUR.
If there are any bugs or issues associated with the AUR package, please feel free to report them. I am committed to maintaining the package and addressing any issues promptly.
Thank you for your time and for creating such an excellent application. This contribution will greatly enhance the user experience for Arch Linux users.

Wow, thank you.
Just be curious, I saw the PKGBUILD downloads and runs the .asar from a Windows binary. However we do have a native dependency -- agora-electron-sdk, it loads a node extension which is built only for Windows in that binary. So does it really work? Do you have any problems with turning on the camera and seeing the others?

Wow, thank you.
Just be curious, I saw the PKGBUILD downloads and runs the .asar from a Windows binary. However we do have a native dependency -- agora-electron-sdk, it loads a node extension which is built only for Windows in that binary. So does it really work? Do you have any problems with turning on the camera and seeing the others?

Indeed, upon further testing of the Flat Desktop client on Arch Linux, you're correct; I have noticed that the meeting features aren't working properly. This issue has been noted in the comments section of the AUR package page. I apologize for any inconvenience this may cause.

Yep. We may end up all using the web version of RTC plus extra works in electron to capture desktops. However currently not.
This native module is also the thing that forbids us using a higher version of electron.

Yep. We may end up all using the web version of RTC plus extra works in electron to capture desktops. However currently not.
This native module is also the thing that forbids us using a higher version of electron.

Understood, thank you for the clarification.


Avoid locking pandas to v1

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
Is there any strong reason why the pandas requirement has to stay locked to v1? Can it be unlocked, so as to allow using pandas v2?

I agree. When bundling pandas, it's like a whole 1GB extra when using something like pyinstaller to make a stand alone executable for clients. Seems overkill if all we need is the dataframe module. Anyway, the alpaca golang sdk compiles down to 8MB as a stand alone executable, so I'm going with that for now unless pretty please can this be resolved.

Yeah, this is kinda brutal. A quick search through the package indicates that the version number could probably be bumped without any changes since the usage seems very limited. Obviously I haven't checked thoroughly, but this definitely starts to create versioning conflicts as other packages have already migrated.
To the point about pandas being a beefing dependency, I actually agree completely, and it would be great to actually make it an extra so that it can be optionally installed instead of forcing people to install it if they don't actually need it. If there is some reason that the version can't be bumped in the requirements, this could also allow users on v2 to just install this package without the extra dependency and handle the pandas part on their own.

Hey! Thanks for addressing this. I see that you mentioned that the release would be out 1-2 weeks ago, but it still looks like the latest release is still late April. Is there an ETA on this one?

@kchima Pandas V2 is out in v0.9.0.


Safely passing "secrets" to docker build contexts

A lengthy context about the secret management problem in docker: https://github.com/moby/moby/issues/13490
In nutshell, I need draft to support safely passing "secrets" from the local worktree to the remote build context.
A secret can be said to be safely passed when and only when the secret is not exposed to malicious user and not remained in any part of a resulting docker image.
A build secret is required when e.g. you're building a Ruby app depends on a private gem hosted in a private GitHub repository. In this specific case, you need a ssh key to download the private gem.
// Note that this is how bundle install or gem, the defacto dependency manager or the package manager for ruby works.
Non-safe cases include:

Used docker's --build-arg to pass secrets: NG.

This results in the docker image has the secrets inside metadata can be seen by e.g. running docker inspect.

Used ADD instruction to pass secrets: NG.

This results in the docker image contains the secret in one of its layers, can be queried by e.g. running docker save $image | tar -x -C out && find out/ -type file | xargs -n 1 grep $secret
You can indeed squash the image to a single layer so that ADDed and then rmed secret disappear from the resulting docker image. But squashing results in docker-layer-caching useless, no incremental build. You end up re-building the whole docker image from scratch after each draft up...

--
Just for clarification, I'm not going to exploit the draft-built docker image itself for production-use.
I'll build the production one on my CI/CD system.
So, my concern here is solely about development, which I believe what draft stands for. I don't want to expose my precious secret even in dev env!
Proposal
Today, the most general work-around for the problem seems to be utilizing a temporary tcp/http server last within the single docker build which holds/serves secrets to the build context.
You can basically utilize the server like curl $endpoint/$secret -o ~/.ssh/id_rsa && bundle install && rm ~/.ssh/id_rsa`, so that you can pass the secret without polluting the docker image metadata nor the  ADD instruction.
Existing docker-build alternatives like habitus does support this feature.
Would it be good to improve draft to support it, too?

Hey @mumoshu! Nice to see you here. :)
I think you've summarized the issue and the landscape quite well.
As you mentioned, there are definitely some solutions out there where users are injecting secrets into the build environment without actually committing those to the image itself, usually relying on an external endpoint. In my mind, the true limiting factor here is docker build and the Dockerfile syntax. Because each step in a Dockerfile is committed as a layer, you cannot inject secrets into the build runtime or else it will either become part of the metadata of the container image, or committed to a layer. Both of which are not good for the reasons you stated above: they become embedded into the image.
Technically speaking, we really just need Docker for building a container image and a registry so the kubelets can pull that image. There's nothing that we truly need that ties us to Docker other than the familiarity that the open source ecosystem now has with Docker.
In the past few months there has been work in the open source community to provide alternative build engines like https://github.com/genuinetools/img and https://github.com/projectatomic/buildah, each of which provide users a way to manually play around with the files in the overlay filesystem before they are committed as a layer. I really like these tools because they greatly simplify the process around building container images, as well as the fact that they're just CLI tools rather than full blown client/server daemons running as a service. They're lighter weight and therefore should better serve our own use cases.
I know that's a little hand-wavy, but here's the tangible solution of injecting secrets using buildah as an example:
#!/bin/bash

cid=$(buildah from ubuntu)

# mount the container's root filesystem and inject a secret
rootfs=$(buildah mount $cid)
touch $rootfs/mysecretfile
buildah unmount $cid

# do secret stuff with the secret
buildah run $cid -- gem install mysecretgem

# remove the secret from the container filesystem
rootfs=$(buildah mount $cid)
rm $rootfs/mysecretfile
buildah unmount $cid

# Commit this container
buildah commit $cid mysecretcontainer

Existing docker-build alternatives like habitus does support this feature.

habitus definitely seems like it's on the right track. I really like that their build.yml provides a workflow around a Dockerfile's build steps. It allows users to provide additional functionality around the process of building container images, which is why I really like the buildah approach described above as well.
I think there's definitely an opportunity here to provide a process where users can safely copy secrets into the container filesystem before running commands, then removing them before committing the layer. I don't think Draft will necessarily be the one to tackle this problem head on, but if there is a container builder that does happen to tackle this problem, then we could replace the Docker engine with that container builder.

Would it be good to improve draft to support it, too?

Just to clarify, what sort of proposal did you have in mind? Are you thinking of exposing an HTTP server during docker build which Dockerfiles could fetch secrets from? I'm a little concerned that this would mean that the build would only work on Draft... or at least not without a great amount of effort to stand up your own local "secret service" (see what I did there? :D). I'd definitely be interested to hear your thoughts on this!

Hi @bacongobbler,
First of all, I basically agree to every point you've noted. Thank you very much for the detailed responses!
I do love img and buildah, and even s2i and imagebuilder for their own sweet-spots and delight futures.
Btw, I've summarized about these tools in https://github.com/moby/moby/pull/36443#issuecomment-369845823 in regard to secret management. PTAL if you have some time.

if there is a container builder that does happen to tackle this problem, then we could replace the Docker engine with that container builder.

Absolutely. I basically agree with this direction.

Are you thinking of exposing an HTTP server during docker build which Dockerfiles could fetch secrets from?

If you mean that draftd does it, no - I fully agree to your concern about build-time dependency on draft. That should be avoided! Back to the description of this issue, my expected prerequisite is to use separate tool for production docker images.

or at least not without a great amount of effort to stand up your own local "secret service"

I don't want to do that either! It would be a needless engineering effort which will become unnecessary once e.g. buildkit matures enough to replace docker-daemon's backend. Or img matures. Root-less image build is the future!!(Sry too emotional but I'd really love that, really)
Given all those points, what I propose is basically keep draftd loosely-coupled to docker-build alternatives.
More concretely, what I propose TODAY is enhancing draft.toml, so that we can specify a docker-build-compatible command via draft.toml, which is then used instead of the current docker-client based builder based on ImageBuild.
Assumed project-structure:

draft.toml
Dockerfile
Dockerfile.draftd (May or may not be within the project. Could be managed by an infrastructure team
build.yml (for habitus)
.envrc.enc (encrypted version of direnv file )
.sops.yml (mozilla/sops config)
mycustombuilders/habitus-docker-build (The path is not fixed. It's user's responsibility to decide where to put this

Dockerrfile.draftd:
FROM alpine:3.5

COPY rootfs /

EXPOSE 44135

ADD mycustombuilders/habitus-docker-build /path/to/my/alt-docker-builders/bin/habitus-docker-build

ENTRYPOINT ["/bin/draftd"]
CMD ["start"]

draft.toml:
[environments]
  [environments.development]
    name = "my-ruby-app"
    namespace = "default"
    wait = false
    watch = false
    watch_delay = 2
    build_command = /path/to/my/alt-docker-builders/bin/habitus-docker-build

The habitus-docker-build would look like:
#!/usr/bin/env bash

set -e

# This decrypts the AWS-KMS-encrypted envvars contained in the local work-tree, may or may not be committed within the git repo
# I personally prefer it to be committed for gitops, but thats an another story.
sops -d build-secrets.enc > .envrc

# .envrc may contains something like:
# export HABITUS_MY_SECRET=mysecret_in_cleartext
# This corresponds to MY_SECRET available thru habitus' secrets server

# Not sure I'd really go with direnv but its essence persists
direnv allow .

RAND_PASS=$(randomly_generated_password_for_secret_sharing) # Not a secret itself

# -authentication-secret-server: enables basic-auth to secrets server
# -secrets: enables the secrets server
# -password: sets the password for basic-auth
# -build SECRET_PASS=$RAND_PASS: passes the password for basic-auth to be used from within docker-build
# -d $DRAFT_BUILD_CONTEXT: Send build context from where draftd keeps it
habitus -d $DRAFT_BUILD_CONTEXT -build SECRET_PASS=$RAND_PASS -env IMAGE=$DRAFT_IMAGE -authentication-secret-server -secrets -password=$RAND_PASS

habitus.yml:
build:
  version: 2016-03-14
  steps:
    step1:
      # _env(IMAGE) is replaced to the value of DRAFT_IMAGE envvar, according to `-env IMAGE=$DRAFT_IMAGE` above
      name: _env(IMAGE)
      # This references $DRAFT_BUILD_CONTEXT/Dockerfile
      # as specified by `habitus -d $DRAFT_BUILD_CONTEXT`
      dockerfile: Dockerfile
      secrets:
        my_env_secret:
          type: env
          # Corresponds to the HABITUS_MY_SECRET sourced via direnv above
          # The prefix "HABITUS_" is required by habitus for security reason
          value: MY_SECRET

And in the Dockerfile, I'd get the secret by accessing habitus' secrets server with $SECRET_PASS.
There are three important pre-requisites:

/path/to/my/alt-docker-builders/bin/habitus-docker-build must exist within custom draftd docker image. Or maybe you can mount an extra PV containing the command to draftd pod, but a custom docker image seems a bit more straight-forward to me.
habitus-specific: requires the habitus binary to be within the custom draftd image, because habitus-docker-build script runs it
Prior to docker-build, you need to give draftd pod an appropriate permission to decrypt your secret while running e.g. habitus-docker-build.

For cloudproviders supports KMS, this requires you to configure some kind of server-authn on node or pod-level. For example, you'd annotate your draftd pod with kube2iam/kiam annotation to attach IAM role with KMS access. For other cases, you'd need to pass a private key(like gpg key?) for decryption via PV.

Cons:

Configuration would be a mess.
Documentation must be challenging

Pros:

Change to draftd is minimum. Only extracting a image-builder interface, refactoring the existing logic to form the default bulder impl, and implementing a "command" builder impl.
draftd will be kept less-coupled to any docker-build alternative

Now that #573 has been merged, we might be able to chew off alternative build runtimes as an experiment. @mumoshu let me know if you'd be interested in taking the lead on this feature!

I would love to explore the proper way to swap out build engines and/or build services in this space.

First up: ACR Build in #691. Now that we have written a container image builder interface, it should be as simple as contributing new interfaces to work with alternative tools.


Unable to collect receipts above 25000 for query fee voucher

"msg":"Too many receipts to collect in oneshot, collecting in batches of '25000 receipts"}

"cause":{"message":"Request failed with status code 413","stack":"Error: Request failed with status code 413

"config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json, text/plain, /","Content-Type":"application/octet-stream","User-Agent":"axios/0.26.1","Content-Length":2800020},"method":"post","url":"https://gateway-arbitrum.network.thegraph.com/partial-voucher","data":{}},"status":413}},"msg":"Failed to collect receipts in exchange for an on-chain query fee voucher"}

client intended to send too large body: 2800020 bytes, request: "POST /partial-voucher HTTP/1.1"

Increasing client_max_body_size should be able to solve this

Thanks for reporting, this was a configuration issue on the ingress of the gateway. The ingress configuration has been updated to fix this issue and we tried again and now works. I'll close this.


Adds support for json output for notation verify

allows json output for notation verify.
related:

https://github.com/notaryproject/roadmap/issues/67
https://github.com/notaryproject/notation/pull/498

Example output:
chienb@a07817b52895 notation % ./bin/notation verify $IMAGE --output json
{
    "reference": "localhost:5000/net-monitor@sha256:5a07385af4e6b6af81b0ebfd435aedccdfa3507f0609c658209e1aba57159b2b",
    "userMetadata": {
        "foo": "bar"
    },
    "result": "Success"
}

Note: PR is on top of changes that haven't been merged into main yet, so there's duplicate code from this PR adding metadata support.
suggested order for review: notation-go #261 => notation-core-go #111 => notation #527 (this one) =>notation #528

order to review:
https://github.com/notaryproject/notation/pull/507
https://github.com/notaryproject/notation/pull/527
https://github.com/notaryproject/notation/pull/528

There is no issue linked with this PR. Could you link at least one issue to this PR so that reviewers can have context?
Since this is a new feature, could you add E2E tests accordingly?

linked the related metadata PR and issue in the initial comment. will add E2E tests for this PR


Request for an explicit LICENSE

Hi,
Thanks for these Frida tools/agents! I’d like to update them but lacking a LICENSE I don’t know how to attribute your work properly or how to license my derivative.
Could you please add a license, preferably BSD 2 clause/MIT/zlib or something similar?
Thanks,
Jevin

I added the MIT licence. Please let us know where you plan to use this and credit us and the original author - https://github.com/ayrx

Thank you, will do!


[Tests] Non-persistent topic is not properly tested.

We have integration test run against non-persistent topics: NonPersistentTopicMessagingTest, however, it is not creating non-persistent topic during the test(https://github.com/apache/pulsar/blob/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration/messaging/MessagingBase.java#L56), should fix this issue and test non-persistent topic properly.

The issue had no activity for 30 days, mark with Stale label.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


UHF-9113: Remove CKE4 contrib module.

UHF-9113

What was done

Removed CKE4 contrib module (for D10)

Codecov Report

:exclamation: No coverage uploaded for pull request base (4.x@946cf04). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head b0149d3 differs from pull request most recent head 13c6ae9. Consider uploading reports for the commit 13c6ae9 to get more accurate results

@@          Coverage Diff           @@
##             4.x     #629   +/-   ##
======================================
  Coverage       ?   13.29%
  Complexity     ?      241
======================================
  Files          ?       30
  Lines          ?      910
  Branches       ?        0
======================================
  Hits           ?      121
  Misses         ?      789
  Partials       ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


essential-check DAG execution

from @mitchmindtree
Currently in essential_check::solution::check_predicate, we first run all the state read programs to accumulate the state slots, then we run the constraint programs.
Now that we're generalising the predicate's program graph, we want to execute all programs in one traversal in order of dependency.
As a Predicate's programs will be required to be in a topological ordering upon deployment (see #194), we can simply evaluate the nodes in order, each on their own task, using tokio oneshot channels to provide the results of parents to their children.
See the WIP at #199.

@mitchmindtree maybe you can fill this issue out as I'm not sure exactly what your plan is?

Closed via #199, which will land as a part of #212.


Mark more tests as integration, beacuse they use Postgres

These tests fail if Postgres isn't available, so it seems reasonable to me to mark them as integration tests.

we probably need a 3rd category, because these tests do run in CI during the build (which means we catch them early, as opposed to integration) because we setup a postgres DB for these tests which is why they haven't been failing there. I don't really want to shift these tests to run later because they can run earlier without issue.
That would also be why these tests are now failing in the integration test phase


Feature ideas for a multipage approach

The idea of this ticket is to collect all possible ideas for a revamp of the site’s architecture.
Pros

More flexibility for chapter pages (better layout for extra readings, possibly comments, inner table of contents, etc.)
Smaller navigation (only top level chapters)
Possibility for a “seen” check mark for visited navigation items (similar to how it's done on the Redux website)
Possibility for a “new content” mark for navigation items to make it easier for the user to see changes

Cons

Harder for browser search
Reading is interrupted by page change

Edit: updated by @HugoGiraudel.

I have been thinking of moving Sass Guidelines to a multiple pages website has for a while now. This document has gotten so big that I think like it would make sense. I even have some ideas for the design. The idea would be to have one page per chapter.
My biggest question right now would be: how would we handle URLs?

Language first, then chapter (e.g. /fr/comments/)
Chapter first, then language (e.g. /comments/fr)
Do we translate URLs (e.g. /fr/commentaires/)

Translated URLs sounds good at first, but could be a mess to maintain?
My personal favourite is chapter first, then language: /syntax-formatting/strings/de. By that each sub-page contains all translated versions, and it's easier to work with.

Maybe simple redesigning it a bit to have a fixed sidebar would be enough:

Alright. Nope.
But I have a redisngon the way. ;)


Does the client support yml configuration and no longer use file. conf or registry. conf

Does the client support yml configuration and no longer use file. conf or registry. conf？
Because the account password for entering the Pro environment db database for the project cannot be provided in clear text, there is currently no configuration center available ？
客户端是否支持yml配置，不再使用file.conf或 registry.conf ?
因为项目进入Pro环境 db数据库的账号密码不能明文提供，暂时没配置中心

https://github.com/seata/seata/tree/2.x/script/client
https://github.com/seata/seata/pull/2667


bug: docs stackblitz counter example illegal constructor

Describe the bug
When visiting https://millionjs.org/docs, the counting example shows illegal constructor
To Reproduce
Steps to reproduce the behavior:

Go to https://millionjs.org/docs
Scroll down to React vs. Million.js
See error

Expected behavior
Counting example
Screenshots

Device (please complete the following information):

iOS
Safari
16.1

Additional context
Add any other context about the problem here.

Not sure what's happening here. I reduced the number of nodes loaded, can you try again?

I think the error is still there

fixed!


Failed to start up edgex-app-service-configurable-rules

Running edgex-app-service-configurable-rules with nightly-build compose files, I got the error in the log:
Starting Configurable Application Service...
level=INFO ts=2020-07-24T05:34:39.660147Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of '-p/-profile' by environment variable: EDGEX_PROFILE=rules-engine"
level=INFO ts=2020-07-24T05:34:39.6640869Z app=AppService-rules-engine source=config.go:219 msg="Loaded configuration from /res/rules-engine/configuration.toml"
level=INFO ts=2020-07-24T05:34:39.6708673Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'Registry.Host' by environment variable: REGISTRY_HOST=edgex-core-consul"
level=INFO ts=2020-07-24T05:34:39.6709418Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'Binding.PublishTopic' by environment variable: BINDING_PUBLISHTOPIC=events"
level=INFO ts=2020-07-24T05:34:39.6709804Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'Clients.CoreData.Host' by environment variable: CLIENTS_COREDATA_HOST=edgex-core-data"
level=INFO ts=2020-07-24T05:34:39.6710474Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'Service.Host' by environment variable: SERVICE_HOST=edgex-app-service-configurable-rules"
level=INFO ts=2020-07-24T05:34:39.67119Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'MessageBus.SubscribeHost.Host' by environment variable: MESSAGEBUS_SUBSCRIBEHOST_HOST=edgex-core-data"
level=INFO ts=2020-07-24T05:34:39.6712267Z app=AppService-rules-engine source=environment.go:331 msg="Environment override of 'Service.Port' by environment variable: SERVICE_PORT=48100"
level=INFO ts=2020-07-24T05:34:39.6715048Z app=AppService-rules-engine source=config.go:167 msg="Using Configuration provider (consul) from: http://edgex-core-consul:8500 with base path of edgex/appservices/1.0/AppService-rules-engine"
level=INFO ts=2020-07-24T05:34:44.7587653Z app=AppService-rules-engine source=config.go:330 msg="Configuration has been pushed to into Configuration Provider (6 environment overrides applied)"
level=ERROR ts=2020-07-24T05:34:44.7593739Z app=AppService-rules-engine source=logger.go:74 msg="logTarget cannot be blank, using stdout only"
level=INFO ts=2020-07-24T05:34:44.7596967Z app=AppService-rules-engine source=registry.go:79 msg="Using Registry (consul) from http://edgex-core-consul:8500"
level=INFO ts=2020-07-24T05:34:44.7894689Z app=AppService-rules-engine source=telemetry.go:79 msg="Starting CPU Usage Average loop"
level=ERROR ts=2020-07-24T05:34:44.7928798Z app=AppService-rules-engine source=version.go:128 version=1.2.1-dev.1 msg="Core Services version is malformed"
level=ERROR ts=2020-07-24T05:34:44.7930143Z app=AppService-<profile> source=main.go:34 msg="SDK initialization failed: boostrapping failed\n"

The same errors happened when running app-service-configurable with blackbox-testing docker-compose-test-tools.yml, and that causes the blackbox-testing failures on Jenkins currently.

Looks like with the new CI pipeline for edgex-go, core-data's version endpoint is now returning the semver tag of 1.2.1-dev.1 for the dev version instead of master as it did previously. We will need to update the SDK's version check to handle this new dev version format.


App rejected due to 3.0.0-beta.1 framework version

Similar to https://github.com/CocoaLumberjack/CocoaLumberjack/issues/633, my app has been rejected during iTunes upload due to the framework version number in AFNetworking 3.0.0-beta.1 (b2c449c8334449be1ff297ef4313d9970771feed), when built using Carthage.
ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '3.0.0-beta.1' in the Info.plist file must be a period-separated list of at most three non-negative integers."

I can change it in the built Info.plist, temporarily, but it'd be good to fix this in the project. What's the best approach?

PR in #3093

I'd recommend changing it by hand at the moment. I don't want to release 3.0.0 just yet, so that could cause some version problems going forward. Sad Apple won't allow semantic versioning...

cc @cnoon

I don't think it affects anything other than the metadata for the framework - the framework loaded is still referenced by path. I think that makes it a harmless change, and ensures that it's possible to use the beta in an app store/testflight release.

Pretty bad problem that is not an issue with AFNetworking. Apple seriously changed the rules around versioning of frameworks with Xcode 7.1. TONs of detail can be found in Carthage #859.

Here's a script that should help fix up the issue:
#!/bin/bash

for plist in ./Carthage/Build/iOS/*/*.plist ; do
  if [ -e "$plist" ] ; then   # Check whether file exists.
     plutil -replace 'CFBundleShortVersionString' -string $1 $plist
  fi
done

https://github.com/Jonge/Cocoapods-frameworks-version-number-fix

Guys i also face the same @cnoon solution works for now :+1:


The sequence with webhook needs a timeout when "finished" event is not received

Environment

Client OS (Windows):
Keptn Version (0.10.0):
Kubernetes Cloud Provider (e.g., GKE, AKS):
Kubernetes version (kubectl version):

Affected Component

[ ] Approval
[x] Bridge
[ ] CLI
[ ] Datastore
[ ] Docs
[ ] Distributor / Event Broker
[ ] Helm
[ ] Istio
[ ] Jmeter
[ ] Kubernetes Integration
[ ] Openshift Integration
[ ] REST API
[ ] Webhook

Describe the bug

To Reproduce

Steps to reproduce the behavior:

Setup a webhook which looks like in img1. The webhook triggers an evaluation of 'health' service. The webhook will be triggered when an evaluation is triggered against 'items' service.
img 1:

Trigger an evaluation against 'items'

go to Sequences page

Here you will see the appropriate sequence is started, the evaluation against 'items' is triggered  and webhook service started

Refresh the page

you will see an evaluation against 'health' service is triggered and finished (img 2)
img 2:

Now take a look to the sequence of 'items' (which was triggered initially )

Current behavior/Issue

Make sure the evaluation loading icon runs  continuously and never ends. (img 2)
Expected behavior

A timeout is needed that should terminate a task when a service responded with a 'started' but not with a 'finished' event within x minutes.
Important
8. Go to Services -> Items
Here you can see that the evaluation chart cannot be loaded.

Even after aborting the sequence

The evaluation chart cannot be redrawn:

Screenshots

Additional context

This ticket should not be limited to the scope of a webhook execution, it is more general on task timeouts.
Extending the shipyard-service functionality by a timeout mechanism that terminates a task execution when receiving a started but not finished event after x minutes.

Regarding the hidden evaluation chart.
It is hidden because the evaluation is not finished (in the case that all triggered events have to be finished).
https://github.com/keptn/keptn/blob/5d3441b3063be5c276da2f2a1dd6e285391b2ba9/bridge/client/app/_components/ktb-service-details/ktb-service-details.component.html#L85
But this will be fixed with #5915

This will be fixed by https://github.com/keptn/keptn/issues/6524

#6524 has been solved. Closing this issue


typo corrected

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #1   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines          57     57
  Branches       14     14
=====================================
  Hits           57     57

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 9c85bc4...e90f774. Read the comment docs.

Thank you.


Support automated process launch on a single host for standalone runs

Original issue: https://charm.cs.illinois.edu/redmine/issues/1181

If the user is running on one host but wants to be lazy about using charmrun, it should still be possible for them to request (for example) a process per socket, and have those launch and wire up correct.

Original date: 2017-12-19 18:06:53

++processPerSocket 1 should work with the hwloc patchsets both with charmrun and with standalone SMP executables.

Original date: 2018-02-01 17:19:25

~~https://charm.cs.illinois.edu/gerrit/3558~~ https://github.com/UIUC-PPL/charm/commit/ca83f39f190c4f833a836ef794db7011f4183798
~~https://charm.cs.illinois.edu/gerrit/3446~~ https://github.com/UIUC-PPL/charm/commit/b17ebda92afc56a9d5ae66d174cd04564abbfd8d


Allow options as a parameter when creating jobs.

Is there a reason why we don't have options as a parameter at the same level of interval, name, and data?  May I implement this feature?

The options I'm referring to are here https://github.com/agenda/agenda#creating-jobs

I think the reason is that options was introduced after the initial version of agenda-rest!

May I implement this feature?

Definitely, appreciated!

Thank you. The PR is in. My reason for needing this feature is to specify the timezone for my event.


"Could not find app javascript" when following docs on an embroider app

I have a brand new app using embroider for builds, and I'm trying to deploy with ember-cli-deploy-git. Following the instructions in the README, I ran into this error:
Error: Could not find app javascript: "/assets/docs.js" in index.html. Found the following instead:
 - /event-perk-grid/assets/vendor.js
 - /event-perk-grid/assets/docs.js

For more information about this error: https://github.com/thoov/stitch/wiki/Could-not-find-asset-in-entry-file-error-help

After a lot of hand-wringing, I figured out that I need a trailing slash in my rootURL.
Maybe the docs should suggest ENV.rootURL = '/your-repo-name/'; instead of ENV.rootURL = '/your-repo-name';? I'd be happy to PR it if so.

Thanks for this report, this is definitely an annoying problem.
A docs PR would be great, or also a PR that would automatically ensure that Embroider always interprets the rootURL as if it has a trailing slash.


Add Perspective library and Open CSV data file with Perspective Viewer option

Perspective JS repo: https://github.com/finos/perspective

Perspective viewer setup loading sample superstore.arrow data file:

new Open With ... -> Perspective/Tabular Data Viewer option:

closing this as all the required hooks are now added to table view and vscode configs. Will finish actual Perspective view implementation to match current Tabular table view in #79.


[v4.0.0-beta.12] ion-select popover radio styling

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Ionic:

   ionic (Ionic CLI)          : 4.1.2 (/Users/***/.nvm/versions/node/v10.1.0/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.12
   @angular-devkit/core       : 0.7.5
   @angular-devkit/schematics : 0.7.5
   @angular/cli               : 6.1.5
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : android 7.0.0
   Cordova Plugins       : cordova-plugin-ionic-webview 2.1.4, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/***/Library/Android/sdk/)
   ios-deploy        : 1.9.2
   NodeJS            : v10.1.0 (/Users/***/.nvm/versions/node/v10.1.0/bin/node)
   npm               : 6.4.1
   OS                : macOS
   Xcode             : Xcode 10.0 Build version 10A255

Describe the Bug
I'm unable to style the radio button in an ion-select popover.
Steps to Reproduce
Steps to reproduce the behavior:

Create an ion-select with interface="popover"
Generate different styles for the ion-select radio button
See the radio still has default styling applied

Related Code
<ion-select [interfaceOptions]="" interface="popover" placeholder="None">
      <ion-select-option value="-" selected>None</ion-select-option>
      <ion-select-option value="1">Printer 1</ion-select-option>
      <ion-select-option value="2">Printer 2</ion-select-option>
</ion-select>

* {
  --ion-color-base: #75D154;
  --color-checked: #75D154;
}

:host(.radio-checked) .radio-icon {
  border-color: #75D154!important;
  --color-checked: #75D154;
}

ion-radio, ion-select-popover, .radio-icon, .radio-checked {
  border-color: #75D154!important;
  --color-checked: #75D154;
}

Expected Behavior
I expect the radio button in the popover list to be the specified color (#75D154) instead of the default.
Additional Context
Not available.

Thanks for your issue! Could you please check if this is still an issue in beta.17? That would be very nice :)

@paulstelzer As far as I can tell this still seems to be an issue.

@paulstelzer
Thanks for your response!
With your explanation I've managed to get the desired result.
However, this doesn't really feel like a logical way to do it.
What's the point of modular styling, e.g. a stylesheet for each component, if some styles are only to be assigned globally? In my current application I'm using different colors for different modules.
I thinks it's very useful to define the ion-primary-color in the module stylesheet, and import the stylesheet in each of the module's components. This makes it easy to change colors and enforces DRY.
Placing some of the styling in a global stylesheet completely defeats this purpose.
Wouldn't it be better to make inheritance possible in some way?

It's the way a popover works (the same like a toast). These controllers are always out of the scope of a component. If you don't like it, open a new issue and choose "Feature Request". Then a member of the dev team can say more about it :)


Best so far swap - BestSoFarRootFinder should not be recommended to wrap LeastSquaresSolver

This fixes a typo in the documentation. BestSoFarLeastSquares was undocumented, instead BestSoFarRootFinder was the wrapper listed in the section on least squares solvers.
I know that I used it to wrap LevenbergMarquardt, and I just checked - this will result in an unexpected solver instance.
import optimistix as optx

solver = optx.GaussNewton(rtol=1e-3, atol=1e-06)
wrapped_ls = optx.BestSoFarLeastSquares(solver)
wrapped_rf = optx.BestSoFarRootFinder(solver)

print(isinstance(wrapped_ls, optx.AbstractLeastSquaresSolver))  # True
print(isinstance(wrapped_rf, optx.AbstractRootFinder))  # True
print(isinstance(wrapped_rf, optx.AbstractLeastSquaresSolver))  # False

In this case, it does not appear to do anything as long as optx.least_squares is used as the top-level API, because this will only check for a minimiser.
However, if optx.root_find is the top-level API and a wrapped least-squares solver is used, then the conversion to optx.least_squares won't happen, because this line will not evaluate to True:
https://github.com/patrick-kidger/optimistix/blob/1d8e79b5b7cd22f23dde78e9590c43b612849cf4/optimistix/_root_find.py#L197

I'll rebase on dev later, sorry for the oversight!

LGTM!
For this one you can merge straight to main.
The reason for a dev branch is that any changes to the docs on main are automatically reflected in the online documentation: so if we introduce a new feature then it should be on a dev branch to be sure that it is not advertised until it is released.
However conversely, doc fixes can/should go straight to main as there is no reason to delay fixing typos!
(So I think I'm still seeing the verbose changes on this branch. If you can make this branch have just the commit with the fix then I'll merge it immediately :) )

(So I think I'm still seeing the verbose changes on this branch. If you can make this branch have just the commit with the fix then I'll merge it immediately :) )

That is why I rebased on dev. I'll figure out how to make my main forget it has the verbose changes :)

However conversely, doc fixes can/should go straight to main as there is no reason to delay fixing typos!

Makes sense!

I also removed three lines in optx.root_find that seemed to be holdovers and occurred after a return statement in the elif branch.

Ah, good catch! Actually, those three lines should be there and it's the return statement that's wrong. I've just opened #99 to correct this. (And I've included your BestSoFarLeastSquares fix whilst I'm at it!)

Ah, I did not catch this! Good that you did :) I'll close this PR.


Bump clap to version 4.0

I'm back 😊
Clap 4 drops the indexmap dependency, which is presumably good for the compile time.
I also reformatted the longer help descriptions so they are cut off in short help mode jless -h, while also are printed in a more redable form for jless --help

I ended up doing this in cf8d48b1f034fb49792ec555418cff7e096112b1 because I wanted to use ArgAction. No idea if I actually needed to upgrade, but the random blog post I copied from used 4.0, so I just went with it. I just opened this up and reapplied all the changes, so you definitely saved me at least 15-30 minutes. Thanks.


docker compose woes

I've just wanted to give WalletKit a test drive and was attempting to use the Docker Compose based deployment locally. doing so, I have caught a few glitches I wanted to report. Maybe some of it will also be helpful going forward towards using Community Stack in the future, too.

Initial docker compose run complained about extra_hosts needing to be a mapping. To change it from a list/array to a mapping, I have just replaced the dash of the line with the host by foo:. I don't know whether that's broken something, but at least docker compose has moved forward.
Next I got complaints about no images being available for the arm64 architecture (on an Apple M silicone Mac). Adding a line platform: linux/x86_64 after each waltid service (that's all but the nginx one) has resolved that problem to fire it up.
Still getting a lot of messages in the console from one of the services: walletkit-1    | [Too many errors, abort], but the rest of them seem to be working/running, when using the web interface, I'm getting a lot of log messages for them.

So, it's running now (barring the last point above), but trying to use it fails when trying either the 'Sign up' or 'Login'. Both of them are performing a POST request against http://localhost:8080/api/auth/login, causing a 502 Bad Gateway response. I'm unsure whether that may be due to the walletkit-1 container not running properly.
I'll also get in touch with Walt.id soon directly to inquire on the use of your components in general, and potentially future services we may be interested in consuming from Walt.id.
Thanks in advance.

Hello!
Thank you for your interest in our stack first of all. Next, as stated in the repository's README:
Please be informed that, beginning from December 2023, the Wallet Kit will no longer receive new features. Furthermore, the Wallet Kit is planned for discontinuation by the end of Q3 2024.
However, all functionalities offered by the Wallet Kit are now integrated into our new libraries, APIs, and apps in the walt.id identity repo. Giving you more modularity, flexibility and ease-of-use to build end-to-end digital identity and wallet solutions.
For more up-to-date developments, please refer to our community stack repo as the development of this repository has been discontinued.
Thanks again and hope to hear more from you soon!


Added requirements.txt

This addresses issue #5.

It is not recommended to install PyTorch from PyPI. I added requirements.txt for image captioning. Thanks.


Add Lbry test

Codecov Report

Merging #162 into main will decrease coverage by 2.31%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   66.06%   63.75%   -2.32%
==========================================
  Files          76       78       +2
  Lines         607      629      +22
  Branches      109      109
==========================================
  Hits          401      401
- Misses        182      204      +22
  Partials       24       24

Impacted Files
Coverage Δ

...ckages/mdx-embed/src/components/lbry/lbry.text.tsx
0.00% <0.00%> (ø)

packages/mdx-embed/src/components/lbry/lbry.tsx
50.00% <ø> (ø)

src/components/lbry/lbry.text.tsx
0.00% <0.00%> (ø)

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 a80aa57...6820e81. Read the comment docs.

And would you mind awfully changing the PR name so it includes "unit test"... just makes it easier to find later if we need to... ty old bean!


fix: Command in already running exception message

There is not migration:get-status command.

@aragon999 thanks for your contribution!


Lordaeron villagers count towards Lodaeron food cap

Possibly fixed, Villagers are now Neutral Passive instead of Lordaeron Units


Parsing issues

Hi, thank you for developing such tool. When I wanted to parse the output, it was throwing out this error messages

This is my script to parse the output....
from doped.analysis import DefectsParser
dielectric = 8.99  # dielectric constant (this can be a single number (isotropic), or a 3x1 array or 3x3 matrix (anisotropic))
bulk_path='/depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/bulk/vasp_std'
dp = DefectsParser('/depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/', dielectric=dielectric)  # dielectric needed for charge corrections
Under '/depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/', I have bunch of defect folders

You need to post the full error traceback for me to figure out the issue here.
If that is the folder structure in that folder, then it should be fine, but I can't actually see what's in these folders. Also it looks like you might be using an older version of doped as well.

Hi Sean, I just updated the version, though it still shows the error. Does it expect every output file inside the 'vasp_std' folder? Here are some snapshots so that you can gain more insight. @kavanase

Yeah so it's the errors above (that say Parsing failed for...) that are telling you why the defects are failing to parse.

For the ParseError ones, that indicates a vasprun.xml(.gz) parsing error. From the output, it's suggesting there's either not a vasprun present in those directories listed in the error message, or it's an empty/corrupted vasprun.xml present.
For the other AttributeError, I haven't seen that before, from anyone else or in our tests. From digging through the code to see what could be causing this, I think this could be caused by you setting different INCAR tags for something in your bulk and defect INCARs (which is bad practice and gives unreliable results). Usually doped catches this and warns you, but I think here you have a string value set in one case (e.g. LREAL = Auto) and a boolean for the other (e.g. LREAL = False), which in this rare case is causing a failure.

I updated the code to automatically handle this edge case where mismatching types are used for the values in your bulk and defect INCARs, in https://github.com/SMTG-Bham/doped/commit/7a71845f3ace17b89d623f754e58a5a49df0079b
If you do pip install https://github.com/SMTG-Bham/doped/archive/develop.zip, this should install this version of the code and avoid that failure in your code – but as desired it will throw warnings about your mismatching tags, saying that this will cause errors

@kavanase I just did pip install https://github.com/SMTG-Bham/doped/archive/develop.zip but still saw the same error messages!

Are you sure your script is using the correct updated doped? I see you're using a conda environment. I would double check the new version of doped is actually being installed here (it might help to fully uninstall doped before reinstalling).
I have checked again and I don't see where else this error could be coming from. Did you check the differences in INCARs between your bulk and defect calculations?
I would note you also set your bulk path to .../bulk/vasp_std but bulk/vasp_std doesn't exist based on the screenshots you shared (but doped then adjusts and automatically identifies the correct bulk directory).

Hi I just did pip uninstall doped from my conda environment and then did pip install https://github.com/SMTG-Bham/doped/archive/develop.zip This is the Python script I am using to parse the output.
from doped.analysis import DefectsParser
dielectric = 8.99  # dielectric constant (this can be a single number (isotropic), or a 3x1 array or 3x3 matrix (anisotropic))
bulk_path='/depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/bulk/vasp_std/'
dp = DefectsParser(
    output_path="/depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/",  # directory containing the defect calculation folders
    dielectric=dielectric,  # dielectric needed for charge corrections
    processes=1,  # Can set the number of processes to 1 if you're having issues with multiprocessing
)

My depot/amannodi/data/Benji_Sabria_Calculations_Folder/Sabria/CdTe/Ground_State_POSCAR/bulk/vasp_std/

I also did the bulk calculations again using the same INCAR settings as the defect calculations.

Ok I can't see where else in the code this could be coming from. Can you share the vasprun.xml.gz files for your bulk calculation, and for one defect calculation each from the two sets of parsing failings shown in the screenshot (e.g. Te_Cd_-1 and Te_Cd_+1) so I can find the origin?

Sure
Uploading bulk.zip…
Uploading Te_Cd_-1.zip…
Uploading Te_Cd_+1.zip…

Ok I checked with these files. I can't reproduce this error, so it seems like for some reason your code is still using the older doped version.
I did notice an issue that was being caused by the fact that your bulk vasprun here has NUPDOWN = 1 which is presumably a mistake, so this is better handled in the latest version of the doped develop branch. But this shouldn't cause the original error you posted above.


Add some debug logging to the vault adapter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 10 (70.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 80.212%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ekss/adapters/outbound/vault/client.py
7
10
70.0%

Files with Coverage Reduction
New Missed Lines
%

src/ekss/adapters/outbound/vault/client.py
3
77.61%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
227

Relevant Lines:
283

💛  - Coveralls


[Internal] [Bug] "DataFrame columns are not unique" in BioSample

tostadas/bin/submission_new.py:380: UserWarning: DataFrame columns are not unique, some columns will be omitted.
return self.metadata_df[available_columns].to_dict(orient='records')[0] if available_columns else {}
Submission requested for genbank,biosample,sra
Probably just need to add a check for duplicates, but also make sure template doesn't have duplicates.  If dupe cols, check if values are same and if not, exit with error.
Place an :x: in a Box that Best Matches the Bug's Importance:

[] 1 - Most severe (a full-break in core function)
[] 2-4 - Moderate (break for a particular aspect/feature) (how integral is the broken feature?)
[x] 5 - Least severe (non-functional issue, such as inconsitency / error in documentation or administrative in nature)

Please Complete the Following Information:

OS: [e.g. iOS]:
Browser [e.g. chrome, safari]:
Version [e.g. 22]:
Run environment (container, cloud service, HPC, platform, etc.):

nextflow run main.nf -profile test,singularity --species rsv --annotation false --submission true --output_dir test_rsv --submission_config /scicomp/home-pure/ick4/02.scratch/submission_config.yaml --meta_path ~/02.scratch/custom_test_metadata.xlsx --custom_fields_file ~/02.scratch/metadata_custom_fields.json
Any Additional Context or Information? Has There Been Any Progress Made So Far Towards this Request? Any Concrete Instructions to Resolve the Bug or Helpful Resources to Reference? Screenshots or Logs?

Fixed by adding code to raise an error on duplicate columns. Pandas read_excel() automatically renames dupes, and doesn't seem to support a way to turn off that feature, so I detect columns with the renaming regex (<col_name>.1, <col_name>.2, etc.)


feat: json functions

JSON functions to instatiate PrmsParameters object from JSON and to save or load parameter dictionary as JSON.
Needs tests

Codecov Report

Merging #128 (ef35579) into main (c0d6882) will decrease coverage by 0.40%.
The diff coverage is 32.00%.

@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
- Coverage   81.90%   81.51%   -0.40%
==========================================
  Files          40       40
  Lines        4940     4965      +25
==========================================
+ Hits         4046     4047       +1
- Misses        894      918      +24

Impacted Files
Coverage Δ

pynhm/utils/parameters.py
79.59% <32.00%> (-9.76%)
:arrow_down:

pynhm/hydrology/PRMSGroundwater.py
94.28% <0.00%> (-2.86%)
:arrow_down:

pynhm/hydrology/PRMSChannel.py
96.13% <0.00%> (-1.66%)
:arrow_down:

pynhm/hydrology/PRMSCanopy.py
79.31% <0.00%> (-1.15%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I merged a lingering PR into to upstream:main and then merged upstream:main into your fork:branch. the RTD build succeeds now.
I wont merge without a test. I think the test is simple read a myparams.param file (a single domain should suffice) to a parameter object, write it to json, read the json back in and check that the read json gives an identical parameter object. You'll have to check the parts or define equality for the class.

kewl @jmccreight - that test idea was what I was planning. I just wasn't certain there was a reliable location for a params file to work with. I see this domain object in the test_parameter_read.py stuff but couldn't sort out what that is. If you can point me to a params file in the testing suite I'll dial in the test.

now that I've thought about it, let me propose something. I'll push it to your fork:branch

I'm about to push my rough draft, cause I got to put it down for now. It's close but there are checks that are not passing and it's not obvious to me why. Here's where I get to

oy - that's going to be a little tricky since I relied on the constructor to make those dimensions. But, I'll take a look

oh - actually I see the problem. I will push up a fix later today

good, cause it's not obvious to me! LMK if there's anything i can help on.
The only additional thing I'd say is that it'd be good to test update_parameters_from_json as well. Am I clear on the intent:? given an existing parameter object, update_parameters_from_json would slurp up a json and update the values in the parameter object with those found in the json, which may only be a subset. Will you actually use that since you have to interact through files anyway?

BTW, we can go over conceptually what's going on here sometime. the domain is just a parameterized pytest fixture at the conftest level, it gives all the necessary inputs to run a given model domain for multiple model domains. Now it's ALL clear!

I had to fix the default discovery of param dimension names which wasnt getting exercised. I enhanced Joe's early wild guess code for param dimension names with the metadata module that since became available. This was a long time coming and it works with only the hitch that 4 previously unidentified parameters needed added to the static/metadata/parameters.yaml, i think 3 were for SNTMP and the other was a precip threshold, none appeared in the existing code base.


Added FLAMES games in python

Please review and merge it

What is the use now man?
Mohammad Asim Khan
On Tue, 1 Nov 2022, 8:15 am Subhradeep Samanta, @.***>
wrote:

Closed #148
https://github.com/Subhradeep10/Automation-Scripts-Using-Python/pull/148
.
—
Reply to this email directly, view it on GitHub
https://github.com/Subhradeep10/Automation-Scripts-Using-Python/pull/148#event-7709617768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJDNOOLA2L5EC5O5ZNRY3DWGB74JANCNFSM6AAAAAARIDTE4U
.
You are receiving this because you authored the thread.Message ID:
<Subhradeep10/Automation-Scripts-Using-Python/pull/148/issue_event/7709617768
@github.com>


Fixed React unique key warnings

Fixing some harmless test warnings that polluted the test console output

Coverage decreased (-0.006%) to 94.121% when pulling 581f5913a6c22b78915c7cc6e4ed1fda795092a7 on cody-fix-react-key-warnings into c996a1c542561e9fb55d497df296c4911a6e79b7 on main.


Problem with delegated multisig group

To issue a QVI vLEI credential, a delegating AID must issue the credential to a delegated multisig group AID. I made an update to delegation-multisig.test.ts to demonstrate three problems with delegated multisig AID. Hopefully, the ongoing work in Keripy will solve these problems.

[ ] On Line #L59 to #L67, delegated multisig group will not be created with witnesses. This is related to issue #145.
[ ] On Line #L206, the delegator cannot resolve the OOBI of the delegated multisig group. This is related to issue #192.
[ ] The delegator and delegated multisig group cannot send IPEX messages to each other. This is related to issue #190.

Pending an update from @pfeairheller

@m00sey I have linked the PR to three separate issues.

I've been able to successfully create multisig AIDs, issue credentials and perform IPEX GRANT and ADMIT messages from SigPy.  I have not included delegation.  I will start trying to see what is breaking here in SigTS but may have to run through it all in SigPy first.

@pfeairheller All issues related to this PR seem to have been resolved. I have also converted the script into a new file. Over the next few days, I will try to work on this test script further to issue all the way to an ECR vLEI credential using 2 GARs, 3 QARs, 3 LARs, and 1 ECR person.

I might not get to this in a while. I will close this for now to make another PR when I actually finish it.


implement test harness

Implement the formula-test-harness. I included a travis config if you want to set that up too.

See https://github.com/saltstack-formulas/template-formula for better test suite.
Closing this pr because https://github.com/intuitivetechnologygroup/formula-test-harness is not maintained


Language to Add Slovenian

Language To Add Slovenian
Please add Slovenian language. I'm willing to do the traslation.
Thank you!
BTW I'm loving the app.

This issue template is to request a new language be added to our Crowdin translation management project. Please don't use this template to request a new language that you are not prepared to provide translations for.

Thank you very much @mrjaboozy for offering to translate BookStack into an additional language!
I've setup Slovenian on Crowdin here:
https://crowdin.com/project/bookstack/sl#
Let me know if you have any issues getting started otherwise I'll close this GitHub issue off soon.

Thanks again @mrjaboozy, I see you've made a start on translating.
I've just deployed v0.28.3 and as a part of that I've included what you've done so far:
https://www.bookstackapp.com/blog/beta-release-v0-28-3/
I'll therefore close this off now since you've made a great start. Any future changes/additions via crowdin will still be included in future releases.


Resizing imageObject crops the image

Version
Latest version (loaded from https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.js)
Test Environment
Same issue with al browsers
Current Behavior
After loading an image object using imageEditor.addImageObject, I try to resize the object using imageEditor.setObjectProperties. The object get resized but the image is croped (and not resized)
Expected Behavior
Image should be untouched only resized

@kemach
The wrong place. Raise the issue here :)


demo usage，cannot zoom out

Can't zoom out in use version 1.3.1 or 2.1.3. I'm trying to change it version v1.2.2，Can work normally.

You need  use photoView.setMinimumScale(0.5f)  to change minimunScale  ,default DEFAULT_MIN_SCALE = 1.0f


Feedback Improvements

[x] Replace thrown error messages with tokens
[x] Commands
[x] Methods
[x] Replace Feedback 'Messages' with sAlert
[ ] Add Positive Feedback #47
[ ] Review feedback messages #91
[ ] Reimplement /help

Some thoughts about future work:
https://atmospherejs.com/mnmtanish/call

[ ] Don't call between meteor methods
[ ] Add support for positive feedback
[ ] Wrapper for feedback enabled client meteor.calls Feedback.call('foo');
[ ] Abstract into package


jQuery UI v1

[x] Update theme to match existing bugs.jqueryui.com
[x] Update main navigation links
[x] Add JSON data from jqueryui trac
[x] Add raw attachments and zip attachments
[x] Check ticket pages
[x] Check wiki pages
[x] Check milestone pages
[x] Check attachment pages
[x] Add any missing pages that ui might have that core didn't
[x] Update index page content to be jquery ui specific
[x] "jQuery Trac" -> "jQuery UI Trac"
[x] Test build in CI
[x] Deploy

[x] Test deployment on GH pages
[x] Deploy to branch to prepare for deployment off of gh pages
[x] Real deployment
[x] Remove /newticket redirect

Complete!


Oracle - Table DDL cannot be retrieved from Information Panel

Using Oracle 11g, when you open the information panel related to an existing table (either by double-clicking table name in DB navigator or by Ctrl + Clicking on table name in editor) and select the DDL tab, the following error is displayed and the DDl for the selected table canot be retrieved:

The table exists in the selected schema because I can execute queries on it.
Using another tool (i.e. Toad) the DDL is correctly retrieved.

Does this error happen for all tables or only for some particular ones?
Is this table is a regular table or there is something special about it?

Just reproduced this on IOT table.
Please confirm that in your case this error happens with index organized tables as well (and doesn't happen with other table types).

Hi Serge,
from our DB I cannot say precisely if the table I used to find this bug is a IOT table or not...
If I execute the following query:
select
	TABLE_NAME,
	IOT_NAME,
	IOT_TYPE
from SYS.ALL_TABLES
where OWNER = {my table owner}
	and TABLE_NAME = {my table}

the values for IOT_NAME and IOT_TYPE are both null, so I suppose the table is an ordinary table.
Additionally, the reported issue happens with all the tables of our test DB, but does not happen with the development DB, so maybe this could be related to some Oracle instance settings.

Then most likely this is a security problem: http://stackoverflow.com/questions/116522/what-oracle-privileges-do-i-need-to-use-dbms-metadata-get-ddl
Do you use exactly the same credentials/role as in TOAD?

Hi Serge,
Yes, I use exactly the same account both in Toad and in DBeaver. This account has full CRUD permissions on records on tabled.

Hi Stefano,
As I still can't reproduce this in my environment I have to ask for your assistance. Could you try the same trick as in #41: execute following query
SELECT DBMS_METADATA.GET_DDL('TABLE', '<table-name>', '<schema-name>') FROM DUAL

in both TOAD and DBeaver?
Thanks

Hi Serge,
investigating a little further, this issue seems related to the fact that, to retrieve a table DDL, the current schema should be canged into desired table schema. Generating the DDL of a table in the tablespace of the current user works.
A possible workaround that retrieves table specs (excluding indexes) is the following:
with table_ddl as (
	select  table_name as table_name,
	        0 as linenum,
	        'CREATE TABLE ' ||
	        rtrim(table_name) ||
	        '(' as DDL
	from    dba_tables
	where   owner = upper('{schema}')
	union
	select  tc.table_name as table_name,
	        column_id as linenum,
	        decode(column_id,1,'    ','   ,')||
	        rtrim(column_name)|| chr(9) || chr(9) ||
	        rtrim(data_type) ||
	        rtrim(decode(data_type,'DATE',null,'LONG',null,
	               'NUMBER',decode(to_char(data_precision),null,null,'('),
	               '(')) ||
	        rtrim(decode(data_type,
	               'DATE',null,
	               'CHAR',data_length,
	               'VARCHAR2',data_length,
	               'NUMBER',decode(to_char(data_precision),null,null,
	                 to_char(data_precision) || ',' || to_char(data_scale)),
	               'LONG',null,
	               '******ERROR')) ||
	        rtrim(decode(data_type,'DATE',null,'LONG',null,
	               'NUMBER',decode(to_char(data_precision),null,null,')'),
	               ')')) || chr(9) || chr(9) ||
	        rtrim(decode(nullable,'N','NOT NULL',null)) as DDL
	from    dba_tab_columns tc,
	        dba_objects o
	where   o.owner = tc.owner
	and     o.object_name = tc.table_name
	and     o.object_type = 'TABLE'
	and     o.owner = upper('{schema}')
	union
	select  table_name as table_name,
	        999999 as linenum,
	        ')'  || chr(10)
	        ||'  STORAGE('                                   || chr(10)
	        ||'  INITIAL '    || initial_extent              || chr(10)
	        ||'  NEXT '       || next_extent                 || chr(10)
	        ||'  MINEXTENTS ' || min_extents                 || chr(10)
	        ||'  MAXEXTENTS ' || max_extents                 || chr(10)
	        ||'  PCTINCREASE '|| pct_increase                || ')' ||chr(10)
	        ||'  INITRANS '   || ini_trans                   || chr(10)
	        ||'  MAXTRANS '   || max_trans                   || chr(10)
	        ||'  PCTFREE '    || pct_free                    || chr(10)
	        ||'  PCTUSED '    || pct_used                    || chr(10)
	        ||'  PARALLEL (DEGREE ' || rtrim(DEGREE) || ') ' || chr(10)
	        ||'  TABLESPACE ' || rtrim(tablespace_name)      ||chr(10)
	        ||'/'||chr(10)||chr(10) as DDL
	from    dba_tables
	where   owner = upper('{schema}')
	order by 1,2
)
select DDL from table_DDL
where table_name = '{table_name}'

It is a bit ugly but works with no particular privileges...
Reference: Burleson Oracle DBA

It seems that TOAD internally queries SYS tables to manually retrieve table DLLs.
Here you can find an example of such a script (in hope it is helpful to solve the problem): Ask Tom

Hi Serge,
maybe there is a bug in the bug... after the reported error occurs, for some tables the Ctrl + Click feature does not work anymore if table is written as {schema}.{table_name} in the editor (but wrks if there is table name only).
If you disconnect and reconnect again on the same connection, this feature works normally.

I tried both ways to construct DDL manually.
1st way doesn't work without DBA permissions (it queries DBA_* views). So I don't see any sense doing it.
2nd way generates DDL which significantly differs from DDL generated by DBMS_METADATA.GET_DDL. It actually combines metadata from ALL_* views. Potentially DBeaver can generate table DDL on client side from the metadata it already has.
I'll try to apply some workaround. Not yet decided which one in particular :)

Serge,
I also has the same problem but as per your comment

serge-rider commented on Nov 4, 2015

confirm that it solves my error.
I connect to my oracle, say DBA1_APPL, and able to generate the DDL script.
The error raised when i login as other user and tried to generate DDL of other schema.
Linux, debian8 64bit.

I'll generate default DDL (on DBeaver side) if DBMS_METADATA.GET_DDL will fail.
Can't invent any better solution. for now.

I just had this exact issue.
I resolved it by running
grant select_catalog_role to {user};


TextFormField text not fully visible

While  using TextFormField and after typing text only half text is visible in iPhone 5s

Steps to Reproduce
Run the application using the code from this main.dart

Target Platform: ios
Target OS version/browser: iOS 11.1
Devices: iPhone 5s/iPhone 6 Plus
Flutter analyzer and doctor

Nothing with flutter analyze.

[✓] Flutter (Channel master, v1.13.3-pre.24, on Mac OS X 10.15.1 19B88, locale en-IN)
    • Flutter version 1.13.3-pre.24 at /Users/shivam/flutter/flutter
    • Framework revision 127a2d2126 (2 hours ago), 2019-12-16 22:17:00 +0530
    • Engine revision e0e0ac0a68
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 45db297095)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/shivam/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/shivam/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2019.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.41.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone 6 Plus • 63DFB87F-8489-4A0E-B01D-8F30E45BECE5 • ios • com.apple.CoreSimulator.SimRuntime.iOS-11-1 (simulator)

Hi @kapoorshivam
on android works fine,
thanks for the reporting the issue
and providing the sample

Hi @kapoorshivam
Checked with flutter master v1.15.20-pre.20 on iOS 11.0 (simulator).

This is what I see

Seems to be fixed, closing.
If you're still experiencing this, please write in the comments and I will reopen it.
Thank you


Sessions table creation error on MariaDB

Hi, i tried to use this module to store my sessions, but I'm encountering an error when it tries to create a dedicated table to store the sessions:
Unhandled rejection Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, 'expired' datetime not null)' at line 1
It is clearly due to the fact that the json format is only supported by MariaDB 10.2+.

Related to #50

I'd love to support this but I'm just one person, and the amount of differences among databases (even major versions of the same database) has become untenable to maintain.
I might just recommend copy pasting the code into your project and tailoring it to your use case as needed, as trying to support everything is too much for me.


Implement WCAG api

Waiting for specs/info from Joost

Decided against using the API due to language and structure.


Right menu block is going down

Gitea version (or commit ref): 1.1.0

Description
The dashboard's right menu block is going down.
Chrome for Mac: version 56
On a 24' wide screen
Screenshots

maybe this is a duplicated with #1175

It seems due to a <a href link between the two blocks

Getting rid of it fixes the UI

Could you confirm #1177 fix this?

Version 1.1.0+24-g8746fb3 (master build) fixes the issue, yes.


[RFC] Allow running command on remote servers / SSH

Just a POC for now

There is some issue with tty so definitely not bullet proof on the interactivity part. I wonder if the use a real PHP implementation of a SSH client would be better to handle this or not.
I agree to mark this feature as experimental :+1:

PR updated to only provide an ssh() function and mark it as experimental

Can you rebase in order to fix conflicts?


Allow the use of the library w/out root, using capabilities instead

Currently libroboticscape does not allow running rc_initialize unless user is root.
This PR will allow rc_initialize to succeed when user is not root but the process has the required capabilities.
As far as I was able to narrow those,
the required capabilities are CAP_SYS_RAWIO and CAP_DAC_OVERRIDE.
Programers using the library might want to drop capabilities at some point.
To give the required capabilities to a binary you SHOULD use setcap.
   sudo apt-get install libcap2-bin          #install setcap et al
   sudo setcap cap_sys_rawio,cap_dac_override+epi /path/to/your/binary

This introduces a dependency with libcap2 on runtime.
This introduces a dependency with libcap-dev on build-time.

V0.4.0 addresses this with more of structural change. The check for root user was very hacky, I admit, but came from the early angstrom and wheezy days where nothing could be done with hardware without root. Now Robert has graciously set udev rules for most of the hardware and the RC lib checks everything individually and only complains with permissions errors if there are actually permission errors.


Album Custom Order

A way to arrange my orders in a custom manner would be very beneficial as I have a lot of folders that I tend to keep close together thematically.

Duplicate:

#231


Unable to sideload RC7 - Error 4100 Cydia Impactor

Cant get RC7 to install with impactor...
Could be me doing something wrong but the others installed fine.

Also had Electra
Used Rolectra + Full RootFS to wipe device

You may need to “register your account” with the free development program. I’ve never seen this error before.
However, this is an issue between you and Apple or you and impactor or Apple and Impactor. Not something that we’re really able to assist with.

i have same here

any update please in your case?


A way to get the numericCode?

Any future plans for implementing the possibility to get the numericCode of a certain currency (except BTC which doesn`t have yet a numeric code)? Useful when you want to store the currency in a database in a numeric type field.

Hi @xterr,
Thanks for reaching out. We are trying to make this library as minimal as possible and storing all ISO currency data (as we are talking about ISO currencies) would probably be too much data here.
That being said, there were a number of requests to provide more data for ISO currencies, so we might create a separate package with a set of tools to ease using them, but there is no ETA or roadmap for that yet.
Also, if we are talking about database: I would probably recommend that you use the currency code in the database. It might add some storage overhead, but it will always be unique (you can use imaginary currencies too) and does not require an extra mapping between the code and the currency.

@xterr See: https://github.com/moneyphp/iso-currencies. But like @sagikazarmark says: it is not stable and it is also not created for external usage. This is going to be closed because it will not be implemented any time soon.


Migration ToolKit For Virtualization Common Module

Short description:
Common Module requires by  all MTV Resouce Handlers
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/verify

/verify

/verified

/verified
/verified

/lgtm


Where is this class 4?

nothing about class 4 yet?

No yet.

The Curso em Video Class number 4 does not have slides. It was a practical class. The repository links about the class


sbt assembly should also compile front end assets

Currently sbt assembly assumes the front end has been compiled, this is problematic because it means that any changes to the front end require the entire build file(s) for the front end to be compiled.
This is noisy to the diff, and adds complexity to doing releases of the project.
I propose to have sbt assembly also build the front end assets.
re:
https://github.com/mesosphere/marathon/commit/0b6560420ccbfeaeadb07fa55f244c3361117c5a#commitcomment-9283899

The idea was to have a self contained frontend project - right?
Than this does not make that much sense.

UI is a separate project.


Capture STDOUT

Signed-off-by: Eric Windisch<EMAIL_ADDRESS>

Coverage increased (+0.3%) to 88.202% when pulling a50a54a0726ead280f266652ac6b9994d64c62e8 on ewindisch:stdout-capture into 7bee26c1ca40b313e1401889f00eb1d38e4394eb on iopipe:master.

Coverage increased (+0.5%) to 88.398% when pulling 63551b327e9622119020993d567c42784c4bb1e3 on ewindisch:stdout-capture into 7bee26c1ca40b313e1401889f00eb1d38e4394eb on iopipe:master.

Coverage decreased (-18.8%) to 70.711% when pulling fe921613b7560292f8d1fc6a2c95480557a01c97 on ewindisch:stdout-capture into 9e2a5d6be32e2b03e6523887e70312da6abc2172 on iopipe:master.

Needs updating. In progress.

We may reintroduce as a plugin.


scratch editor / code snippets

Often when working as a developer you have XML, JSON, JavaScript, etc. on your clipboard. You don't necessarily want to save this data or create a file, but you need a space to view, format and edit it.
Rather than creating a new file, can we have a snippets, clipboard or scratch file editing area to paste such text so we can view, format, edit it without creating a file in our workspace?

Ahh, just found "user snippets" under the Manage icon, hard to find!


Why can hash value vary by library version and platform?

Hello,
I was wondering why it is the case that the "hash value may vary with library version and platform" as written in the API docs for the hash32() function? I looked at that function, and it just seems to be a bunch of operations (bit shift, mult, rotate, etc) being done on the item being hashed, but none of that should be platform specific. So why is the hash value not deterministic?
Thanks

@rigdent on certain platforms vector shift and rotate can be endian-sensitive. See:
https://stackoverflow.com/a/7184905/1080804


Prevent throwing NoSuchMethodException on direct getMethod calls

Instead, get list of methods and filter it
Such exception are expensive in terms of generating stack, plus they unnecessarily bloat JVM reports with tons of throws

@martint @dain  Hey, could any of you you look into this and could we merge this?


Change link from beta signup to account creation.

Q: Do we want to change any of the other text in this introduction?


fix uppercase usernames

uppercase usernames will cause issues when submitting applications to packagist.
This bugfix transforms uppercase usernames like Ma27 to ma27 and all uppercase letters will be transformed to dashes

@Ma27 thanks for preparing this PR. I have a question about it: should we apply the new method to the entire package name instead of just to the vendor part? Thanks.

well actually you are right.
I would remove the following lines https://github.com/Ma27/symfony-installer/blob/patch-1/src/Symfony/Installer/NewCommand.php#L379-L380 and apply the fixComposerVendorName to the whole package name and open a new PR

@javiereguiluz we should generate lowercase package names. Composer will treat them as lowercase anyway.

With the latest changes I think this is ready to merge it because now we generate lowercased and dash-separated package names. Thanks @Ma27 for working on this!


Linting not working. Nothing is showing up when there are supposed to be errors. Errors don't show while coding, only if I compile would I get error messages.

Hello, I'm using the Solidity extension & before it used to work just fine and would show linting for errors, but now I never get them. It's clear that the errors are there because when I compile with Hardhat/Truffle it complains, but I'm not getting linting as I'm coding like how Remix IDE does.
I don't understand why it's not working anymore and it's really upsetting since I rely on the linting for work.

Hi @adriandelgg what are your settings?

Hey @juanfranblanco, thanks for replying and making this awesome VS Code extension.
I've attached the extension settings I have. It used to work where I would get linting while typing like how Remix does, but now I don't anymore and I have no idea why.

Any ideas as to why it's not working?
Is there any way I can completely delete the extension and any past versions so that I can have a brand new fresh installation of it?

bump on this thread, I am having the same error and it is causing me great trouble

@adriandelgg @ClockworkRainbow apologies this thread went out of track, are you still having the issues?

@adriandelgg @ClockworkRainbow apologies this thread went out of track, are you still having the issues?

It's okay. I'm not sure if I'm supposed to get the exact linting i get like i do with Remix IDE.
For example, I'm Remix, it detects on the IDE if I can turn a function into view, while on VSCode it only suggests that when I run the compiler.
Is this the right behaviour?

@adriandelgg does it look like this? This is mainly driven by the compiler in the background.

No you don't need to install anything else.
What I am seeing is that you have enabled the error reporting as you type, you are using the latest version of solidity (which is downloaded, "remote"), you can compile as you have said and it shows the errors. So there might be an issue when starting the server. Can you try the latest version? This might solve your problem.

I tried & it's still not working, and now I'm getting a new error.
Source<EMAIL_ADDRESS>not found: File import callback not supported
I'm not sure why I keep having issues with the extension.

These are my settings.json in VS Code:
{
	"telemetry.enableCrashReporter": false,
	"liveServer.settings.donotShowInfoMsg": true,
	"git.autofetch": true,
	"workbench.iconTheme": "material-icon-theme",
	"editor.fontFamily": "'Fira Code', monospace",
	"telemetry.enableTelemetry": false,
	"workbench.startupEditor": "newUntitledFile",
	"editor.renderWhitespace": "none",
	"workbench.editor.decorations.colors": true,
	"oneDarkPro.bold": true,
	"git.enableSmartCommit": true,
	"gitlens.advanced.messages": {
		"suppressGitMissingWarning": true
	},
	"explorer.confirmDragAndDrop": false,
	"[json]": {
		"editor.quickSuggestions": {
			"strings": true
		},
		"editor.suggest.insertMode": "replace",
		"gitlens.codeLens.scopes": ["document"],
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'",
	"editor.fontSize": 15.95,
	"javascript.updateImportsOnFileMove.enabled": "always",
	"editor.tabSize": 2,
	"[javascript]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[typescript]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[typescriptreact]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"prettier.singleQuote": true,
	"prettier.arrowParens": "avoid",
	"prettier.useTabs": true,
	"prettier.trailingComma": "none",
	"explorer.confirmDelete": false,
	"[javascriptreact]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"[html]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"editor.minimap.renderCharacters": false,
	"editor.cursorSmoothCaretAnimation": true,
	"editor.cursorWidth": 2,
	"editor.tokenColorCustomizations": {
		"textMateRules": [
			{
				"scope": ["entity.name.function", "entity.name.method"],
				"settings": {
					"fontStyle": "bold"
				}
			}
		]
	},
	"editor.semanticHighlighting.enabled": true
	"editor.cursorBlinking": "expand",
	"terminal.integrated.cursorBlinking": true,
	"editor.linkedEditing": true,
	"launch": {
		"configurations": [],
		"compounds": []
	},
	"typescript.updateImportsOnFileMove.enabled": "always",
	"emmet.showSuggestionsAsSnippets": true,
	"emmet.includeLanguages": {
		"javascript": "javascriptreact",
		"typescript": "typescriptreact"
	},
	"solidity.compileUsingRemoteVersion": "v0.8.7+commit.e28d00a7",
	"git.confirmSync": false,
	"tailwindCSS.emmetCompletions": true,
	"files.trimTrailingWhitespace": true,
	"codesnap.backgroundColor": "#fb6f7d",
	"codesnap.boxShadow": "rgba(0, 0, 0, 0.55) 0px 10px 20px",
	"git.enableCommitSigning": true,
	"editor.minimap.enabled": false,
	"editor.formatOnSave": true,
	"[markdown]": {
		"editor.defaultFormatter": "yzhang.markdown-all-in-one"
	},
	"security.workspace.trust.untrustedFiles": "open",
	"terminal.integrated.defaultProfile.linux": "zsh",
	"[jsonc]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
	},
	"python.pythonPath": "C:\\Users\\adria\\AppData\\Local\\Programs\\Python\\Python39\\python.exe",
	"editor.bracketPairColorization.enabled": true,
	"redhat.telemetry.enabled": false,
	"vs-kubernetes": {
		"vscode-kubernetes.kubectl-path.linux": "/home/CodeOnBlocks/.vs-kubernetes/tools/kubectl/kubectl",
		"vscode-kubernetes.helm-path.linux": "/home/CodeOnBlocks/.vs-kubernetes/tools/helm/linux-amd64/helm",
		"vscode-kubernetes.minikube-path.linux": "/home/CodeOnBlocks/.vs-kubernetes/tools/minikube/linux-amd64/minikube"
	},
	"workbench.colorTheme": "Electronic Moonlight"
}

I FIGURED OUT WHY IT'S NOT WORKING. The "solidity.packageDefaultDependenciesDirectory": needs to be set to my project.
However, how can I make it so it auto detects it? In the screenshot, you can see that in my workspace I have multiple folders with different projects. I had to set the rule for this specific project as "solidity.packageDefaultDependenciesDirectory": "bp-nft-meetings/hardhat/node_modules" in my global settings.json file, but obviously this isn't ideal because I have multiple projects & don't want to be having to manually change it every time.

Is there a way to set the settings.json for each individual project or something?

Ah yeah at the moment the settings in a workspace apply to all folders, (workspace settings), the only solution is to open each folder separate. This is the same for the new remappings. So mainly your bp-projects, you will need to open each folder separate, we are all discussing to have a project file, which will make things much easier (eventually)

Ah yeah at the moment the settings in a workspace apply to all folders, (workspace settings), the only solution is to open each folder separately. This is the same for the new remappings. So mainly your bp-projects, you will need to open each folder separate, we are all discussing having a project file, which will make things much easier (eventually)

That'd be awesome. I've noticed that even though the path is set to another project, if I go into a new project it will actually still work, so that's good. But yes, it'd be great to have it detect it all on its own. I'm assuming it works because it finds the necessary info in the other project, but if I import for example @openzepplin I'm assuming it may be referencing the node_modules from the other project and not the current one I'm on.

@adriandelgg yes that is the side effect, this workspaces folders is rather painful, as you will need folder settings per folder in workspace, but that is not possible.

@adriandelgg try to add a remappings.txt file in the root folder of each project. Here you can map specific files or folder.
ie
@openzeppelin/=lib/openzeppelin-contracts/
ds-test/=lib/ds-test/src/


Does neo support hd wallet？

In other words， how to sign a tx whose utxos owned by different privatekey?
The signatureData is at the end of the transaction data。Each utxo does not have its own signature data.
thanks.

https://ledger.zendesk.com/hc/en-us/articles/115005530425-How-to-install-and-use-Neo-NEO-

thanks
where i can get samples or documents about how to generate signatureData for a transaction whose utxos owned by different privatekeys?

You can follow the source code:
https://github.com/neo-project/neo-cli/blob/master/neo-cli/Shell/MainService.cs#L607


Begginer issue

I saw samples they seems to work.
I need to use components with my demo react app and I get in troubles, I guess for advanced react dev it's obvious but for a beginner its not.

I'm trying something simple:
main.js
var React = require('react'),
  Router = require('react-router'),
  APP = require('./components/app');

var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;

React.render(
  <APP Link />,
  document.getElementById('main'));

var Inbox = React.createClass({
  render: function () {
    return (

        Inbox
        <RouteHandler/>

    );
  }
});

var Dashboard = React.createClass({
  render: function () {
    return (

        Dashboard
        <RouteHandler/>

    );
  }
});

var routes = (
  <Route name="app" path="/" handler={App}>
    <Route name="inbox" handler={Inbox}/>
    <DefaultRoute handler={Dashboard}/>
  </Route>
);

Router.run(routes, function (Handler) {
  React.render(<Handler/>, document.body);
});

app.js
var React = require('react');
var APP =
  React.createClass({
    render: function () {
      return (

<Link to="app">Dashboard</Link>

<Link to="inbox">Inbox</Link>

      )
    }
  });
module.exports = APP;

And I get errors, I think I miss something obvious but ... need help.

What errors?

Uncaught ReferenceError: Link is not defined
if I add
var Router = require('react-router'),
  Link = Router.Link;

Warning: Failed Context Types: Required context router was not specified in Link. Check the render method of App.
Uncaught TypeError: Cannot read property 'makeHref' of undefined
Link = Router.Link;

Remove
React.render(
  <APP Link />,
  document.getElementById('main'));

You already render in the route run handler:
Router.run(routes, function (Handler) {
  React.render(<Handler/>, document.body);
});

Doing it in both places won't work.


Continuous replicator does not push documents which are being observed

When a listener has been added for a specific document through CBLDatabase_AddDocumentChangeListener, updating that document does not trigger a running continuous replicator to push the new document revision.
Listening to all database changes through CBLDatabase_AddChangeListener does not trigger this behavior.

Does the issue always happen or intermittently happen? Do you have CBL logs that you can provide when reproducing the issue?

This behavior always occurs while the document change listener is active.
cbl_logs.zip
The document that is being watched is note_9NsRwI4xiCPJxEacj9lmlMVPKw02.
The last operation that was performed was saving this document, which should have triggered a push to the Sync Gateway.

For some reason, I couldn't reproduce the issue with the current lithium (3.0.1) branch. I have tried with a push-and-pull continuous replicator with either creating a new doc or updating an existing doc case. I have had both change and document change listener setup.
Normally there should be something like this in the log after the document is saved.
06:50:31.456573| [DB] verbose: {DB#1} begin transaction
06:50:31.458067| [DB] verbose: Saved doc 'doc1' #2-3f86153916695d96f78f2f19d552b82e985f5805; body=24, extra=82
06:50:31.458140| [DB] verbose: {DB#1} Saved 'doc1' rev #2-3f86153916695d96f78f2f19d552b82e985f5805 as seq 2
06:50:31.458178| [DB] verbose: {DB#1} commit transaction
06:50:31.458519| [Sync] verbose: {ReplicatorChangesFeed#10} Database changed! [notify=1]
06:50:31.458661| [Sync] verbose: {ReplicatorChangesFeed#10} Asking DB observer for 200 new changes since sequence #1 ...
06:50:31.458763| [Sync] verbose: {ReplicatorChangesFeed#10} Observed 1 db changes #2 ... #2
06:50:31.459147| [Sync] debug: {ReplicatorChangesFeed#10} remoteRevID of 'doc1' is 1-4cca2f994772ae634befeb924d6aa510161f43eb
06:50:31.459253| [Sync] verbose: {ReplicatorChangesFeed#10} Read all observed changes; awaiting more...
06:50:31.459369| [Sync] info: {Pusher#9} Read 1 local changes up to #2: sending 'proposeChanges' with sequences #2 - #2

What do you do in the document change listener? and Can you try to get all thread dumps to see if the replicator is waiting on something?

I have been able to reproduce the issue with this setup:
TEST_CASE_METHOD(ClientServerReplicatorTest, "Continuos Replicate + Watch doc", "[Replicator][.Server]") {
    if (!setConfigRemoteDBName("scratch"))
        return;

    CBLLog_SetConsoleLevel(kCBLLogVerbose);

    MutableDocument doc("a");
    db.saveDocument(doc);

    db.close();
    db = cbl::Database(kDatabaseName, CBLTest::kDatabaseConfiguration);
    config.database = db.ref();

    auto loadedDoc = db.getMutableDocument("a");

    CBLError error;
    config.replicatorType = kCBLReplicatorTypePush;
    config.continuous = true;
    repl = CBLReplicator_Create(&config, &error);
    REQUIRE(repl);

    auto listener = db.addDocumentListener(loadedDoc.id(), [](Database db, slice docId) {});

    CBLReplicator_Start(repl, false);

    std::this_thread::sleep_for(std::chrono::seconds(2));

    std::cout << "Saving doc..." << std::endl;
    db.saveDocument(loadedDoc);
    std::cout << "Saved doc" << std::endl;

    std::this_thread::sleep_for(std::chrono::seconds(2));

    CBLReplicator_Stop(repl);

    std::this_thread::sleep_for(std::chrono::seconds(1));
}

db.saveDocument(loadedDoc) does not trigger a push unless the line which adds the listener is commented out.
It seems to only happen for documents that have been inserted before the current database instance has been opened.

Yes, I could reproduce the issue with the provided test. Thanks for sharing the test.

Jira: https://issues.couchbase.com/browse/CBL-3013


Add ale_lint_in_normal_mode option

This PR implements an option to lint when exiting insert mode and making changes in normal mode.
(I found continuous linting in insert mode a little off putting and this seems like a happy medium without having to wait until a save.)

Thanks for the comments.
I think you're right that the multiple autocmd under one option could be confusing, but also think splitting it out into more options could be just as bad. I wonder if documenting this as a configuration example in the readme, demonstrating the configurability of the plugin could be good?
Let me know your thoughts and I'd be happy to move this out into my vimrc and write it up for the docs or readme, if you think it will be useful.
Thanks for a great plugin!

I think documenting that you can do something like this would be best. You could write something for the README file if you want. I will eventually re-arrange the README so there's an FAQ section and put something like that in there.

I'm closing this, in favour of adding something like this to the FAQ instead.


Best practice for debugging ?

Hi everyone,
I'm a new member to nodebot community and while reading and doing some tutorials a few questions come to my mind about debugging :

Is is possible to attach a debugger to the nodejs process running after the command t2 run ... ?
If not, how do you deal with it ? Only with console.log/logger or something else ?

Thanks for your help !

Hi! Usually, I console.log when debugging. Would be curious to hear of other techniques!

I haven't done this personally, but I'm sure than any socket-based debugger will work. Definitely give that a try—I'd love to know how it works out.

Be careful: --binopts is specifically for sending options (arguments, flags, etc) to the binary (eg. node), but which are only relevant to the binary, for example --harmony. To send options (arguments, flags, etc) to your program, use t2 run index.js [foo bar baz].

Unless I'm mistaken, I do want to send flag to node binary since I want to activate the legacy debugger.
So, the 2 options I've identified so far :

legacy debugger :
https://nodejs.org/dist/latest-v6.x/docs/api/debugger.html#debugger_advanced_usage

Problems to solve

launch legacy debugger in non "brk" mode : Apparently the result of "--binopts debug" is "node debug ..." which is equivalent to "node --debug-brk ...".

alternative solution : Use t2 push then t2 root to launch "node --debug" process manually

Fix if possible the "Javascript heap out of memory" (cf print screen below)

?

node-inspector :
https://github.com/node-inspector/node-inspector

Problems to solve

need to be installed on Tessel 2 and npm is not present

solution : ?

replace node binary with node-debug

alternative solution : Not tested obviously but I guess it should work : u
se t2 push then t2 root to launch node-debug process manually


Safer slice pops

Please offer standard functions for deleting elements from a slice, instead of people using poor quality snippets from Stack Overflow.

In order to add these functions in the standard library, we need generics.  I don't think it's worth adding predeclared functions for these.  Closing this issue in favor of generics; it can be reopened if generics is not added to the language.
In the meantime see https://golang.org/wiki/SliceTricks for possibly higher quality snippets.

Fascinating. So append doesn't need generics, but somehow undoing appends requires generics?

The predeclared append function was added to the language in 2010, when there was no prospect of adding generics to the language.  Now in 2020 we are much closer to adding generics.  For example, see https://blog.golang.org/why-generics.  It may also be interesting to read https://www.airs.com/blog/archives/559.