Introduce platform operators to the OCP payload

Introduces platform operators to the OCP payload. The CPOM and rukpak components will only be present when the "TechPreviewNoUpgrades" feature set has been enabled.
See [the OLM-2668 gist](https://gist.github.com/timflannagan/5490dc7471831da11772cd695512b863) for more information.

/retest

/label docs-approved

Holding for QE review/approval.
/hold

/label qe-approved

/unhold


[Bug]: Editing the source Git branch and reloading compose without page refresh fails

Description
I tried to deploy a GitHub repo from its develop branch.
When I tried editing and saving the new branch in the Source tab, then went back to General and tried reloading Compose, it still showed an error telling me the main branch didn't exist from my source repo.
Reloading the page and going straight into the Source tab showed it still used main.
What worked was to edit the branch and save, THEN reload Coolify's page and THEN reload Compose.
My guess is that the main branch config is stored somewhere in the page's state, and pushed again to the config when you click on Reload Compose file, thus requiring a full page reload for it to work.
I haven't looked at Coolify's source yet and cannot verify this. Will try to if I have some time soon.
Minimal Reproduction (if possible, example repository)
N/A
Exception or Error
N/A
Version
v4.0.0-beta.335
Cloud?

[ ] Yes
[X] No

+1 Same bug with Branch.


Misc. updates

Triggered as out-of-scope from other tickets/PRs

more repro updates per https://github.com/iterative/dvc.org/pull/1572#pullrequestreview-453722844 +
repro examples per https://github.com/iterative/dvc.org/pull/1572#pullrequestreview-447454431
updates to init to close #1638
std. --jobs option description in all refs.
other

@jorgeorpinel  would you also be updating the examples? I have updated them locally.

@sarthakforwet I thought we agreed you'd do that in a PR to this branch? See https://github.com/iterative/dvc.org/pull/1615#pullrequestreview-453636252

I mean https://github.com/iterative/dvc.org/pull/1572#issuecomment-662673042. But the conversation in this PR is also relevant. Thanks

@sarthakforwet I thought we agreed you'd do that in a PR to this branch in #1572 (comment)?

Yes, added it. Thanks!

OMG sorry I linked the other PR to this one 😋 Reopening...

I've approved it already a bit ago. Merging ...

Thanks


Fix hyperlinks to SIO terms from simulator pages

Example page with bad link
https://biosimulators.org/simulators/tellurium/latest#tab=algorithms
Example bad link
https://ebi.ac.uk/ols/ontologies/sio/terms?iri=http%253A%252F%252Fsemanticscience.org%252Fresource%252FSIO_000418
Correct link
https://www.ebi.ac.uk/ols/ontologies/sio/terms?iri=http%3A%2F%2Fsemanticscience.org%2Fresource%2FSIO_000418

The issue was different than I thought. This issue was that the IRI was URI-encoded twice. I cleaned up the URI encoding for IRIs for all ontologies.
Done in #2267


Prevent duplicates in ModuleInfo DSL

Thanks for this quality improvement @iherasymenko.

This is in 0.9 which I just published.


python 3 support?

please?

It appears that Python 3 support is now restored for this library. Would it be possible for you to create a new version of the package for installation with this included?

+1, this is the last library between me and switching to Python 3.4.

Version 1.0.0 (now on the master branch) now has support for python 3

Awesome! Thanks!


Spike: transactions manager

Problem statement
Missing on-chain components. The original plan was to wait for protocol v2 but we might as well go ahead exploring the options to make it compatible with v1.
Expectation proposal
Options to be compatible with protocol v1

Allocation based on subfiles
Allocation based on an IPFS file to an indexer url

Create a Transaction manager entity that

[ ] Allows the Publisher to deploy an IPFS hash on-chain
[ ] Server registers its URL
[ ] Add a CLI for the server for allocation management

[ ] send an allocate transaction against the IPFS hash -> Get allocation_id
[ ] send an close transaction against the IPFS hash with 0x POI
[ ] indexer framework should take care of TAP management during allocations lifetime
[ ] send redeem tx to Escrow contracts

[ ] Client wallet

[ ] sends deposit transactions - identify indexers as receivers
[ ] Receipt Signer
[ ] Send receipts in query requests

Start with staking contract that enables on-chain transactions allocate and closeAllocation
and Escrow contract that enables deposit, depositMany, and redeem


Pods fail to mount secret on k8s 1.3.0 + GKE

Builder, database, minio, and registry all mount the "objectstorage-keyfile" secret volume. In k8s 1.3 on GKE, this began to fail (see the final Events listing):
$ kubectl --namespace=deis describe po deis-database-dyqyu
Name:		deis-database-dyqyu
Namespace:	deis
Node:		gke-mboersma-default-pool-21df92ab-lh7d/<IP_ADDRESS>
Start Time:	Wed, 13 Jul 2016 15:28:28 -0600
Labels:		app=deis-database
Status:		Pending
IP:
Controllers:	ReplicationController/deis-database
Containers:
  deis-database:
    Container ID:
    Image:		quay.io/deisci/postgres:canary
    Image ID:
    Port:		5432/TCP
    QoS Tier:
      memory:		BestEffort
      cpu:		BestEffort
    State:		Waiting
      Reason:		ContainerCreating
    Ready:		False
    Restart Count:	0
    Readiness:		exec [is_running] delay=30s timeout=1s period=10s #success=1 #failure=3
    Environment Variables:
      DATABASE_STORAGE:	minio
Conditions:
  Type		Status
  Initialized 	True
  Ready 	False
  PodScheduled 	True
Volumes:
  database-creds:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	database-creds
  objectstore-creds:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	objectstorage-keyfile
  deis-database-token-ovk2r:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	deis-database-token-ovk2r
Events:
  FirstSeen	LastSeen	Count	From							SubobjectPath	Type		Reason		Message
  ---------	--------	-----	----							-------------	--------	------		-------
  4m		4m		1	{default-scheduler }							Normal		Scheduled	Successfully assigned deis-database-dyqyu to gke-mboersma-default-pool-21df92ab-lh7d
  2m		2m		1	{kubelet gke-mboersma-default-pool-21df92ab-lh7d}			Warning		FailedMount	Unable to mount volumes for pod "deis-database-dyqyu_deis(bd127bc0-4940-11e6-af68-42010af001d0)": timeout expired waiting for volumes to attach/mount for pod "deis-database-dyqyu"/"deis". list of unattached/unmounted volumes=[objectstore-creds]
  2m		2m		1	{kubelet gke-mboersma-default-pool-21df92ab-lh7d}			Warning		FailedSync	Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "deis-database-dyqyu"/"deis". list of unattached/unmounted volumes=[objectstore-creds]

This appears to be related to kubernetes/kubernetes#28750 and maybe kubernetes/kubernetes#28898 and kubernetes/kubernetes#28616.

I also saw these with k8s 1.3.0 using workflow v2.1.0. First try was with kube-aws 1.3.0 / hyperkube v1.3.0_coreos.0 / CoreOS Alpha w. docker 1.11.2 and second try on kube-aws 1.3.0 / hyperkube v1.3.0_coreos.1 / CoreOS Beta w. docker 1.10.3.
Here's an example of the logged error events taken from the tectonic console:
Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "slugbuild-edible-magician-f3a78dd4-aae4512e"/"deis". list of unattached/unmounted volumes=[objectstorage-keyfile]
Unable to mount volumes for pod "slugbuild-edible-magician-f3a78dd4-aae4512e_deis(6c69628d-468f-11e6-a66d-029730afa1db)": timeout expired waiting for volumes to attach/mount for pod "slugbuild-edible-magician-f3a78dd4-aae4512e"/"deis". list of unattached/unmounted volumes=[objectstorage-keyfile]

A workaround in GKE is to choose the "Change" link for your Node Pool and roll it back to k8s 1.2.5.

Not the issue with Workflow v2.2.0 on GKE with kubernetes v1.3.2 with GC storage.
Tried on kube-solo and kube-cluster (minio as storage) , did not get any problems too

Chances are you just haven't hit the bug yet. The bugfix has been merged in kubernetes master 2 days ago (see kubernetes/kubernetes#28939) and will likely land in k8s 1.3.3. The problem ist triggered when mounting secrets, so it doesn't matter what kind of storage you are using.

@felixbuenemann you, I got hit by that bug on the forth cluster on GKE

Just checked with 1.3.2, and there indeed it's still an issue. Will retry later this week when 1.3.3 is available on GKE.

Looks like it will land in 1.3.4

Yes, apparently @mboersma received tentative acknowledgement that it will land in 1.3.4.

If someone wants to try if it's fixed, k8s 1.3.4 has been released a couple of hours ago.

I'll be testing this out tomorrow

Yes, I manually tested this and it was fixed with 1.3.4-beta.0.

k8s 1.3.4 has been released a couple of hours ago

Excellent! Thanks @felixbuenemann we'll test again to make sure.
(I've also manually tested with k8s v1.4.0-beta2, and the bug stayed fixed.)


Word-level padding vs Character-level padding

Hi @helboukkouri
The max numbers of letters in a word is set to 50. So for a word with 5 characters is getting padded to 50.
For padding, a value of 260 is used for each character.
Then again, to make each sentence in a batch same size we are padding with words. Say to make a sentence of length 5 (5 words) pad to 8, three PAD tokens are being added. In this case each PAD token is also 50 character length but each character is getting a padding value of ZERO.
Why are you using two different types of padding?
Another thing, after converting each word to ids, you are adding 1 to each id.  ( in the file character-bert/utils/character_cnn.py line 125 in the function def convert_word_to_char_ids(self, word: str) -> List[int]:  and the comment says # +1 one for masking
What is the reason of adding 1 ?
Thanks in advance.

Thank you for the interest in my work.
To be completely honest, there are many things I've done as a direct import from whatever code was used in ELMo (from which the CharacterCNN module is taken basically). So there might be some weird or suboptimal choices sometimes.
Also, it's been a while so I'm not sure anymore but I think that the +1 is to basically reserve the case "vector of all zeros" for the padding character.
In any case, I plan to re-do a more recent version of this work soon which will hopefully be clearer.

Maybe this will be more useful @IstiaqAnsari
A word is converted into a sequence of bytes. These bytes go from 0 to 255 in UTF-8. However, we also want to be able to pad shorted words into a maximum word length. For that, we use characted index 260 (since 256-259 are reserved). To avoid confusions between an empty token (pad) and a token that has a single character which is using the character with index 0, we also choose to reserve the all 0 vector for empty padding tokens. As a result, the character with index 0 cannot actually use the value 0 and so we shift everything with a +1.
I think it would have been possible to just have a "normal" token starting with BOW/EOW and with a single special character index to designate the padding token. Same as what is done with the MASK/CLS/SEP tokens.
Its a little bit convoluted but I based this on the implementation in ELMo at the time :) Hope this clears things up.

Also, I guess there is a benefit to having an zero vector for the word padding as this can be initialized to an all 0 embedding in the character embedding matrix :)


Add markdown subcommand to generate documentation for istio_ca

Release note:

Add `markdown` subcommand to auto generate documentation for istio_ca

/assign @wattli
/assign @myidpt

@lookuptable: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/auth-presubmit.sh
9a6c46b3a2c636af9437eec80568960b941d8be7
link
/test auth-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Show option to enable/disable Tor before connecting to the Zcash network

Some people might not want to show their IP address to the Zcash network ever. Right now the wallet tries connecting to the Zcash network as soon as it's opened, so users have to scramble to turn off zcashd and enable the Tor setting to hide their IP address.
This could be made simpler (and safer) by showing a popup to enable or disable Tor each time the wallet is opened, before the wallet tries connecting to the Zcash network.
Do you want to route traffic over Tor?
[ Yes ]  [ No ]

If the user selects "yes" then the wallet is automatically restarted, and from then on the pop won't show up when the wallet starts. The user can disable Tor in the settings. If they disable Tor, then the popup will show up again each time they open the wallet.

This kind of UX would kind of make sense if the user is running a Tor service before the app is launched. But I think it should only be shown the first time and if the user answers "No" it shouldn't be shown again but instead perhaps show a message "You can always enable Tor in Preferences at any time".
I would definitely not want to nagged about enabling Tor every single time when I have already answered "No".

I originally had in my proposed Tor pop-up a box that could be checked "Do not show this again." The reason I chose to leave it out is because then the user would have to re-install the wallet if they change their mind later (to reset the Tor pop-up; at least I'm guessing re-installing would make the pop-up re-appear).
If the user can stop the wallet from connecting to the network and then change the Tor option in the settings (using the wallet in "offline mode") then that might be a good enough option and make the "Do not show this again" checkbox a reasonable addition.

Thanks for the feedback, @the-metalworker  and @rex4539. I've been thinking of this, and I think we can make it more secure by incorporating the ideas you've outlined above.
Of course, this only works with the embedded zcashd, but I think we can show a popup the first time with the Tor option, along with other options to configure zcashd (data directory, etc...). And if the user checks the "Tor" option, then we'll add it to the zcashd.conf before we start the embedded zcashd so the user's IP is never on the network.
I'll work the UI this week, and have something for your guys to see soon.


Use a Dockerfile and docker-compose for simple serving using docker

I have created some simple files that copy the content of the folder to an image that can be used to serve as a container. To keep it simple I used the image created by jekyll. The README.md has been updated by instructions how to use it.

Looks good - thanks!


Allow custom config

This PR allows certain custom config to be passed into the behaviour, specifically connection details and a default index to use for the table that the behaviour is attached to.
Usage example:
    public function initialize(array $config)
    {
        parent::initialize($config);
        ...
        $this->addBehavior('Sphinx.Sphinx', [
            'connection' => [
                'host' => '<IP_ADDRESS>',
                'port' => '9306',
            ],
            'defaultIndex' => 'test1',
        ]);
    }

It also replaces the deprecated Foolz\SphinxQL\Connection class with Foolz\SphinxQL\Drivers\Mysqli\Connection.

Thanks Johan :)

No problem, glad to contribute :)


Summaries do not distinguish between types inferred from initializers and types inferred from class hierarchy

Consider this code (adapted from AmbiguousSetOrMapLiteralBothTest.test_setAndMap):
Map<int, int> map;
Set<int> set;
abstract class A {
  Map<int, int> get m1;
}
class B extends A {
  var m1 = {...set, ...map};
  var m2 = {...set, ...map};
}

Note that the initializers for both m1 and m2 both try to mix sets and maps, so this is erroneous code.  But we still want to be able to give the user helpful error messages about it.  In particular, for m1, we want to assume the literal is a map (due to the downward context from class A), so we want to issue an error just at the site of the spread of set.  Whereas for m2, we want to issue an error for the entire literal, since there is no contextual information available to resolve the ambiguity.
That currently doesn't work, because during summary generation, both m1 and m2 are assigned the type Map<int, int> (the former because it overrides A.m1, the latter because we arbitrarily resolve ambiguous set/map literals to be maps if no other information is available).  Then, during analysis of the file, the type Map<int, int> is used as the downward inference context, so both m1 and m2 are analyzed identically.
This is currently getting in the way of my implementing summary support for spread collections.  In the long term, it would be nice it summaries could contain enough information to distinguish between types inferred from initializers (as in m2) and types inferred from overrides (as in m1) so that we could avoid this problem altogether.
Cc @scheglov, who is working on a replacement implementation for summaries.

the type Map<int, int> is used as the downward inference context, so both m1 and m2 are analyzed identically.

Just a quick comment based on little context, but this seems a priori dangerous.  Are you sure you're not potentially changing results by having a possible incorrect downwards type?  I'm thinking something like this:
T foo<T>(T x) {
  print(T);
  return <int, int>{} as T;
}

void main() {
  var x = {...foo("hello" as dynamic)};
}

where having a downwards type changes the inferred type argument to foo, and causes a downcast which wasn't there originally.

@leafpetersen Agreed that it's a priori dangerous, which is why I filed this bug.  For the short term we've altered the behavior so that ambiguous set/map literals get dynamic as their inferred type; so far in all the cases I've found this is sufficent to avoid a user-visible problem.  We intend to come back and do a more thorough fix as part of @scheglov's rework of summaries.

I'm closing this as stale since there is a new implementation of summaries. If we re-discover the bug in the new format, that can be a new issue.


Wrong-ish type_ok_alarm calculation?

https://github.com/efento/NB-IoT-sensors-integration/blob/3969b144d71255b2d5e8c217ddaacfd20d39d16d/NB-IoT-sensors-integration-2-way-communication.py#L81-L82

timeDifference = measurementPeriod * int((abs(sampleOffset - 1) / measurementPeriod))

As the actual samples are, say, [1 32401] for one alarm and [-1, -32401] for a different alarm sensor, this calculation seems off,
wrong:
  abs(sampleOffset - 1)   # [0 32400] [2 32402]
better?
  abs(sampleOffset) - 1   # [0 32400] [0 32400]

and, perhaps, now there even might be no need to even consider the measurementPeriod boundaries and this might just work?
timeDifference = abs(sampleOffset) - 1

Hi,
you are right. We have already fixed this and uploaded the fix to the repository. Thank you!


AJAX Requests don't Trigger Pace

I've just 'installed' Pace into my app and it works perfectly on the main page load but on any subsequent AJAX requests that occur after the initial page load the animation doesn't trigger when I believe Pace should handle these automatically?
From reading the docs I think I can manually trigger and stop Pace by doing
Pace.start // Pace.restart ?
$.ajax({
    success: function(data) {
        Pace.stop
    }
});

or even wrap the AJAX requests like so:
Pace.track(function(){
    $.ajax(...)
});

but I have a load of requests throughout my app and trying to avoid having to go back and change them all.
I've simply included Pace in my page like so
<!-- pace.js -->
<script type="text/javascript" src="/plugins/pace/pace.js"></script>
<link href="/plugins/pace/pace.css" rel="stylesheet" type="text/css"/>

with no options set etc.
Should've mentioned I'm using jQuery but I've just read through all the previously closed issues and found the answer:
$(document).ajaxStart(function() { Pace.restart(); });

Saved me a lot of time! Thank you!

Thank you!

Thank you for this answer! I've been struggleing with this for about an hour already.
Shouldn't this be added to the official docs? Or in a FAQ?

thanks, man. They really should make limit of ajax responce as an option. Now it's 500ms.

Thank you!

Thank you! great job man

Thanks a ton...dude...RESPECT

Tks!!!! Save my day!!!

Thanks.

About an hour looking for an answer that could fix it, and Here is it!
Thanks man, more people like you on earth, please lol.

It was a good catch! Thank you! Since pace is loaded at the beginning of the project, much ahead than the jQuery, it was not able to recognize the jquery ajaxStart event.
Adding pace to the ajaxStart listener solves the issue.

Thanks.

Thanks martincarlin87...
it's worked !!!

Give this man a Cookie!
Thanks.

Thank youuuuuuu

感谢老哥

非常感谢

@martincarlin87 this shows the loader when the resquest is called, but doesn't wait the response to hide the loader. Anyone having the same issue?

Yea, i am experiencing the same thing,

I have two difference project and the first one works very well. However the second project does not work well, I meant the pace always stop before the ajax end. Anyone have any solutions?

Same thing here!!

I found the solution at https://github.com/HubSpot/pace/issues/431

Thanx man.. 🍻

Marvellous! I was hacking up until into the core itself at trackmethod ["GET"] but still not working. Thanks a lot for this!!


convergence warning for building kl_surrogate_model

The surrogate_from_training_set() function (in uncertainty_quantification/surrogate.py) uses sklearn.linear_model.LinearRegression() to fit a surrogate model on the training dataset. But I noticed that it is not converging!:
/.../lib/python3.10/site-packages/sklearn/linear_model/_coordinate_descent.py:678:
ConvergenceWarning: Objective did not converge.
You might want to increase the number of iterations, check the scale of the features or consider increasing regularisation.
Duality gap: 2.635e-03, tolerance: 1.936e-03
  model = cd_fast.enet_coordinate_descent(
...

I tested it on different training datasets (with 23 and 30 members), but still getting the same message.
@SorooshMani-NOAA @WPringle I assume increasing the size of the training datasets is not a favorable option. Would you recommend increasing max_iterations (default is1000) or decreasing the tolerance (default is 0.0001), or both? Any suggestion?
For my reference: https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.ElasticNetCV.html

I didn't get warnings for tol=0.001

I think we should see how increasing the number of iterations would impact the final results compared to increasing the tolerance (which just gets rid of the warnings)

I have seen these warnings before but never found the result to be strange, but it could be worth checking to see if any impact on the final results by increasing iterations as Soroosh said.

@SorooshMani-NOAA @WPringle thanks for your suggestions. I did a quick test (see below), and in summary, it looks like the differences are negligible, and it's safe to say that the current setup is working fine.
I tested three scenarios:

Default (tol=0.0001, max_iter=1000)
More iterations (tol=0.0001, max_iter=2000)
Lower tolerance (tol=0.001, max_iter=1000)

Here are KL surrogates for six modes of these three scenarios, proving that the performance of these three scenarios are pretty much the same:

Default
More iterations
Lower tolerance

RMSE

modes / scenario
Default
More iterations
Lower tolerance

mode 1
0.026
0.026
0.024

mode 2
0.016
0.016
0.017

mode 3
0.161
0.161
0.155

mode 4
0.023
0.023
0.007

mode 5
0.975
0.975
0.975

mode 6
0.903
0.903
0.903

CORR

modes / scenario
Default
More iterations
Lower tolerance

mode 1
1.0
1.0
1.0

mode 2
1.0
1.0
1.0

mode 3
0.989
0.989
0.99

mode 4
1.0
1.0
1.0

mode 5
0.0
0.0
0.0

mode 6
0.438
0.438
0.438


Support Swift Package Manager

Add a Package.swift file so that Swift Package Manager can incorporate this library into a project.
Blocked by raphaelmor/Polyline#35.
/cc @frederoni @captainbarbosa

https://github.com/raphaelmor/Polyline/pull/51


Fix the GitHub Actions badge after CI changes

Codecov Report

Merging #23 (7ecf0ec) into master (0a9e1bf) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@          Coverage Diff           @@
##           master     #23   +/-   ##
======================================
  Coverage    8.00%   8.00%
======================================
  Files          11      11
  Lines         275     275
  Branches       41      41
======================================
  Hits           22      22
  Misses        253     253

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 0a9e1bf...7ecf0ec. Read the comment docs.


How is this different than Traceur?

Currently our codebase is dependent on Traceur, but I'm looking at other options. I saw that #598 mentioned there's no runtime – are there any other large differences? Thanks!

See the FAQ.

Also see the compare page on the 6to5 website and compat-table. Let me know if you have any additional questions, more than happy to help!

Thanks @sebmck!


Fixed issue #6743

Issue Reference
#6743

@akathuria289
Please resolve the conflicts.

@akathuria289
Please resolve the conflicts.

@Sanjaybhattwebkul Fixed

@akathuria289
Still getting the conflicts.

@Sanjaybhattwebkul Resolved conflicts

@akathuria289
The sub-categories are not visible if the admin is creating any sub-categories after adding a new locale.

@Sanjaybhattwebkul Resolved

@akathuria289
Not  fixed, still getting the blank dropdown, please find the screenshot Here

@akathuria289
Now, this is working fine. please find the screenshot Here

Resolve conflicts


Failed: AnsibleNonZero: Ansible exited with non-zero code.

we use 1.2.2 plugin in rundeck on a fresh install with user admin.
A run command or job fail with error "Failed: AnsibleNonZero: Ansible exited with non-zero code."
ansible_pluggin.txt

Can you tell me how your step was configured? Does it work if you use Ansible manually?

Hi,
Yes ansible run correctly alone with
Ansible all -m ping
Or with rundeck user
Su  rundeck -s .... -c ansible ... As in  the  web document
Platform rhel install with rpm jar module in ../libext no extra parameter
Usage with user admin (from install)
Rundeck's acl are ok
Problem appends on job or for runnings commands.
So node executor with ansible is on , and other things too
Stephane
vendredi, 15 avril 2016, 07:23PM +0200 de David Kirstein <<EMAIL_ADDRESS>>:

Can you tell me how your step was configured? Does it work if you use Ansible manually?
—
You are receiving this because you authored the thread.
Reply to this email directly or  view it on GitHub

problem solved.
ansible log was empty on action with rundeck..
/var/log/ansible was'nt accessible with user rundeck.
Thank and sorry for the disagreement.
However only the last pluggin (1.2.2) works for us.

I have the same issue with plugin version 1.3 and I have full access to ansible.log file


Handoff request

Given that this project has been abandoned, I'd like to take a stab at reviving it. I've been looking at some of the ways that Ring implements Middleware in Clojure, and I think it would be a good fit for some of the Julia functional idiosyncrasies. Pardon me if this was not the right venue, but I would like to request commit access to this repo, @malmaud (or whoever I need to request from).

@ntdef maybe we can keep things in https://github.com/JuliaWeb/Meddle.jl/pull/11


Stacktraces with get_environment()

Description of Issue/Question
get_environment() causes stacktraces on newer versions of EOS due to a to narrow regex
Setup
napalm-eos version
(Paste verbatim output from pip freeze | grep napalm-eos between quotes below)
napalm-eos==0.4.1

eOS version
(Paste verbatim output from show version | json between quotes below)
{
    "modelName": "DCS-7280SR-48C6-M-R",
    "internalVersion": "4.17.1F-3465508.4171F",
    "systemMacAddress": "44:4c:a8:cd:33:7d",
    "serialNumber": "xxxxx",
    "memTotal": 32472080,
    "bootupTimestamp":<PHONE_NUMBER>.55,
    "memFree": 29064052,
    "version": "4.17.1F",
    "architecture": "i386",
    "isIntlVersion": false,
    "internalBuildId": "5b73e68d-e45b-4748-8d38-abf09997c867",
    "hardwareRevision": "11.03"
}

Steps to Reproduce the Issue
just run get_environment() against a newer arista
Error Traceback
(Paste the complete traceback of the exception between quotes below)
In [8]: dev.get_environment()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-0175c202483a> in <module>()
----> 1 dev.get_environment()

/home/loke/.virtualenvs/monitor/lib/python2.7/site-packages/napalm_eos/eos.pyc in get_environment(self)
    497         m = re.search('(\d+.\d+)\%', cpu_output.splitlines()[2])
    498         environment_counters['cpu'][0] = {
--> 499             '%usage': float(m.group(1))
    500         }
    501         m = re.search('(\d+)k\W+total\W+(\d+)k\W+used\W+(\d+)k\W+free', cpu_output.splitlines()[3])

AttributeError: 'NoneType' object has no attribute 'group'

Fixed on #79


Having a few issues with 5.0.0 (custom group/decimal separators)

Hi there,
Sorry for the delay in testing 5.0.0. I finally got around to it, but I am having a few unit tests fail, and it's not obvious immediately whether it's my issue or the packages. All of these tests passed (with the code in the previous issue) on the prior version.
Here's my formatting function (no longer doing a temp replacement of group/decimal separators as described in https://github.com/onepub-dev/money.dart/issues/79)
String formatted(Option<CurrencyFormat> currencyFormat) {
  // TODO: This is a temporary workaround until we introduce a better way to
  // handle currrency formatting when the currency format is not yet available.
  if (currencyFormat case Some<CurrencyFormat>(:final some)) {
    // Example patterns are provided by the YNAB API without the currency
    // symbol.
    // - Replace all digits with `#`
    // - Use 0s to denote post-decimal precision
    // - Add symbol back in at the beginning or end of the pattern, as needed.
    String createPattern() {
      // e.g 123,456.789
      final sourceFormat = some.exampleFormat;
      // e.g ###,###.###
      final hashes = sourceFormat.replaceAll(RegExp(r'\d'), '#');
      final groupIndex = hashes.indexOf(some.groupSeparator);
      final decimalIndex = some.decimalDigits > 0 ? hashes.indexOf(some.decimalSeparator) : sourceFormat.length;
      final zeros = List.generate(some.decimalDigits, (i) => '0').join();
      // e.g ###,###.000
      final groupSubstring = hashes.substring(0, groupIndex);
      final decimalSubstring = hashes.substring(groupIndex + 1, decimalIndex);
      final pattern = '$groupSubstring${some.groupSeparator}$decimalSubstring${some.decimalSeparator}$zeros';
      // e.g S###,###.000
      final withSymbol = some.shouldDisplaySymbol
          ? some.isSymbolFirst
              ? 'S$pattern'
              : '${pattern}S'
          : pattern;
      print('BRANDON: withSymbol: $withSymbol');
      return withSymbol;
    }

    String symbol() => some.shouldDisplaySymbol ? some.currencySymbol : '';

    final pattern = createPattern();
    final currency = Currency.create(
      some.isoCode,
      some.decimalDigits,
      symbol: symbol(),
      pattern: pattern,
      groupSeparator: some.groupSeparator,
      decimalSeparator: some.decimalSeparator,
    );

    final minorUnits = absMinorUnitsForDecimalDigits(some.decimalDigits);
    final money = Money.fromIntWithCurrency(
      minorUnits,
      currency,
      decimalDigits: some.decimalDigits,
    );
    return _formatWithSign(money.toString());
  } else {
    // If no currency format is available, assume USD.
    final currency = Currency.create('USD', 2);
    final money = Money.fromIntWithCurrency(absMinorUnitsForDecimalDigits(2), currency);
    return _formatWithSign(money.toString());
  }
}

Here are just a few examples of failures:
test('group separator as space', () {
  const euroCurrency = CurrencyFormat(
    isoCode: 'EUR',
    decimalDigits: 2,
    decimalSeparator: ',',
    groupSeparator: ' ',
    currencySymbol: '€',
    isSymbolFirst: false,
    shouldDisplaySymbol: true,
    exampleFormat: '123 456,78',
  );

  const amount =<PHONE_NUMBER>;
  final formatted = amount.formatted(const Some(euroCurrency));
  expect(formatted, '1 234 567,89€');
});

fails with:
BRANDON: withSymbol: ### ###,00S
Expected: '1 234 567,89€'
  Actual: '1 23 45 67 1 23 45 67€'
   Which: is different.
          Expected: 1 234 567,89€
            Actual: 1 23 45 67 1 2 ...
                        ^
           Differ at offset 4

test('standard with zeros', () {
  const euroCurrency = CurrencyFormat(
    isoCode: 'EUR',
    decimalDigits: 2,
    decimalSeparator: ',',
    groupSeparator: '.',
    currencySymbol: '€',
    isSymbolFirst: false,
    shouldDisplaySymbol: true,
    exampleFormat: '123.456,78',
  );

  const amount = 100000000;
  final formatted = amount.formatted(const Some(euroCurrency));
  expect(formatted, '100.000,00€');
});

fails with:
BRANDON: withSymbol: ###.###,00S
Expected: '100.000,00€'
  Actual: '100000,000000€'
   Which: is different.
          Expected: 100.000,00€
            Actual: 100000,000000 ...
                       ^
           Differ at offset 3

Using the same euroCurrency from the previous test:
test('zero', () {
  const amount = 0;
  final formatted = amount.formatted(const Some(euroCurrency));
  expect(formatted, '0,00€');
});

fails with
BRANDON: withSymbol: ###.###,00S
Expected: '0,00€'
  Actual: '0,000000€'
   Which: is different.
          Expected: 0,00€
            Actual: 0,000000€
                        ^
           Differ at offset 4

test('decimal separator as hyphen', () {
  const euroCurrency = CurrencyFormat(
    isoCode: 'EUR',
    decimalDigits: 2,
    decimalSeparator: '-',
    groupSeparator: ' ',
    currencySymbol: '€',
    isSymbolFirst: false,
    shouldDisplaySymbol: true,
    exampleFormat: '123 456-78',
  );

  const amount =<PHONE_NUMBER>;
  final formatted = amount.formatted(const Some(euroCurrency));
  expect(formatted, '1 234 567-89€');
});

fails with (note: the same failure occurs for / as group separator) :
BRANDON: withSymbol: ### ###-00S
The pattern contains an unknown character: '-'
package:money2/src/pattern_encoder.dart 206:11  PatternEncoder._getMoneyPattern
package:money2/src/pattern_encoder.dart 78:26   PatternEncoder._formatMajorPart
package:money2/src/pattern_encoder.dart 53:17   PatternEncoder.encode
package:money2/src/money.dart 483:15            Money.encodedBy
package:money2/src/money.dart 445:24            Money.toString
package:lumy/ui/currency.dart 61:34             CurrencyIntX.formatted
test/ui/currency_test.dart 214:34               main.<fn>.<fn>.<fn>

whilst I think its a bug, allowing a '-' as decimal separator seems highly problematic due to confusion with a -ve value.
I'm included to disallow - and + as any type of separator.

whilst I think its a bug, allowing a '-' as decimal separator seems highly problematic due to confusion with a -ve value.
I'm inclined to disallow - and + as any type of separator.

That's fair, I just don't really have a choice but to support it 😅

I'm going to close this as whilst it might be a bug I don't think supporting a +- as a decimal separator is worth investing time into.
If you want to submit a PR with a fix then I would be happy to accept it.

I'm going to close this as whilst it might be a bug I don't think supporting a +- as a decimal separator is worth investing time into. If you want to submit a PR with a fix then I would be happy to accept it.

Two of the failure cases had , and . or   as group/decimal separators, not sure if you saw that. Those feel more like bugs that are worth addressing.

If you can give me some specific unit tests (that don't use your FormatCurrency function ) then I would be happy to look at it.
I want to exclude the FormatCurrency as I don't want to be testing that as opposed to testing the core money classes.


Autodiscover fails to detect Operator pods

Hi,
I'm working on testing a CNF that is deployed with an Operator, I wanted the Operator tests to be run against that Operator, but the testsuite says Discovered Operators: 0
I have a label that is added in the tnf config for Operatorpodlabels.
operatorsUnderTestLabels:
  - "app:operator-to-be-tested"
  - "test-network-function.com/operator:target"

[autodiscover.go: 140] parsed operators under test labels: [{LabelKey:test-network-function.com/operator LabelValue:target} {LabelKey:test-network-function.com/operator LabelValue:}] [provider.go: 282] Operators found: 0
I clearly pointed out an Operator and checked if csv is installed and pod labels are identifying the right pod. But test suite doesn't pick the operator.
TNF version: v4.2.4

It was an issue with the labeling on CSVs. Closing this issue


When not specifying port for registry address, default port is 80

It would be nice to use smarter defaults - for example 8500 when using consul as the registry.

https://github.com/myodc/go-micro/commit/9b23729eac82ccf7903e293810cf8d71df81ee64


Playground doesn't load in Firefox private window. navigator.serviceWorker is undefined.

To reproduce open the playground in private browsing mode in Firefox.

Fixed


adds post/delete for canvas external_tools

Coverage increased (+0.1%) to 85.926% when pulling af502f0c6ee8b52f0f3ef1c4341a4e420c7fb04e on feature/canvas-external-tool-api into d60a7ef2f0659e67a87b612f98458c47604bf1b7 on develop.


Added native notifications

Hello 👋🏻
This library was not showing the file picker on macOs, with the changes I made things should be working fine.

I added macOs and Linux notifications, they are both working.
Windows 10 notifications are missing but I am planning to add them soon.

Closed due to repository inactivity, I am going to continue improving the lib on my own fork.


Operator key management & production contract deployment

NET-84
As an network operator, I would like to make sure my authority wallet is well protected, so that the security of the network will not get compromised.
Value

No key is hosted on Ethereum nodes
Encrypted key material in a secure enclave
Authenticated access from the Operator to submit blocks

I don't think this is an elixir-omg story. Let's chat tomorrow.

probably related or not, but do we want the ability to rotate our key for operator?


cilium: Add TunnelDevice config helper to retrieve tunnel device name

And also remove hard-coded TunnelDeviceName default since tunnel can be either vxlan or geneve. Nothing should use a hard-coded name.

/test

Looks pretty straight forward to me.


OSSM-1344: clang luajit2 fix for z

Fixes https://issues.redhat.com/browse/OSSM-1344 on s390x
The same error happens on p and z after switching to clang.
Verified the fix on z only.
Signed-off-by: Konstantin Maksimov<EMAIL_ADDRESS>

Hi @ManirajDeivendran can you please check if this works on p?

LGTM. Are we waiting for @ManirajDeivendran ?
/ok-to-test

This PR is for s390x only, for p there will be a different PR from p team.


[BugFix] Fix first_value/last_value of preceding/following window

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #8587
Problem Summary(Required) ：
Add check on whether frame is empty.

Please add test cases.

run starrocks_admit_test


Several questions about Phantom.js. Please answer.

Is Phantom.js dead/dying?
Is there really no way to bind a non-default IP address for Phantom.js to use? This limitation is more than just an annoyance -- it's a downright security issue. I'm very surprised and surprised that it is not supported.
When you load a webpage in Phantom.js, does it download every element on that page (images, CSS, JS, embedded videos etc.) and then just throw that data away if you don't use it for a screenshot or something? It doesn't store this on the disk at all by default?
How secure is Phantom.js? I'm worried that the pages I load will make Phantom.js exploited and cause it to delete files on my server (FreeBSD) or install rootkits or worse. How realistic of a threat is that? I worry about it a lot, especially since FreeBSD doesn't even have the latest version available, even though it's like a year old...
Is there a proper "everything has finished loaded fully and all redirections and CloudFlare screens and whatnot have been displayed" function that I can use instead of the practically worthless "onLoadFinished" thing?

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.

Please answer. I don't use e-mail and I don't use Stack Overflow, and that site is useless anyway.


undefined constant DispatchMode on Crystal 0.36.0

Trying to run the specs for Lucky's Dexter on Crystal 0.36.0, and getting this error:
❯ crystal build --error-trace log.cr
In log.cr:10:16

 10 | StubbedBackend.new
                     ^--
Error: instantiating 'StubbedBackend.class#new()'

In /usr/local/Cellar/crystal/0.36.0/src/log/backend.cr:7:34

 7 | def initialize(dispatch_mode : DispatchMode = :async)
                                    ^-----------
Error: undefined constant DispatchMode

I was able to re-create it with this:
require "log"

class StubbedBackend < Log::Backend
  getter! entry : Log::Entry?

  def write(@entry) : Log::Entry
  end
end

StubbedBackend.new

This compiles fine with no output on 0.35.1

Using full path Log::DispatchMode in backend.cr makes it work. So it's not a general visibility thing.

Using full path Log::DispatchMode in backend.cr makes it work. So it's not a general visibility thing.

Reduced:
module Moo
  enum Color
    Red
  end

  abstract class Foo
    def initialize(color : Color = :red)
    end
  end
end

class Bar < Moo::Foo
end

Bar.new

Reduced:
module Moo
  enum Color
    Red
  end

  abstract class Foo
    def initialize(color : Color = :red)
    end
  end
end

class Bar < Moo::Foo
end

Bar.new

We were all playing with the same.
Woraround @jwoertink , monkey-patch so you can keep sending feedback regarding 0.36.0
abstract class Log::Backend
  def initialize(dispatch_mode : Log::DispatchMode = :async)
    @dispatcher = Dispatcher.for(dispatch_mode)
  end
end

We were all playing with the same.
Woraround @jwoertink , monkey-patch so you can keep sending feedback regarding 0.36.0
abstract class Log::Backend
  def initialize(dispatch_mode : Log::DispatchMode = :async)
    @dispatcher = Dispatcher.for(dispatch_mode)
  end
end

So, the problem is that the base class initializers' type restriction are parsed in the context of that type namespace and not the base class namespace.
TBH the issue was already present in 0.35.1, so it's not a regression.
A workaround is trivial of course, as shown in the previous monkey-patch. Let's see if a proper fix is doable though.

So, the problem is that the base class initializers' type restriction are parsed in the context of that type namespace and not the base class namespace.
TBH the issue was already present in 0.35.1, so it's not a regression.
A workaround is trivial of course, as shown in the previous monkey-patch. Let's see if a proper fix is doable though.

I have a fix! 🎉

I have a fix! 🎉

And yes, while looking at the problematic code I thought "Hm, it's strange this didn't happen in 0.35.1". The reduced code doesn't work in 0.35.1, though.

And yes, while looking at the problematic code I thought "Hm, it's strange this didn't happen in 0.35.1". The reduced code doesn't work in 0.35.1, though.

Sweet! Thanks all! Yeah, my current workaround was just alias DispatchMode = Log::DispatchMode 😅

Sweet! Thanks all! Yeah, my current workaround was just alias DispatchMode = Log::DispatchMode 😅


map and charts API added

Pie chart added in maps.html
Map added with style change, no markers yet


Added Rock Paper Scissors Game

Description 📜
I have added the Rock Paper Scissors game at 36th Position
Fixes #179

Type of change 📝

[x] Add a new project

Domain of Contribution 📊

[x] Project using HTML, CSS & JS

Checklist ✅

[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

Resolve the conflicts at your end.

I have resolved the conflicts with the master branch. Kindly merge @khushi-purwar .
Thank You !!

@khushi-purwar Please look into this PR when you get the time. Its ready to be merged I feel.


fix for events, closes #11

Put the event in a function scope so that it's reference isn't changed.
Sorry for the removal of all the white space, editor does it automagically and I didn't realize. significant change is on line 128

Any time to merge this, it's a blocking bug, and I would prefer to use the official npm module.

Sorry for the delay was a bit busy, this week :)


In Add subdomains popup, there is no validation in the new row added and the system allows to insert an empty subdomain

In Add subdomains popup, there is no validation in the new row added and the system allows to insert an empty subdomain
Steps to reproduce:

Navigate to a root domain details page

Click on Add Subdomains button

Type a name for a subdomain

Click on Add New button

Click on Add subdomain button

Current result: There is no validation in the new row added and the system allows to insert an empty subdomain
Expected result: All new rows added to the Add subdomains popup needs to have a validation and do not allow the creation of subdomains with no names


js.Function values inside of new js.Object{...} don't appear to work

See the following change to the example project to reproduce the bug https://github.com/bbarker/scala-js-example-app/commit/23abe08739188a7cb99d18c5d183fa2bce008e10
In particular, note the difference in behavior depending on which def getObj():... is commented out.

Oh ow ... That looks like a very strange behavior from scalac that I would qualify as a bug. The scalac typechecker gives the following code for your new js.Object (can be printed by adding scalacOptions += "-Xprint:typer" in build.sbt):
    @scala.scalajs.js.annotation.JSExport def getObj(): scala.scalajs.js.Object = {
      final class $anon extends scala.scalajs.js.Object {
        def <init>(): <$anon: scala.scalajs.js.Object> = {
          $anon.super.<init>();
          ()
        };
        private[this] val square: scala.scalajs.js.Function1[Int,Int] = ScalaJSExample.this.squareJS;
        <stable> <accessor> private def square: scala.scalajs.js.Function1[Int,Int] = $anon.this.square
      };
      new $anon()
    }

in which we can see that the def square accessor method is private, for some reason! Logically, Scala.js then hides it from JS.
The funny thing is, if we hide the expected type from the typechecker, for example with
  @JSExport
  def getObj(): js.Object = {
    val o = new js.Object{val square = squareJS}
    o
  }

or even
  @JSExport
  def getObj(): js.Object = {
    new js.Object{val square = squareJS}.asInstanceOf[js.Object]
  }

then we get
    @scala.scalajs.js.annotation.JSExport def getObj(): scala.scalajs.js.Object = {
      val o: scala.scalajs.js.Object{val square: scala.scalajs.js.Function1[Int,Int]} = {
        final class $anon extends scala.scalajs.js.Object {
          def <init>(): <$anon: scala.scalajs.js.Object> = {
            $anon.super.<init>();
            ()
          };
          private[this] val square: scala.scalajs.js.Function1[Int,Int] = ScalaJSExample.this.squareJS;
          <stable> <accessor> def square: scala.scalajs.js.Function1[Int,Int] = $anon.this.square
        };
        new $anon()
      };
      o
    }

in which def square is public, and therefore everything works well.
Definitely looks like a scalac typer bug to me. I don't think we can do anything about it.
Workarounds:

Hide the expected type as I showed above (clunky), or
Define a @ScalaJSDefined trait Foobar extends js.Object declaring the interface you want to expose to JS, and use new Foobar {} instead of new js.Object {} (better, IMO)

Hahahaha, this is one of the more epic fails of scalac I have seen... And I have seen quite some :P

Thanks for the suggestions! I think I'll just use lit if I'm tempted to use the first suggestion, or use the @ScalaJSDefined trait for larger or more pervasive objects.
Just curious, is there an issue for the scalac bug?

I haven't searched for a potential existing issue in scalac yet.

Created a new issue for scala. https://issues.scala-lang.org/browse/SI-9487

Who should I assign to the issue?

It appears to be completely impossible to disambiguate genuine private members from bugged private members after typer.
We could, in theory, have a pre-typer phase that would add a dedicated annotation on public members so that we can recover them later. However, being pre-typer, we would have to do that to all members of all anonymous classes, which is a huge impact on the trees.
Instead, we propose the following:

Fix the scalac bug for 2.12, if at all possible
In PrepJSInterop, expose all private members of anonymous classes extending js.Any (but not private[this] nor private[Scope] members).
Document that, due to a scalac bug in 2.10/2.11 (or all versions if we can't fix the scalac bug), private members of anonymous classes extending js.Any will become public. Document the workaround which is to use private[this] instead.

It seems that in this specific context we can't have private[Scope] members because they are not final:
Qualified private members in Scala.js-defined JS classes must be final.

And can't we have a final private[Scope]?

However, being pre-typer, we would have to do that to all members of all anonymous classes, which is a huge impact on the trees.

How big is this impact really? Could we try and measure the scalalib compilation times with it just to get a ballpark estimate?
I'm really scared of having different behavior for 2.11 / 2.12... Also I think before we decide anything, we need to assess whether the scalac side is actually fixable.

I'm really scared of having different behavior for 2.11 / 2.12...

We already have plenty of different behavior on different Scala versions, although so far there has been no behavior difference dictated by an explicit test. The best example is how lambdas are transformed and compiled: it's done completely differently between 2.10/2.11 without -Xexperimental versus 2.11 with it/2.12. It'll also be crazier still when 2.12 starts emitting default methods. This is all part of the game.
We also already have workarounds that are only relevant to earlier versions of Scala, e.g., the x field of js.Dynamic and the magic to recreate applyDynamic for them.
It doesn't seem like this instance would be any worse than things we've done before, would it?

Well, different behavior in terms of implementation details is fine. But not in terms of user visible behavior.
Loosely phrased: If you don't do anything "crazy", changing the Scala version should not change anything (especially in terms of JS interop). People just don't expect it.
For example, if you rely on a specific translation of a Scala construct, you are in unspecified behavior land anyways, so even between minor Scala.js versions this could change. But if you rely on a field being present on a Scala.js defined class you are doing something very reasonable and very common. This is in itself not a problem yet. But if -- for example -- you iterate over the fields of an object in JS, you are still doing something pretty reasonable and more importantly something common. Now if that changes behavior depending on whether you compile with 2.11 or 2.12, you really are going to hate the tool you are using (irrespective of whether it is written in some release notes that this actually happens).
Hope that makes sense...

Yes, that makes perfect sense.
But so behave all compiler bugs. There is already a bug in scalac, and the one that exists right now is greatly annoying because

Fields that you expect to be there are actually not there
Explaining when this bug happens is impossible without talking about expected types in scalac, a concept few people understand
The workaround for the bug is very obscure (hiding the expected type)

The idea, here, is to transform this very obscure bug into a clearly understandable bug with less bad behavior:

Fields that you expect not to be there are actually there (only a problem if you iterate; which is common, but less common than using the fields, which is all the time)
Explaining when it happens is very easy: private member in anonymous class extending js.Any
The workaround is extremely clear: make it private[this]

We're transforming a very bad bug into a slightly bad bug, basically. Of course, on a version of Scala that does not have the bug in the first place, we don't want to introduce a bug for nothing.
That's my rationale. Hope that makes sense ... ^^

Ok. I can agree with that, as long we treat it as a bug. But I still think it'd be a good idea if someone had a look at the performance impact of a pre-typer plugin. And we definitely need to see whether the bug is fixable in 2.12 (especially whether the change of semantics will even get accepted!).


[Feature]: RulesView - display TheHeader even when unauthenticated

Feature Summary
We should display TheHeader component (the top toolbar) in the RulesView, HomeView, and StatsView, even when unauthenticated
Detailed Description
Currently the router.js file hides TheHeader component whenever you are unauthenticated. Because the RulesView can be accessed while authenticated or not, currently it will show TheHeader while authenticated and not show it otherwise.
Unauthenticated

Authenticated

This makes it difficult to return to the Signup Page when you are viewing the RulesView while unauthenticated. We should display TheHeader in either case , but when unauthenticated show a login button instead of TheUserMenu

@kawaljen I've actually picked this one up and have almost finished it. How about grabbing #915 instead? It's another frontend RulesView improvement


Null Safety Update

Hello Baimam,
Great work! I was wondering if you considered updating the code to null-safety. I tried to run the program, but it is not working. It would be awesome if you can update the code to the latest version as I would be very happy to try it!

Alright ! It will be done very soon...

Alright ! It will be done very soon...


make -m0 mode a default

Even with the default settings there is too much strangely-looking symbols for the first application start-up.

22d029e


Can't use tagged_with at STI Model

ruby 2.5
rails 5.2
STI model
class Carrier < ApplicationRecord
Gutentag::ActiveRecord.call self
end
class Author < Carrier
end

Thanks for reporting this - I've just pushed a fix, which you can use now if you wish:
# Waiting for 2.3.2 with the STI fix
gem "gutentag", "~> 2.3",
  :git    => "https://github.com/pat/gutentag.git",
  :branch => "master",
  :ref    => "d607880cb6"

I'll likely get a new gem release out next week.

v2.3.2 has just been released with this fix.


merge Jervin's non-root ssh user from mysql_prm56 to mysql_prm

merge Jervin's non-root ssh user from mysql_prm56 to mysql_prm, pull request 32

done


Vue-UI missing dependency

Version
3.0.0
Node and OS info
Node v10.8.0, NPM v6.3.0, MacOS 10.13.6
Steps to reproduce
vue ui
What is expected?
The Vue-UI is expected.
What is actually happening?
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'core-js/modules/es7.object.entries'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users//.nvm/versions/node/v10.8.0/lib/node_modules/@vue/cli/node_modules/apollo-upload-server/lib/middleware.js:14:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

I got earlier an issue with "apollo-server-core":
https://github.com/apollographql/apollo-server/issues/1530
Although the issue has been solved, the "apollo-upload-server" package is referenced in the stack trace and could be related.

Issue already exists #2215


NodePort on new node doesn't work without reboot

Running k8s 1.12.3 and Calico Typha 3.8.0. NodePorts don't seem to work when a new node joins the cluster. When I curl an exposed node port that fronts a simple http server the call hangs. If I reboot that node, the node port works as expected. This is running Red Hat 7.6. The same steps with a cluster using weave's CNI doesn't have this behavior.
Expected Behavior
Expected behavior is that when a new node is marked Ready then NodePort services would work without having to reboot the machine.
Current Behavior
When a new node joins the cluster the node port doesn't seem to forward the request. The port is listening but calls to the port hang indefinitely. Rebooting the node fixes the erroneous behavior. Internal (pod to pod) cluster communication appears to work fine. Because this works fine if I stand up a cluster with everything the same but a different CNI I don't believe kube proxy is at fault. I confirmed that iptables is empty (other than the standard docker entries) before a node joins.
Possible Solution
None at this time
Steps to Reproduce (for bugs)
Any additional debugging steps would be appreciated?
Right now my steps  are:

Stand a up a kubernetes HA cluster with version 1.12.3 using kubeadm
Install  https://docs.projectcalico.org/v3.8/manifests/calico-typha.yaml
Deploy simple web server (httpd for instance) -- deployment + node port service
Add new nodes to cluster
Node port calls hang to any node within the cluster that hasn't been rebooted since joining (including master nodes)

Your Environment

Calico version typha 3.8.0 api datastore
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.12.3
Operating System and version: Red Hat 7.6

I've never heard of a problem like this before so I don't know of anything immediately to check out.
If you could collect the output of iptables-save -c that may be helpful, please do that before you've rebooted a new node but after you've generated some traffic that reproduces the problem. (the -c should include packet counts so we can see if iptables is dropping traffic)
Is NetworkManager running on your nodes? I know there have been problems before with it but none that I remember with this type of behavior.
Please check the kubelet (for CNI errors) and calico-node logs before rebooting a new node to see if there are any problems setting up the networking for pods (or anything odd).
It may also be useful to check calicoctl node status (this must be run on the node with the problem) to see that all BGP sessions are able to be setup, though I would expect you to be able to see problems with that in the readiness of calico-node.

I'll work on getting the iptables outputs. Unfortunately behind an air gap for this cluster. The behavior seems similar to this: https://github.com/projectcalico/calico/issues/875. We are running docker version 18.06.
The suggestion solution from this ticket works as well. If I run iptables -P FORWARD ACCEPT the problem disappears on the problem nodes. So this fixes the issue without a reboot.
It looks like the issue was believed to be fixed by https://github.com/kubernetes/kubernetes/issues/40182 which should be in k8s 1.12.3.
To answer your questions:

Is NetworkManager running -- No
Kubelet and calico node logs look clean
Node status indicates mesh connectivity to all other nodes in cluster

I'll work on providing iptables output and diffs.

So I was able to reproduce the problem with k8s 1.15.0. Here is the iptables output when the nodeport is being blocked. In this case we have a nexus server with a node port of 30100 and when this new node joined curl hung until iptables -P FORWARD ACCEPT was run. Then the node works as expected.  This was run with a -c.
iptables_np.txt

@cchanley2003 are you passing --cluster-cidr to your kube-proxy? I believe that should trigger a rule which allows pod traffic and might be related (based on only a quick skim)

I am not passing cluster-cidr to my kube-proxy. I'll look at kubeadm setup and see what I need to do to have that added into the default kubeadm installation.

Yes that is correct.

Going to close this issue. Believe that the problems were related to not handing kubeadm the cluster-cidr range. Thanks for the help.


Test pull-containerd-node-e2e-1.6

pull-containerd-node-e2e-1.6 has been continously failing in https://github.com/containerd/containerd/pull/10795 to update runc version. This PR is raised to debug the changes.

/test all

/test pull-containerd-node-e2e-1.6

/test pull-containerd-node-e2e-1-6

/test pull-containerd-node-e2e-1-6

/test pull-containerd-node-e2e-1-6

/test pull-containerd-node-e2e-1-6-systemd-cgroup

Given the revert of runc 1.1.5 I assume this testing is complete; please re-open if still needed


Bump minimal Toit version.

v2.0.0-alpha.144 and v2.0.0-alpha.145 were broken for this package.

TBR.


Favorites should be displayed at the center

Proposal
On clicking favorites, list of favorites appears at right side of the page. It should be at the center of page.

Please assign me this, I would like to work on this.

No, this is in it's right position


Dev to main sync

Date: 29th September 2024
Developer Names:

@rishirishhh

List of changes:
Reverted pr's
https://github.com/Real-Dev-Squad/website-dashboard/pull/853
Tested on staging

[X] Yes
[ ] No

Screencast from 29-09-24 01:31:40 AM IST.webm


[Global Styles] Red alert button's colors are not accessible

How can we reproduce this bug?
Go to Global Styles Page
Use WebAIM Color Contrast Checker (http://webaim.org/resources/contrastchecker)
Enter "FFFFFF" as "foreground" color.
Enter "ec5840" as "background" color.
What did you expect to happen?
Contrast ratio for normal text should be 4.5:1 or higher
WCAG AA criteria should pass
What happened instead?
Contrast ratio is below standard.
See: http://webaim.org/resources/contrastchecker/?fcolor=ffffff&bcolor=ec5840

The slightest change that allows AA to pass is #cc4b37 (keeping the same red hue and saturation, changing only the brightness).

I'm collecting all of the contrast issues into one: #7387


[feature]: add support for invoices

Summary
We propose the implementation of a Taproot Assets "invoice" system, functioning similarly to Tap addresses but designed for single-use payments with an expiry timestamp. The finite lifespan of each invoice facilitate proof courier polling, thereby offering increased flexibility in managing the distribution of assets within a single transaction.
Details
An invoice is basically an address but with these constraints:

Single-Use Payment Address: Each invoice should be unique and valid only for one payment from one payee.
Expiry Time: Invoices will include a Unix timestamp to indicate expiry. Post-expiry, the invoice should be considered invalid.

It is simpler to support multi asset transactions given these constrains. For example, https://github.com/lightninglabs/taproot-assets/issues/291#issuecomment-1885266933 would be easier to implement.

This will be re-formulated into another issue.


DE/target removal

Question: Would it be feasible and not overly complicated to add an option to 'crouton' to remove a DE/target along with the update option? Maybe by specifying the target with a '-' sign in front something like:
sudo sh -e ~/Downloads/crouton -n saucy -t -cinnamon -u
And then just reversing/uninstalling the target packages and dependencies?

Hey DennisL
Sorry to bother you, but I needed to remove a target which I recently installed (KDE - wishful thinking). I am not a pro at crouton/ linux. Can you please elaborate on the first step - "just grabbed the packages the targets used and applied them to the 'apt-mark auto ...' command line". I can help you in any way possible, but it seems like something useful to have on the forums.
Thanks a lot in advance!

@nakulbende,
This is part of the 'kde' target:
### Append to prepare.sh:
install --minimal kde-plasma-desktop -- network-manager

So I think you'll just need to do:

sudo apt-mark auto kde-plasma-desktop
Then remove 'kde' from both /.crouton-targets and /etc/crouton/targets
Then apt-get install -f
Then exit your chroot and do a crouton update.

The 3rd step may not be necessary but it shouldn't hurt anything.

Thank you for this very helpful thread. Can I check, @DennisLfromGA, when you say "grabbed the packages the targets used and applied them to the 'apt-mark auto ...' command line", where should I look to find the packages that, say, unity used?

@DannyQuah,
All the crouton target files are here: targets
You can click on both unity & unity-desktop and find the install ... line(s) to determine what packages are included with each target.
@Dennis

FYI: When you @Dennis - you notify me. Please don't unless you wan't me attention

@Dennis - My bad, sorry.
I usually sign my posts with 'DennisL' but I evidently left off the 'L' previously.
I just now discovered that 'DennisL' is also flagging the wrong account so I'll cease and desist that too. :/
I'll be sure to sign-off as '@DennisLfromGA' or just '-DennisL' in the future.
Thanx for post, I'm sure 'DennisL' thanks you too. ;)
-DennisL

Don't worry about it. You're not the first, and probably not the last doing that :)

Data point: I tried to remove xiwi to slim down the install to cli-extra,extension on xenial -- because I do use CLI interaction (croutonwebsocket, croutonnotify, croutonurlhandler), but none of the graphics. I took a look at targets/xiwi, cross-checked what it installed with apt-mark showmanual, and ran sudo apt-mark auto xserver-xorg-video-dummy x11-utils xautomation xbindkeys xorg xclip dmz-cursor-theme && sudo apt-get autoremove. I then removed x11, xorg, audio from /.crouton_targets and /etc/crouton/targets. Unmounted, ran an update, and watched it fail:
The following packages have unmet dependencies:
 xserver-xorg-video-dummy : Depends: xorg-video-abi-15
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Failed to complete chroot setup.

The failure is, of course, that I hadn't checked targets/extension, or I would have seen that extension installs xorg and x11, too.
Takeaways:

Look at all targets to determine what dependencies they keep before attempting to remove packages.
Run autoremove last. The order is:

Remove targets you wish to remove from /.crouton_targets and /etc/crouton/targets,
apt-mark auto the packages you imagine you'll get rid of without said targets,
Update your chroot, which will mark the packages your remaining targets (and the dependent targets they install) back from auto to manual,
After chroot is set up successfully, sudo apt-get autoremove.

I wonder if the info necessary for step (ii) could be reliably determined by doing a dry-run of target installations? The broad logic I imagine for crouton -u -n chroot -t xfce4,-lxde:

In a dry run that doesn't actually install anything, collect the list of packages that would be installed for:
a. All old and all new targets,
b. ^ without the targets intended for removal.
Get the set difference from the two lists. Those are the packages that can be safely marked auto, so mark them.
Either run autoremove or instruct the user to.

No idea if this is doable, or doable consistently across installers / releases. I'll try and see how much of this is wishful thinking; suggestions appreciated.

This would be a really welcome change for me. Afterwards, I would finally be able to remove xfce from my encrypted chroot (is there a way to currently do it?).


Delete duplicated description.

Strings 319 and 322 are duplicated in file Readme.md

good catch :+1:


Upserts failing in For block

when I query:
with
  raw_data := <json>$data
for item in json_array_unpack(raw_data) union (insert Person {slug := <str>json_get(item, 'slug')} unless conflict on .slug else (select Person)) {slug, id, name}

it fails with edgedb.errors.ConstraintViolationError: slug violates exclusivity constraint
schema:
  type Person {
      required property slug -> str {
          constraint exclusive;
      }
      property name -> str;
  }

Are there duplicates in input?

I've tested with and without duplicates in the input and the response is the same.

Yeah, just running
with
  raw_data := to_json('[{"slug": "foo"}]')
for item in json_array_unpack(raw_data) union (
    insert Person {slug := <str>json_get(item, 'slug')}
    unless conflict on .slug else (select Person)
);

twice fails.

@jerber As a workaround, it looks like if you lift the json_get call into a variable outside of the insert, it works.
Also, doing it by casting to a tuple work, and is fairly nice:
with
  raw_data := to_json('[{"slug": "foo"}]')
for item in <tuple<slug: str>>json_array_unpack(raw_data) union (
    insert Person {slug := item.slug}
    unless conflict on .slug else (select Person)
) {slug, id, name};

Seems to be some sort of subquery/scope related issue; just sticking the json_get call into a subquery makes it work...

@msullivan ah great that did work. Here is the updated version I'm using, with an upsert.
with
    raw_data := <json>$data,
for item in json_array_unpack(raw_data) union (
    with
        slug := <str>json_get(item, 'slug'),
        name := <str>json_get(item, 'name')
    insert Person {slug := slug, name := name}
    unless conflict on .slug else (update Person set {slug := slug, name := name})
) { slug, name, id }

Happy that the workaround works for you! (That said, this is of course a pretty unpleasant bug!)


Added elm-hangman

@puemos Can you please update the image to be 1000 x 800 pixels?

@joelclermont done!

Merged and deployed. Thanks!


[Navigator] Export per-platform NavigatorNavigationBarStyles for consistent styling

This allows for the iOS-style navigation bar on Android and vice versa in order to simplify design. It is entirely optional in that NavigationBars will continue to defauly to their platform-specific style, but you can override it with the navigationStyles prop:
<Navigator.NavigationBar
  navigationStyles={Navigator.NavigationBar.StylesIOS}
/>

Fixes #2995.
Test Plan: Open the UIExplorer example on iOS and test the plain and breadcrumb Navigator demo.

An alternative approach would be to expose only the navigationStyles prop and export buildStyleInterpolator from the main react-native interface so that I could copy & paste NavigatorNavigationBarStyles.ios.js and inject it into the NavigationBar.

@facebook-github-bot shipit

@ide This is great but why is the text vertically centred in Android while in iOS it appears to be more top-aligned? For iOS I have to use a style of marginVertical:9 so that it appears vertically centred. Am I doing something wrong?

I'm not sure. We position our titles manually.

Ok, I think I understand what's happening. On Android, y=0 starts below the status bar whereas on iOS, it starts from the top of the status bar. Therefore using the iOS style on Android adds 20 points/dp starting from the bottom of the status bar. It only appears to be vertically centred but in fact it's just the effective top margin of the label that different on each platform.


UHF-3821: 'Show website link' checkbox for TPR Unit edit form

How to test:

Set up KASKO environment
Checkout this branch: git checkout UHF-3821_tpr_unit_website_link
Checkout equivalent branch of the helfi_tpr module: composer require drupal/helfi_tpr:dev-UHF-3821_tpr_unit_website_link
Run drush updb to update the changes from the TPR module
Run drush cim to import the config changes from this branch
Edit a TPR Unit with "Website link" field and see how the new "Show website link" selection affects the visibility of the link field when viewing the entity

Also see PR's:

https://github.com/City-of-Helsinki/drupal-module-helfi-tpr/pull/91
https://github.com/City-of-Helsinki/drupal-helfi-platform-config/pull/243 (this just removes translations)

Need to

fix conflict
see how the changes to TPR and Platform Config modules affect other instances

before merging.


replaced adminAccount from init with self.account

This Fixes #169,
[Key Assumption]
Admin account is always the actual owning address. If self.account isn't the intended admin account, then this would be too restrictive. For clarity, how else would we pass in the AuthAccount to the init function if the contract won't even deploy?
Thanks in advance

Also let me know if this PR and issue are in the wrong repo as well as this is specific to the playground

I appreciate the PR, but we need to leave the contract like this. This contract is imported by the flow-go and emulator repos for bootstrapping the emulator and localnet, and we have to provide the service account as the admin, so this should stay the way it is. Sorry for the inconvenience!


Add co_await, co_yield, and co_return to the list of C++ flow control keywords

#80892

This grammar comes from https://github.com/jeff-hykin/cpp-textmate-grammar/. Please submit this PR upstream against that repo


dataset download

Hello, thank you very much for your sharing. is it convenient to provide the data set of citypulse for download? Why did I only see one form?

Thank you for your interest! Due to Google's copyright and privacy policy, we are unable to provide the dataset of imagery. Please refer to the PanoID columns in our published CSV file to download the street view images using the Google Street View Static API.


[Feature] Add scout builder variable on creating HitsIteratorAggregate

Thank you very much for your job.
Your package is very interesting and functional.
The ability to store data on different models similar in structure in one index due to the "__class_name" attribute is very useful. At the same time, this function changes the standard functionality of the scout package and will not be able to work with an already created database.
Is your feature request related to a problem? Please describe.
When testing different packages for scout + elastic without any callback and additional functions of the package, I expected to get the same search results
Describe the solution you'd like
Search result will contain models instance of target search model (not imported model).
Describe alternatives you've considered
In first i try use custom binding for HitsIteratorAggregate
class CustomIteratorAggregate implements IteratorAggregate
{
    protected static $builder;

    public static function setBuilder(Builder $builder)
    {
        static::$builder = $builder;

        return $builder;
    }

    public static function getBuilder()
    {
        return static::$builder;
    }

    public function getIterator(): Traversable
    {
        $builder = static::getBuilder();
        //....
        $hits = $builder->model->getScoutModelsByIds($builder, $objectIds);
        //....
    }
}
//using
$query = CustomIteratorAggregate::setBuilder(Products::search('car'));

But this is not a very good solution, because it is necessary to specify the model class each time and you cannot make requests to the search engine until the previous request is completed.
Perhaps this method will be more useful and will not break compatibility.
final class ElasticSearchEngine extends Engine
{
    //.....
    public function map(BaseBuilder $builder, $results, $model)
    {
        $hits = app()->makeWith(
            HitsIteratorAggregate::class,
            [
                'results'  => $results,
                'callback' => $builder->queryCallback,
                'builder' => $builder,
            ]
        );

        return new Collection($hits);
    }
//.....
class CustomIteratorAggregate implements IteratorAggregate
{
    //.....
    /**
     * @var Builder|null
     */
    protected $builder;

    public function __construct(array $results, callable $callback = null, Builder $builder = null)
    {
        $this->results = $results;
        $this->callback = $callback;
        $this->builder = $builder;
    }

    public function getIterator(): Traversable
    {
        //....
        $hits = $this->builder->model->getScoutModelsByIds($this->builder, $objectIds);
        //....
    }

Thank you) I'm not sure I got what issue you're trying to solve. Could you provide some example or even better to write a test that not pass?

On importing model to storage, __class_name has class name of imported model.
On searching we retrieve models by same class stored in __class_name.
Its nice for a project without any additional services (other language, other model name).
Search result will be losted when we rename model class, move model to other namespace, use several models for frontend and backend, fill elastic database with other service or try to use already existed data.
App\Models\Product::makeAllSearchable(); // __class_name is 'App\Models\Product'

class MyProduct extends Product {}
App\AnyModule\MyProduct::search()->get(); // return 'App\Models\Product' instead 'App\AnyModule\MyProduct'

Using a custom HitsIteratorAggregate with scout $builder is a quick way for retrieve in search result models with initial model class for searching.
Long way
Laravel eloquent has polymorphic with custom types https://laravel.com/docs/9.x/eloquent-relationships#custom-polymorphic-types
By default on database will saved App\Models\Product. For using custom type we update model and setup morph map.
use Illuminate\Database\Eloquent\Model;

class Product extends Model {
   protected $morphClass = 'ProductAlias';

use Illuminate\Database\Eloquent\Relations\Relation;
Relation::morphMap([
    'ProductAlias' => App\Models\Product::class,
]);

Eloquent will save to database 'ProductAlias' instead App\Models\Product. For retrieve assigned class for alias used Model::getActualClassNameForMorph('ProductAlias') => 'App\Models\Product'
This approach is more flexible to the organization of the code and allows you to reassign the class at any time.
This solution is not quick.

Thanks for the explanation. Now I think I got the problem. Let me think


validator.isDate error

in low level code.this function implement is
!NaN(Date.parse());

but when i use timestamp in milionseconds.
the Date.parse() function throw error.
the new Date(timestamp) also work.
maybe this is a bug.

I'd argue that a timestamp is not a date. I'd be happy to accept a PR for an isTimestamp(timestamp_str) validator. In the mean time you could use isNumeric(timestamp_str) && (timestamp_str.length === 10 || timestamp_str.length === 13) depending on whether your timestamps are in seconds or milliseconds.


Feature Request: Provide a way to dynamically update form fields

I've been using svelte-use-form in my project, and I've encountered a scenario where I need to dynamically update a form field's value. Specifically, I am using the FileReader API to read the contents of a file input and update a textarea with the file's content.
Currently, there doesn't seem to be a straightforward way to update a form field's value programmatically. It would be helpful to have a method or a simple way to update the form field, like:
formData.content = "foo";
$form.update();

This would allow developers to update a form field's value programmatically and trigger any necessary validation checks. It would be particularly useful for scenarios where the form's state needs to be updated based on user interactions or external events, like a profile page where the user's data may be loaded after the initial form subscribe where the initial values are not available yet.
Please let me know if there are any workarounds or if this feature is already available but not documented.
Thank you for your consideration!

I believe you're looking for $form.fieldName.change("foo")
This will change the value in the corresponding html element and also inside the packages internal logic.

That does not seem to work, here is an example of making use of what you provided:
  const form = useForm({
        first_name: {validators: [minLength(2)]},
        last_name: {validators: [minLength(2)]},
        username: {validators: [minLength(3)]},
        email: {validators: [email]},
    })
    let unsubForm = form.subscribe((data) => {
        formData = data;
    });

    let unsubUser = userEvents.subscribe((data) => {
        loggedIn = data.isLoggedIn;
        userData = data.userData;
        let firstName = userData.first_name || "";
        $form.first_name.change(firstName);
    });```

Change as mentioned here is an unresolved function or method. There is also no `$form.fieldName` nor is there an object at $form.first_name as I would expect based on your example.

Thank you!

I have created a REPL based on my understanding of your issue, but I have been unable to reproduce the error.
https://svelte.dev/repl/3550f41cd7024a7883c83146d6d104bb?version=3.58.0
Could it be that you're using svelte-use-form outside of a svelte file and thus the dollar sign prefix isn't recognised?

I'm not using sveltekit (maybe that has something to do with it?), and using pure svelte for the application, second to this I'm not sure as to why it shows up the way I see it, I seem to be doing the exact same includes:
import {email, Hint, minLength, useForm} from "svelte-use-form";

The structure of the app has it's entry point under App.svelte as normal which imports a component like this based on functionality but it's all still within the scope of svelte.
Now from my package.json I do run these versions, maybe there is an issue there?
"svelte": "^3.55.0",
    "svelte-loader": "github:sveltejs/svelte-loader",
    "svelte-use-form": "^2.0.0",
    ```

Thanks for the help btw, hopefully I'm just the outlier and no one else will ever hit this as it's a really great addon!

No worries, I'm always happy to help!
Your import statement and the version you have specified for the package seem alright to me.
Could you please print $form and paste the output of it?


[SPARK-35233][3.0][BUILD] Switch from bintray to scala.jfrog.io for SBT download in branch 2.4 and 3.0

What changes were proposed in this pull request?

Move SBT download URL from https://dl.bintray.com/typesafe to https://scala.jfrog.io/artifactory.
Why are the changes needed?

As bintray is sunsetting, we should migrate SBT download location away from it.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Tested manually and it is working, while previously it was failing because SBT 0.13.17 can't be found:
Attempting to fetch sbt
Our attempt to download sbt locally to build/sbt-launch-0.13.17.jar failed. Please install sbt manually from http://www.scala-sbt.org/

Test build #137969 has started for PR 32353 at commit 626b0fa.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42489/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/42489/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/42489/

Test build #137969 has finished for PR 32353 at commit 626b0fa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137969/


Controller runtime update

This changes updates the controller-runtime and fixes the initialisation of objects to comply with the new controller-runtime standards. Namely:
We fix the function signatures of the webhook to include admissions.Warnings:
https://github.com/kubernetes-sigs/controller-runtime/commit/8770b4d3b5425b156f48c971ee140ea25f9c1bfa
We fix the initialisation of the manager to declare the webhook following the new schema:
https://github.com/kubernetes-sigs/controller-runtime/commit/91cdd8c9539c4860c5bacad36ebf75e4271f726d
We fix the Watches function to comply with the new signature definition:
https://github.com/kubernetes-sigs/controller-runtime/commit/dc62ed5dadc6ea2d3e22546368b939a2db1edfb2
Add context to EventHandlers:
https://github.com/kubernetes-sigs/controller-runtime/commit/2464a9d7af4911c6bf6e0baaaf8dc0ab08c7452c

Functional tests pass with the Replaces commit:
Will run 30 of 30 specs
••••••••••••••••••••••••••••••W0208 03:15:29.624679   16300 reflector.go:462] pkg/mod/k8s.io/client-go@v0.29.1/tools/cache/reflector.go:229: watch of *v1beta1.NetConfig ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding
W0208 03:15:29.624744   16300 reflector.go:462] pkg/mod/k8s.io/client-go@v0.29.1/tools/cache/reflector.go:229: watch of *v1beta1.OpenStackDataPlaneService ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding

Ran 30 of 30 Specs in 28.067 seconds
SUCCESS! -- 30 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
coverage: 48.2% of statements in ../../pkg/..., ../../controllers, ../../api/v1beta1
composite coverage: 48.2% of statements

Ginkgo ran 1 suite in 40.122681024s
Test Suite Passed

I'll remove this commit now that we have an artefact demonstrating that it works.


Update to the latest development snapshot

After some time off, Apple has pushed a new development snapshot with a bunch of new goodies.
Note that we are now tracking the development snapshots, as opposed to the newly-introduced 2.2 release snapshots which don't include the Swift Package Manager

Tested this out for one of my own projects (see https://isbartfucked.cfapps.io), and it works for me.

Thanks @younata! I'm going to go ahead and merge this (Before the next snapshot gets pushed :smile:)


[WIP] Run FSharp.Formatting on FCS only

remove dependency on VFPT.Core
upgrade to FSharp 4.1
colorize more token types
upgrade to netcore?

@matthid after this maybe we could work on polishing up the infrastructure for this repo, setting up the dotliquid lib, and making this generally easier to work with?
I know I need to adjust the tests since there are a lot more token kinds and I'm not sure that the changes I made are working quite right. It'll probably be a while before I get around to finishing this, I've got a lot of other things I'm working on atm

@cloudRoutine not sure what you mean.
regarding these changes: I generally like the move away from vfpt, because it will get rid of some weird errors when the api of fcs broke. However: Our lobrary users still have the same problem (like vfpt.core has). Really the problem is that fcs breaks its api all the time and all core fsharp projects need to fix it.
Isn't the correct dependency Fsharp.editing for colorization?
Maybe it's easier if this pr contains no colorization changes and just the updates?

you're gonna have to give up on the giant github diff for this PR as a whole being anything close to readable. Although you can always go through commit by commit, and then it's pretty easy to see the changes, that's also why i title organization and formatting commits as such so they can be skipped over easily, but everyone insists on doing it the hard way /smh

Do we see comments in this PR when we comment in the commit?

The other problem is that a review is there to verify that things are still good. If I skip half of the commits because they are called "paket update or whitespace changes" nobody verifies those commits and accidential problems might introduce

for example some whitespaces matter in this repository
you might have wrongly commited other stuff in addition to whitespace changes
...

@matthid that's fair, but at that point you might as well just read through the source straight through once I'm done.
There's a lot of technical debt that's accumulated here, and paying it off is gonna be messy 😁

There's a lot of technical debt that's accumulated here, and paying it off is gonna be messy 😁

Sorry if I disturbed you, I thought it might help :).
Ok I'll wait. Thanks for taking care of this

nah you didn't bother me, I just don't want you to waste your time perusing diffs that'll probably be outdated quickly.

@matthid apart from the 17 FSharp.Metadata.Format.Tests which are all failing due to YaafFSharpScripting this is the last failing test
Test Name:	Simple code snippet is formatted as HTML
Test FullName:	FSharp.CodeFormat.Tests.Simple code snippet is formatted as HTML
Test Source:	C:\Users\jared\Github\Forks\FSharp.Formatting\tests\FSharp.CodeFormat.Tests\Tests.fs : line 56
Test Outcome:	Failed
Test Duration:	0:00:00.104

Result StackTrace:
at FsUnitTyped.TopLevelOperators.shouldContainText@62.Invoke(String message)
   at FsUnitTyped.TopLevelOperators.shouldContainText(String x, String y)
   at FSharp.CodeFormat.Tests.Simple code snippet is formatted as HTML() in C:\Users\jared\Github\Forks\FSharp.Formatting\tests\FSharp.CodeFormat.Tests\Tests.fs:line 57
Result Message:
System.Exception : "let" is not a substring of "

1:

let hello = 10

"

There is still another problem with the C# test-project...

stupid xbuild. too many things don't work for it that are supposed to 😑

@matthid you can see the metadataformat errors that I was talking about earlier in the CI output now

if you're trying to fix the travis build the issues are with stuff like
Copying packages/FSharp.Core/lib/net45/FSharp.Core.dll to bin/FSharp.Core.dll

the paths aren't always full, but this isn't the real reason why stuff is failing
can you enable appveyor for this repo?

I can repro this on windows as well on a clean checkout...
But CleanDirs should create the directory if it doesn't exist. Something is wrong here

the paths need to be full, that's the problem

why?

It always worked like this?

¯\_(ツ)_/¯
who knows?
Travis is the worst

I think the problem is that !! only matches existing stuff so its not the same as the old logic

so !! "tests/bin" is an empty sequence and CleanDirs never retrieves it as argument

Associated XML file '/home/travis/build/tpetricek/FSharp.Formatting/tests/bin/csharpSupport.xml' was not found.
Probably something with casing on linux... The defaults are .XML (no idea why)

This Build currently fails, because FAKE is using an older FSharp.Core and it therefore doesn't work on runtime... We should update FAKE to latest FSharp.Core (https://github.com/fsharp/FAKE/issues/1527).
This is only a quickfix, the correct fix is to update to the new netcore FAKE version which doesn't have this problem. Therefore I'll add a netcore output for FSF and change to the new FAKE version to get the version3  branch green.


Can you add support for android color format?

Color format: 0xAARRGGBB

just add setting:
"colorize.colorized_colors": [
        "ARGB",
    ],
"colorize.include": [
    "**/*.java",
],

It is already there in the colorized_colors array and i am using dart & flutter. The color does show but its really buggy, especially when scrolling inside the file. The color flickers between the wrong and the right one. Sometimes, it shows the right one when we are still, sometimes the other.
Wrong color:

Right color:


Fix branch reordering

The branch reordering endpoint is having problem recognizing the branches key in the request data. Sending the data is json instead of form data is one approach to getting these to work together.

Thanks!


Rack devices ordering drag and drop support?

Issue type:
[x] Feature request
[ ] Bug report
[ ] Documentation
Environment:
Python version: 2.7.5
NetBox version: 2.3.2
Description:
Rack devices add & edit. Please add rack devices ordering drag and drop ajax support.

Duplicate of #124. This won't be revived any time soon as we have a huge backlog of more pressing features to implement.


Feature request: retry all delayed jobs

As the title suggests, it would be nice to be able to retry all delayed jobs rather than having to wait until they get automatically retried (in some cases that could take a significant amount of time).

Thank you for the feature request 🙏🏼


Multiple HDHomeRun Devices?

Is it possible to configure HDGrandSlam to use multiple HDHomeRun devices? I'd like to have more than 2 TVs watch television, but I don't want to buy another device if it won't work through Plex. :)

It will automatically work with however many you have on your network
On Feb 11, 2017 8:23 PM, "shawnp0wers"<EMAIL_ADDRESS>wrote:

Is it possible to configure HDGrandSlam to use multiple HDHomeRun devices?
I'd like to have more than 2 TVs watch television, but I don't want to buy
another device if it won't work through Plex. :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jumpmanjay/HDGrandSlam.bundle/issues/14, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ATeY4JxcCHA37_1dhzMgxohWlNRAy7Fgks5rbm0WgaJpZM4L-XlL
.


proposed fix for dynamics back-prop

reward preds are not detached so as to yield policy_loss.require_grad = True (see diff in commit 7677f5c)

It is important that the reward predictions are detached.

Thanks! That was a bad guess.
Going back to questioning the assert, I've updated the branch to enforce it only when using reinforce.


Add Tests

These should run on just script.moon, to verify that my VNDS interpreter is bug free.
Use https://github.com/bluebird75/luaunit to run the tests

Basic tests have been written in the spec directory, using busted.


Change library name?

max has a name collision with the in-built max. Don't know if could be a big problem but certainly, we could change max to something else. Ideas? (metax, metajax, ...) ?

Thanks for pointing this out. This can potentially lead to problem which can be worked around but it's better to change the name to avoid confusion. I like MetAX.

https://pypi.org/search/?q=metax&o=

Solved #12


fix: include /support/* files into lit-virtualizer npm package

Fixes #4426

This was my first contribution to Lit project. Thank you for taking this PR so fast.


2019 03 25 monero 14.0.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cleanup from #57247
tested with nix-shell -p nix-review --run "nix-review pr 58250"

[thedavidmeister@nixos:~/nixpkgs]$ nix-build $NIXPKGS -A monero-gui --run-env

[nix-shell:~/nixpkgs]$ monerod
2019-03-25 11:43:40.811     7f89bfa7bc40        INFO    global  src/daemon/main.cpp:287 Monero 'Boron Butterfly' (v<IP_ADDRESS>-unknown)
2019-03-25 11:43:40.811     7f89bfa7bc40        INFO    global  src/daemon/protocol.h:53        Initializing cryptonote protocol...

note the GUI is broken in master, with a pending fix in #57921

@rnhmjoj fyi

Seems good to me. Can we merge it yet?

Btw, you don't need to recreate a PR: you can do an interactive rebase (git rebase -i HEAD~3 for 3 commits) and the force push.

@rnhmjoj yeah i'm happy to merge, thanks for the tip
i can't actually merge tho, who has the right permissions?

Yeah, we have to ask. Ping @Mic92 @xeji who reviewed monero stuff earlier.


IE8,IE9 support

Hi, this is a perfect library for creating HTML5 hand-coded banners without using any software (GWD, Adobe Animate). Output is perfect small (lot of ad servers have limits up to 50kB for an HTML5 banner) and does all the animations needed in banners.
Do you plan IE8 and IE9 support ?
How can we easily achieve it when no support is planned, please ?

Hi! As the description says, Animate Plus is for modern browsers so I don't plan on supporting IE8 and 9. While not trivial, it wouldn't be impossible for you to fork it and to make it compatible though.


Create a smart contract that implements ERC721 and backs instances with metadata records.

This issue will require the NFT api to be implemented first (#778) in order to add the required URI/HASH fields to records.

this was merged with PR #125


Missing notebook for SWAP Gate Challenge

It seems like there should be two notebooks in this repo as noted here:  https://www.ibmquantumawards.com/#/event

Thank you @crazy4pi314! This is fixed, closing for now but please do let us know if we're missing something.


Remove house delete modal as no method on back-end

🚀 Description

📄 Motivation and Context
The method is not available, so it makes no sense to keep this.

🧪 How Has This Been Tested?

📷 Screenshots (if appropriate)

📦 Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

[ ] My code follows the code style of this project(Do your best to follow code styles. If none apply just skip this).
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@Tobi406 Do you instead want a corresponding method in the backend?

If it can be done properply, why not? So yes, a method on the back-end for that would be a good idea

@Tobi406 Merging as of now. Lets brings this back again once the method is available in the backend.


I mean is not None?

https://github.com/opentracing-contrib/python-flask/blob/c7270ca4c6ac9c5189c45c60714afd582af50087/tests/test_flask_tracing.py#L225

Why are we checking code 200 in this test? There should be a 500 code.

This package is no longer being maintained, users should migrate to the opentelemetry-api package.
Closing.