Add flow cadence lint command

Instructions
Please fill out the template below to the best of your ability.
Issue To Be Solved
Currently, the Cadence linter is only really surfaced through the language server & adjacent tools (VSCode extension, playground).  It is a valuable static-analysis tool which could be a part of automation processes and developers may want to run it independently (outside of integration with the aforementioned tooling).
We should surface this as a command in the Flow CLI so that developers can enforce better standards within their Cadence code and catch errors earlier in their development cycle.
(Optional): Suggest A Solution
Add a flow cadence lint <files> command which runs all linting analyzers as and surfaces these to the output.  The command should also attempt to surface any parsing/checking errors in a structured format.
(Optional): Context
This relates to efforts related to Cadence 1.0 and helps developers understand if problems exist in their code, what these problems are, and how they can attempt to mediate them.
related: https://github.com/onflow/cadence-tools/pull/285

That would be great! Similarly, it would be great to expose the docgen tool and the test tool (might already be not sure)


Cropped icon

Hello can u please fix this?
If i add marker with angle, icon is cropped
MarkerIcon icon = MarkerIcon(
    assetMarker: AssetMarker(
        image: AssetImage(
          'assets/graphics/vehicle_marker.png',
        ),
        scaleAssetImage: 0.4),
  );
await controller.addMarker(newGeo, markerIcon: icon,angle: 1.18);

android

i will make quick fix for it

yes im testing everything and i will update the docs make new version in this week inshallah

check our new version 0.55.2

is this angles correct?
u have
assert(angle >= -pi && angle <= pi, "angle should be between -pi and pi");

but everything <0 do nothing, i can only use numbers in interval 0-pi, negative numbers dont work, so icon can only rotating to right, no way to rotatate to left.
Icon can be rotaten only for 90° to right

ok will check the issue

i will made quick fix now to make angle between 0 and 2pi

check our new version 0.55.3

it works fine now :thumbsup:
thank u


Update README.md - Delete duplicated section

I’m not sure that this merger is relevant now after all this time, maybe it should be closed @andy108369 ?


[SR-13088] Fixing remaining spurious cast to unrelated type warning involving collection elements

This is a followup for resolution of SR-13088
This fixes SR-7187 and SR-6192 and possibly SR-7738
Also, this handles the unrelated warning for checked cast from protocol
composition to unrelated non-existential.

Resolves remaining issues on SR-13088.

I like how you've covered the different edge cases with tests. 😄

I like how you've covered the different edge cases with tests. 😄

Thanks @varungandhi-apple :)

@swift-ci Please smoke test

@swift-ci Please smoke test Windows platform

@swift-ci Please smoke test Windows platform

@swift-ci Please smoke test Windows platform

@LucianoPAlmeida The failing test IRGen/autolink_merge_from_clangimporter.swift is unrelated to your change and is being fixed in https://github.com/apple/swift/pull/32751. As such, feel free to merge this :)

@LucianoPAlmeida The failing test IRGen/autolink_merge_from_clangimporter.swift is unrelated to your change and is being fixed in #32751. As such, feel free to merge this :)

Ahh, thanks @hamishknight :)


Migrate to golang-jwt

migrate to golang-jwt  (as it is recommended by previous maintainer of jwt pkg)
add dependabot for regular security checks
add PR template
add CI on top of GH Actions
fix many linter offenses

Hey @g8rswimmer ! Thank you a lot for this package. Could you please review a PR?


ckpt file for demo.py after training

After running training, ie
python ./faster_rcnn/train_net.py --gpu 0 --weights ./data/pretrain_model/VGG_imagenet.npy --imdb voc_2007_trainval --iters 70000 --cfg  ./experiments/cfgs/faster_rcnn_end2end.yml --network VGGnet_train --set EXP_DIR exp_dir
The last line in log prints
Wrote snapshot to: /xxxx/VGGnet_fast_rcnn_iter_70000.ckpt done solving
But I see three files
VGGnet_fast_rcnn_iter_70000.ckpt.data-00000-of-00001 VGGnet_fast_rcnn_iter_70000.ckpt.index VGGnet_fast_rcnn_iter_70000.ckpt.meta
I then trying to run demo. none of them works with
python ./faster_rcnn/demo.py --model model_path
how can i get single ckpt file similar to the one that can downloaded  (https://github.com/CharlesShang/TFFRCNN#download-list) VGGnet_fast_rcnn_iter_150000.ckpt as per the instructions in readme ?

Thanks @ChrisDal , I believe the trio files format introduced as part of the new saver of Tensorflow - tf.train.SaverDef.V2 which is defaulted now.
Ideal below is recommended way to read the new saver files, below code in demo.py should fix, but
saver = tf.train.import_meta_graph(args.model+'.meta') saver.restore(sess, args.model)
But I ran into some other issues. what seem to solve it forcing the saver to V1 format in train.py
self.saver = tf.train.Saver(max_to_keep=100,write_version=tf.train.SaverDef.V1)

thanks @rgsachin.
hello, did you mean modify self.saver = tf.train.Saver(max_to_keep=100)  in train.py  to  self.saver = tf.train.Saver(max_to_keep=100,write_version=tf.train.SaverDef.V1)  ?
In this way how should I restore the result file?(I am now training the kitti and waiting for the result file )

Thanks for @CharlesShang your work.
I have trained KITTI dataset and get ckpt.meta, ckpt.index files, and I switch to CLASSES = ('background','person','bike','motorbike','car','bus') in demo.py, and import the meta graph
saver = tf.train.import_meta_graph(model) .
BUT I still can not test demo images, so I change self.saver = tf.train.Saver(max_to_keep=100) in train.py to  self.saver = tf.train.Saver(max_to_keep=100,write_version=tf.train.SaverDef.V1)  based on @rgsachin , after training again yielding real ckpt file,  I fail to run demo again...
Could you give me some suggestions ? thanks

@zyclarkcheng  Did you solve the problem？could you help me ?I got the same problem


Adds autoBreadcrumbs config option ...

Can disable automatic collection of breadcrumbs entirely, or
enable/disable individual breadcrumb loggers (dom, location, etc).
cc @dcramer @macqueen @mattrobenolt

This change is

Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Add tests for knocking

This PR adds tests for knocking. They are currently hidden behind a build tag. To run the tests, you'll need to add -tags msc2403 to your command line args to include these tests. The build flag, as well as all of the xyz.amorgan.knock references should be remove/modified after MSC2403 makes it into a spec version.

MSC: https://github.com/matrix-org/matrix-doc/pull/2403
Synapse implementation: https://github.com/matrix-org/synapse/pull/6739

@Kegsay heads up I'm looking for a review from your side as well just to take a look over whether these tests were written in a way you think works with Complement :)

@Kegsay quite a few chunky changes since your last review, all addressing your feedback. Details are in commit messages, but overall it was mostly a lot of code for syncing, part of which required some slight changes to client.go.


fix for Ubuntu subrelease paths, smarter config file handling, added example Dockerfile, other fixes

fix for Ubuntus YYYYMMDD.X paths
changed default path for config.yaml
smarter config file path handling
historian fix
added sample Dockerfile for crawler for pipeline use
typo in path check fixed

We discussed last week on how we proceed with the crawler within the openstack image manager. As a result @berendt openened https://github.com/osism/openstack-image-manager/pull/567 - since it looked to us as we're not really moving anywhere with it.
With this PR I'm a tad torn (to back paddle on #567) but since it (the crawler) is self-contained, I wonder wether it is easier for future maintenance of the code to have it in its own repo. Opinions?

Fine for me.
I have been updated by @maliblatt about the future plans of getting updates for the manager.
I will create a new repo just for the crawler for all those who want to use it in the mean time.
So this PR can be closed. Thx for your feedback!


Adding preAuthorizedApplications with az ad app update fails

Describe the bug
Command Name
When running az ad app update to add to the list in preAuthorizedApplications, I receive the following error:
Errors:
A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value.

I've tried varying combinations of quotes, escaping out []{}, or trying to pass the JSON through as @preAuthorizedApplications.json but all fail.
When run with --debug it looks like the PATCH request to https://graph.windows.net is going through, but the request body is incomplete (app1Guid and app2Guid are per the reproduction steps):
...
msrest.http_logger : Request URL: 'https://graph.windows.net/tenantGuid/applications/app1Guid?api-version=1.6'
msrest.http_logger : Request method: 'PATCH'
msrest.http_logger : Request headers:
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'Content-Length': '82'
msrest.http_logger :     'User-Agent': 'python/3.7.3 (Darwin-18.6.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.0.64'
msrest.http_logger : Request body:
msrest.http_logger : {"preAuthorizedApplications": [{"appId": "app2Guid"}]}
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Register app1 and app2 with Azure AD
az ad app update --id app1Guid --add preAuthorizedApplications "{'appId':'app2Guid', 'permissionIds':['permissionsGuid']}"

Expected Behavior
app2 is listed as a pre-authorized application, allowing it to use app1.
Environment Summary
Darwin-18.6.0-x86_64-i386-64bit
Python 3.7.3
Shell: bash

azure-cli 2.0.64 *

Extensions:
storage-preview 0.2.5

Additional Context

cc: @yugangw-msft

Hi @adewaleo @haroldrandom @jiasli ,
Is there an update or workaround for this at the moment? We're currently trying to add preAuthorizedApplications via azure CLI and are unable to do so.

add to S164.

I tried to directly use the RestApi as a workaround.
Observation 1 - Rest Api V1.6 doesn't work
Using a PATCH request on https://graph.windows.net/myorganization/applications/{app-id}?api-version=1.6 I receive exactly the error message the original poster observed.
So it is only partially the CLI's fault....
Observation 2 - Rest Api V2.0 is accessible for users but not for Service Principals
Adding the clients is working in the azure portal.
When I monitor my browser's network calls, I see that the request however goes to https://graph.windows.net/myorganization/applications/{app-id}?api-version=2.0
When I log in as a user and pass my Bearer token to the request, it works as expected.
When I obtain a token using a service principal, I get following error message:

The specified api-version is invalid. The value must exactly match a supported version.

@rbhadti94, @bradcavanagh-ffs . Unfortunately, I am no longer on the CLI team. Although, it seems this has been added to the current teams backlog.
In the AD App Manifest reference docs preAuthorizedApplications have this in their description: "Requires an admin to have provided consent to the application".
This doc v2-permissions-and-consent#permission-types also mentions that: "Application permissions are used by apps that run without a signed-in user present; for example, apps that run as background services or daemons. Application permissions can only be consented by an administrator."
Unless, I am mistaken, this might explain why you could only update the preauthorizedapplications using a user bearer token and not an SP bearer token @PhilippJust. I doubt an SP can be given an Admin role. But I might be wrong

Hi @adewaleo ,
This isn't a permissions issue. I can get this command working using:
az rest patch ...

and then patching the JSON payload to https://graph.windows.net
But when trying to directly run the azure cli command as mentioned by @bradcavanagh-ffs :
az ad app update --id app1Guid --add preAuthorizedApplications "{'appId':'app2Guid', 'permissionIds':['permissionsGuid']}"

it fails.
So why does the POST method work but not the CLI method?

@rbhadti94, my comment about permissions was in response to @PhilippJust's comment about the difference in API behavior depending on the kind of token.
I haven't investigated why the command isn't working properly (I'm no longer on the CLI team). But hopefully the person assigned can get to it soon.

@rbhadti94
Are you logging in as a user or a service principal? I tried to reproduce your behaviour with az rest and it works exactly as the manual request to the REST-Api as described in my earlier comment.

Hey @PhilippJust,
Yes I can get it working with az rest using a service principal.
But I would rather be able to use az ad app update --id app1Guid --add preAuthorizedApplications <ID> than a direct REST command to the API.

Hi @rbhadti94 @PhilippJust,
Currently Azure CLI use grach api version 1.6 which do not support preAuthorizedApplications. We are considering upgrade to version 2.0. And will update here if we get the conclusion.
Thanks @adewaleo for the reply of different tokens problem. I agree with you, that might because the accounts used have different permissions.

Hi @arrownj,
Thanks for the response.
We are currently POSTing to https://graph.microsoft.com/v1.0/applications/ in order to update the preAuthorizedApplications.
Assuming that this should be supported by Azure CLI?

AD Graph 1.6 does define preAuthorizedApplications but it is somehow not working with PATCH request.
Since AAD is deprecating AD Graph API, as @rbhadti94 pointed out, for now you may use az rest to call MS Graph API Update application directly and update the preAuthorizedApplications field of apiApplication resource type:
# bash
appObjectId=502912d6-eda3-4eb0-a3e1-5918dba268c3
az rest -m PATCH -u https://graph.microsoft.com/beta/applications/$appObjectId --headers Content-Type=application/json -b '{"api":{"preAuthorizedApplications":[{"appId":"93dde3da-9fca-47dd-aee2-409b402ffed3","permissionIds":["7fde0c1f-87a7-4b64-80a8-d2f97c66357c"]}]}}'

We will track MS Graph issues at https://github.com/Azure/azure-cli/issues/12946


feat(ngAria, ngMessages): backport ngAria and ngMessages for 1.2.x

Support ngAria and ngMessages in 1.2.x. Some features from ^1.3.0 could
not be backported due to absence of a feature in 1.2.x (i.e. ng-min,
ng-messages-include).
Pretty much replaces PR #12626 by creating a 1.2.x specific implementation.
@gkalpak @Narretz please review.
Noticed IE8 auto tests fail weirdly on aria, looks like something is throwing errors but cannot reproduce this myself. Any help is appreciated.
Also noticed IE8 ngMessages test for usage by element (i.e. <ng-messages for="x">) which I know does not fly well in general for IE8. Should this even be tested? I tried patching to <ng:messages> as this sometimes fixed things for me, but could not get it to work in this case (probably because ng-message uses require).
Please advise.

Someone?

Regarding merging this into 1.2, I'll bring it up at the team meeting today. However like we said in the other thread, it's unlikely we will do it. It fits much better as a standalone project.

Sorry, it took a bit longer to ask for confirmation, but it's like I said, we are not gonna put this into 1.2.x. Currently I am swamped, but if I find time I'd be available in setting this up as a standalone project.


Possible Set-CsPhoneNumberAssigmnet bug

Per technet the # character is valid for a users UPN. However if you have a UPN with the # character in it Set-CsPhoneNumberAssignment will return a "The user '' is not found" error no matter how you run it (such as putting the UPN in single or double quotes).
However - other cmdlets such as Get-CsOnlineUser work just fine with the UPN of a user with the # character.

Hi @JG-Robo Thanks for the feedback could you please share the article you are referring to? Thanks.

@JG-Robo Thanks for the feedback!
I can repro this issue and will create bug for the relevant team to address it.
As a work-around you can use the ObjectId/Identity GUID to assign the phone number.
For issues specifically related to Teams PS cmdlets, it is better to report them via this https://github.com/MicrosoftDocs/office-docs-powershell.
Feel free to close this issue


SignUp Ready

@mersocarlin SingUp ready to go!
Can you just have a :eyes: and approves if it is that the case?
cheers mate

+1


Add the Azure Boards badge to the README

Add the Azure Boards badge for the board used to track the work for this repository. Fixes AB#14. See the status badge configuration documentation for more information.

Updated


updated wrappers for fantasy data collection

Sorry, did not mean to push this PR to main, just wrote some wrappers for my personal project


[stable/logdna-agent] Add the ability to set affinity on daemonset

Signed-off-by: Lucas Heinlen<EMAIL_ADDRESS>
Is this a new chart
No
What this PR does / why we need it:
Adds the ability to configure affinity settings for the pods created by the DaemonSet.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @viglesiasce


Change kernel_initializer in some tf.keras layers for improved performance

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.0
Python version: 3.6
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10
GPU model and memory: P100

Describe the current behavior
The current Conv2D and dense layers in the tf.keras package have glorot_uniform as the default kernel initializer which doesn't play well with advanced activations like relu, prelu, selu, etc.  Given the fact that relu is a default choice for modern architectures, the kernel should be initialized from a different distribution.
Describe the expected behavior
The kernel initializer should be changed to he_uniform in Conv, SeparableConv, DepthwiseConv and Dense layers from this
__init__(
    filters,
    kernel_size,
    strides=(1, 1),
    padding='valid',
    data_format=None,
    dilation_rate=(1, 1),
    activation=None,
    use_bias=True,
    kernel_initializer='glorot_uniform',
    bias_initializer='zeros',
    kernel_regularizer=None,
    bias_regularizer=None,
    activity_regularizer=None,
    kernel_constraint=None,
    bias_constraint=None,
    **kwargs
)

to this
__init__(
    filters,
    kernel_size,
    strides=(1, 1),
    padding='valid',
    data_format=None,
    dilation_rate=(1, 1),
    activation=None,
    use_bias=True,
    kernel_initializer='he_uniform',
    bias_initializer='zeros',
    kernel_regularizer=None,
    bias_regularizer=None,
    activity_regularizer=None,
    kernel_constraint=None,
    bias_constraint=None,
    **kwargs
)

Other info / logs
Here are the resources that you can look into:

The original paper for Kaiming init: https://arxiv.org/pdf/1502.01852.pdf
Blog post: https://towardsdatascience.com/why-default-cnn-are-broken-in-keras-and-how-to-fix-them-ce295e5e5f2
Blog post: https://towardsdatascience.com/weight-initialization-in-neural-networks-a-journey-from-the-basics-to-kaiming-954fb9b47c79

This would be backward incompatible, but it might be worth considering for 2.0 as the justification seems fairly strong. @fchollet WDYT?


Build Argument Support

Hi,
Is there a way to utilize build arguments?

Not at the moment, but we'd be happy to take a PR for that!


performance: Make workers cache CloudVolumes across tasks

CloudVolumes are initialized for every single task (and every accessed MIP), causing a large spike of requests for the info and maybe provenance files.

Addressed via #15


Using Dockerfile as an option to train model not working

The documentation talks about using Dockerfile as a way to train a model, however this option is not working as expected based on the thread here. Can we remove this from the documentation till this option is working to avoid any confusion?

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

ID: af5a2184-2f06-5c07-477c-86b2591fb2aa
Version Independent ID: 0cbf10e2-1cc1-7eff-57a9-6bc8872e7620
Content: Train a model by using a custom Docker image - Azure Machine Learning
Content Source: articles/machine-learning/how-to-train-with-custom-image.md
Service: machine-learning
Sub-service: core
GitHub Login: @saachigopal
Microsoft Alias: sagopal

@joshivinod we'll review your feedback and get back to you shortly. Thanks.

@GiftA-MSFT - any inputs for us?

We now support docker build context through the v2 CLI https://docs.microsoft.com/azure/machine-learning/how-to-manage-environments-v2

#please-close


Branch fix ped bugs

Closes #206, #202, #174, #155, #154, #152, #150, #140

Codecov Report

Merging #221 (2c941c1) into master (646a5b4) will increase coverage by 0.68%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #221      +/-   ##
============================================
+ Coverage     68.36%   69.04%   +0.68%
- Complexity      747      758      +11
============================================
  Files           116      116
  Lines          2380     2381       +1
  Branches        279      279
============================================
+ Hits           1627     1644      +17
+ Misses          638      621      -17
- Partials        115      116       +1

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/HelpCommand.java
70.96% <0.00%> (-5.70%)
:arrow_down:

...ava/seedu/address/logic/commands/MailXCommand.java
80.39% <ø> (ø)

...rc/main/java/seedu/address/model/person/Email.java
80.00% <ø> (ø)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)

...ava/seedu/address/history/InputHistoryManager.java
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Merge romanz electrs

This PR merges master branch from romanz/electrs and will solve the problem #9
This branch contains commits up to v0.8.3 (cbc2214cd5eca54a0412bcc0d5302e345b613397), but does not contain less relevant commits.

Setting up build cache
0.00sadding /home/travis/.cargo to cache
creating directory /home/travis/.cargo
adding /home/travis/build/chaintope/electrs-tapyrus/target to cache
creating directory /home/travis/build/chaintope/electrs-tapyrus/target
adding /home/travis/.rustup to cache
creating directory /home/travis/.rustup
adding /home/travis/.cache/sccache to cache
creating directory /home/travis/.cache/sccache
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received


Set enable/disable in PV mode even if car disconnected

from #98:

Another thing I'm wondering about: when evcc is set to pv only (and there is not enough PV generation) and I connect my car, then charging will start immediately (and stop after guardtime).

Root cause ist that I set MinCurrent when not connected to prevent that the car will connect and contactor close at full current. I think the needed behaviour is:
in PV mode:

when connected: apply PV regulation enable/disable/current
when disconnected apply PV regulation enable/disable at minimum current

The contactor does never close or open on current under normal operating conditions.
The contactor is driven by the EVSE mostly under vehicle control. Only if the vehicle signals "charging" the contactor has to be closed. But it will NOT immediatly draw current instead it will run several tests on mains (phase voltages, ground and neutral resistance,... )and if everything is ok it will slowly ramp up the current. The same happens in the opposite way when PWM is turned into DC only on CP (stop charging by EVSE).
So this handling from EVCC side is a bit useless.

So this handling from EVCC side is a bit useless.

I've heard different before. Since this is conflicting input, please let's split these changes into two separate updates.


[FIXED -PR Waiting ]Moving the slides outside the bounds of the screen throws an error

in the following bin:
https://www.webpackbin.com/bins/-KiybDEiWhRa_tKHrapu
When the slides are dragged outside the view,
an error is thrown, instead of restarting the slide position:

The following PR fixes the issue:

https://github.com/silicakes/react-slick/tree/Out-of-bounds-exception-fix

There are 56 PRs open, @akiran perhaps its time you add collaborators.

I don't see any such issue, if someone's facing similar to this, please give your configs.

PR #614 has been considered for fix. Changes will be released soon.

Yay! thanks!:)


Add syntax highlighting to debug error page

Fixes #191.
Also addresses #123, with comments from PR #124 to make ansi colors easier to see.

Awesome, thank you!!!

@dstreet I'm sorry, but I didn't know that our team was preparing for a new color scheme for this page. So revert it for now.

@nkzawa you need me to revert that commit, or are you going to revert the merge?

@dstreet it has been reverted: https://github.com/zeit/next.js/pull/197

@dstreet I already did.
We reverted it for releasing 1.1.0, but will reapply your commits and update the color scheme soon. Thanks again for your great work!


Response status and type verification error

Hi,
I have an example project (https://github.com/QAJungle/vertx-testing-example) where I have a Vertx application. I'm doing pact testing.
One of the problems is that when I launch a GetABookByISBNPactTest GetABookByNamePactTest or GetAllBooksPactTest (https://github.com/QAJungle/vertx-testing-example/tree/master/vertx-testing-example-server/src/test/java/com/qajungle/vertx) I obtain the next error, but is random, not alwails fails.
java.lang.AssertionError:  0 - Expected a header 'Content-Type' but was missing 1 - Expected a response type of 'application/json' but the actual type was 'text/plain'
The second error is status assertion error with AddABookPactTest. When I launch tests I obtain the next error:
java.lang.AssertionError:  0 - expected status of 201 but was 200
If you see the pact (https://github.com/QAJungle/vertx-testing-example/blob/master/vertx-testing-example-server/src/test/resources/pacts/add_book_test_consumer-add_book_test_provider.json) and controller code (https://github.com/QAJungle/vertx-testing-example/blob/master/vertx-testing-example-server/src/main/java/com/qajungle/vertx/infrastructure/delivery/vertx/controller/BookController.java#L47) I send 201 status code. In postman I validated it correctly.
You can see the provider and the client in the same repo.
I use:
pact-jvm-provider-junit5_2.12 3.6.2 version.
Thanks.

I don't know much about vert.x, but I can see a difference when running the app versus when the pact test runs.
With the app running:
$ curl -v http://localhost:8080/books/978-0-321-53446-0
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55c7ea9295c0)
* Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
> GET /books/978-0-321-53446-0 HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: application/json; charset=utf-8
< content-length: 62
<
{
  "name" : "Agile Testing",
  "isbn" : "978-0-321-53446-0"
* Connection #0 to host localhost left intact
}

and when the pact test is run with debug logging enabled:
11:43:40.918 [main] DEBUG au.com.dius.pact.provider.junit5.PactVerificationStateChangeExtension - beforeEach for interaction 'GET REQUEST'
11:43:40.919 [main] DEBUG au.com.dius.pact.provider.junit5.PactVerificationStateChangeExtension - Invoking state change method getBookByISBN for state 'a book by ISBN'

Verifying a pact between get_book_by_isbn_test_consumer and get_book_by_isbn_test_provider
  Given a book by ISBN
  GET REQUEST
11:43:41.046 [main] DEBUG au.com.dius.pact.provider.ProviderClient - Making request for provider au.com.dius.pact.provider.ProviderInfo(http, localhost, 8080, /, provider, null, null, null, null, null, false, null, changeit, null, true, false, true, null, [], []):
11:43:41.060 [main] DEBUG au.com.dius.pact.provider.ProviderClient - 	method: GET
	path: /books/978-0-321-53446-0
	query: [:]
	headers: [:]
	matchers: MatchingRules(rules={})
	generators: Generators(categories={})
	body: MISSING
11:43:41.205 [vert.x-eventloop-thread-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096
11:43:41.205 [vert.x-eventloop-thread-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxSharedCapacityFactor: 2
11:43:41.205 [vert.x-eventloop-thread-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16
11:43:41.205 [vert.x-eventloop-thread-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8
11:43:41.241 [vert.x-eventloop-thread-2] DEBUG io.netty.handler.codec.compression.ZlibCodecFactory - -Dio.netty.noJdkZlibDecoder: false
11:43:41.241 [vert.x-eventloop-thread-2] DEBUG io.netty.handler.codec.compression.ZlibCodecFactory - -Dio.netty.noJdkZlibEncoder: false
11:43:41.316 [main] DEBUG au.com.dius.pact.provider.ProviderClient - Received response: HTTP/1.1 200 OK
11:43:41.318 [main] DEBUG au.com.dius.pact.provider.ProviderClient - Response: {statusCode=200, headers={content-length=[0]}, contentType=application/json; charset=UTF-8, data=}
    returns a response which
      has status code 200 (OK)
      includes headers
        "Content-Type" with value "application/json; charset=utf-8" (FAILED)
      has a matching body (FAILED)

Failures:

0) Verifying a pact between get_book_by_isbn_test_consumer and get_book_by_isbn_test_provider - GET REQUEST returns a response which includes headers "Content-Type" with value "[application/json; charset=utf-8]"
      Expected a header 'Content-Type' but was missing

1) Verifying a pact between get_book_by_isbn_test_consumer and get_book_by_isbn_test_provider - GET REQUEST returns a response which has a matching body
      comparison -> Expected a response type of 'application/json' but the actual type was 'text/plain'

particularly, the line headers={content-length=[0]}, contentType=application/json; charset=UTF-8, data=} shows that the content type header is not being set correctly. It should be content-Type not contentType.

Changing VertxPactTest.java:36  to .requestHandler(req -> req.response().putHeader("content-type", "application/json; charset=utf-8").end()) fixes that problem, but the test still fails because no response is being generated.

Any solutions to that problem? I am also getting the same issue when doing a GET request with a query param. Any help would be valuable @bethesque
Thanks

Sorry, I'm not the pact-JVM maintainer, and I don't do much Java, so I can't give you any insight into this issue.

Any solution for this issue!? facing the same error.

0 - Expected a response type of 'application/json' but the actual type was 'text/plain'
1 - Expected a header 'Content-Type' but was missing

@uglyog can you please help?

In My case I think it was the messageConverters which were not setup Correct.
Also I suggest taking a look at all the pact-jvm dependencies to all align at the same version.

@kumarkrish85 are you also using a Vertx application?

I am also facing the same issue
0 - Expected a header 'Content-Type' but was missing
1 - Expected a response type of 'application/json' but the actual type was 'text/plain'

@praneeth459 are you also using a Vertx application?

0 - Expected a header 'Content-Type' but was missing
1 - expected status of 200 but was 404
2 - Expected a response type of 'application/json' but the actual type was 'text/plain'


Mymonero crash when connecting to light wallet server

This is a follow up of the bug report mention in monero repo PR 4139.
@paulshapiro asked for a crash log, but I am running a release build downloaded from App store. Can you send me a debug build and tell me how to install it? I have no idea how to do app development on iOS and I do not have a macbook.

Oh, in that case, I'll probably get the log through Apple. Even if I sent a debug build, it'd be the same situation. If you're technical, have a Mac, and can install the pods as in the readme and can run the app in xcode with the debugger then that's another way

if you were*


chore(api): Update CRD api versions to v1

This PR uses controller-gen in conjunction with kubebuilder annotations to update CRD versions to apiextensions.k8s.io/v1.
The CRDs can be generated using: controller-gen crd paths=./apis/metacontroller/... output:stdout > crds.yaml

hi @fpetkovski , than for this PR. Currently I have one to upgrade metacontroller dependencies to 0.17 (https://github.com/metacontroller/metacontroller/pull/49) , so after merging that one (I just want to test it locally on minikube, hopefully this happen this week) I would ask for rebasing your (and keep kubernetes dependency for integration test to 1.17.0 to match lib dependencies)

@fpetkovski As this commit will made metacontroller require k8s at least 1.16, can you add commit body which explicitly states that and starting with BREAKING CHANGE message ?
We use sematic-release for versioning, to mark release as breaking commit body must meet certain conditions (https://github.com/semantic-release/semantic-release#commit-message-format). I would suggest adding :
BREAKING CHANGE: Migrated CRD api version to 'apiextensions.k8s.io/v1' introduced in kubernetes 1.16, which is now minimal supported kubernetes version

Hey @grzesuav thanks for the fast feedback. I've set the Kubernetes version to 1.17 and amended the commit message to indicate that this PR introduces a breaking change.
Let me know as soon as you'd like me to rebase against master.

@fpetkovski go for rebase, also please check failing check, it basically require you to add signoff <author> comment, click on it and it will tell you what to do

Hmm aparently we have more places where we stick to v1beta1 - https://github.com/metacontroller/metacontroller/issues/44 , if you have time you can you update also them ? If not, after you rebase I can add another commit a top of yours to have everything in one go.

@fpetkovski additional question, I guess it should work with user CRD's in both versions (v1 and v1beta1) but just to be safe, have you tested it ? If not I will test it tommorow

@grzesuav yes, v1beta1 and they are essentially treated as different APIs so they can coexist together. However it would be nice if you could also run some basic tests locally so that we don't run into "it works on my machine"

@fpetkovski can you run locally make generated_files on your side and share outcomes ?

@fpetkovski can you run locally make generated_files on your side and share outcomes ?

I am getting
+ Generating deepcopy funcs for metacontroller/v1alpha1
F1201 09:24:40.855691   54635 deepcopy.go:131] Failed loading boilerplate: open k8s.io/code-generator/hack/boilerplate.go.txt: no such file or directory

But this is also happening on the master branch, not just on this one.

@fpetkovski can you run locally make generated_files on your side and share outcomes ?

I am getting
+ Generating deepcopy funcs for metacontroller/v1alpha1
F1201 09:24:40.855691   54635 deepcopy.go:131] Failed loading boilerplate: open k8s.io/code-generator/hack/boilerplate.go.txt: no such file or directory

But this is also happening on the master branch, not just on this one.

strange, anyway could you removed the empty line mentioned above ? It makes this step not working correctly.  no idea why it won't work on your side...

Thanks @grzesuav, I removed the whiteline. Do you see any additional work that needs to be done?

No, just the blank line

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Hardware requirements

Hello, thank you for the work you do for this library.
I would like to know the minimum hardware requirements.
a pc with 4gb of ram and an Intel Atom x5-Z8350 processor
with windows 10 can it work?
thanks

Hi,
It depends more on the GPU. All computations are done on the GPU, for the deep learning network. The more the GPU is powerful, the more we can run the neuron network per second, and the more the result will be accurate and without delays.
Then I don't have exact metrics about GPU performance. The best is to try some devices.
My mobile phone, a 4 yo Sony Xperia Zperformance seems to be the lower bound to have a good experience.
4GB of RAM is far enough, the lib does not use a lot of RAM (something like 20MB)
For the OS, it should work even with windows 7.

Hi,
Thanks for the reply.
Have you tried on an intel stick or a mini pc?

Hi,
Intel stick, rpi, ... have very weak gpus.

It works very well on the TX2, and I think the Jetson nano would be fine.

Ok, thanks for the advice. I think I start  on a jetson nano.
I would like to know if I can resell this device to my clients, and if it is a device that can remain on 24h / 24h 7 / 7j without problem ?
Thank you

Hi,
You can use this software stack to run JS apps on jetson: https://github.com/jeeliz/jetsonjs
The Jetson can run without interruption.
You are welcome to give any feedback using a specific hardware :).
Best,
Xavier


[move-only] Implement very initial work for move only

I need to add more tests/expand it to more of SILGen. But for today, this is enough to get started/be incremental. Of course this is behind the experimental move only flag.

@swift-ci test

@swift-ci test

@swift-ci test


JSON Formatting Support

OK we've come this far.  Can't turn back now. 😄
The idea is to provide an extension that will allow documents to format and serialize as a JSON document.  I am not sure how involved this will be, but I am giving myself a week.  I don't want/expect it to be 100% fidelity with the likes of JSON.NET, but more like a proof-of-concept to show off the power/flexibility of the extension model.

OK update here.  I've started to look into this.  Turns out that the built-in .NET code has its own Json serialization!
https://mutelight.org/using-the-little-known-built-in-net-json-parser
Unfortunately it doesn't work and/or is not available in .NET Core. :(
So I have been working with the JSON.NET JsonTextWriter for now, to get the writing working.  This has exposed some issues with the design, so I am looking into this.  I am thinking I should have this done over the weekend.  We'll see how it goes. ;)

Ok. Its sounds good! Thanks.

A quick checkin here.  I didn't get as much done over the weekend as I had planned.  So it is going to take me a little longer than expected.
Part of the reason I wanted to do this was to expose any design considerations and sure enough there are plenty. :)  So I am also taking care of those too.  So I am thinking hopefully this weekend by the latest now with those.  I will update here as needed.

OK. Thanks for update.
I didn't have time because in Poland we had Easter.

Yep, same here. :)  TOO MUCH CANDY!!! 🍬

Going to close this issue for now as it is out of scope for v2.  Maybe for v3, at which point we'll open it back up.


Concurrent logging buggy without /etc/passwd

Describe the bug
When running in environment without /etc/passwd (or without access to it), concurrent logging is very buggy as it cannot find user names, the uninitialized/empty memory data is used as names of files in /tmp and in SecAuditLogStorageDir. The problem is in file apache2/msc_logging.c, function construct_auditlog_filename, lines:
char *username;
...
apr_uid_name_get(&username, uid, mp);

The return value of function apr_uid_name_get should be checked and if getting user name failed, something other should be used (i suggest UID).
Server (please complete the following information):

ModSecurity version (and connector): 2.9.3
WebServer: apache 2.4.25 running in very strict environment done using apparmor
OS (and distro): Debian Stretch

Also file apache2/persist_dbm.c, functions collection_retrieve_ex, collection_store and collections_remove_stale.

Hi @azurit,
Thank you for the report, I am liking this issue to #2046 as it seems to be related.

Closing per duplicate previously cited.


Add Logarithms for All Bases, not Just Base e, Base 10, etc.

This is a pull request for convenience: users who work with logs of bases other than that which the library provides should just be able to write log(x, b), as supposed to log(x)/log(b).

I forgot JUST ONE THING IN THE FUNCTION DEFINITION IN std.complex.  This causes it to fail.


Add unit tests

[ ] reducers
[ ] components
[ ] actions

Test for reducers are here: https://github.com/hellofresh/janus-dashboard/tree/feature/tests
TODO: add latest changes and create PR

[ ] reducers
PRhttps://github.com/hellofresh/janus-dashboard/pull/90
PRhttps://github.com/hellofresh/janus-dashboard/pull/91

[ ] components:
Icon - https://github.com/hellofresh/janus-dashboard/pull/98

Tests added for all major components, closing issue.


Correct default cache path

The default path where bundle package puts the gems is vendor/cache, not vendor/bundle.

Thanks so much @Confusion and @simi!
@bundlerbot r+


Why isn't InputHelper Exposed?

You can't access Input(InputHelper) from the UserInterface.
Furthermore i tried to create a new InputHelper to mess around with it, it couldn't register any changes in keys pressed or mousebuttons pressed.
UNTIL i added it into the same place where i update the UserInterface itself.
Input.Update(GameTime) made it respond to feedback.
Altho, i wouldn't have to make a new one if the original was exposed to begin with.
https://github.com/RonenNess/GeonBit.UI/blob/7dcf9afee7d5599136d35f11afebb3f7525c5782/GeonBit.UI/Source/UserInterface.cs#L103

Hi @VampireMonkey

I don't want to expose the InputHelper I use internally since I want to leave myself the freedom to use different tricks and hacks (if I ever needed) but if I allow users to access it I might break their code.
The object is not very costly and you most likely need to update it only once per frame, so its ok if the users will duplicate it.
Yes you have to call Input.Update(), that's how its intended to work.

hope this answer your questions :)
Thanks!


Figure out a good way to do tests

Seems like the 3 bests options would be

Mocking std::fs::*
Mounting FUSE/tmpfs and running tests on a ramdisk
Just working on the actual filesystem in a tempdir

ended up doing it by creating folders in the current crate directory with cleanup, might not be the best way, but its a way.


Use Requires.jl to make LightGraphs a soft dependency?

It would mean that logging graphs would only be enabled in you had LightGraphs loaded.
But then we can cut down our dependencies significantly.

I'm personally in favor of anything that cuts down on the dependencies of this package.
But, didn't you have reservations against using Requires.jl ? Or those issues were fixed?

I do have reservations about Requires.jl,
it causes a big increase in load time when you load the package that is hidden behind it gets loaded.
but I think that is worth it to drop the dependency


the new stairs 1.14 don't work

Hi,
I use PaperSpigot 1.14.2 and the last version of this plugin.
I put the new stairs in the config but I can't sit on it. I can on the stairs before 1.14. No error in the console...
Thank you in advance.

have the same issue i am using paper also and i got a stack trace.
[22:37:36 WARN]: [RFChairs] Plugin RFChairs v5.3 generated an exception while executing task 462
java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
at com.rifledluffy.chairs.updating.Updater.getLastUpdate(Updater.java:24) ~[?:?]
at com.rifledluffy.chairs.ChairManager$1.run(ChairManager.java:472) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.2.jar:git-Paper-94]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.2.jar:git-Paper-94]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.2.jar:git-Paper-94]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_211]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_211]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]

While we're talking about stairs (and slabs and carpets), rather than filtering on material name you might be able to just use Tag, i.e. Tag.STAIRS.getValues(), although you would need to check whether the LEGACY_ variants are included.


Scrypt function optimization

The speed/performance for scrypt function is quite slow when I use it.
In my case, I use those scrypt parameters (n=16384, r=8, p=8). It takes about ~15sec when I do one key derivation. In comparison on the same machine, in Javascript, it takes only ~ 2sec.
Is there a way to optimize that ?

What environment are you testing that in, DartVM or dart2js? I was not the one that implemented Scrypt, but I believe the implementation was based on a Java one, not a JS one.

I tested it in the DartVM. Yes, I mentioned JS as a comparison only. I also tried the one from BouncyCastle (Java) with the same scrypt parameters and it took around ~1sec.
My use case is for Bitcoin BIP38 private key encryption/decryption, I can try to provide more details if you need.


Add MuWire in File Sharing recommendations

Description
Resolves: #2217
Check List

[x] I understand that by not opening an issue about a software/service/similar addition/removal, this pull request will be closed without merging.

[x] I have read and understand the contributing guidelines.

[x] The project is Free Libre and/or Open Source Software

Netlify preview for the mainly edited page: When #2311 will be merged (it builds fine locally).

Code repository of the project (if applicable): https://github.com/zlatinb/muwire

MuWire could also fit as a Worth Mentioning in Self-Contained Networks, as discussed for the similar Tribler #1687, but contrary to the latter, each user gets a unique ID that can be easily shared to enable 1-on-1 file sharing, so MuWire fully fits the use case for file sharing too. And since there's not too many anonymous and open-source file sharing softwares, I chose to add it in file sharing for this PR.


Certificate .pem problem

Hi I've got problem with .pem certificate a tried everything in issuses but nothing helps
 var options = new MqttClientOptionsBuilder()                 .WithClientId("user")                 .WithTcpServer("local", 8883)                 .WithCredentials("user", "123")                 .WithTls()                 .Build();
Lets say that path to certificate is e:\mqtt\cacert.pem
how it should be written in the code
Thanks a lot

I would say this is the same issue as https://github.com/chkr1011/MQTTnet/issues/757.

Thanks this was solution for me
.WithTls(o =>                 {                     o.UseTls = true;                     o.Certificates = new List<byte[]>                         {                              new X509Certificate(@"C:/certs/cacert.pem", "").Export(X509ContentType.Cert),                         };                     o.CertificateValidationCallback = (x509Certificate, chain, sslPolicyErrors, mqttClientTcpOptions) => true;                 })


Gapless playback

Hey! I was just thinking of this feature when I was listening to an EP the other day.
Gapless playback basically is...gapless playback. This can be especially useful for things like EPs, where the music is supposed to flow continuously. Since Koel doesn't have this, I'd like to suggest it.
I'd assume gapless would buffer/cache the song x amount of seconds before hand, and then smoothly begin to play the next song, without a gap.
It'd be pretty cool to implement this, so I can listen to EPs that flow continuously.

We had the discussion before: #457. For EP I think prefetching (already implemented) should be good enough, no?

Tested it on my phone (GS7) a few days ago, and there was a noticeable gap when playing, more than Google Play Music (i'd say around 500ms).

The logic of prefetching currently is to load the next song when the current is 10 seconds from completed. If the connection isn't good enough for the loaded buffer to start playing right away after this 10 seconds, you'll still experience gaps.

This is interesting...on my 200 Mbps home Wi-Fi, when one song ended in an EP, and the next started, no prefetching occurred. I did skip to the end of the song (leaving around 10 seconds of time for Koel to start prefetching), so I'm going to try and listen to the whole song and see what I get.

If you're sure prefetching doesn't work, please file an issue then :)
On Mon, Mar 6, 2017 at 11:51 AM, o355<EMAIL_ADDRESS>wrote:

This is interesting...on my 200 Mbps home Wi-Fi, when one song ended in an
EP, and the next started, no prefetching occurred. I did skip to the end of
the song (leaving around 10 seconds of time for Koel to start prefetching),
so I'm going to try and listen to the whole song and see what I get.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/phanan/koel/issues/549#issuecomment-284302516, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHrt0rG5PtOoauh-g8OhAV9-0TnCIscFks5ri5DWgaJpZM4MTRqe
.

Of course, once I finish listening to this EP, and making 110% sure that it doesn't work.


'babel-preset-es2015' module not found

Have any idea? Seems like npm install --save-dev babel-preset-es2015-rollup installed just fine however below still happens.
Node: 4.4.5
C-C02P37U0G3QD:learn-rollup evans.863$ ./node_modules/.bin/rollup -c
{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
Error transforming /Users/evans.863/work/zack/learn-rollup/src/scripts/main.js with 'babel' plugin: Cannot find module 'es2015'
Error: Error transforming /Users/evans.863/work/zack/learn-rollup/src/scripts/main.js with 'babel' plugin: Cannot find module 'es2015'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.require.resolve (internal/module.js:16:19)
    at module.exports (/Users/evans.863/work/zack/learn-rollup/node_modules/babel-preset-es2015-rollup/node_modules/modify-babel-preset/index.js:76:21)
    at Object.<anonymous> (/Users/evans.863/work/zack/learn-rollup/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki

EDIT: My .babelrc is:
{
  "presets": ["es2015-rollup"]
}

It looks like you've installed the babel-preset-2015-rollup, but you're trying to include babel-preset-es2015.
Double-check that your .babelrc looks like this:
{
  "presets": [ "es2015-rollup" ]
}

That should fix the problem.

@jlengstorf Thanks for the quick response dude. My .babelrc is in face:
{
  "presets": ["es2015-rollup"]
}

That's odd.
Just in case, try this:
npm prune
npm cache clean
npm install

Then run it again.
For some sanity-checking: .babelrc is in the app root, along with package.json, and that's where you're running the Rollup command, right?

I just pruned, cleared cache and installed again and called ./node_modules/.bin/rollup -c from root and still getting that error.
I went ahead and created a repo if you are interested in checking it out. I'm sure you are busy so no rush.
Also thanks for the write up on rollup.js I know I find it extremely helpful.

I also had that issue and found a fix here: https://github.com/rollup/rollup-plugin-babel/issues/72
Talkbacked it on the youtube post too.
Again, thank you J for the great Rollup course. I learn in lots of places, some are well established and funded organizations and your teaching and course configuration is well above the standard. I'd love it if you would produce one about Ramda and functional JS.

@2474 This is odd, because I just cloned your repo, cleaned my npm cache, and ran ./node_modules/.bin/rollup -c and... it all worked as expected. Are you on Mac/OS X?
I'm not sure if I've got something locally installed that would change the outcome you're getting, but here's my current setup:
$ node -v
v4.4.5
$ npm -v
3.10.4
$ ./node_modules/.bin/rollup -c
# No error here.

# For the sake of completeness, my globally-installed packages.
$ npm list -g --depth=0
/usr/local/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
But, like @eylon-uk mentioned, rollup/rollup-plugin-babel#72 has a fix. The relevant config is here:
{
  "presets": [
    [
      "es2015",
      {
        "modules": false
      }
    ]
  ],
  "plugins": ["external-helpers"]
}

I just tried that in your repo and it works as expected. Give it a shot and let me know if it's still causing problems.

I'm:
Node 4.4.5
NPM 2.15.5
OSX Yosemite 10.10.5
I'll try updating NPM and all else, I'll check out the issue @eylon-uk mentioned.
Thanks for looking into this guys!

I have the same issue.
node v4.2.2
npm 2.14.7
osx yosemite 10.11.6

@yonida Just to sanity check: is your .babelrc in the same directory as node_modules?
If you haven't already, also try:
npm install --save-dev babel-preset-es2015

That plus the fix in my comment above should get you up and running.

I had the same issue ,
and i modified .babelrc to
{   "presets": [     [       "es2015",       {         "modules": false       }     ]   ],   "plugins": ["external-helpers"] }
and have it fixed.

I try { "presets": [ [ "es2015", { "modules": false } ] ] },it works;

@jlengstorf #12  help me!

我看了以上评论，还是没能解决我的问题！当我运行 npm run dev 还是报这个错误：
Error transforming D:\workSpace\git\rollup-learning\src\scripts\main.js with 'babel' plugin: It look
s like your Babel configuration specifies a module transformer. Please disable it. If you're using t
he "es2015" preset, consider using "es2015-rollup" instead.

@gongph please share your repo. This looks like a configuration error.
Please use the config in this comment and see if it helps.

my repo is Here .  @jlengstorf

@gongph Your .babelrc needs to match the config I've shared with you twice now. Check the previous comments for the correct config.

Any explanation where this is coming from? Tested the repo without modifications. Works on one machine (OS X) fails on the other as described here (Ubuntu 16.04, although I doubt that the OS is the problem).
It is pretty frustrating having to add a config addition on specifically for one machine without getting the background.
(P.S.: many thanks for the tutorial)

I wish I know. I'm thinking this should probably be opened as an issue on rollup/babel-preset-es2015-rollup, because it's intermittent and — at least judging by the errors — shouldn't be happening.
I'll open an issue.

@wellnoidea I edited my last comment to mention you, but I'm not sure if it actually notified you. (If so, sorry!)
If it didn't, I'm hoping to get the error code you're getting on the machine that fails. I'd like to open an issue with the babel-preset-es2015-rollup repo to dig into this, but I don't have the the information they'll need to debug it.

@jlengstorf Sorry for the delay. I'll post code & error by tomorrow.

Checked both machines
first runs<EMAIL_ADDRESS>everything works fine
the second one runs<EMAIL_ADDRESS>install fails with
{ [Error: Cannot find module 'babel-preset-es2015'] code: 'MODULE_NOT_FOUND' }
Error transforming /[...]/rollup-babel/script.js with 'babel' plugin: Cannot find module 'es2015' (While processing preset: "/[...]/rollup-babel/node_modules/babel-preset-es2015-rollup/index.js")

after upgrading npm on the second machine to 3.6.0 installation works just fine

Confirmed. Downgrading to npm 2.15.9, reinstalling the node dependencies via npm will bring the error back.
Going back to 3.6.0 and reinstalling and everything runs just fine.

I tested that with this repo and a minimized version:
https://github.com/wellnoidea/babel-rollup

Awesome: it's an npm version issue and not a ghost. :)
That's incredibly helpful. I'll add a note to the article and close this afterward. Very much appreciate your help, @wellnoidea!

The solution is to use a newer version: npm install --save-dev gulp-babel@7 babel-core babel-preset-env

Having the same issue....
ERROR in ./js/app.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel-preset-es2015' from 'C:\xampp\htdocs\REACT_PROJECTS\RGR'
at Function.module.exports [as sync] (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules\resolve\lib\sync.js:58:15)
at resolveStandardizedName (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:101:31)
at resolvePreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:58:10)
at loadPreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\files\plugins.js:77:20)
at createDescriptor (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:154:9)
at items.map (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:109:29)
at createPresetDescriptors (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:101:10)
at passPerPreset (C:\xampp\htdocs\REACT_PROJECTS\RGR\node_modules@babel\core\lib\config\config-descriptors.js:58:96)
@ multi ./node_modules/webpack-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./js/app.js main[2]
i ｢wdm｣: Failed to compile.

{
"presets": [
"@babel/preset-env"
]
}
this will do the trick


Treat DataFuture inputs as dependencies

Prior to this PR, DataFutures were treated, dependency-wise, like
any other input value, and did not cause any deferral of execution.
This meant that output DataFutures from one app passed as inputs
to a second app would not cause the second app to wait for the
first app to complete.
Fixes issue #1125

I can't see how this PR ever worked except for accidentally... I'll try to get it more comprehensively tested.

recent commits on this branch pass the prior future to apps as I originally intended. this should be ready for review now.


Converting the End of Line Sequence from CRLF to LF in any of your project files

Try it out: https://gist.github.com/tjsudarsan/f2bfe4c4d567243e302cf8ba40e1c7e5

Got to .editorconfig and set: end_of_line = lf


Synchronize values on asynchronous function calls in Rust FFI

This is not necessary because even concurrent code execution is impossible without go expressions even though the spawned closures might be executed on different and multiple threads.


Adding Tamil language words [see desc]

Hello there! I wanted to contribute to this repository the Tamil language, although some of the words are gtranslate, many of the words are from me, I wrote it. Although I didn't put every word in here to translate, I did translate a couple of the meals.  Love the idea of the app! Hope it grows more with more languages, including languages of the Indian Subcontinent, as it differs every 100-200 kms.

This is awesome thank you. Also thanks to @glennsarti you built the checker, to make sure the file works because I had to make a couple of syntax changes thanks to this check.

I did close this, but on further inspection I reverted it as there isn't a lot of translation here and you've only added translation for vegetarian and vegan. Please translate the whole lot before trying to commit code.

yeah ok I have no time as a school kid, so need to do these things in my free time.
I understand your pov.


ACL doc created with wrong content-type

Hi, great that you developed this Solid app!!
I ran into an error while using it:
curl 'https://tic-tac-moe.inrupt.net/pixolid/images/'
Error: Don't know how to parse application/octet-stream yet while trying to parse <https://tic-tac-moe.inrupt.net/pixolid/.acl> as application/octet-stream

That means that probably the app uploaded https://tic-tac-moe.inrupt.net/pixolid/.acl
and https://tic-tac-moe.inrupt.net/pixolid/images/.acl without giving it a content type? If you PUT a Turtle document then you should add a Content-Type: text/turtle request header.
Let me know if I can help with that!

pixolid is a corrupted app with the last node-solid-server please, update your app !


setCacheNameDetails() doesn't work after the default PrecacheController is created

Library Affected:
workbox-precaching
workbox-precaching's default controller doesn't work with workbox-core's setCacheNameDetails() method. More specifically, it doesn't work after the default PrecacheController has been instantiated (since the default controller stores the cache value locally rather than referencing workbox-core).
This usually isn't an issue when using the workbox loader because the precaching package is lazily downloaded and thus lazily instantiated. For example, the following works because the workbox-precaching code isn't downloaded/run, until workbox.precaching is referenced at the bottom:
importScripts('/path/to/workbox-sw.js');

workbox.core.setCacheNameDetails({
  prefix: 'my-app',
  suffix: 'v1',
  precache: 'custom-precache-name',
  runtime: 'custom-runtime-name'
});

workbox.precaching.precache(...);

But if you're using a bundler to build your service worker code, the precaching package is executed immediately, and that code instantiates the default PrecacheController with the default cache name before setCacheNameDetails() can be called.
There are a few ways to fix this, but I'd argue (and have before) that we shouldn't be instantiating custom objects outside of a method call or in response to an event. The default PrecacheController could be instantiated lazily the first time any of the precaching methods were called.

After talking to @philipwalton, I believe this can be closed. In v4, the default PrecacheController is instantiated lazily when it's first used, not when it's loaded:
https://github.com/GoogleChrome/workbox/blob/94d34d687cf4ab68f76cca938dba590ba3d7b630/packages/workbox-precaching/precache.mjs#L38


Refactor namespace to Prooph\SnapshotStore\ArangoDb

close #10

Coverage remained the same at 98.649% when pulling 19fbbe6f4bf93c084b43f985b48748d84b215541 on sandrokeil:feature/10-namespace-refactoring into 530da97f4958469d16a1741eb161100db760b56c on prooph:master.

Coverage remained the same at 98.649% when pulling 19fbbe6f4bf93c084b43f985b48748d84b215541 on sandrokeil:feature/10-namespace-refactoring into 530da97f4958469d16a1741eb161100db760b56c on prooph:master.

Looks like coverage is tested on both travis builds. Can you remove one?


Call to a member function direction() on null

I'm getting following error on single language app:

Call to a member function direction() on null
\kirby-cookieconsent\src\Configuration.php:29

Plugin version 3.0.0
Kirby version 4.1.0

Sorry about that, I completely missed the single language bug.
I fixed the issue and released a new version (3.1.0).
You can now set your language in the plugin options:
'zephir.cookieconsent' => [
    'language' => [
        'locale' => 'de', // The translation to use, default is en
        'direction' => 'ltr' // Either ltr or rtl, default is ltr
    ]
]

Thank you. I already switched to custom js service, sorry 🙈 You can close the issue 👍

No worries, thanks for repporting the bug :)


[5pt] Error on Fim Performance script

During a test for test_case_by_hydro_id.py, it fails pretty much instantly and on all hucs with:
Found 269 test cases
Running 269 test cases:   0%|                                                                   | 0/269 [00:00<?, ?it/s]/usr/lib/python3/dist-packages/osgeo/gdal.py:315: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
  warnings.warn(
AttributeError("'NoneType' object has no attribute 'GetLayer'")
AttributeError("'NoneType' object has no attribute 'GetLayer'")

AttributeError("'NoneType' object has no attribute 'GetLayer'")
Could this be a gdal issue? We updated some packages since this was last run for <IP_ADDRESS>.
Note: This is high priority in order to continue with the current Prod run of hand_4_5_11_1.

There is a missing a directory level for branch 0 here: https://github.com/NOAA-OWP/inundation-mapping/blob/dev/tools/test_case_by_hydro_id.py#L255 .
For example, this results in
catchment_gpkg
 = /data/previous_fim/hand_4_5_11_1/12030109/branches/gw_catchments_reaches_filtered_addedAttributes_crosswalked_0.gpkg'

but should be
catchment_gpkg
 = /data/previous_fim/hand_4_5_11_1/12030109/branches/0/gw_catchments_reaches_filtered_addedAttributes_crosswalked_0.gpkg'


v0.4.3 release

Upgrade Tests
v0.4.3-rc.1

[x] v0.3.3 -> v0.4.3-rc.1 (GH run)
[x] v0.4.0 -> v0.4.3-rc.1 (GH run)
[x] v0.4.1 -> v0.4.3-rc.1 (GH run)
[x] v0.4.2 -> v0.4.3-rc.1 (GH run)
[x] v0.3.3 -> v0.4.0 -> v0.4.3-rc.1 (GH run)
[x] v0.2.1 -> v0.4.3-rc.1 fedimint-cli,gateway (GH run)

v0.4.3-rc.2

[x] v0.3.3 -> v0.4.3-rc.2 (GH run)
[x] v0.4.0 -> v0.4.3-rc.2 (GH run)
[x] v0.4.1 -> v0.4.3-rc.2 (GH run)
[x] v0.4.2 -> v0.4.3-rc.2 (GH run)
[x] v0.3.3 -> v0.4.0 -> v0.4.3-rc.2 (GH run)
[x] v0.2.1 -> v0.4.3-rc.2 fedimint-cli,gateway (GH run)

Some upgrade tests fail using master, so I'm currently using the last working commit from ~1 week ago (see: https://github.com/fedimint/fedimint/tree/working-upgrade-tests). Aside from devimint refactors, nothing has changed to the upgrade tests. I think it's safe to use an older version of master to verify this release.
Tracking the fix vs master in https://github.com/fedimint/fedimint/issues/6077

Release landed


chore: warn of caps lock in password inputs

This PR introduces a PasswordField that extends the existing FormField and adds some additional logic to detect if either capslock is pushed, or if the input has caps enabled (to handle cases where a user enables caps lock in a separate window and then returns to the wallet).
https://www.loom.com/share/a070f7e403b14641a5e7f0b7730dda4d

Thank you for the eyes everyone! I added in that missing view, lemme know if it's GTG now!


Fill swapping to background

Wondering if you can point me in the right direction on an issue I'm having. I am bringing in assets from Illustrator, and following your instructions, but sometimes my fills are getting "reversed" so that the fill I use is becoming a background colour for the object.
I've attached a screenshot and an .aep file if you require. I'm sure it's something small I'm missing. Thanks for the great plugin / workflow!

fill_to_background_issue.zip

This is related to converting AI layers to shapes.
In some cases AE adds an extra square path and merges it with the original shape.
Since merge paths are not yet supported, they are exported incorrectly.
If you go to your "body" layer and erase in the Contents "Path 2" and "Merge Paths 1", it should export fine.

Thanks! Will give this a go this morning! Much appreciated.

Worked, thanks so much for the reply. Closing issue :)


[WOPI] Add supported view modes to app providers in /app/list

Is your feature request related to a problem? Please describe.
In oC Web we want to support opening collaborative files in view (readonly) mode and then allow the user to switch to edit mode (https://github.com/owncloud/web/issues/9255).
To handle this correctly we need to know which providers support which modes for a specific mime-type.
Describe the solution you'd like
We would like to have an additional property in the response from /app/list:
{
            "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
            "ext": "docx",
            "app_providers": [
                {
                    "name": "Office365",
                    "icon": "https://res.cdn.office.net/officehub/images/content/images/favicon-8f211ea639.ico"
                },
                {
                    "name": "OnlyOffice",
                    "icon": "https://ocis.test/web-apps/apps/documenteditor/main/resources/img/favicon.ico"
                }
            ],
            "name": "Microsoft Word",
            "description": "Microsoft Word document",
            "allow_creation": true,
            "default_application": "OnlyOffice"
        },

Next to name and icon it would be great to have the available view_modes: [] .
Describe alternatives you've considered
Make it configurable in oC Web.
Downside: configuration split between app provider and Web, I would consider having to configure properties of app providers in web to be an anti pattern.

/app/xxx ist just a translation layer for https://github.com/cs3org/cs3apis/blob/main/cs3/app/registry/v1beta1/resources.proto and https://github.com/cs3org/cs3apis/blob/main/cs3/app/provider/v1beta1/resources.proto
The translation layer lives in https://github.com/cs3org/reva/tree/edge/internal/http/services/appprovider
The app registry lives in https://github.com/cs3org/reva/tree/edge/pkg/app/registry and https://github.com/cs3org/reva/blob/edge/internal/grpc/services/appregistry/appregistry.go
The app provider lives mainly in  https://github.com/cs3org/reva/blob/edge/pkg/app/provider/wopi/wopi.go, https://github.com/cs3org/reva/blob/edge/internal/grpc/services/appprovider/appprovider.go and https://github.com/cs3org/wopiserver/blob/5ebe37eb18fe48b0bab7a1973ae52f933c5b6a86/tools/wopiopen.py#L5. I only know about the CS3org WOPI integration and no other integration.
(a different approach for a WOPI integration without separate appprovider / wopi server could look like this: https://github.com/wkloucek/cs3-wopi-server)
When it comes to WOPI the /hosting/discovery endpoint (eg. https://onlyoffice.owncloud.com/hosting/discovery) plays a key role. It's interpreted here: https://github.com/cs3org/reva/blob/9f40f0453b34d485825703ea4b05b1cad1289513/pkg/app/provider/wopi/wopi.go#L397-L451


Default bundle_info.executable_name to bundle_info.bundle_name

Part of #779.
This handles custom rules that don't set executable_name.

cc: @luispadron


How to be able to freely teleport anywhere and use teleport target areas and points at the same time

You can't simply use teleport target points and areas and be able to freely teleport anywhere because the target points/areas use a dispatcher logic to call the relevant spatial target to teleport to, whereas the free teleporting just uses the pointer cursor event data to set the teleport location.
A tutorial showing how to use both mechanisms at the same time would be useful.

https://www.youtube.com/watch?v=bfvQIBPQvxo


Req: Expanding the section '3.3 Installation from source'

I have some instruments that are throwing errors and not providing screenshots and I'd like to debug the application as it runs and edit the commands sent to them.   Could someone expand on the build instructions beyond what is already shown in the readme?
Perhaps a listing of the commands sent as a machine is loaded with the dependencies (appropriate versions, etc), how/which debugger is launched, etc.
Trying to install the dependencies on Ubuntu:
br@black:~$ sudo apt install libgtk

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgtk

br@black:~$ sudo apt install lua

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lua is a virtual package provided by:
  lua5.3:i386 5.3.3-1.1ubuntu2
  lua5.2:i386 5.2.4-1.1build3
  lua5.1:i386 5.1.5-8.1build4
  lua50 5.0.3-8build1
  lua5.3 5.3.3-1.1ubuntu2
  lua5.2 5.2.4-1.1build3
  lua5.1 5.1.5-8.1build4
You should explicitly select one to install.
E: Package 'lua' has no installation candidate

br@black:~$ sudo apt install libreadline
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libreadline

The installation meson section looks straightforward once the above is sorted  out.  Then which ide/debugger to use after that?

Oh, I'm sorry. The from source instructions are very generic because it is simply impossible make one description that fits all systems - libraries have slightly different names on different systems. I really don't want to put specific instructions for how to build on Ubuntu, Fedora, MacOS, Arch Linux, BSD, etc.. In short, if you build stuff from source you best have experience with meson as mentioned in the foot note of the readme.
I can help you setup your debug environment on Ubuntu. However, to begin with, I don't think you need to build lxi-gui to debug screenshot issues. The screenshot mechanism is common to both lxi and lxi-gui. So you could simply build only lxi which does not require a lot of the dependencies.
Also, try start lxi-gui in your console and see if there are any error messages printed to your console when the screenshot fails. Likely it fails to find an appropriate plugin or maybe it loads a plugin which does not support your instrument.

Did you have a look at the cmd line to look for any error messages?


HWKALERTS-129 improve context and tag handling when adding a member trigger

merge member-supplied context with group-supplied context
allow members to provide tags at add-time.

merge member-supplied tags with group-supplied tags

allow members to provide member-level description
allow the trigger name to default to the group name

Also

fix a bug in adding members with a RateCondition

I have run the travis CI and I see this in the logs:
Tests in error:
TriggersITest.testGroupTrigger:128 Â» GroovyRuntime Could not find matching con...
Tests run: 41, Failures: 0, Errors: 1, Skipped: 0
Perhaps is related to the PR.


[BEAM-8518] Fail when pipeline options conversion fails due to incompatible jackson-core version

Jackson isn't shaded and it is possible that users have incompatible older versions in the classpath. Without this check, execution would continue with empty pipeline options. This was very time consuming to figure out and nobody else should have to repeat it.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Java PreCommit


Introduce HybridSpillBuf

Is your feature request related to a problem? Please describe.
Digging into the OnHeapSpillManager, I found the two spill buf implementations of File based and memory based. From my sight, maybe we could introduce the HybridSpillBuf to use the memory + file based bufs in one spill buf, which will make full use of memory for best effort.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

there is another path that when on-heap memory is almost full, spill.rs will create FileSpill instead of OnHeapSpill, which spills data directly to disk file. and FileBasedSpillBuf is only used when it is spilled by other non-native operators.
so i suggest we keep OnHeapSpillManager simpler and easier to be maintained.

there is another path that when on-heap memory is almost full, spill.rs will create FileSpill instead of OnHeapSpill, which spills data directly to disk file. and FileBasedSpillBuf is only used when it is spilled by other non-native operators. so i suggest we keep OnHeapSpillManager simpler and easier to be maintained.

Yes, gotten it. But if the onHeapSpill is activated on requiring from native side when on heap memory is enough, the path mentioned above will be used that the file spill is still used if on heap is not enough when using at that time. Anyway, I think this is just a corner case improvement, that may not achieve significant improvement for performance


HDFS-14201. Ability to disallow safemode NN to become active

@surmountian IIUC, this issue has resolved and merged to trunk. Please ref to: https://issues.apache.org/jira/browse/HDFS-14201. This PR could be closed now. cc @goiri
BTW 'surmountian', 'Xiao Liang' is same one at GitHub and JIRA? ^_^

@surmountian IIUC, this issue has resolved and merged to trunk. Please ref to: https://issues.apache.org/jira/browse/HDFS-14201. This PR could be closed now. cc @goiri
BTW 'surmountian', 'Xiao Liang' is same one at GitHub and JIRA? ^_^

yes :-)


[Refactor] Frontend API Calls should be kept under the Service folder for about

Issue that this pull request solves
Issue Link resolve #984
Closes: #984
Brief description of what is fixed or changed
Refactoring the about page and make all api's related to about in a one file.
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] My changes does not break the current system and it passes all the current test cases.

@Kajol-Kumari  can you please check and merge it.


How to express quantifiers like Some X are Y

@josd I've added some additional questions to https://github.com/josd/eye/issues/6 and will repost them here:
I am playing around with EYE and trying to solve some (slightly modified) Lewis Carol puzzles, e.g.
(1) No potatoes of mine, that are new, have been boiled;
(2) All my potatoes that are unfit to eat, are in this dish ;
(3) No unboiled potatoes of mine are fit to eat.
-------------------
Q: are there any new potatoes in this dish?

This is my solution so far:
@prefix : <file:///#>.
@prefix e: <file:///e#>.

#:potato1 a :newPotato.

{?X a :newPotato} => {?SCOPE e:fail {?X a :boiled}}.
{?SCOPE e:fail {?X a :fitToEat}} => {?X a :potatoInDish}.
{?SCOPE e:fail {?X a :boiled}} => {?SCOPE e:fail {?X a :fitToEat}}.

And in a separate query file:
{?X a :newPotato. ?X a :potatoInDish.} => {?X a :potatoInDish}.

Q1) It seems to work if I uncomment the assertion :potato1 a :newPotato. but adding that assertion seems a bit like a hack. It is something not mentioned in the puzzle. Is there a more general way of specifying "There exist some new potatoes." or "there exists at least one new potato, but I won't name it here explicitly"?
Q2) How do I specify that potato2 is NOT a new potato. I tried with:
{?SCOPE e:fail {:potato2 a :newPotato}}.

But I think that the above declaration got ignored by EYE.

Q 3) (Somewhat related to Q1). We have the following puzzle:
'Some animals are venomous. All venomous animals are dangerous to touch.'
Which of the following are valid deductions?
All non-venomous animals are safe (not dangerous) to touch.
Some animals are dangerous to touch.
Some animals are safe (not dangerous) to touch.

The second assertion can be specified as:
{?X a :venomous} => {?X a :dangerousToTouch}.

But I find a difficulty modeling the first assertion and the last two questions in EYE. Namely, I don't know how to specify the some quantifier (Some X are Y). Any suggestions?
Question 4)  Some unrelated question. Is the use of <= in the following file just for readability or does it mean something different than the left and right hand side have changed places for readability
https://github.com/josd/eye/blob/master/reasoning/4color/4color_rules.n3

In N3 you can use @forAll and @forSome as explained in https://www.w3.org/TeamSubmission/n3/#Quantifica
In N3 there is no negation and so this limits your expressivity.
There as a few possibilities with negation verbs and what is called "scoped negation as failure" implemented via
built-ins such as log:notIncludes, e:findall and e:fail.
Also remark that the e: namespace is @prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
and not @prefix e: <file:///e#>.
What I propose is that you raise concrete implementation issues and at least check those with another reasoner
such as https://www.w3.org/2000/10/swap/doc/cwm

Logically speaking P => C and C <= P but EYE uses the two different notations to control the chaining:

Controlled chaining is backward chaining for rules using <= in N3
and forward chaining for rules using => in N3.

@josd thanks for your pointer to @forSome. It is what I was looking for.
Is controlled backward chaining useful from the end user perspective or is it only useful inside the implementation of EYE itself? Are there any simple examples of it being used in practice?

In https://github.com/josd/eye/tree/master/reasoning there are examples of controlled chaining and <= rules are typically used as if they would be built-ins.

@josd yeah, I've tried looking at the examples in https://github.com/josd/eye/tree/master/reasoning a few times in the past, but they often lack a concrete problem description and / or explanation of how the solution has been developed. And just looking at the source code is often not enough for a newcomer to understand what's going on. I think the EYE project could benefit tremendously from more detailed documentation.
Thanks again for your hard work! :+1:


Fix link to enforcement procedure

I believe this does not require discussion as this is just a typo fix.
Before:

Expected after:

I think the EC and SSC members have the permissions to do it.


Injector error after Deployment

After deploying the code to server getting below error:
main-es2015.98751e51d90270e0470e.js:1 ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(c)[I -> e]:
StaticInjectorError(Platform: core)[I -> e]:
NullInjectorError: No provider for e!
NullInjectorError: StaticInjectorError(c)[I -> e]:
StaticInjectorError(Platform: core)[I -> e]:
NullInjectorError: No provider for e!
at ce.get (main-es2015.98751e51d90270e0470e.js:1)
at main-es2015.98751e51d90270e0470e.js:1
at e (main-es2015.98751e51d90270e0470e.js:1)
at Qa.get (main-es2015.98751e51d90270e0470e.js:1)
at main-es2015.98751e51d90270e0470e.js:1
at e (main-es2015.98751e51d90270e0470e.js:1)
at Qa.get (main-es2015.98751e51d90270e0470e.js:1)
at xd (main-es2015.98751e51d90270e0470e.js:1)
at main-es2015.98751e51d90270e0470e.js:1
at Id (main-es2015.98751e51d90270e0470e.js:1)
at v (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
at v (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
at polyfills-es2015.5b10b8fd823b6392f1fd.js:1
at a.invokeTask (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
at Object.onInvokeTask (main-es2015.98751e51d90270e0470e.js:1)
at a.invokeTask (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
at s.runTask (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
at _ (polyfills-es2015.5b10b8fd823b6392f1fd.js:1)
Angular Dependencies
"@angular/animations": "~8.2.14",
"@angular/common": "~8.2.14",
"@angular/compiler": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@azure/msal-angular": "^0.1.4",
"ag-grid-angular": "^22.1.1",
"ag-grid-community": "^22.1.1",
"ag-grid-enterprise": "^22.1.1",
"bootstrap": "^4.4.1",
"ngx-toastr": "^12.0.0",
"rxjs": "^6.5.4",
"rxjs-compat": "^6.5.3",
"tslib": "^1.10.0",
"xlsx": "^0.15.5",
"zone.js": "~0.9.1"

Thanks for opening the issue. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

Sure @alan-agius4 give me some time I will upload

Please checkout this https://github.com/nikhildhar1992/angular-cli/tree/nikhildhar1992-patch-1

I have one question why  its working on local but not on server? we cannot even test this error until we upload it to server . Its totally waste of time . Or is it like angular is not able to detect such error?

@nikhildhar1992 I checked the branch you linked and it doesn't have any application files. Can you make the reproduction in a separate repository and include all files needed please?

I don't why your app might be working locally but not on your server. That might be related to how you set up the server.

@filipesilva  that issue is resolved
I have build the application like ng build --prod --build-optimizer=false --base-href ./


buildGraalvmNativeImage: fix meta

Motivation for this change
All packages using this functions is currently missing all meta information except meta.platforms and meta.mainProgram. This PR fixes it.
Example of the issue: https://github.com/NixOS/nixpkgs/pull/150331
Things done

Built on platform(s)

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

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

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

CC @ericdallo .

I think latest commit you meant clj-kondo: fix type?

I think latest commit you meant clj-kondo: fix type?

No, it is a typo.

I know what is a typo I just wrote wrong accidentally, let me rephrase:
I think your latest commit you meant clj-kondo: fix typo instead of clojure-lsp: fix typo?

I know what is a typo I just wrote wrong accidentally, let me rephrase:
I think your latest commit you meant clj-kondo: fix typo instead of clojure-lsp: fix typo?

Ah ok, sure, this was wrong.
Please review again.


Detect new Windows terminal

The new Windows terminal fully supports Unicode symbols, sadly there is no
proper way to identify it yet. https://github.com/microsoft/terminal/issues/1040
exists to tackle this issue, in the meantime every terminal session has a unique
env variable WT_SESSION which can be used to detect the terminal type.
If you are okay with this PR as it is, or if you want to wait until a proper
detection method is implemented, please let me know.

I'd rather wait for https://github.com/microsoft/terminal/issues/1040.
WT_SESSION is too generic and could cause weird problems.

@sindresorhus sure, just wanted to create the PR to have it as a pending task.

Some other terminals like VSCode may have Unicode support too.
Ahh that is the case a user-agent-like $TERM become useful.

I'm gonna close this for now. Feel free to open a new PR when https://github.com/microsoft/terminal/issues/1040 is resolved and shipping in a live version.


Add create windows socket functionality.

This enables our app to act as a named pipe listener, which is useful when implementing remote drivers on Windows.
Signed-off-by: Michal Kostrzewa<EMAIL_ADDRESS>

@m-kostrzewa Thank you for understanding. I'd rather not have this in here, especially if is just a pass through.


update blitz's description to proper timings

it should be saying 15 seconds per turn like it actually is, currently says 10 seconds.

Ugh, this is wrong. It's 10 seconds per turn.

It's 15 seconds per turn burstable, 10 seconds per turn sustained.
The 15 seconds is there only to protect against internet hiccups. You can only ever use it once before it goes down to 10 seconds per turn.

timer: {starting: 15, addPerTurn: 5, maxPerTurn: 15, maxFirstTurn: 30, grace: 30}
???
Is there a magic -5 somewhere applied to maxPerTurn?

I guess thats:
addPerTurn: hasLongTurns ? 25 : 10?

maxPerTurn is the maximum length a single turn can take.
The maximum length any turn can take is min(maxPerTurn, current)
current starts at 15, and increases by 5 per turn. The timer has a resolution of 5, so 10 is the lowest current can be at the start of a turn (and is what it will consistently be if you max out the timer).


[WIP] Coreclr - Nancy Project

This is the beginning of the port to get things working on coreclr.
I've opened the PR to allow for discussion around replacements/removals of features and their implementations in coreclr
Can someone rebase the coreclr branch onto master please ? (I'm looking at you @jchannon )
Big things that still need to be done :

[ ] Removal of SerializableAttribute (should be simple, but not sure on repercussions)
[x] RNGCryptoServiceProvider -> RandomNumberGenerator.Create(), (this is currently what the Microsoft Identity packages use.)
[ ] BootstrapperException Ctor (SerializationInfo info, StreamingContext context), SerializationInfo isn't available, suitable replacement needed
[ ] DefaultObjectSerializer uses BinaryFormatter, it's not available, suitable replacement needed
[ ] Classes inheriting Stream need to use the suitable overrides, signatures have changed
[ ] Url class implements ICloneable, it's not available, is this an issue?
[ ] Most reflection needs tweaking/replacing. May even be worth a seperate PR?
[ ] CultureInfo caching (ie BuiltInCultureConventions class) needs replacing, suitable replacement needed
[ ] RijndaelEncryptionProvider makes use of RijndaelManaged class, not available. Replace or remove?
[ ] MemoryStream.GetBuffer is not available, suitable replacement needed
[ ] Uri.IsHexDigit/Uri.FromHex() is not available, suitable replacement needed.

Rebased  CoreCLR branch

Yeah... This won't work. That history is no good :stuck_out_tongue_closed_eyes:

Yeah, I know :( we tried, but can't seem to get github to update.
https://twitter.com/jchannon/status/694605837877276673

Helpful. Explain why. The branch diff is fine
https://github.com/NancyFx/Nancy/compare/coreclr...VQComms:dnxcore50-initial-setup?expand=1
On Tuesday, 2 February 2016, Kristian Hellang<EMAIL_ADDRESS>wrote:

Yeah... This won't work. That history is no good [image:
:stuck_out_tongue_closed_eyes:]
—
Reply to this email directly or view it on GitHub
https://github.com/NancyFx/Nancy/pull/2215#issuecomment-178783177.

Also, we shouldn't target dnxcore50, that's for apps, Nancy is a framework :smile:

I'll switch to dotnet5.4 :)

Again. What should it be?
On Tuesday, 2 February 2016, Kristian Hellang<EMAIL_ADDRESS>wrote:

Also, we shouldn't target dnxcore50. That's for apps, Nancy is a framework [image:
:smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/NancyFx/Nancy/pull/2215#issuecomment-178787275.

Again. What should it be?

It should be the lowest dotnet5.x we would like to support. That really depends on what APIs we need. For Serilog, we've been successfully targeting dotnet5.1, which means we effectively support anything in the .NET space.

Further info for people https://github.com/aspnet/Announcements/issues/98
On Tuesday, 2 February 2016, James Humphries<EMAIL_ADDRESS>wrote:

I'll switch to dotnet5.4 :)
—
Reply to this email directly or view it on GitHub
https://github.com/NancyFx/Nancy/pull/2215#issuecomment-178788323.

Also, when you're doing this work, it would be nice if you could document somewhere why dependencies are added, i.e. which types are being used or something. We want to keep the footprint for Nancy as small as possible and right not it looks like the kitchen sink is being added :wink:

Seems a bit over the top to document every dependency, i've only added ones that are needed so far (one by one) and each of them can be verified by finding their usages in the IDE of your choice.

Seems a bit over the top to document every dependency

Why? It would help us tremendously when reviewing this, and also make it much easier to determine which types/packages/dependencies we might be able to shave off.

i've only added ones that are needed so far (one by one)

Exactly. So it shouldn't be that hard to keep a document in Notepad or something saying "System.Net.Primitives - <some type(s)>". You're already adding the one by one :smile:

each of them can be verified by finding their usages in the IDE of your choice

How? I've yet to see how you can check where a package is used.

I was under the impression VS let you view usages of references since Xamarin could. I mainly work in atom, so It's been a while since I used VS/Xamarin.
does anyone have suggestions/comments on how to replace some of the components mentioned in the first comment?

Lets split all the comments into an issue and then each checkbox can be a PR
On 3 February 2016 at 09:18, James Humphries<EMAIL_ADDRESS>wrote:

I was under the impression VS let you view usages of references since
Xamarin could. I mainly work in atom, so It's been a while since I used
VS/Xamarin.
does anyone have suggestions/comments on how to replace some of the
components mentioned in the first comment?
—
Reply to this email directly or view it on GitHub
https://github.com/NancyFx/Nancy/pull/2215#issuecomment-179113363.

I've created issue #2220 so we can seperate this into seperate PRs and track it a bit easier.

does anyone have suggestions/comments on how to replace some of the components mentioned in the first comment?

Which comment?

Which comment?

That comment has now moved to #2220

That comment has now moved to #2220

Added my $0.02 to that issue; https://github.com/NancyFx/Nancy/issues/2220#issuecomment-179162206

i've closed this because the diff comparison seems to be broke (gh support never got back to me) and i have cleaner PRs incoming


[Feature] User list in the user page

Purpose
User list in the user page
This PR merges PR #115 and PR #99 because it relies on part of their code

Tests

API and Format

Documentation

Reopens after pr #115 and pr #99 merge


"Sign in with email" button doesn't appear

Swift5
*Xcode version 10.2
Firebase SDK version: 5.20.2
FirebaseUI version: 6.2.1
CocoaPods Version: 1.6.1

Step 3: Describe the problem:
I'm trying to create sign-in forms by FirebaseUI.
I followed the official instruction to set up FirebaseUI, but it doesn't show anything on my screen but title "Welcome".

Expected Results:

There should be "Sign in with email" button appearing.

Relevant Code:
import UIKit
import Firebase
import FirebaseUI
class ViewController: UIViewController, FUIAuthDelegate {
  @IBOutlet weak var loginButton: UIButton!

  var authUI: FUIAuth { get { return FUIAuth.defaultAuthUI()! } }

  override func viewDidLoad() {
      super.viewDidLoad()

      authUI.delegate = self
      let providers: [FUIAuthProvider] = []
      authUI.providers = providers
      loginButton.addTarget(self, action: #selector(self.loginButtonTapped(_:)), for: .touchUpInside)
  }

  @objc func loginButtonTapped(_ : AnyObject) {
      let authViewController = authUI.authViewController()
      self.present(authViewController, animated: true, completion: nil)
  }

  public func authUI(_ authUI: FUIAuth, didSignInWith user: User?, error: Error?) {
      if error == nil {
          self.performSegue(withIdentifier: "toTalkRoomTableViewController", sender: nil)
      }
  }

}
and I did "FirebaseApp.configure()" in AppDelegate.swift
Is there any problem in my code?

The was a change recently that made the email option explicit instead of implicit.
Try changing:
let providers: [FUIAuthProvider] = []
to:
let providers: [FUIAuthProvider] = [FUIEmailAuth()]
You might also need to add the email provider to you Podfile depending on your setup.
pod 'FirebaseUI/Email'

It worked! Thanks😁