sandboxes-gpte.ocp4-sustainable.event-1 missing libs

Hi @newgoliath
I tested the sandboxes-gpte.ocp4-sustainable.event-1 following the steps mentioned here
https://github.com/piparul/kepler-labdemo-bookbag/blob/main/workshop/content/exercise1.adoc

The step make deploy IMG=quay.io/sustainable_computing_io/kepler-operator:latest needs the bastion host to be installed with make. Do we expect the students to install make or can we have the bastion host pre-installed with make?

we also need go 1.18. I did a manual sudo dnf install -y go and that installed go version go1.17.12 linux/amd64

No make!  wow!  We can add all these things.
Which RHEL has go 1.18?
Would you be interested in having ALL this automated - including the lab instructions - so you can focus on more Kepler use cases?

That would be very helpful. I am not sure about which Rhel has go 1.18. But this web page has the following information
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.7_release_notes/index
The following performance monitoring tools have been updated in RHEL 8.7:

PCP 5.3.7
Grafana 7.5.13
Updated compiler toolsets
The following compiler toolsets have been updated in RHEL 8.7:

GCC Toolset 12
LLVM Toolset 14.0.6
Rust Toolset 1.62
Go Toolset 1.18

For now I am going to install Go binary archive from their official page https://go.dev/dl/ to continue with the end to end lab testing and update this issue with anything that is missing.

FYI I ran the following to set up the env.
sudo dnf install -y make
wget https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
tar -xzf  go1.18.10.linux-amd64.tar.gz
cp -R go /usr/local/

Added following in ~/.bashrc
PATH=$PATH:/usr/local/go/bin
export PATH

Check the go version
go version
go version go1.18.10 linux/amd64

cc @newgoliath @rhjcd

This should be fixed.


unable to publish 3d multipatches as web layer

I am unable to publish 3d multipatches as a web layer in on the NSEC portal.  I should be able to publish 3d layers to any 10.3.1 portal.  I can publish the same 3d layer to another 10.3.1 portal.
Good portal

Bad portal

@NatalieCampos this might be the same issue that @craigcleveland ran into if he was signed in to more than 1 portal. Might be worth checking with him to see if he resolved it.

I will check with him but I don't think it is the same issue as I was only signed into 1 portal when I ran into the problem.  I was able to sign into a dev portal and publish while still being connect to nsec but I just can't publish from nsec.  I did run through testing with the 3d team to try to isolate the problem.  We think it is a portal configuration problem or a permissions problem.  I don't know.

The issue is similar, but I don't think it's the same.  I also couldn't publish a multipatch as a web layer, but the reason for the issue I was facing is I could not get signed into a particular Portal.  Once I was able to get signed in I could publish.  My challenge has been that intermittently I'm unable to get signed into Portals for some reason (which subsequently presents the same challenge Natalie is facing).

@elinz I am able to publish 3d polygon layers to the UC trial Ops Server using the same data that failed for the NSEC server.  I am unsure what the difference between servers is.
https://nsecmini07.esri.com/arcgis/home

@elinz Any update on this issue?  I'm finding the identical experience to @NatalieCampos - I'm able to successfully publish polygon multipatch feature classes (e.g. buildings) to other Portals, including my own and UC related NSEC Portals (e.g. nsecmini04), but not the "master" NSEC Portal.

@CraigCleveland Can you provide me data so I can reproduce? Thanks.

@elinz I've sent some sample buildings for you to work with via email.  The file size was too big to attach here.

@CraigCleveland What are the steps to reproduce? What type of ArcGIS Pro project are you creating?

@elinz you can reproduce by opening ArcGIS Pro, creating a new Scene, adding the buildings I sent and then trying to Share as Web Layer.

@CraigCleveland Thanks. I'll have to look at this another time. Right now I can't publish any hosted service to the portal from ArcGIS Pro or ArcMap.

@CraigCleveland I created a local scene project in ArcGIS Pro, added the buildings you provided, but on the Share ribbon there is no Share as "Web Layer" icon. There is only a Share As "Web Scene" and it's disabled.

@elinz that was the initial experience @NatalieCampos had, as well as I had, but I was able to move beyond that when @ACueva bumped me up to Admin temporarily.  Not that that should have anything to do with it, but that's what worked to at least enable the button...however publishing continued to fail.

@CraigCleveland my account is an administrator.

@elinz This is what needs to happen

you have to be logged into a portal account

you need to have your buildings as a 3d layer. Use the Layer 3D to Feature Class to create the 3D layer.

You can share your buildings as a 3D layer so that they can be added to a portal scene by right clicking and sharing as a web layer.

Or you can share the web scene.

The main issue is that when published to other portals the exact same builidngs are successfully published and rendered in scene.  In our NSEC portal they are not rendered all other layers are rendered however.  I have shared my data with the 3D content team prior to UC and it was determined that there was no issue with the data I was using as the data was successfully published to two other portals.  The 3D team said it had to be our portal.  Bummer

@elinz any update on the status of this?

@CraigCleveland Found that the custom role for "Publish hosted scene layers" was disabled. I've enabled the role for all customer roles that allow users to publish hosted content. @NatalieCampos is going to re-test in the morning. I've tested and as a non-administrator I was able to publish the buildings you provide me successfully as a web scene. I could then view the buildings in scene viewer once the cache job was finished. Won't close until you can verify the fix.

@elinz that's great news!  I just ran a quick test with no luck, but I am on VPN now and have mix luck with NSEC while off the network.  I'll try it again in the AM and let you know how I make out.

@elinz I tried to publish buildings again this morning and was met with failure, but after re-reading your note above I think it may have to do with my role.  At the moment I'm listed as an Administrator (a remnant of troubleshooting pre-UC with Avi I believe), and you noted your update was to all "customer" roles and that you used a non-Admin role in your testing.  Due to that maybe a downgrade of my role is required?  I can't imagine why an Administrator couldn't publish Scene Services, but maybe you tweaked that role?  Anyway let's try moving me back to a standard role for an SE and see if we can find success.  Thanks.

Administrators can publish web scene layers. My user as an admin can publish and I tested changing my role to a custom role such as solutions team member and can publish no problems and the buildings draw once the caching job has finished.
-------- Original message --------
From: Craig Cleveland
Date:09/01/2015 5:23 AM (GMT-08:00)
To: Esri/ops-server-config
Cc: Eric Linz
Subject: Re: [ops-server-config] unable to publish 3d multipatches as web layer (#837)
@elinzhttps://github.com/elinz I tried to publish buildings again this morning and was met with failure, but after re-reading your note above I think it may have to do with my role. At the moment I'm listed as an Administrator (a remnant of troubleshooting pre-UC with Avi I believe), and you noted your update was to all "customer" roles and that you used a non-Admin role in your testing. Due to that maybe a downgrade of my role is required? I can't imagine why an Administrator couldn't publish Scene Services, but maybe you tweaked that role? Anyway let's try moving me back to a standard role for an SE and see if we can find success. Thanks.
—
Reply to this email directly or view it on GitHubhttps://github.com/Esri/ops-server-config/issues/837#issuecomment-136694423.

@CraigCleveland did more testing. I can publish a web scene and the buildings successfully display (after caching), but I when I publish the buildings layer in ArcGIS Pro as a web layer and then try to the web layer in Scene Viewer I receive an error stating "Layer cannot be added: Multipatch Feature Services are not supported.

@CraigCleveland Published the buildings as a web layer to another 10.3.1 portal/server and the building feature service does add to Scene viewer and does draw. Hmmm?

@elinz that's been my experience all along...  Not sure what's happening with NSEC Portal???

@CraigCleveland @NatalieCampos When you publish the web layer, both a feature layer item and scene layer item are created in the portal. When adding to scene viewer you have to add the scene layer not the feature layer (even though "Add layer to scene" is in the context drop down control). Adding a feature layer to scene only works if the underlying feature service is not multipatch.

@elinz I'm cooking with gas now.  I am able to successfully publish Scene Services with multipatch features!  The bottom line is it takes awhile on NSEC for the building cache to be built, but after that completes it's good to go.

Resolution summary:

Non-administrators could not publish web scenes or web layers because the "Publish hosted scene layers" role was not enabled. Enabled for all custom roles where we allow users to create hosted type of content.
The data won't display in the Scene Viewer until the cache has completed building. The caching process took awhile on the dev server so unless you checked on the caching job to make sure it complete you would believe the publishing process failed somewhere in the process.
Although the "Add layer to scene" context option is available on feature layer items, this only works if the underlying feature service isn't multipatch. Instead of adding the feature layer to the scene viewer you must add the scene layer that is created when you publish the service.


Added Delete Notification

implemented delete method for notification using same format as add notifcation method.

Hi @lmcnally47,
This is awesome! 💯
Merged and published as 2.0.9.


Fixed and oversight with piped input to Restore-DBFromFilteredArray.ps1

Fixes #
Didn't cope with non ordered pipeline input, put in Begin/Process/Finish blocks
to make sure it's ordered before it hits the lineage checks.
Changes proposed in this pull request:

How to test this code:

[ ]
[ ]

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

Didn't cope with non ordered pipeline input, put in Begin/Process/Finish blocks
to make sure it's ordered before it hits the lineage checks.

changed label


Websocket

Hi! Excited that you've put so much work into this great library; thank you!
What would you think about some sort of two-way websocket that would allow non-JS/TS libraries to interact with this? I'm thinking of Home Assisstant, which is Python-based; rather than re-implementing everything you've done in Python, a read/write websocket could allow a Python library to interact with Eufy Security via this library.
You could even do read-only as step one.￼
I'm a top Home Assistant contributor and own several Eufy Security devices, so I would be happy to collaborate with you on this!

Hi, thank you very much.
How the zwave-js-server project?
I could start implementing an eufy-security-server as my free time allows.
If you do the rest, I'm in ;)

zwave-js-server is doing great! It's the example I'm thinking of: by having that websocket, the Home Assistant core integration development with ZWave-JS has gone super fast.

I could start implementing an eufy-security-server as my free time allows.
If you do the rest, I'm in ;)

Wonderful! No pressure, of course; I'm sure you're busy. That said, looking forward to working with you!

I think this weekend I will publish a first version. I let you know. ;)

The first version is almost finished, but I still need a little time.
I still need to abstract the parameters of the station and the devices (high level api).
A small screenshot of the test client (included with the server, as with zwave-js-server project):

Sorry for the delay, but I didn't have as much time as I had hoped.
Small status update:
I have now rewritten part of the driver to abstract the parameters. This part is not finished yet, but first tests already give a good result. As soon as it is finished, I can complete the first version of the websocket implementation.
I will keep you informed.

Small status update:
The driver part is done and also the first websocket implementation, now I have to test everything and check if it works as expected.
Still a little patience ;)

Good news I have released the first version:
npm: https://www.npmjs.com/package/eufy-security-ws
github: https://github.com/bropat/eufy-security-ws
For any bugs please open an issue on the above repo, if the bug is in the websocket implementation

Cool! Great work, @bropat! I'll take a look soon.

@bropat I've played around and, in short, I'm elated. This is going to be great. Thanks so much for your collaboration on this!
Here are the next steps I'd like to pursue; some of them will require your help and others (i.e., Home Assistant-specific things), I'll take back into our community (unless, of course, you want to be involved!):

[ ] Create a Docker image of eufy-security-ws – I will submit the PR, but will need your help in setting up pushing multi-arch Docker images to Docker Hub and GitHub container registry (I can help with this, as I've done it before).
[ ] Create a Python library (perhaps python-eufy-security-ws) that can abstract communication with this websocket into a Python modality – I will handle this.
[ ] Create the official Home Assistant integration.
[ ] Create a Home Assistant add-on so that Home Assistant OS users can easily install eufy-security-ws without having to know Docker – I will handle this.

I'll make sure to submit bugs/issues/requests in the eufy-security-ws library; if I post something in the incorrect place, please correct me.
Thoughts on the above (especially your help with pushing Docker images)?

@bachya Thank you, you are welcome.
I am always interested to learn new things ;)
I have added you as a collaborator so that we are faster.
The points mentioned sound good  :)

@bropat Excellent! Thank you!


Turn on upload documents feature

Ensure environment variable feature flag is updated in all places

I've already done a TF apply to production having set it production.tfvars, so it's live. Will PR that on the secrets repo as well.

I've updated the secrets already and it has been merged (I was doing this while you were but I started at the opposite end of the process)


Using isEmpty instead of count for the array pop method

Per discussion previously using isEmpty on the array instead of count

That guard is really confusing. It reads like "if array is not 'not empty' then return nil. isEmtpy is better than count == 1 but I think guard should be reserved for failing to bind an optional value at the beginning of the function.

I like the use of isEmpty, but agree that guard makes it more confusing than it needs to be. So I'll close this PR and make those changes.

Why not simply...
if array.isEmpty { return nil }
return array.removeLast()

I don't think an else is necessary here.

The else is not strictly necessary, but in my opinion it does clarify the flow of what's going on.

In that case, what about ...
return array.isEmpty ? nil : array.removeLast()

:smile:

Perfectly fine, but since the goal of this project is to teach algorithms I'd prefer to stick with an simple if-else since everyone understands that.


Opt parshan

mostly worked on emg.rs and some modifications in mod.rs

Can you please run cargo +nightly fmt to run a linter on the commit.


Support govuk-frontend v5

And moj-frontend v2 to match.
Changes we had to make:

Update path of dist files in govuk-frontend
Remove data-module="govuk-details" (it no longer does anything)
Use [disabled] attribute rather than govuk-button--disabled class (which has been removed)
Update body class initialisation
Stop converting tag contents to lowercase (they are no longer automatically-uppercased)
Add type="module" to the <script> tag

#minor

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b618c7d) 74.26% compared to head (fc67046) 74.26%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   74.26%   74.26%
=======================================
  Files         103      103
  Lines        4174     4174
=======================================
  Hits         3100     3100
  Misses        770      770
  Partials      304      304

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


Update example to actually use headless browser

First example says "using headless browser" so the puppeteer headless param should be true.

Thanks @Steve0929 !


New extension: Curator.bio

Description
Add the new extension for https://beta.curator.bio/
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @pernielsentikaer, I've pushed one commit to show message when error occurred. I also have another problem.
Since curator.bio lacks a public API, I used the Raycast Cache API and tough-cookie to preserve login sessions rather than keeping access tokens in preference storage. However the login status of a session cannot be reset by changing the email or password because the cookie is persistent between requests. The possible solutions might be:

Completely remove session caching. Each command sends login request every time.
Provide a way to clear the cache when changing preferences. But I'm not sure how to achieve this.

Have you got any suggestions?

That would also be a shame since it will make it more responsive and snappy
I'm pretty sure we did something similar in Liveblocks - there we saved a hashed value of the password and compared it

Just for future reference in case someone ends up looking at this issue for something.
The Liveblocks extension is being updated to simply use the secret key, so if you're looking for the previous implementation mentioned in this issue, you'll need to check a historic version of the extension.


Feature Request - Uninstall Modules & PowerToys Run Plugins

Description of the new feature / enhancement
PowerToys is a great Windows productivity enhancement tool. Right now though, it takes up around 800 MB according to the Windows Settings app. This was addressed in Release v0.72, but I have an idea to take it farther. What if you could uninstall certain modules? A way this could be added is by adding an uninstall module button at the bottom of every module's page. The uninstall module button would turn into an install module button if the module were uninstalled. This could reduce the amount of storage used by PowerToys' folder located in "%UserProfile%\AppData\Local" from about 2 GB.

A similar GUI functionality could be implemented for PowerToys Run Plugins.

Scenario when this would be used?
When a user wants to install Starfield but doesn't have enough storage, they can uninstall unused modules to gain storage.
Supporting information
No response

Thanks for idea. I will try to do it.

/dup #25348


Template 2.13.1

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/vcftomaf branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@mirpedrol everything passes now linting and the basic tests, and some bigger tests on the lcuster. Idk why it still doesn't have status checks, tried enabling them but they don't appear 🤷♀


US Data Not Syncing

In the Calculator, the US Positive Test Rates do not appear to be syncing properly from Covid Act Now , as all the positive test rates on the microcovid calculator in California are listed as 3.3% and have been so for weeks, where currently Los Angeles is13.6% and San Francisco is 2.5%.
Looking at the automated spreadsheet  location data, positive test rate do not appear to be an included factor and it matches the calculation of estimated prevalence rate in the calculator (5.57% for Los Angeles).

It's not just positive test data - all our CovidActNow data (which is the entire USA) isn't getting updates.

We don't rely on covidactnow for anything other than positive test rates. We get cases from JHU. I don't see any evidence that we're failing to update case rates -- if you do, could you clarify?

Ah, you seem to be right. That's a relief.


docs: add usage

Coverage remained the same at 100.0% when pulling 1011743a709e918817d32d0bc5301062038fc367 on add-usage-docs into 138dd4422e234e30923166b33c96d5ff6ae6819b on main.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Errors using REST API with new iRODS BagIt workflow

In particular, there are at least two problems with the new iRODS BagIt workflow and the REST API.

When using the Python client library to download a resource that is not public, the creator/owner of the resource gets a "You do not have permission to download this resource!" error.  Example code is:
from hs_restclient import HydroShare, HydroShareAuthBasic
auth = HydroShareAuthBasic(username='myusername', password='mypassword')
hs = HydroShare('myhostname', port=8000, auth=auth)
resource = hs.getResource('e62a438bec384087b6c00ddcd1b6475a')
with open('/tmp/myresource.zip', 'wb') as fd:
for chunk in resource:
fd.write(chunk)

The result will be a file containing "You do not have permission to download this resource!" instead of a BagIt zip file.  I'm not sure why this is happening, and it's too late and I'm too tired to debug it now.  Also, you are more expert in the auth and the django_irods code than I am.

Adding resource files to an existing resource using the REST API fails.  Example code would be:
from hs_restclient import HydroShare, HydroShareAuthBasic
auth = HydroShareAuthBasic(username='myusername', password='mypassword')
hs = HydroShare('myhostname', port=8000, auth=auth)
fpath = '/path/to/somefile.txt'
resource_id = hs.addResourceFile('ID OF RESOURCE GOES HERE', fpath)

@selimnairb @pkdash This access control permission issue is not related to the new bagit workflow. The permission check is performed in the download view function, specifically, on line 18 in https://github.com/hydroshare/django_irods/blob/master/views.py, which calls authorize() function in hs_core.views.utils and only allow to download resource when it is authorized. This authorize() function is called multiple times in HydroShare web app as well and checks whether the user has at least view permission to the resource if the resource is not public. The fact that this permission check works for users who has logged in HydroShare web interface but not work for REST API makes me think the requesting user may not be passed in as part of the request correctly since authorize() function retrieve requesting user info from request parameter being passed in. I will have to debug to see what is happening here, but since @selimnairb and @pkdash knows REST API auth much better than me, if you two have some ideas on this issue, let me know. I may not be able to work on this issue until Michael, Ray, and I sort out large file uploading issue with the new bagit workflow.

@hyi I am confused then, because hs_core.views.resource_rest_api.ResourceReadUpdateDelete.get() calls the same authorize function (though with slightly different arguments, see here), which is granting permission.  Could you look at this and advise as to what I may be doing wrong.

@selimnairb @pkdash @ironfroggy It looks like it is an issue of get_user() function in hs_core/models.py, which is called by authorize() function. Look at https://github.com/hydroshare/hydroshare/blob/develop/hs_core/models.py line 35 NOTE: The API key portion has been removed with TastyPie and will be restored when the new API is built, and I don't see it restored, and suspect get_user() does not return a valid user, hence authorize() function fails to authorize a user when being called from REST API. Could you three take a look and see whether this get_user() could be the culprit for this permission issue?

I assume the REST API is not using API KEY for authentication at this time. Then I am not sure why the get_user() would fail?

I did some debugging with REST API for downloading a resource file. It seems the authentication passes when the authorize() function is called with the REST API view class. But then with HttpResponseRedirect(file_url) it fails authorization() within the django_irods/views.download() function since the same request object it not passed to the download function.

That confirmed my suspicion. request has to be passed to the download function in django_irods for user-resource authentication. @selimnairb, could HttpResponseRedirect() be replaced with something like Render or RenderToReponse so that request can be passed in for authentication purposes?

For the mapping the URLs from the resource map I am currently implementing a new view function that also uses the HttpResponseRedirect(file_url) and I do not see any authorization problem. The authorization passes both in this new hs_core/views/file_download_mapper() function as well as with the django_irods download() view function.

@pkdash Thanks for debugging this.  I'm looking for a solution.

OK. Now that I think of this further, If I remember correctly, I think even with HttpResponseRedirect, the calling request is somehow implicitly passed in to a view function that maps to the redirected URL, which may explain why use of HttpResponseRedirect() also works for @pkdash. @selimnairb, another possibility for authentication failure could be the calling request has a wrong user or does not have user defined somehow, so might be worth checking.

@pkdash Can you refer me to the code you are talking about.

@hyi HttpResponseRedirect responds with an HTTP redirect (HTTP 301 or 302).  It is up to the client to follow the redirect.  My guess right now is that the REST client, which uses the Python requests library, is failing to pass the authentication information in on the redirect.  I might not have a solution until tomorrow.

@selimnairb is probably right in saying the request library fails to pass the authentication information on the redirect. When I did the test for my new code that has the redirect I was not using the request module. I did that test using the browser.That's why redirect worked in my case.

@selimnairb and @hyi  it seems using the rest framework decorator @api_view(['GET']) on the django_irods download() view function resolves the issue. However, I am not sure if it is the right solution.

@selimnairb @pkdash I am not familiar with the rest framework, but I think the issue that causes download view function failure is the requesting user not being passed in. Perhaps this @api_view() decorator gets requesting user straightened out, so it works?

@pkdash Thanks for debugging this.  I will incorporate this for now as it allows the Python client library to work as it did before, and does not seem to have a negative effect for non-API access.

@selimnairb I think this issue is fixed on dev, right? If yes, could you close this issue?

This issues is fixed on dev.  Closing.


expose whether or not the dgram send queue is full

Useful for knowing when to "wake up" dgram writers. If it goes from full -> !full, we can re-attempt dgram sends.

So technically I think this could always be done if you compared the length of the queue (dgram_send_queue_len) to the configured length. No argument from me that full() is more ergonomic though. For parity, could you add is_dgram_recv_queue_full too?
I think you could also tweak the dgram_multiple_datagrams test too to add coverage of these methods. If you drop the queue sizes to match the number of datagrams being exchanged, you can add in a few assert!(full) and assert(!full) checks.

So technically I think this could always be done if you compared the length of the queue (dgram_send_queue_len) to the configured length.

Yep, this is what I've been doing, but since there's no way to query the configured length I've had to create my own variable and carry it around.


negative regulation of calcium-mediated signaling

Hi,
Could I request the new process term "negative
regulation of calcium-mediated signaling", as a (grand-)
child of 'calcium-mediated signaling' ( GO:0019722 ).
Definition:
Any process that stops, prevents or reduces the rate of
calcium-mediated signaling activity
Pubmed literature reference: 11696592
Thanks,
Emily
(for annotation of Q9H6Q3 + IDA)
Reported by: edimmer
Original Ticket: "geneontology/ontology-requests/1494":https://sourceforge.net/p/geneontology/ontology-requests/1494

thanks www.movied.org


Task-5,Task-6,Task-7,Task-8

@Chandrika-97
Task – 5
Code verified.
Task – 6
Code verified.
Task – 7
Code verified.
Task – 8
Code verified.


Add translations for security questions

Added the french translations for the following URLs:

/login/securityQuestions
/login/securityQuestions2
/login/questions/child
/login/questions/addresses
/login/questions/dateOfResidence
/login/questions/prison
/login/questions/bankruptcy
/offramp/securityQuestion

Still have a few edge cases, but this is good for now.
Need to have @EliseKa look it over.

Hi Élise,
There are some translations missing:

Please enter your child’s last name

(on https://cra-claim-tax-benefits-pr-213.herokuapp.com/login/questions/child?lang=fr, if you just click "Continuer" without putting data in)

Please select which date you are providing

(on https://cra-claim-tax-benefits-pr-213.herokuapp.com/login/questions/prison, if you just click "Continue" without putting data in)

Please enter your trustee's last name

(on https://cra-claim-tax-benefits-pr-213.herokuapp.com/login/questions/bankruptcy, if you just click "Continue" without putting data in)

This page is currently under construction
We are currently in the process of building this page. You can still proceed through your session by clicking Continue

(on https://cra-claim-tax-benefits-pr-213.herokuapp.com/login/questions/temp)

And we also have this page, but we're not planning to test it, so we don't have to do it right now.
https://cra-claim-tax-benefits-pr-213.herokuapp.com/login/questions/trillium


Join is extremely slow

My Environment

ArangoDB Version:        3.7.3
Operating System:        Ubuntu 20.04
Total RAM in your machine:        32Gb + 32Gb swap
Disks in use:        SSD

Component, Query & Data
AQL query:
FOR a IN identities
  FOR b IN identities
    FILTER a.ip == b.ip AND a.id != b.id
    INSERT {_from: a._id, _to: b._id} IN ips

AQL explain and/or profile:
Query String (128 chars, cacheable: false):
 FOR a IN identities
   FOR b IN identities
     FILTER a.ip == b.ip AND a.id != b.id
     INSERT {_from: a._id, _to: b._id} IN ips

Execution plan:
 Id   NodeType                        Est.   Comment
  1   SingletonNode                      1   * ROOT
  3   EnumerateCollectionNode        87260     - FOR b IN identities   /* full collection scan, projections: `_id`, `id`, `ip` */
  2   EnumerateCollectionNode<PHONE_NUMBER>       - FOR a IN identities   /* full collection scan, projections: `_id`, `ip`, `id` */
  4   CalculationNode<PHONE_NUMBER>         - LET #3 = ((a.`ip` == b.`ip`) && (a.`id` != b.`id`))   /* simple expression */   /* collections used: a : identities, b : identities */
  5   FilterNode<PHONE_NUMBER>         - FILTER #3
  6   CalculationNode<PHONE_NUMBER>         - LET #5 = { "_from" : a.`_id`, "_to" : b.`_id` }   /* simple expression */   /* collections used: a : identities, b : identities */
  7   InsertNode                         0         - INSERT #5 IN ips

Indexes used:
 none

Optimization rules applied:
 Id   RuleName
  1   move-calculations-up
  2   move-filters-up
  3   interchange-adjacent-enumerations
  4   move-calculations-up-2
  5   move-filters-up-2
  6   remove-data-modification-out-variables
  7   reduce-extraction-to-projection

Write query options:
 Option                   Value
 waitForSync              false
 skipDocumentValidation   false
 keepNull                 true
 mergeObjects             true
 ignoreRevs               true
 isRestore                false
 ignoreErrors             false
 ignoreDocumentNotFound   false
 readCompleteInput        false
 consultAqlWriteFilter    false
 exclusive                false
 nullMeansRemove          false

Index:

Dataset:
List containing ips
ex:
{user_id: 123,ip: "<IP_ADDRESS>", user_agent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0"}
87260 elements
Problem:
It executes very long time, to insert, because join result is<PHONE_NUMBER> =87260 x 87260.
Am I doing it in wrong way? I was planned to join multiple attributes, like user agent with user agent, etc, but now I see ip with ip attribute takes so long to generate.

EnumerateCollectionNode is a full-collection scan. you should strive to reduce the number of documents to be processed by using an index. A reduced document count will improve the performance.

But I made index, following:

Should I manually create edges and import, instead of quering in arangodb?

sparse indices aren't able to be used for all filtering operations.
don't all your fields contain an ip attribute? maybe better first normalize that?

I imported whole database from mysql, and trying with arangodb make relations, ip->ip, user_agent->user_agent, product->product, and so on to make clustering map.
I can prepare csv with nodes, but I hoped that in arangodb I can make joins, like in neo4j.. but it seems that very in efficient in arangodb, while I looping twice within same collection. So maybe I am missing another approach to join with edges

well, how else do you get the cross-product of a collection? Self joins without index support are expensive by nature, regardless which RDBMS you use or which syntax you use to demand the respective RDBMS to compare each document with any other of the collection or table?

I compared those 2level loop in php, it worked only on 1cpu at 100% cpu, and it finished after 4192.7294900417 s, while arangodb still looping, with multithreading, 200-400% cpu..

Again.
Unless index lookup isn't working, it needs to cross compare all documents.
If you can't get that easily working, calculating the edges outside of arangodb will get you faster to your goal, in terms of implementation and calculation.

How many documents have an ip value and how many don't have this attribute or an explicitly null value?
If most documents have it, then don't tick the Sparse option and the index will be utilized.
A sparse index is not eligible unless you prove that there are no null values, like so:
FOR a IN identities
  FOR b IN identities
    FILTER a.ip != null AND b.ip != null AND a.ip == b.ip AND a.id != b.id
    INSERT {_from: a._id, _to: b._id} IN ips

This will utilize the sparse index on field ip.

You'll also want an index on id if that is the column imported from mysql.

Thanks for all, I solved by creating externally on php edges, as it is the best solution to create relations outside arangodb..

You'll also want an index on id if that is the column imported from mysql.

@Queatz That will not help here, because the condition is a negation.


Convert IconName and IllustratedMessageType into simple strings to re…

…duce footprint.

Still need to do the same automation for the illustrated messages.


There is no directive with "exportAs" set to "cdkDrag"

Reproduction
See stackblitz:
https://stackblitz.com/edit/angular-mhi8sg?file=app%2Fcdk-drag-drop-overview-example.html
Expected Behavior
As described in the API docs the directive should be exported as cdkDrag.
Actual Behavior
If I add the hashtag, to be able to reference the directive in my typescript class. Angular shows error:
Template parse errors:
There is no directive with "exportAs" set to "cdkDrag"

DragDropModule is imported!
Environment

Angular: 8.0.1
CDK/Material: 8.0.1
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Win10

In your example you're not using the directive.

You have to set the cdkDrag attribute on your element.


build: drop LEGACY_INCLUDE_PATH support

LEGACY_INCLUDE_PATH has been defaulting to "n" and marked as deprecated in both v3.2 and v3.3. Drop the option entirely for v3.4.

@fabiobaltieri we should also remove the migration script in scripts/utils

@fabiobaltieri we should also remove the migration script in scripts/utils

Gone!

CI fix: https://github.com/zephyrproject-rtos/zephyr/pull/55007


"Yes" button on update notification does nothing.

I assume it's supposed to open a browser window or download the update itself, but it just closes the application with no other effect. My default browser is Firefox.

Included in v2.16.9. You will have to upgrade manually one more time.


[Proposal] Alternative to ServiceEntry Synthesis

ServiceEntry is useful as a resource for authoring services in Istio. However, it has performance issues when used as the mechanism for sending service and endpoint information to Pilot.
Background:
Our current plan is to have Galley handle k8s service and endpoints events and generate synthetic ServiceEntry resources which it then sends to Pilot over MCP. The main goal of this work is to support endpoints for multicluster use cases, but it is also a step in removing the k8s dependency in Pilot altogether.
The ADS processing in Pilot relies heavily on knowing the type of change that occurred: service or endpoints. If the service changed (fairly infrequent), then a full update is required. However, if only endpoints changed, it is a candidate for sending an incremental EDS update to the Envoys. Incremental EDS drastically reduces the load on both Envoy and Pilot.
The Problem:
If the service and endpoints are merged together in a ServiceEntry, Pilot then has to perform some level of diff on the resource to determine what changed. Additional processing in Pilot is generally something we want to avoid, given the scalability concerns.
Proposal:
To avoid this problem, I propose two new protobuf messages (and Galley collections) which split out the service and endpoints components of ServiceEntry. This will generally not be a user-facing API, but instead will be synthesized by Galley when receiving k8s service/endpoints.  The collections can be served by Galley in two separate snapshots, allowing endpoints to be updated more frequently. When Pilot receives either snapshot, it will be able to process the event immediately based on the collection that was updated (no diff required).  We'll still be using incremental MCP at least for endpoints, if not both (I suspect we'll want to eventually transition all MCP clients in Pilot over to incremental, but we can table that discussion for now).
Additionally we can consider whether the existing ServiceEntry path in Galley should convert to these same protos.
The new protos could live side-by-side in the API repository with ServiceEntry and could even re-use some of the same types. This might help to simplify conversion between the types.

This is the same as my attempt in istio/api#628 which received strong push back based on various justified or less justified arguments. Maybe we can revisit splitting the Service and Endpoint API for real, instead of continuing the compromise and finding workarounds. These workarounds complicate the code base and do not contribute to the product excellence.
So I propose making this change all the way to the API level.

Note that the split is only useful if Envoy also supports true incremental EDS, which is the ability to send a single Endpoint (not what some people call incremental EDS which is sending a single cluster). That will be needed for services with large number of endpoints > 1000.
In the absence of incremental EDS in Envoy, Pilot will still have to send the full list of Endpoints for a single Service, so the split will not be so effective. Incremental MCP for ServiceEntry solves the problem of sending a single service with all the endpoints. There is no need to diff those endpoints, just pass them straight to the XDSPush in pilot @Nino-K

Just to clarify, the current EDS interface that pilot uses it sends all the endpoints associated to a service (hostname). Splitting serviceEntry into two protos would still benefit the current workflow in a sense that 1) we receive only updated endpoints and like @andraxylia mentioned we can just pass them through via EDS update. 2) we no longer have to iterate over the old configStore to do a comparison between serviceVersion&endpointVersion which were provided via annotations in our original contract.

Having separate collection just for endpoints sounds good, that's what I proposed from the start.
Having a 5th way to represent endpoint info - I don't see the point or benefits. We can express all the info about endpoint in ServiceEntry - or we can use the ClusterLoadAssignment ( i.e. the envoy proto which we use internally ), or even Service.Entries proto from K8s. In addition to the 3 representations we have IstioEndpoint we use internally.
And the HDS which we plan to implement soon adds the readiness/health info that is currently missing.

In general - the restriction that each 'collection' must have a different proto is arbitrary and should be fixed if it is still a limitation of MCP or Galley.

In general - the restriction that each 'collection' must have a different proto is arbitrary and should be fixed if it is still a limitation of MCP or Galley.

I don't agree. Even if we provided sub-resource versioning, we still run up against the problem of "what changed?" ... you end up doing the diff all over again. Perhaps Incremental MCP could take sub-resources into account and carve out only a portion of the resource when it sends it ... but that significantly complicates the protocol. And for little benefit, that I can see. If we get to the point of needing sub-resource diffing built into the protocol, I think it's clear that our data model is wrong.

I mean - I agree with having different collections, as you suggested. And
it has all the benefits - but without needing another proto to convert back
and forth from.
On Tue, Mar 26, 2019, 12:32 Nathan Mittler<EMAIL_ADDRESS>wrote:

In general - the restriction that each 'collection' must have a different
proto is arbitrary and should be fixed if it is still a limitation of MCP
or Galley.
I don't agree. Even if we provided sub-resource versioning, we still run
up against the problem of "what changed?" ... you end up doing the diff all
over again. Perhaps Incremental MCP could take sub-resources into account
and carve out only a portion of the resource when it sends it ... but that
significantly complicates the protocol. And for little benefit, that I can
see. If we get to the point of needing sub-resource diffing built into the
protocol, I think it's clear that our data model is wrong.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/12776#issuecomment-476813056, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFI6mnwIgNTavU-dltOAa8C7f8Rx2Enks5vanXRgaJpZM4cJ59g
.

But if we need to use a different proto than ServiceEntry - at least use a repeated ServiceEntry.Endpoint in the body, so we don't have to waste more CPU/memory and have more bugs converting between protos.

right @nmittler we need to fix this at the root.

We can consider using the new APIs just for the "synthetic" ServiceEntry and migrate the old API as a separate step.

@costinm MCP is designed to send Istio resources not sub-messages. All these workarounds just complicate the design. I still do not see a compelling justification on why not do the suggested split.

Ok, sounds like we're in general agreement that this is the right approach.  I'll put together a PR and we can continue the discussion there.

After some rounds of discussion, we've decided not to do this at this time.
Pilot's internal data structures are continuing to evolve. Once we have a better understanding of the "optimal" Pilot data model, we can switch the Galley API over to something more accommodating.


CCXWS exchange disconnect / reconnect not working..

Notice the following error intermittently - but no auto reconnect after it occurs:
connecting to wss://stream.binance.com:9443/stream?streams=!ticker@arr
events.js:167
throw er; // Unhandled 'error' event
^
RangeError: Invalid WebSocket frame: invalid status code 1005
....
at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Hi, you may want to check this issue https://github.com/altangent/ccxws/issues/57.  The latest version of the 0.23.0 increases the Binance reconnect timeout to prevent churn.

If this issue is still unresolved after 0.23.0 then we can reopen the issue.

Thx - we are still seeing disconnects
Sent from my iPhone

On 10 May 2019, at 17:16, Brian Mancini<EMAIL_ADDRESS>wrote:
If this issue is still unresolved after 0.23.0 then we can reopen the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Add --continuation-indent

It allows to define separator after ``...``` continuation mark. With this configuration:
robotidy --spacecount 2 --continuation-indent 4 --indent src

the example code will look like:
Keyword
    Keyword Call
    ...    arg  arg2  arg3
    ...    arg4  arg5

Codecov Report

Merging #331 (66be031) into main (67130d3) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #331      +/-   ##
==========================================
+ Coverage   97.28%   97.29%   +0.01%
==========================================
  Files          39       39
  Lines        2869     2886      +17
==========================================
+ Hits         2791     2808      +17
  Misses         78       78

Impacted Files
Coverage Δ

robotidy/api.py
93.93% <100.00%> (+0.39%)
:arrow_up:

robotidy/app.py
89.36% <100.00%> (-0.23%)
:arrow_down:

robotidy/cli.py
98.12% <100.00%> (-0.02%)
:arrow_down:

robotidy/config.py
100.00% <100.00%> (ø)

robotidy/transformers/IndentNestedKeywords.py
97.69% <100.00%> (+0.05%)
:arrow_up:

robotidy/transformers/NormalizeSeparators.py
100.00% <100.00%> (ø)

robotidy/transformers/SplitTooLongLine.py
100.00% <100.00%> (ø)

robotidy/utils.py
96.53% <100.00%> (-0.24%)
:arrow_down:

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 67130d3...66be031. Read the comment docs.

I will merge without review - I need this PR for several other PRs. But feel free to submit any comments, I will create separate PR to fix it.


Create one form

Somewhere within your site, you must have at least one form.
All forms must have a reset button
Our Assignment on Forms can be used as an approach and as a measure of the scope and breadth of the form required.

Note added on 2/20
Keep in mind that when the user clicks the submit button
we won't get an intelligent response because
we don't have a server with php code
that's ok as that's a topic covered in later courses

Completed in main


Fix Iteration

Turns out iteration was fundamentally broken, but in a way that worked the vast majority of the time.
We should add better iteration unit tests (will file a separate issue)

Noting the issue filed is #118


[DEMO] Fraud Detection

General information
Name
Sophie Choe

Demo information
Title
Fraud Detection
Abstract
Binary classification of credit card fraudulent transactions using Keras and Pennylane
Relevant links
https://github.com/sophchoe/Binary_Classification_Pennylane_Keras/blob/main/fraud_detection_Pennylane_Keras.ipynb

Wow @sophchoe! This is amazing! Thank you for contributing this new Demo!

Please let me know if you want me to create synthetic fraudulent data to increase the sample size.

Hi @sophchoe, I don't think you need any additional data. The algorithm is running nicely with the current dataset you're using! I was thinking though that it may be useful for others if the abstract was a little more detailed. Do you mind adding a little more explanation to the abstract? Thanks!

Hi Catalina,
I went more detailed with Readme. Let me know if you want me to elaborate further on the cutoff dimension concept. Thank you for all your feedback.

I additionally added a couple lines in the Jupiter notebook file as well.

This is great! Thank you @sophchoe. I hope we can put it up on the page today.

Hi @sophchoe, the demo is up! We will tweet about it on Thursday. Congratulations!!

Thank you so much for all your help, Catalina!

It was a pleasure! Thanks to you for creating this great content.


KOGITO-1180 - Allow to use business key as an alternative to generate…

…d process instance id

@cristianonicolai rebased and address sonar issues


Test for lkj_cov

No tests currently for lkj_cov, add var and double unit tests.

Should this be closed and moved to math (if not already resolved)?

Yeah we should move to math, though I think I took care of this already...will check when I'm back in front of a computer
Rob

On Mar 4, 2016, at 6:33 PM, Jonah Gabry<EMAIL_ADDRESS>wrote:
Should this be closed and moved to math (if not already resolved)?
—
Reply to this email directly or view it on GitHub.

Not a Stan issue.


feat: repository and templates client api

Changes

:gift: Templates management api
:gift: Repositories management api expansion

Prerequisites for #453 and #451
/kind enhancement

Thank you very much @lance for the review!  This one is a bit of a read.
If it passes muster now, we'll just need a consent for the googlebot and an /lgtm label to merge

we'll just need a consent for the googlebot

￼I think this might happen when accepting suggestions in the GitHub UI. A rebase squashing the commit should fix it.

@googlebot I consent.

/lgtm


Allow regex matching of artifacts with artifact ingester

This changes the ingester to also allow a tag_regex field as part of its
configuration. The idea is that folks would be able to write a profile with
a configuration that matches all release-related tags for their containers.
Such a configuration would look as follows:
artifact:
  - type: artifact_signature
    params:
      tag_regex: "v*"
    def:
      is_signed: true
      is_verified: true
      is_bundle_verified: true

@eleftherias yeah. However, we can't change that rule until this code is shipped in both staging and prod. Else, we'll have folks trying that out and failing to use it.

@rdimitrov https://github.com/stacklok/minder/pull/1716/commits/de1d57178a94c6c2ecd67875d185698b91ad368c addresses the feedback you gave via slack.

@rdimitrov found another issue; I'll work on it.

Fixed


Converting lambdas to std::function in cling

The following code is valid and compiles properly in cling, but not in the xeus-cling kernel, which crashes.
#include <functional>

std::function<void()> f = [](){};

In general, we have issues with converting lambdas to std::function when running in the C++ notebook, where the same code compiles fine with normal compilers.

cc @vgvassilev who may know what is going on here.

I suspect it comes from how we call the metaprocessor, to which we pass a Value unlike the usual cling user interface, and this function probably triggers a bug in that case.


[Question] Cluster support?

Heya! Does Colyseus supports multiple node instances running in a clustered environment? (e.g. pm2, node cluster, etc)?

Hi @overflowz, there's still a lot to improve regarding infrastructure. For version 1.0.0 this is definitely a must. Cheers!

Thanks for the info!


Look for text in all the scraped section names, and uncapitalise key name

Description
The old JSON format for the sections was:
"sections":{"Reference": ['....'], "Bibliograph": ['....'], "Endnote": ['....']}
where the keys are chosen based on what is in https://github.com/wellcometrust/policytool/blob/master/policytool/resources/section_keywords.txt
This PR fixes the problem where we were only looking for the 'Reference' section text (nothing else, i.e. bibliograph and endnote).
In this PR:

fix pdf parser main to not capitalise dictionary keys - fixes issue #195 https://github.com/wellcometrust/policytool/issues/195 i.e. "sections":{"reference": ['....'], "bibliograph": ['....'], "endnote": ['....']}
make section processing in refparse more generic to whatever section titles we have chosen to scrape (rather than only 'Reference')

Type of change

[ ] :bug: Bug fix (Add Fix #(issue) to your PR)

How Has This Been Tested?
make docker-test
==================== 60 passed, 24 warnings in 3.99 seconds ====================

And a great write-up of the change in the PR, @lizgzil .


Some c# upates

@jdavidberger needs to look at this, and remove the pre recorded data file

I've rebased out the large files and made some other misc. modifications and pushed it all, so these changes are now present in master without the log file.


Outdated link to docs in installer

The script at https://get.docker.com/ links to https://docs.docker.com/en/latest/installation/, which gives a 404 error. The correct link is https://docs.docker.com/engine/installation/.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO


feat: implement path transforms

Adds support for path transforming for the tar rule. Effectively making pkg_tar do everything pkg_tar can do and more.
Type of change

New feature or functionality (change which adds functionality)

For changes visible to end-users

Relevant documentation has been updated

Test plan

New test cases added

I think we determined that https://github.com/vbatts/go-mtree/ is the utility we want to bring for users to do this.


Fix the uri of ArmeriaServerHttpRequest to contain the base url

Motivation:
The uri of ServerHttpRequest in Spring Web flux contains the base URL.
Also, a negative value of "max-age" from "set-cookie" means no "max-age" attribute, we shouldn't set it.
Modification:

Add the base URL when ArmeriaServerHttpRequest is created.
Do not set max-age from set-cookie when the value is negative

Result:

Spring integration

Special thanks to @jinsankim for reporting this issue and providing useful hints and sample application. :heart:

Thanks, @trustin and @ikhoon!


:construction: WIP: Lasagna concept exercise

First concept exercise

@ErikSchierboom Happy to carry on working in this PR a little further first thanks.
Hoping to get a review from @b4d8 and then update the docs. Will ping you for a review when ready to merge (but obviously will keep exercise status WIP in the config for a while until we have planned out and implemented a few more concept exercises later in the year and can hopefully move some to BETA).

Hi @jonmcalder,
Great! I double checked the text and results. Everything looks good to me.
Here are some observations:

I had a look at how the different tracks implement this and noticed a divergence in how the value of expected_minutes_in_oven is declared. A function is also used in Rust (const is explicitly out of scope) while Javascript, Python and Go rely on constants. Julia doesn't expect it to be declared at all. I was thinking we could also store the value in a variable rather that wrap it in a function. This would demonstrate the fact that variables are accessible from within a function (related to scoping rules and environments without naming or talking about those concepts directly). I don't have a strong opinion on this though.

It doesn't seem really important but I also noticed that the actual value for expected_minutes_in_oven is set to 40 for Rust, Javascript, Go, Elixir and Python (also 60 for julia).. 🤷♂

Should we work on adding the following concepts: function, variables, arithmetic? We could then use a little summary as an introduction to the exercise (like julia?

I also like the way julia adds hints. Even if R doesn't have an official online documentation for people working on the website, we could refer to rdocumentation.org and ?"+" for cli users.

As for the next concept exercise, interestingly, also in julia, this exercise is followed by documented-lasagna which asks the student to document the lasagna's functions. While it might seem inappropriate to introduce roxygen so early, it also give room to explaining how to request help ? and use the documentation which I think could be of use for the student's journey. I prefer this approach to Python's which seems to force students to document all functions (in this exercise at least) which I think could be confusing. I we were to follow this road, using a function for expected_minutes_in_oven as it is would probably be less confusing.

I had a look at how the different tracks implement this and noticed a divergence in how the value of expected_minutes_in_oven is declared. A function is also used in Rust (const is explicitly out of scope) while Javascript, Python and Go rely on constants. Julia doesn't expect it to be declared at all. I was thinking we could also store the value in a variable rather that wrap it in a function. This would demonstrate the fact that variables are accessible from within a function (related to scoping rules and environments without naming or talking about those concepts directly). I don't have a strong opinion on this though.

Different tracks make different decisions. For example, in C# I chose not to use a constant, as I should then also explain what the difference between const and readonly is. It would also require more syntax to be learnt (the const keyword), which was not desirable for an introduction exercise that already introduces quite a bit. If it is nothing more than a variable in R, you could definitely consider it.

It doesn't seem really important but I also noticed that the actual value for expected_minutes_in_oven is set to 40 for Rust, Javascript, Go, Elixir and Python (also 60 for julia).. 🤷♂

Hmmm, that's odd :D

Should we work on adding the following concepts: function, variables, arithmetic? We could then use a little summary as an introduction to the exercise (like julia?

You could, but you don't have to. Most tracks have just one basics concept. This has two advantages:

It becomes easier to add as a prerequisite for other Concept Exercises (you just have to list basics, instead of having to list functions, variables, arithmetic).
You can have separate concepts for functions, arithmetic (and possibly variables) where you go much more in-depth , which is probably something you want anyway.

My recommendation would be to just have one basics concept.

I also like the way julia adds hints. Even if R doesn't have an official online documentation for people working on the website, we could refer to rdocumentation.org and ?"+" for cli users.

Sounds like a good plan.

As for the next concept exercise, interestingly, also in julia, this exercise is followed by documented-lasagna which asks the student to document the lasagna's functions. While it might seem inappropriate to introduce roxygen so early, it also give room to explaining how to request help ? and use the documentation which I think could be of use for the student's journey. I prefer this approach to Python's which seems to force students to document all functions (in this exercise at least) which I think could be confusing. I we were to follow this road, using a function for expected_minutes_in_oven as it is would probably be less confusing.

Is documentation an important part of R? If not, you don't have to have a comments exercise (which is usually rather dull anyway). I think most tracks don't have a separate comments exercise, and just explain what comments are in the basics exercise.

Thanks @b4D8 and @ErikSchierboom - very helpful!

Different tracks make different decisions. For example, in C# I chose not to use a constant, as I should then also explain what the difference between const and readonly is. It would also require more syntax to be learnt (the const keyword), which was not desirable for an introduction exercise that already introduces quite a bit. If it is nothing more than a variable in R, you could definitely consider it.

I'll consider switching to a variable then, as it is really straightforward in R. My only concern would be that it kinda implicitly introduces the idea of scoping (R uses lexical scoping) which we'd want to ignore until a little later on in the learning track. I assume that's ok?

My recommendation would be to just have one basics concept.

Thanks - will stick with basics for now and look to possibly go deeper into functions etc later on.

Is documentation an important part of R? If not, you don't have to have a comments exercise (which is usually rather dull anyway). I think most tracks don't have a separate comments exercise, and just explain what comments are in the basics exercise.

In R formal documentation usually involves adding skeleton comments adhering to a particular format which are used to generate docs in the officially supported format via an additional R library (roxygen). This is not required and usually only done when creating an R package so I think we should just stick with comments in the basic exercise and maybe introduce formal documenting of functions later on.

My only concern would be that it kinda implicitly introduces the idea of scoping (R uses lexical scoping) which we'd want to ignore until a little later on in the learning track. I assume that's ok?

Yes. The first couple of Concept Exercises (and especially basics) can be a bit hand-wavey and gloss over these details. You would then likely have a separate exercise where you introduce scoping.

This is not required and usually only done when creating an R package so I think we should just stick with comments in the basic exercise and maybe introduce formal documenting of functions later on.

👍


Envorinment variables are not picking.

Medusa backend url envoirnment variable is always pointing to localhost:9000 and not getting override by Envorinment variable values.

Medusa utilizes the NODE_ENV variable to determine which environment file to load and extends from base .env file. Ensure the correct NODE_ENV value is set to specify the appropriate environment configuration.
Example:
yarn start --NODE_ENV=production


Modify InetUtils to be able to retrieve all public IPs of the local machine under OsX

depends on #1202 and needed by #1173

The title should reference a concept or code that is in mainline. As it stands InetUtils doesn't exist yet (it's not in v0.x.x). Maybe we'll even rename it. So, I'd rename the issue to: Add ability to retrieve all public IPs of the local machine under MacOS.

Fixed: https://github.com/dlang/druntime/pull/3215


[rancher CLI]  Add support for service upgrades without configuration files

Even if it's doable through the REST API (https://github.com/rancher/rancher/issues/1874#issuecomment-180082502) rancher-compose should support doing in-service upgrades without the configuration files.

1

How are we expecting Rancher-compose to upgrade? Are we just expecting all the services in the stack to be upgraded?
The only thing that I could see changing is that it would re-pull the image if you have selected the appropriate label (io.rancher.container.pull_image:always).

Yes, we would just need to rebuild the container, re-pulling the image if requested. Sometimes just rebuilding the container with the same image is enough given that the entrypoint would be run again and could itself do whatever is necessary to update.

I would see the workflow as, for a particular service, not stack:
docker build -t quay.io/username/myservice .
docker push quay.io/username/myservice
rancher-compose --upgrade myservice
run-some-tests myservice
rancher-compose --confirm-upgrade myservice (or rancher-compose --rollback myservice)

Obviously I've generalised but, this is the workflow I'd like to see at least.

You do not want to see the deployment script I just wrote to handle this.
http://i.imgur.com/nQ50U.gif

https://forums.rancher.com/t/using-rancher-cli-to-do-upgrades-without-dealing-with-docker-compose-yml/4187

I have the same issue here, we use tags on the our images , example: docker build -t example.com/username/myservice:v2  .    be able to update the image or tag will be great.

I would also be very interesting in seeing this capability for use in my CI/CD flow.
Something like
rancher upgrade stack/service -forcepull

We have been developing our own cli for upgrades and cloning entire environments at my work place.  I just made the code and docker image available.  You can find it here

Is there any progress on this feature?
My workaround is currently to directly working with the underlying docker containers which is quite complex.

Has there been any updates on this feature being added to rancher CLI?
I have been using rancher-compose but after adding secrets to my compose file rancher-compose is very unhappy indeed.

I would like to have this kind of functionality too. It will make my CI/CD flow much easier.

Agreed with most of the above comments; there are so many projects spinning up that are attempting to mediate this problem with accessing the APIs (https://github.com/etlweather/gaucho and https://github.com/nowait-tools/rancher-cli as example ... they both work well by the way do not dismissing these projects at all)
From a CD perspective; we ended up adding the best of both worlds to leverage rancher-compose as it's rancher supported and not have a docker-compose / rancher-compose to sync in our repository:

Access the APIs to download the docker-compose and rancher compose data (dockerCompose and rancherCompose in the json response).  Example:  projects/1a5/stacks/1st42.
Then use rancher compose as normal with the data; substituing the new image:tag for the upgrade
Run some tests
Confirm upgrade with compose

I've yet to had a chance to look at the rancher-compose code to see if a workflow would be easy to add to it for runtime config download with substitution and be acceptable to the community of users.  Time is against me right now :)

I use cdrx/rancher-gitlab-deploy which works great in gitlab. However native support in the rancher cli would of course be nice.

I just released a smalls script that allow to upgrade Rancher services. I hope it could the useful.
Here the URL of the project:
https://github.com/cr0hn/rancher-upgrader

haha that's funny, I had a different case for this.
@cr0hn I also made one, like 1 year ago: https://github.com/codecasts/rancher-deployer
Not even sure if it still works since I've been using gitlab-deployer, but they kinda do the same.
I'm revisiting this since I'm moving out Gitlab

Another easy workaround is to do something like this using Rancher CLI:
mkdir /tmp/rancher_stack_name && cd /tmp/rancher_stack_name
rancher export stack_name && cd stack_name
rancher up -d --pull --upgrade --confirm-upgrade service_name another_service_name
rm -rf /tmp/rancher_stack_name


output weights in pool statistics

Output weights beside the section title.
closes #217

when no wallet connected you just get the /

good catch, thanks! Yet another thing we could make Aquarius add to DDO, or look into refactoring react hooks/ocean.js but fine for now showing it only to wallet users.


Change sensor origin to dynamically update.

Line 74 of sensor_precipitator.cpp sets the sensor origin to 0,0,0.  This is incorrect.  The "Sensor origin" should be set to the position of the drone in the map frame.  This will then tell the octomap that the path between where the sensor is, and where the object was detected, the path is clear.  This makes more sense.  A severe error!

A new transform listener was added to close the gap.


A virus in this repo?

My antivirus says this file:

spectron/bin/launcher.exe

is a:

Trojan.Generic.17449111

Trojan.Generic.17449111

Are there any more details you can provide about this virus from your virus scanner?

Not really. I'm using Bitdefender Antivirus for Mac if that helps.

@kevinsawicki Is there no way that launcher can be written in JS.
I don't really know GO but that appears to just spawn a process and then send the output to OS stdout and stderr?

@mars-lander gave a slightly larger list of detected things

Here is list of Trojan and Riskwares in this file:
"spectron/bin/launcher.exe"

Trojan.Win32.Generic!BT
W32.Clodb96.Trojan.3010
Trojan.Ebowla
W32/Trojan.CNQO-8612
Trojan.Ebowla.d
Riskware ( 0040eff71 )
Riskware ( 0040eff71 )
Trj/CI.A
Trojan.Win32.Z.Ebowla.1744384[h]

Is there no way that launcher can be written in JS.

It is on Mac and Linux, but on Windows there were issues since the launcher.js is run by ChromeDriver and not Spectron and !# lines aren't supported on Windows.
So I wrote a really simple launcher in Go that mirrored the behavior of launcher.js but it is only used on Windows.

I have the same issue with Kaspersky on Mac.

Everything still works fine for me but it does trigger warnings using Kaspersky. Screenshot of the warning.

Hi, is a batch file applicable for this? Unfortunately I'm not sure whether the file can avoid your antivirus and be applicable for all cases. But it can be used in npm test and my app's tests instead of launcher.exe.
@echo off
"%SPECTRON_NODE_PATH%" "%SPECTRON_LAUNCHER_PATH%" %*
if ERRORLEVEL 1 exit /b 1
exit /b 0


implement missing get_last_lr

This PR fixes:
AttributeError: 'WarmupLR' object has no attribute 'get_last_lr'

by adding get_last_lr as it is implemented in pytorch
I think it was added around pytorch-1.4.
I added get_last_lr to the rest of lr classes in that file, not sure if there are others.

It looks like your CI is stuck - not doing the build since 12 hours...

It looks like your CI is stuck - not doing the build since 12 hours...

Super strange, not sure what the issue was. Our CI nodes were idle but the job didn't submit to our queue for some reason. After updating your branch with master it seems to have forced it to kick off though.


Feature request: Clever shader based edge/distance antialiasing

Currently antialising of any kind is only performed when setting the antialias property to true.  This of course uses native webGL multisampling antialising and only if the users hardware supports it.  Not only that but it is rather a slow and unnecessary method for a 2d library like pixi.
Without any antialiasing at all, rotated sprites and shapes become very jagged.
There are several methods which provide far better results and are faster than native multisampling but having done a bit of research recently the best fit for pixi in my opinion would be the method described and demonstrated here.
http://abandonedwig.info/blog/2013/02/24/edge-distance-anti-aliasing.html
As you can see the author is simply altering the opacity of shape edges using a fragment shader.

Here is a live WebGL version, complete with source code for the method.
http://abandonedwig.info/edge-distance-anti-aliasing/demo.html
I think this would be an excellent addition to pixi and would reduce the need to convert shapes into sprites in order to get decent edges.  Not only that but it appears reasonably quick and easy to implement.
Perhaps a simple object.edgeAntialias = true property for shapes and rectangular sprites?
If I was familiar enough with pixi's internal I would attempt a PR myself, unfortunately I am not.

check out v3 - we have an FXAA shader built in :)

You sir.... are a god. :)

Right now it only is used when the environment doesn't support native antialiasing, but the user enabled antialiasing. We can make a param to force the use of FXAA if you know for your case it would be faster.

I was thinking the same! FXAA is much faster. We could also expose the filter itself in the filters index.js for easy access?

@GoodBoyDigital Sure, sounds good to me.

sorted init!


[webapi] Update indexedDB tests to replace DOMError with DOMException

BUG=https://crosswalk-project.org/jira/browse/XWALK-5933

Merge as-is for further improvement.
BTW, there are several bug fixing in W3C for Indexed DB, please take a look at them.


CF v237/3232.8 OpenStack DEA Staging Error "cflinuxfs2: No such file or directory"

I have setup my first Cloud Foundry cluster, using 5 OpenStack compute nodes with 1TB RAM and 8TB SSD storage. I am following the CF setup documentation, but have increased the size of the VMs to avoid memory issues. I am using the cf-rails and fib sample applications, but have never gotten an application to successfully stage.
I have attached my latest deployment manifest. It attempts to stay as close as possible to the templates shipped with v237 and the documentation. All SSL is turned off to the degree possible, although I believe I have all the needed keys, certs, and secrets deployed.
I am using a Ubuntu 14.04 PC as a combined Internet gateway, DNS server, and bosh development system. I had to upgrade the Ubuntu PC to Ruby 2.0.0p648 in order to get all of the needed components to install and build. The bind9 DNS server setup sends traffic to the CF-related domains through ha_proxy_z1 floating IP <IP_ADDRESS>:
/etc/bind/db.cf-domain.com:cf-domain.com. IN A <IP_ADDRESS> # Ubuntu PC IP address
/etc/bind/db.system.cf.cf-domain.com:@ IN SOA ubuntu-pc.cf-domain.com. admin ( ...
/etc/bind/db.system.cf.cf-domain.com:  IN NS  ubuntu-pc.cf-domain.com.
/etc/bind/db.system.cf.cf-domain.com  *.system.cf.cf-domain.com. IN	A <IP_ADDRESS>
/etc/bind/db.app.cf.cf-domain.com:    *.app.cf.cf-domain.com.    IN	A <IP_ADDRESS>
/etc/bind/db.cf.cf-domain.com:        *.cf.cf-domain.com.	     IN	A <IP_ADDRESS>

There is no load balancer VM or any other physical equipment external to the Openstack system. The external public network <IP_ADDRESS>/24 connects the Ubuntu PC to the OpenStack system. The OpenStack system has an internal private network <IP_ADDRESS>/24 connected to all 18 VMs. In between the public and private network is an OpenStack virtual router with SNAT disabled. The OpenStack security group "cf-bosh" is relaxed well beyond what the documentation for CF and bosh calls for.
The system seems to have the proper buildpacks and stemcell/stack:
demo@ubuntu-pc:~/cf-release$ cf buildpacks
Getting buildpacks...
buildpack              position   enabled   locked   filename
staticfile_buildpack   1          true      false    staticfile_buildpack-cached-v1.3.8.zip
ruby_buildpack         2          true      false    ruby_buildpack-cached-v1.6.17.zip
nodejs_buildpack       3          true      false    nodejs_buildpack-cached-v1.5.14.zip
go_buildpack           4          true      false    go_buildpack-cached-v1.7.8.zip
python_buildpack       5          true      false    python_buildpack-cached-v1.5.5.zip
php_buildpack          6          true      false    php_buildpack-cached-v4.3.12.zip
binary_buildpack       7          true      false    binary_buildpack-cached-v1.0.2.zip

demo@gamer-linux:~/cf-release$ cf stacks
Getting stacks in org tis-org / space qa as admin...
OK
name         description
cflinuxfs2   Cloud Foundry Linux-based filesystem

To debug this staging problem I turn up the log level on all jobs and then purge all the logs just before deploying. I also monitor the push and staging process from another window using $ cf logs cf-rails --recent and see good progress. The push of cf-rails proceeds smoothly through over 50 steps and gets to bundle complete in 54 seconds.
It finally reaches the tenth write to /tmp/staged/app and stops at Uploading droplet (35M):
Bundle completed (54.09s)
Cleaning up the bundler cache.
Downloaded [file:///var/vcap/data/dea_next/admin_buildpacks/327ee28d-4b61-4ecc-b7da-b3fa9ba2938d_f5446238d598246474e97f7aea1e8389b26b6a58/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_node_beta-binaries_node-0.12.7-linux-x64.tar.gz]
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
    (...snip...)
I, [2016-06-27T04:41:34.827525 #1692]  INFO -- : Writing /tmp/staged/app/public/assets/application-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css.gz
Asset precompilation completed (4.30s)
Cleaning assets
Running: rake assets:clean
-----> Uploading droplet (35M) [at this instant "$ cf logs cf-rails --recent" immediately shows an error]

All apps hang at this point and never fully stage. They have been requested to start, but have not started.
$ cf apps
Getting apps in org tis-org / space qa as admin...
OK
name       requested state   instances   memory   disk   urls
cf-rails   started           0/1         512M     1G     cf-rails-meliorative-clamorist.app.cf.cf-domain.com

I logged into blobstore_z1 and found that the 35MB droplet had actually been uploaded and was present until the program was terminated.
At that point I bosh sshed to all 17 Vms and grep all the logs for errors. Here are the hits (the other VMs may be unusually quiet):
ON blobstore_z1 vm: (one error message - looks fatal)
blobstore/internal_access.log:<IP_ADDRESS> - blobstore-username [27/Jun/2016:04:40:30 +0000] "HEAD /admin/system.cf.cf-domain.com-cc-droplets/buildpack_cache/f3/06/f3060397-9ba4-4c4b-b077-9e501ba7a6e8/cflinuxfs2 HTTP/1.1" 404 0 "-" "HTTPClient/1.0 (2.7.1, ruby 2.3.1 (2016-04-26))"

blobstore/internal_error.log:**2016/06/27 04:40:30 [error] 20444#0: *26514 open() "/var/vcap/store/shared/system.cf.cf-domain.com-cc-droplets/buildpack_cache/f3/06/f3060397-9ba4-4c4b-b077-9e501ba7a6e8/cflinuxfs2" failed (2: No such file or directory)**, client: <IP_ADDRESS>, server: blobstore.service.cf.internal, request: "HEAD /admin/system.cf.cf-domain.com-cc-droplets/buildpack_cache/f3/06/f3060397-9ba4-4c4b-b077-9e501ba7a6e8/cflinuxfs2 HTTP/1.1", host: "blobstore.service.cf.internal"

ON runner_z1 VM: (100+ of dea messages/1 warden message)
(100+)dea_next/dea_next.log:{"timestamp":1467003546.6744301,"message":"em-upload.error","log_level":"warn","source":"Staging","data":{"app_guid":"f3060397-9ba4-4c4b-b077-9e501ba7a6e8","task_id":"5f512e35592e4e9d9044a8fdb2c42e7b","destination":"http://cloud-controller-ng.service.cf.internal:9022/staging/droplets/f3060397-9ba4-4c4b-b077-9e501ba7a6e8/upload","connection_count":10,"message":"Error uploading: (Polling failed - status 0; error: Errno::ETIMEDOUT)","http_error":"Errno::ETIMEDOUT","http_status":0,"http_response":""},"thread_id":46918340106640,"fiber_id":46918349548220,"process_id":19230,"file":"/var/vcap/packages/dea_next/lib/dea/utils/upload.rb","lineno":58,"method":"handle_error"}

(1)warden/warden.log: {"timestamp":1467004303.4935195,"message":"Exited with status 0 (1871.971s): [[\"/var/vcap/data/packages/warden/45feaaafb1ed6e77fd1ddd067b2577b8d13c03c7.1-2f5cb2695e36cc8f850e42384684d10854b036b0/warden/src/closefds/closefds\", \"/var/vcap/data/packages/warden/45feaaafb1ed6e77fd1ddd067b2577b8d13c03c7.1-2f5cb2695e36cc8f850e42384684d10854b036b0/warden/src/closefds/closefds\"], \"/var/vcap/data/packages/warden/45feaaafb1ed6e77fd1ddd067b2577b8d13c03c7.1-2f5cb2695e36cc8f850e42384684d10854b036b0/warden/src/oom/oom\", \"/tmp/warden/cgroup/memory/instance-19m567sv61q\"]","log_level":"warn","source":"Warden::Container::Features::MemLimit::OomNotifier","data":{"stdout":"","stderr":""},"thread_id":46982206896520,"fiber_id":46982217237180,"process_id":18887,"file":"/var/vcap/data/packages/warden/45feaaafb1ed6e77fd1ddd067b2577b8d13c03c7.1-2f5cb2695e36cc8f850e42384684d10854b036b0/warden/lib/warden/container/spawn.rb","lineno":135,"method":"set_deferred_success"}

ON doppler_z1 VM: (4 of these messages)
syslog_drain_binder/syslog_drain_binder.stdout.log:{"timestamp":1467002776.742815018,"process_id":4323,"source":"syslog_drain_binder","log_level":"error","message":"Error when polling cloud controller: Get http://api.system.cf.cf-domain.com/v2/syslog_drain_urls?batch_size=1000: dial tcp <IP_ADDRESS>:80: getsockopt: connection timed out","data":null,"file":"/var/vcap/data/compile/syslog_drain_binder/loggregator/src/syslog_drain_binder/main.go","line":87,"method":"main.main"}

ON hm9000_z1 VM: (10 of these messages)
hm9000/hm9000_analyzer.log:{"timestamp":"1467002402.283330202","source":"fetcher","message":"fetcher.HTTP request failed with error","log_level":2,"data":{"error":"Get http://api.system.cf.cf-domain.com/bulk/apps?batch_size=5000\u0026bulk_token={}: dial tcp <IP_ADDRESS>:80: i/o timeout (Client.Timeout exceeded while awaiting headers)"}}

ON loggregator_z1 VM: (5 of these messages)
syslog_drain_binder/syslog_drain_binder.stdout.log:{"timestamp":1467002989.055986404,"process_id":4500,"source":"syslog_drain_binder","log_level":"error","message":"Error when polling cloud controller: Get http://api.system.cf.cf-domain.com/v2/syslog_drain_urls?batch_size=1000: dial tcp <IP_ADDRESS>:80: getsockopt: connection timed out","data":null,"file":"/var/vcap/data/compile/syslog_drain_binder/loggregator/src/syslog_drain_binder/main.go","line":87,"method":"main.main"}

So am I correct in assuming that the root cause is the "cflinuxfs2: No such file or directory"?
How would I go about fixing this, and any other problems you might kindly see in these logs?
Thanks,
Gary

I see a few things.
First of all, the fact that it hangs at "Uploading droplet" jives with the dea_next logs on the runner VMs, where you see the em-upload.error and Errno::ETIMEDOUT.  The log line is a bit misleading.  It says the destination is http://cloud-controller-ng.service.cf.internal:9022/staging/droplets/f3060397-9ba4-4c4b-b077-9e501ba7a6e8/upload.  That's the destination for the initial upload request initiated from DEA to CC, it then polls CC for the status of the upload job, and the URL it hits for that is actually the CC's external URL.  cloud-controller-ng.service.cf.internal is the internal, but the URL it ends up polling is the external URL, api.system.cf.cf-domain.com.
In some of the other logs (doppler, hm9000, loggregator) we see also see requests to api.system.cf.cf-domain.com failing with TCP dial timeouts trying to hit <IP_ADDRESS>:80.
You should check whether your VMs would have any issue making TCP connections to your floating IP.

By the way, thanks for all this detailed investigation and providing the information.  One thing that may help (in addition to using the Markdown formatting I've mentioned elsewhere, especially for log or terminal output) is if you can provide links to any documentation or examples you reference.  You've mentioned:

CF setup documentation
cf-rails sample application
fib sample application

Since anyone is free to make documentation and sample applications, it's not necessarily obvious which documentation and sample applications you are actually using.  If you could provide links to the specific things you use, that would be helpful.

Thanks, Amit.
Our OpenStack system does not by default allow a VM to access its own floating IP.
So ha_proxy could not access its own floating IP <IP_ADDRESS>:80. But all the other VMs should be able to access it. Looks like I need to investigate this thoroughly.
Is there some definitive test I can run?
The following test result looks bad, although the fresh deployment is currently hung forever updating blobstore_z1 after I deleted the old deployment and updated the ha_proxy cert and key:
root@blobstore_z1# curl -k http://<IP_ADDRESS>      (private network is okay?)
503 Service Unavailable
No server is available to handle this request.

root@blobstore_z1# curl -k http://<IP_ADDRESS>        (floating IP blocked, even from other VMs?)
{hangs forever}
^C
The CF setup information I used was almost always on the Cloud Foundry site or on github for release 237 and its sub-projects.
Docs top level: http://docs.cloudfoundry.org/
Installation: http://docs.cloudfoundry.org/deploying/openstack/index.html
Release Notes: https://github.com/cloudfoundry/cf-release/releases
Components: https://github.com/cloudfoundry/
Finding proper sample applications is extremely difficult, I have tried to write various simple programs but there is always some missing or improper manifest, requirements.txt, setup.py, buildpack, or obsolete parameters. I get close with Ruby and python, but Java and node.js have fatal setup problems. Most of the other samples require access to 3rd-party services. I'd settle for hello world looping for 5 minutes right now.
Sample Apps I usually try:
cf-rails: https://github.com/cloudfoundry-samples/cf-sample-app-rails
fib: https://github.com/cloudfoundry-samples/fib-cpu/
rabbitstack: http://rabbitstack.github.io/openstack/cloud%20foundry/devops/deploying-cloud-foundry-on-openstack-juno-and-xenserver-part-ii/
I have also tried java and python simple looping programs.
Thanks,
Gary

I'm not a networking expert, so I'm not sure the best way to fix your problem, but you'll definitely need to be able to make TCP connections from your internal VMs to your floating IP.  I'm not familiar with OpenStack but I'm more familiar with AWS.  The issue you're seeing seems similar to things I've seen on AWS when you have a misbehaving NAT which is used between your private and public subnets.  You mentioned "in between the public and private network is an OpenStack virtual router with SNAT disabled."  You may need to look into configuring that router correctly.
As for sample applications, you can look at the ones here used for acceptance testing Cloud Foundry.  If this is not a production Cloud Foundry deployment, you could even consider running these acceptance tests against your environment (see README).  I would fix the networking issue before even attempting to run acceptance tests though.

I will try to develop a workaround for the floating IP access problem.
This is the problem using a single OpenStack virtual router, according to a networking expert:
"The issue here is that you have 2 different VM instances behind the same router and instead of using their private addresses (since they are on the same network) they are trying to use their floating IP addresses.  Because of how floating IP addresses are implemented that will not work unless the VM instances are behind 2 different routers.  When the VM instances are behind the same router it prevents one FIP instancs from seeing the other’s ARP requests (because they are on the same switch port)."
By the way, I cntrl-C'd that hung blobstore_z1 update and re-started "bosh deploy" - this time it finished.
I am now able to login with a self-signed certificate for "*.system.cf.cf-domain.com" for the first time:
$ cf login -a https://api.system.cf.cf-domain.com -u admin -p admin
API endpoint: https://api.system.cf.cf-domain.com
Authenticating...
OK
Targeted org tis-org
API endpoint:   https://api.system.cf.cf-domain.com (API version: 2.56.0)
User:           admin
Org:            tis-org
Space:          No space targeted, use 'cf target -s SPACE'
Thanks,
Gary

I tried this temporary workaround: executing the following command on all 16 CF VMs, the bosh director VM, and the Ubuntu host PC. It maps the ha_proxy floating IP back to its private IP for this lab test setup.
https://ask.openstack.org/en/question/454/cannot-reach-floating-ip-from-vm/
echo '<IP_ADDRESS> <IP_ADDRESS>' >> /etc/hosts
On the next "cf push" after clearing the logs, the error messages regarding floating IPs seem to be gone from the logs mentioned above, but the other errors seem to remain. I will be looking at the logs in more detail later today and will post what I find.

@gkenaley were you able to make any progress on this?

Hi Amit,
No, I was not able to make any progress. I tried to cross-check with another version of OpenStack, but it was so difficult to install that I could not finish the deployment.
(1) Are we 100% convinced that inability to access the ha_proxy floating IP from the VM is the issue?
(2) Is there some other way to configure the system so that the VM access of the ha_proxy floating IP is not necessary?
(3) Would you be interested in remotely accessing the system to research the issue?
Thanks,
Gary

(1) Yes, I'm fairly convinced that this is the issue.
(2) There are several components that need to talk to other components in Cloud Foundry.  One way this is done in some cases is to have a target component register a route with the gorouter, and the source component know about this route and make requests to that route.  The DNS resolution of those routes will typically resolve to the HA Proxy external IP (floating IP), and so in that case the source component will need to be able to reach the HA Proxy external IP (from there, the HA Proxy and gorouter act as proxies, sending the request to the actual target component).
One thing you could try is running a little DNS server behind the firewall that resolves your system and apps domains to the HA Proxy internal IP, and then update the networks in your manifest to point to your internal DNS server first so that it can resolve the address, before recursing to an external DNS server which will inevitable resolves those domains to the public IP.

I control two DNS (bind9) servers - one on the Ubuntu PC jump node (<IP_ADDRESS>) that implements the public network (<IP_ADDRESS>/24) via VLAN), so I can set them up as you describe. It may take a week or two to get it done, as I have to rebuild the system, and vacations are in the way.
Zone Files on DNS server <IP_ADDRESS>: # Point to ha_proxy_z1 private network address:
db.app.cf.cf-domain.com: *.app.cf.cf-domain.com. IN A <IP_ADDRESS>
db.cf.cf-domain.com: *.cf.cf-domain.com. IN A <IP_ADDRESS>
db.system.cf.cf-domain.com: *.system.cf.cf-domain.com. IN A <IP_ADDRESS>
forwarders: <IP_ADDRESS>  # Points to floating address if recursed to
cf-manifest.yml:
dns:
- <IP_ADDRESS>  # Recursion enabled on Ubuntu DNS server; forwards to <IP_ADDRESS>
Thanks,
Gary

Success!
I can now run the example apps fib and cf-rails for the first time.
First I changed the zone files to point to ha_proxy_z1's private address, as described in the previous post, but the system just hung.
Finally I commented out the 9 lines in the deployment manifest which setup the public network and the floating IP address for ha_proxy_z1. So now the ha_proxy has only a private address and I can run apps on an OpenStack system without hairpin SNAT, using Neutron networking.
cf-deployment.yml.043.txt
This final change to the deployment manifest only re-launched the ha_proxy_z1 VM, and I see these non-fatal errors when launching each of these 2 apps:
[STG/0]      ERR
[STG/0]      OUT -----> Uploading droplet (35M)
[DEA/0]      OUT Starting app instance (index 0) with guid d06cab7c-9dda-4696-a551-ad141de7b567
[App/0]      ERR [2016-07-14 00:19:47] INFO  WEBrick 1.3.1
[App/0]      ERR [2016-07-14 00:19:47] INFO  ruby 2.3.0 (2015-12-25) [x86_64-linux]
[App/0]      ERR [2016-07-14 00:19:47] INFO  WEBrick::HTTPServer#start: pid=29 port=61003
I tried to run the following very simple python program, but it crashes. I thought stdout gets posted to the logs:
$ cat pycount.py
import time
count = 0
while count < 300:
print (count, " is  less than 300")
count = count + 1
time.sleep(1)
else:
print (count, " is not less than 300")
Not sure what the problem is.
Thanks,
Gary


ext::gas_left check added

Related https://github.com/paritytech/parity-ethereum/pull/9357

test fail?

test fail?

this should be merged first https://github.com/paritytech/pwasm-ethereum/pull/14

again, why updating all wasms and all gas costs?
just checkin your gasleft.wasm and leave others alone please

@NikVolf I already changed tests here https://github.com/paritytech/parity-ethereum/pull/9357


[stable/wordpress] bump dependency mariadb 1.0.2

See https://github.com/kubernetes/charts/issues/1944#issuecomment-327856581


Turbolinks partial replace without layout

body
  #main data-turbolinks-temporary
    .content ' My content goes here

  Turbolinks.replace('New content', { change: ['main']})

replace returns true but nothing happens
the next javascript
Turbolinks.replace('
New content
', { change: ['main']})

does the replace but the next error rises: Uncaught TypeError: Cannot read property 'replaceChild' of null
on this line
Does somebody know the rules of partial replacement?

I think your first call of Turbolinks.replace() removes the

 node and replaces it with New content text. So your second Turbolinks.replace() call can't find the main node because it doesn't exist anymore.

@tortuetorche I am running this command separately

My bad.
For the first call I think it's the expected behaviour, you need to replace the

 node by another main id node.
If the original

 node hasn't  a data-turbolinks-temporary attribute, your second Turbolinks.replace() call will work. So It's a bug related to data-turbolinks-temporary attribute.

@tortuetorche Thank you. I have removed the data-turbolinks-temporary attribute and it works.
But i don't think that it is correct behavior. For instance:
simple rails action:
def show
  render :show, change: 'main', layout: !!request.xhr?
end

will generate the next js: Turbolinks.replace('show template', { change: ['main']}). And it will not work because the show template should be wrapped in div with id 'main'

If your main node is in the layout, I think it's the correct behavior.
Otherwise, if it's in your show view, you're right it's not the correct behavior.

@tortuetorche Thank you for your help. Closing the issue