Swagger UI behind Service Fabric Reverse Proxy

I have a Service Fabric stateless service hosted in Azure, using Service Fabric's Reverse Proxy for access.
The working swagger.json URL looks like this:
http://clustername.westeurope.cloudapp.azure.com/AppName/ServiceName/swagger/v1/swagger.json
However, when I try to load the swagger UI at
http://clustername.westeurope.cloudapp.azure.com/AppName/ServiceName/swagger/
it 301 redirects to the internal path of the node handling the request
http://clustername.westeurope.cloudapp.azure.com/01234567-0123-0123-0123-0123456789ab/012345678901234567/swagger/
which is not publicly accessible.
If I RDP onto the node, swagger UI on localhost does work:
http://localhost:50874/01234567-0123-0123-0123-0123456789ab/012345678901234567/swagger
My startup uses the following configuration to find the json file relative to the swagger UI, which also works when not behind the reverse proxy:
app.UseSwagger().UseSwaggerUI(c => c.SwaggerEndpoint("v1/swagger.json", "Service V1"));
The only x-forwarded headers I have available are:
Host: <IP_ADDRESS>:50874
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: clustername.westeurope.cloudapp.azure.com
X-Forwarded-Proto: http
It seems that in 4.0 this was solved using ResolveBasePathUsing and in 5.0 this was solved using RootUrl. How can I solve this in Swashbuckle.AspNetCore? I have tried the PreSerializeFilter suggestion from Issue #68 with no luck.

I am running into a similar situation running behind HAProxy and utilizing URL rewriting features and can't figure out to force Swashbuckle.AspNetCore to keep the original request URL structure.

I tried a couple of config options but could not get Swagger UI working behind a reverse proxy. Appreciate  any guidance on how to set the configs such that Swagger UI loads and can make requests to the service (Try It out options) correctly with reverse proxies.

I'm also looking for the "new" RootUrl.  I have everything working with an IIS-based reverse proxy, apart from this bit!

I was able to make this work by seeting the basePath like this:
.UseSwagger(c =>
{
c.PreSerializeFilters.Add((swaggerDoc, httpReq) => swaggerDoc.BasePath = "/MyServiceApp/MyService");
})

See my comments here - https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/380#issuecomment-374711180
Easiest way to support reverse proxies!

Please re-read the original post then reopen and fix this. This is already using a relative path. It finds the JSON file but then 301 redirects to an internal IP address, which is not available from outside the reverse proxy.

Fair enough - there's a couple of issues mixed up in this one. @ghelyar - this being FREE n open source n all, perhaps you could dig a little deeper and propose a potential fix 😉

Dup of #662
I'm going to close this in favor of the above duplicate because it's detailing of the problem is a little clearer.

@ghelyar - which version of Swashbuckle are you using

I used relative URL to fix this, see this comment:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/380#issuecomment-374711180


Intelligent Agents

We should develop agents that deliver goods for the Covid-19 patients in India since we are suffering!

This is an important commit

Great Idea!

@KBNorth Thanks KBNorth

You’re welcome!
On Wed, Jun 2, 2021 at 9:18 PM Daniel Cruise @.***>
wrote:

@KBNorth https://github.com/KBNorth Thanks KBNorth
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AMAI-GmbH/AI-Expert-Roadmap/issues/41#issuecomment-853508611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHVRZMYOUH2VONSPT4I55LTQ3Q65ANCNFSM452IFCNQ
.

--
Kena Ellis

you're welcome. I would love to learn how to fix this issue.

Will fix it mam as soon as possible.
On Thu, 17 Jun 2021 at 23:08, KBNorth @.***> wrote:

you're welcome. I would love to learn how to fix this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AMAI-GmbH/AI-Expert-Roadmap/issues/41#issuecomment-863432487,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE6JY6Z3VDBEPQWV45FAD7LTTIXIZANCNFSM452IFCNQ
.

Thank your for your email
On Fri, Jun 18, 2021 at 1:21 AM Daniel Cruise @.***>
wrote:

Will fix it mam as soon as possible.
On Thu, 17 Jun 2021 at 23:08, KBNorth @.***> wrote:

you're welcome. I would love to learn how to fix this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/AMAI-GmbH/AI-Expert-Roadmap/issues/41#issuecomment-863432487
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AE6JY6Z3VDBEPQWV45FAD7LTTIXIZANCNFSM452IFCNQ
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AMAI-GmbH/AI-Expert-Roadmap/issues/41#issuecomment-863855690,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUCT7RK7TEJJWHPXWRNK42DTTL6X7ANCNFSM452IFCNQ
.

It's an AI thing Mam I also don't know how it deeply works but soon it'll be available in the market my conglomerate is called quillscriptures


[tests] unexpected faliing test_publish_meshcop_service

Two occurrences
https://github.com/openthread/openthread/actions/runs/10171961935/job/28191374337?pr=10559
https://github.com/openthread/openthread/actions/runs/10171961935/job/28188997616?pr=10559
======================================================================
ERROR: test (__main__.PublishMeshCopService)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/openthread/openthread/tests/scripts/thread-cert/border_router/test_publish_meshcop_service.py", line 135, in test
    br1.factory_reset()
  File "/home/runner/work/openthread/openthread/tests/scripts/thread-cert/node.py", line 2569, in factory_reset
    self._reset('factoryreset')
  File "/home/runner/work/openthread/openthread/tests/scripts/thread-cert/node.py", line 2575, in _reset
    self.send_command('version', expect_command_echo=False)
  File "/home/runner/work/openthread/openthread/tests/scripts/thread-cert/node.py", line 905, in send_command
    self.pexpect.send(cmd + '\n')
  File "/home/runner/.local/lib/python3.8/site-packages/pexpect/popen_spawn.py", line 142, in send
    return self.proc.stdin.write(b)
BrokenPipeError: [Errno 32] Broken pipe

Another failing for different reason
https://github.com/openthread/openthread/actions/runs/10213412027/job/28258738097?pr=10549
FAIL: test (__main__.PublishMeshCopService)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/openthread/openthread/tests/scripts/thread-cert/border_router/test_publish_meshcop_service.py", line 153, in test
    self.assertEqual(len(host.browse_mdns_services('_meshcop._udp')), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 1 test in 269.505s

FAILED (failures=1)
File "./tests/scripts/thread-cert/run_cert_suite.py", line 84, in run_cert
2024-08-02 09:59:23,321 - ERROR - Run test test_publish_meshcop_service_0 failed, please check the log file: ot_testing/test_publish_meshcop_service_0.log
Traceback (most recent call last):
  File "./tests/scripts/thread-cert/run_cert_suite.py", line 76, in run_cert
    subprocess.check_call(abs_script,
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/runner/work/openthread/openthread/tests/scripts/thread-cert/border_router/test_publish_meshcop_service.py' returned non-zero exit status 1.
PASS 0 FAIL 1 ./tests/scripts/thread-cert/border_router/test_publish_meshcop_service.py

This test was failing when run with the changes in this pull request:

https://github.com/openthread/openthread/pull/10798.

The failure appears to be due to a short wait time after restarting the leader (stopping MLE and restarting it). Upon restart, a device will first try to restore its previous role by sending multicast Link Requests (a leader would send 6, each about 5 seconds apart, with a 10% random jitter added to every 5-second interval). After this, 6 Parent Requests are sent before the device becomes the leader.
The wait time in this test was marginal, meaning the test would pass if the random intervals picked were on the lower end and could fail if a higher random intervals were picked.
This is now addressed in the aforementioned pull request (a long enough wait time is used to accommodate the worst-case scenario).


Live Preview Mode - Quotes not rendered properly

Hi. In Live Preview mode, Using quotes > This is a quote is rendered as shown above.

It's fixed, thanks for telling me! Please update the theme.
By the way, I am sorry that I haven't tested and optimised the Live Preview mode since the Live Preview hasn't been finished. So if there are still such problems that bother you, please feel free to contact me. Thank you!

Totally understandable and sorry is a big word when it is an open source. A big thanks for such a quick fix. The theme is awesome.


Displaying sequence borders when using multi FASTA file

Hi,
I started using gepard recently for my project and I was wondering if there is a way to display the borders of sequences when using a multiple fasta file to create a dotplot?
Best regards,
Franziska

Hi Franziska,
this is a good idea. So far we have discussed such an option but not implemented it. We appreciate your suggestion as a feature request and will implement it as soon as possible.
best,
Thomas


support service templates

Addresses #64
netbox-initializers can import services, but as far as I can see it can't do service templates.

Service Templates
Service templates can be used to instantiate services on devices and virtual machines. A template defines a name, protocol, and port number(s), and may optionally include a description. Services can be instantiated from templates and applied to devices and/or virtual machines, and may be associated with specific IP addresses.

This PR implements the creation of service templates from service_templates.yml.
Tested locally:
$ ./manage.py load_initializer_data --path /opt/netbox-preload
 loaded config '/etc/netbox/config/configuration.py'
 loaded config '/etc/netbox/config/extra.py'
 loaded config '/etc/netbox/config/logging.py'
 loaded config '/etc/netbox/config/plugins.py'
...
🧰 Created Service Template Git
🧰 Created Service Template WireGuard

Could you fix the errors from the lint checks?

Fixed!


More flexibility when shouldAutomaticallyDetectRange = true

First of all, great library, I really like it :)
I'm wondering if we could add more flexiblity to shouldAutomaticallyDetectRange = true. Right now, it will resize the graph depending on what is the max-y value and min-y value. I m wondering if we can add some vertical margin in there?
Example: if max-y value is 115, and y-margin is 15, then highest value in graph would be 130 and not 115 like it is now.
I know that I can just find out what is my max y value and then compute the new rangeMax and rangeMin, but I think it would be nice to have it in the library. I can also help with that if need be, it should not be hard by looking at the code :)

Yeah, this should definitely be easy enough to implement.
Pull requests are always welcome. :p

Due to the new API, shouldAutomaticallyDetectRange has been removed. (This is so the graph view no longer has to touch any data that it is not displaying. The graph view will only touch data that appears on the screen. This allows for better integration with things like NSManagedObjectContext)
The user of the component is now responsible for setting a correct range when not shouldAdaptRange is set to false.


TypeError: cannot concatenate 'str' and 'list' objects

sct_image -i warp_template2anat.nii.gz -mcs -o warp_vec.nii.gz

--
Spinal Cord Toolbox (master/324589be1b9315c31cfc0248dbe0841f3659ac21)
Running /Users/julien/code/sct/scripts/sct_image.py -i warp_template2anat.nii.gz -mcs -o warp_vec.nii.gz
Generate output files...
Traceback (most recent call last):
  File "/Users/julien/code/sct/scripts/sct_image.py", line 791, in <module>
    main()
  File "/Users/julien/code/sct/scripts/sct_image.py", line 275, in main
    sct.display_viewer_syntax([fname_out])
  File "/Users/julien/code/sct/scripts/sct_utils.py", line 531, in display_viewer_syntax
    cmd += ' ' + files[i]
TypeError: cannot concatenate 'str' and 'list' objects

sct_image.py line 275, fname_out is already a list, i.e no need to convert the type:
sct.display_viewer_syntax([fname_out])


template failed

Here is the exception that occurred:
Type = System.Threading.Tasks.TaskCanceledException Message = A task was canceled. Source = mscorlib Task = System.Threading.Tasks.Task1[System.Net.Http.HttpResponseMessage] CancellationToken = System.Threading.CancellationToken TargetSite = Void ThrowForNonSuccess(System.Threading.Tasks.Task) StackTrace = at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at OfficeDevPnP.Core.ALM.AppManager.d__42.MoveNext() in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\ALM\AppManager.cs:line 788 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at OfficeDevPnP.Core.ALM.AppManager.<DeployAsync>d__20.MoveNext() in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\ALM\AppManager.cs:line 350 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at OfficeDevPnP.Core.ALM.AppManager.Deploy(AppMetadata appMetadata, Boolean skipFeatureDeployment, AppCatalogScope scope) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\ALM\AppManager.cs:line 323 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities.TenantHelper.ProcessApps(Tenant tenant, ProvisioningTenant provisioningTenant, FileConnectorBase connector, TokenParser parser, PnPMonitoredScope scope, ProvisioningTemplateApplyingInformation applyingInformation, ProvisioningMessagesDelegate messagesDelegate) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\Utilities\TenantHelper.cs:line 140 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchyTenant.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectHierarchyTenant.cs:line 29 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 209 at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 42 at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__2.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 398 HResult = -2146233029

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
(DELETE THIS PARAGRAPH AFTER READING)

Category

[ ] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea
[x] Example checked item (delete this line)

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at http://aka.ms/sp-dev-uservoice. (DELETE THIS PARAGRAPH AFTER READING)
(DELETE THIS PARAGRAPH AFTER READING)

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit.
(DELETE THIS PARAGRAPH AFTER READING)

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.
(DELETE THIS PARAGRAPH AFTER READING)

Steps to Reproduce

If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.
(DELETE THIS PARAGRAPH AFTER READING)

Submission Guidelines

All suggestions or bugs are welcome, please let us know what's on your mind.
If you are reporting an issue around any of the documents or articles, please ensure that you have clear > reference on the specific file or URL, which should be fixed.
If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and > #spfx-tooling on (SharePoint StackExchange)[http://sharepoint.stackexchange.com/]. You can also > alternatively submit your question to (SharePoint Developer group)> [https://network.office.com/t5/SharePoint-Developer/bd-p/SharePointDev] at Office Network.
Remember to include sufficient details and context.
If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.

(DELETE THIS PARAGRAPH AFTER READING)

Thanks for your contribution! Sharing is caring.

Effective June 2019, the official guidance is to post all issues related to the PnP provisioning service to the following GitHub repository: https://github.com/SharePoint/sp-provisioning-service.
We've transferred your issue to the issue list for that repo. In the future, please ensure you use the https://github.com/SharePoint/sp-provisioning-service repo's issue list for all issues, questions & bug reports.


Split debug connector for external sensors

To be able to connect the potentiometer on connector to the board, I had to resort to using wires between the connector and the one we have on PCB, only because the pins are too apart from each other.
Suggestions: How about we split J6 into multiple connectors, one for each variant of external sensor?
(Only on debug board)

Yes, it sounds like a good idea


Only saves static files locally

How to set the default storage to Azure blob

Isn't it possible to mount azure blob (https://docs.microsoft.com/en-gb/azure/storage/files/storage-how-to-use-files-linux)?
Given this, you can mount it to /storage and use it with Pagekit?


Add a "Past 90 days" option to the star/issue charts

I think having a "Past 90 days" option in addition to "All time", "Past month", and "Past week" will be useful for analyzing the data.

Resolved via https://github.com/supabase/repository.surf/commit/2c689e6319373984205e626f7d8e08baf82f0f3d

Resolved via https://github.com/supabase/repository.surf/commit/2c689e6319373984205e626f7d8e08baf82f0f3d


Cors with main branch

Discussed in https://github.com/salvo-rs/salvo/discussions/222

Originally posted by josejachuf January 17, 2023
Hi
I changed the 0.37 branch to that of the repository
salvo = { git = "https://github.com/salvo-rs/salvo.git", features = ["affix", "jwt-auth", "cache", "session", "cors"] }
With this change, the middleware Cors stopped working. Now my front application shows Cors's error.  With version 0.37 it worked fine.
    let cors_handler = Cors::builder()
        .allow_any_origin()
        // .allow_origin("http://<IP_ADDRESS>:8000")
        .allow_methods(vec!["GET", "POST", "OPTIONS"])
        .allow_headers(vec![
            "CONTENT-TYPE",
            "content-type",
            "Access-Control-Request-Method",
            "Access-Control-Allow-Origin",
            "Access-Control-Allow-Headers",
            "Access-Control-Max-Age",
            "authorization",
            "Authorization",
        ])
        .build();

    Router::new().hoop(cors_handler).options(handler::empty())
```</div>

Can you give font error details? I have checked cors code, The main branch is same as 0.37.

You can try to put a wildcard match as the last router to the root router.
Router::new() // this is the root router
.push(
      Router::with_path("my_route")
          .post(my_handler)
  )
.push(
      Router::with_path("<**rest>")
          .hoop(cors_handler)
          .options(handler::empty())
  )

Router::new() // this is the root router
.push(
      Router::with_path("my_route")
          .post(my_handler)
  )
.push(
      Router::with_path("<**rest>")
          .hoop(cors_handler)
          .options(handler::empty())
  )

This works fine!! Thanks.
Instead of placing it at the beginning as I wanted, you used it at the end.


Add file provider from a ConfigMap

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Feature
Add a value field extraStaticConfig to add extra static configuration.
Under the hood:

Create a configMap

apiVersion: v1
kind: ConfigMap
metadata:
  name: traefik-config
data:
  config.yml: |
    {{ .Values.extraStaticConfig | nindent 2 }}

Mount the configMap
Tell traefik to use the file - "--providers.file.filename=/mnt/traefik/config/config.yml"

Use case
Better TLS store configuration in case of multiple Traefik instances
Related
https://github.com/traefik/traefik-helm-chart/issues/69
I can do the PR ASAP if the feature is accepted!

That's a good idea.
You're welcome to open a PR about it.

:thinking: Re-reading https://doc.traefik.io/traefik/getting-started/configuration-overview/
=> It will be an extra dynamic configuration.

hey merci @mloiseleur le projet est super bien setup j'ai pu faire la PR en 1h !


Stash collector does not write any logs

Hi Team,
Initially, the stash collector was running every 5 min and throwing "401 unauthorized error". I added the secret key into my API container and stash collector. After that, when i restarted all the processes, the stash collector starts up successfully but fails to collect any data from stash (private repo) and fails to write any log as well.
2017-01-11 19:08:00,002 INFO  c.c.d.collector.CollectorTask - Running Collector: Bitbucket
2017-01-11 19:08:00,010 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-11 19:08:00,010 INFO  c.c.d.collector.CollectorTask - Starting...
2017-01-11 19:08:00,010 INFO  c.c.d.collector.CollectorTask - -----------------------------------

After 10min, it gave this error
2017-01-11 19:08:00,010 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-11 19:19:43,006 ERROR c.c.d.c.DefaultBitbucketServerClient - Failed to obtain commits from https://stash.jcpenney.com/rest/api/1.0/projects/ECOMM/repos/platform/commits?until=master&limit=25&start=2875
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://stash.jcpenney.com/rest/api/1.0/projects/ECOMM/repos/platform/commits?until=master&limit=25&start=2875":Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:580) ~[spring-web-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:545) ~[spring-web-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:466) ~[spring-web-4.1.7.RELEASE.jar!/:4.1.7.RELEASE]
at com.capitalone.dashboard.collector.DefaultBitbucketServerClient.makeRestCall(DefaultBitbucketServerClient.java:227) ~[bitbucket-scm-collector-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultBitbucketServerClient.getCommits(DefaultBitbucketServerClient.java:88) ~[bitbucket-scm-collector-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]
at com.capitalone.dashboard.collector.GitCollectorTask.collect(GitCollectorTask.java:132) [bitbucket-scm-collector-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-2.0.5-SNAPSHOT.jar!/:2.0.5-SNAPSHOT]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.1.7.RELEASE.jar!/:4.1.

Are you able to hit that url in a browser?

It works now!! looks like it took more than 15min to collect data

@anandsit Closed.


Multiple async call depending on previous one

Hi,
I love BrighFutures, but I ran in an issue... I've got that piece of code :
class func signIn(email: String, password: String) -> Future<User, Error>
    {
        let promise = Promise<User, Error>()
        UserService.signIn(email, password: password)
            .onSuccess { user in

                UserLocalDataStore.saveUser(user)
                    .onSuccess {
                        promise.success(user)
                    }
                    .onFailure { error in promise.failure(error) }
            }
            .onFailure { error in promise.failure(error) }

        return promise.future
    }

It's very annoying to have embedded success/failure call inside .onSuccess. Therefore, sometime I have 3, 4 or 5 call that depends on previous result.
Is there something in BrightFutures that I missed that could do what I'm doing right now in a prettier way ?
Thanks !

I think what you're looking for is fatMap. There's an example in the README and you could also browse through the tests for samples.
If you're confused about what flatMap does, try to use map first and notice how you'll end up with futures in futures (Future<Future<Future<User, Error>, Error>, Error>). The solution to that is flatMap, because it performs a map and then flattens the nested futures.

It looks like what I might need. Thanks for the quick reply !
Oh and, nice talk at DotSwift'16 ;) It was from far my favorite.


Helm install Option 2 failed at Prometheus configmap

Describe the bug
I followed preliminary docs Helm install option 2
For step 3 I ran the following:
 helm install install/kubernetes/helm/istio --name istio --namespace istio-system --set kiali.enabled=true --set gateways.istio-ingressgateway.type=NodePort

Error:

Error: render error in "istio/charts/prometheus/templates/configmap.yaml": template:  istio/charts/prometheus/templates/configmap.yaml:32:16: executing "istio/charts/prometheus/templates/configmap.yaml" at <.Values.global.proxy...>: can't evaluate field prometheusPort in type interface {}

Expected behavior
helm install should run to completion.
Steps to reproduce the bug
git checkout release-1.1
Follow 1.1 docs Helm install Option 2 https://preliminary.istio.io/docs/setup/kubernetes/helm-install
Version
# kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.2", GitCommit:"17c77c7898218073f14c8d573582e8d2313dc740", GitTreeState:"clean", BuildDate:"2018-10-24T06:54:59Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

# git log
commit eb41fafccde1f3749a0d821bcd3827482e79a320 (HEAD -> release-1.1, origin/release-1.1)
Author: Douglas Reid<EMAIL_ADDRESS>Date:   Mon Nov 12 14:28:01 2018 -0800
...

Installation
Option 2 https://preliminary.istio.io/docs/setup/kubernetes/helm-install
Environment
Fedora 28
Cluster state
helm install failed

Have you fetched and rebased recently?  I just created a branch tracking release-1.1 and was able to successfully run helm template without issue. And running a git grep prometheusPort does not return any results in the install dir.
$ git log
commit 61d5644273b3b1e24aeccd560658b48bda251b28 (HEAD -> helm-test, upstream/release-1.1)
Author: Jeff Mendoza<EMAIL_ADDRESS>Date:   Tue Nov 13 14:22:00 2018 -0800

I applied helm repo add... in PR9920 and it solved my problem.   This doc should be updated with those 2 additional steps as well


Make language features configurable

Some projects might not need autocompletion and other language features but only syntax highlighting. Extension should be configurable in this regard.

With https://github.com/prisma-labs/vscode-graphql/issues/7#issuecomment-398066794, this is not really a thing. Please comment, if you think that this should be re-opened.


Hook_chain being ignored

Recently Dehydrated seems to be validating challenges only after all my deploy challenges have been run causing issues on approval.  Seems like HOOK_CHAIN value is being seen as YES.
I have hook_chain set to no in my config
domains are listed as
mysub.domain.com mysub1.domain.com mysub2.domain.com
Dehydrated by Lukas Schauer
https://dehydrated.io

Dehydrated version: git-master-after-0.6.2
GIT-Revision: b5dddd7a2b64b1e035a1bd27aa5e699a304bdbca

OS: Ubuntu 16.04.3 LTS
Used software:
 bash: 4.3.48(1)-release
 curl: curl 7.47.0
 awk: GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)
 sed: sed (GNU sed) 4.2.2
 mktemp: mktemp (GNU coreutils) 8.25
 grep: grep (GNU grep) 2.25
 diff: diff (GNU diffutils) 3.3
 openssl: OpenSSL 1.0.2g  1 Mar 2016

This works as intended. Because of problems with wildcard validations there isn't really any choice but to deploy all tokens before doing anything else. Since I wanted to avoid having multiple different behaviours this now is the way it works. Hook-Chaining is different in that it deploys all tokens in one hook-call, without chaining it's still one after another, just the validation is delayed.

Oh bummer.  I had a process that would use the token to edit the same netscaler policy with the challenge token for every domain.  Any other options you can think of to mimic this behavior?

I don't really have any experience with Netscaler, but from a quick glance over your code you could just add multiple rules, or maybe there is a way to set up a reverse proxy or something? Otherwise you could maybe validate tokens over DNS-01 instead.


Create a version with stable facebook project dependencies

Is your feature request related to a problem? Please describe.
Cachelib is a great project, but as I have been using it for some days, I find it fails to build over and over again. Most of the time, the build error is caused by the frequent synchronizations with the latest project dependencies, especially those developed inside Facebook, such as folly. They are excellent, but as they are not built specifically for Cachelib, sometimes conflicts happen.
Describe the solution you'd like
I suggest that Cachelib should have a stable version, whose submodule dependencies point to external repo tags stable for the Cachelib project.
I expect this would greatly reduce frustration during the project-building procedure, and we will see fewer build-failure related issues, sparing more time and space for constructive discussions and contributions.

@wangyuyue  Hi. Thanks for the suggestion.
Yeah, we are aware of this issue and we have been discussing internally about this issue.
And as you suggested, we are going to publish the stable version regularly and share here https://github.com/facebook/CacheLib/releases.
For now, all of the build issues should have been resolved and we just published the first release there. Please check it out.
Thanks.


[Feature] Support for GPT-2

Checklist

[ ] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 2. Please use English, otherwise it will be closed.

Motivation
I believe there is still a vast majority of our community working with GPT-2 or similar small language models for niche datasets. It would be great if these finetuned GPT-2 models can be deployed through sglang.
Related resources
No response

hi can I work on this?

hi can I work on this?

Sure, go ahead. It's not difficult. ref https://github.com/vllm-project/vllm/blob/main/vllm/model_executor/models/gpt2.py

https://github.com/sgl-project/sglang/blob/main/docs/en/model_support.md

Hi! Is anyone currently working on this issue? If not, I’d love to take it on. I’m new to contributing, so any pointers on where to start or key files to review would be really helpful.

implemented by https://github.com/sgl-project/sglang/pull/1833


Error using a period within Cylc cyling task names

Describe the bug
Many recipes involving looping over variables or model levels to produce numerous plots. If we are iterating over values that include periods, etc. model half levels [0.5,1.5,2.5], parsing these values and creating a unique tasks in the Cylc workflow causes an error and the workflow fails to validate. This is because tasks would be named, for example, plot_[var]_[modellev] would become plot_airtempertaure_0.5.
A possible solution for floats would be to parse '.' as 'p', etc. 0.5 -> 0p5. I can't think of any cases where variable names would involve periods,
How to reproduce
Steps to reproduce the behaviour:

Expected behaviour

Environment

Version: [e.g. from cset --version]
Browser (if UI issue): [e.g. Chrome, Firefox]

Testing solution which uses jinja2 parsing, etc.
{% set level = 1.2 %}
{% set formatted_level = level|string|replace('.', 'p') %}

One of my questions for the cylc surgery this afternoon is what characters are allowed in task names. After that, replacing invalid characters sounds like a sensible plan.

The allowed task names are documented here: https://cylc.github.io/cylc-doc/stable/html/user-guide/writing-workflows/runtime.html#cylc.flow.unicode_rules.TaskNameValidator

Fixed.


OnInputUp triggered twice on android

A bug in the API:

Phaser version(s): 2.10.1
Device: Google Pixel 2
Android version: 8.1.0
Chrome version: 65
Live example: https://codepen.io/jazcash/pen/pLjYLX?editors=0010
What should happen: Square should become half opacity on first click, then disappear completely on second
What happens instead: Square disappears completely on first click

See #32


[FEATURE] option to clean up deploy-folders to ensure we deploy only whats necessary

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
each deploy creates more and more folders to cover what actually to be deployed.
Expected Behavior
unless one cleans this up, it becomes problematic over time. at least time consuming.
i am suggesting a config option that defaults to true, leading to automatic clean up before figuring out what folders we need.
Steps To Reproduce

Go to '...'
Click on '....'
Run '...'
See error...

Version
develop-branch
Environment

OS:
Node:
npm:

Participation

[X] I am willing to submit a pull request for this issue.

Additional comments
No response

Duplicate of #379


Slack.yml incorrectly points to meshery repo

Irony😂! @leecalcote ^^

Everyone has to start somewhere. 🤷♂

Fixd


Issue with using SNAPSHOT version

Most likely a variation the previously solved issue from the original code was recreated in this project...attempting to change the version (such as removing the SNAPSHOT) leads to the older version number being used (i.e. trying to publish the -SNAPSHOT version)

This is not an issue though a consistent solution could be adopted outside of this project. The version used for the publications needs to be refreshed after being modified (such as using refreshCoordinate in the Nebula plugin).


OnReceiveBytes stops broadcasting after 2-3h of runtime

When our application has been running for about 2-3 hours, we notice it stops receiving and processing data. We concluded that this is related to the OnReceiveBytes delegate, which stops broadcasting altogether.
We thought it could be related to the delegate FUDPMessageSignature being a dynamic multicast delegate, which is much more performant-heavy than a simple dynamic delegate. Once we changed the delegate to this:
 DECLARE_DYNAMIC_DELEGATE_ThreeParams(FUDPMessageSignature, const TArray<uint8>&, Bytes, const FString&, IPAddress, const int32&, Port); and let it run for 3 hours, the issue stopped.
Since we do not use the component in blueprints, it seems to have fixed the issue, but we also understand it's not the best solution since it might be needed later on in BP (and that other users of this Component use it in BPs).
Any ideas for a solution that does not involve changing the delegate?

Update, just tried that fix again but it eventually crashes with a "ProcessDelegate() called with no function name set!"

Probably best to start the debug by tracking what is valid/what isn't valid when you do catch the bug (in e.g. debug mode). It sounds to me like something is being released, invalidating the delegate. Check to see if you're not memory leaking as well.

We fixed it by checking if the delegate is bound and if not, add it again. I'm not sure why it unbound like that but seems to work correctly now


Is the website automatically updating?

Related: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/76

Fork / clone this repo
Change a few values in site.config.js
npm install
npm run dev to test locally
npm run deploy to deploy to vercel 💪

It remains unclear to me whether it will update as I make changes on Notion?

I'm making my own template by starting from this. It will automatically update the page content when you deploy in Vercel. To update the pages list, or what pages are in your Notion space, you need to re-deploy the project.

Related: #76

Fork / clone this repo
Change a few values in site.config.js
npm install
npm run dev to test locally
npm run deploy to deploy to vercel 💪

It remains unclear to me whether it will update as I make changes on Notion?

From what I've seen so far you can force an update by using the search function and typing in the page name. Outside of that I've noticed it's updated automatically but I have no idea at what interval this happens

It will update incrementally every 10 seconds for new requests. You can modify it.
https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/1d19cd0d6c20e570d7db31557a350e38e23a215e/pages/[pageId].tsx#L21
You can check this next.js feature https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration


Keeping user signed into application

Hi, I was curious what the process would look like for trying to keep a user signed in between app sessions (like if the user closes out the app and comes back, they shouldn't need to have to sign back in).
The way that I currently had it set up was that every time that the app boots up, I check to see that the user has signed in before by checking if a token is stored on their device via secure storage. I don't check if it's expired and instead simply just call the acquireTokenSilent(). This generally hasn't ran into any issues and simply would return a token that I've made in the past if it hasn't expired yet (at least I believe).
But it feels wrong because if the token hasn't expired yet, should I still be calling acquireTokenSilent() upon the app loading up? Is checking that the token has expired / is close to expiring just used for when making API calls / accessing resources with that authentication token?
Here's my current workflow to give you an idea:
Future<void> _init() async {
    _authority =
        'https://login.microsoftonline.com/$tenantId/oauth2/v2.0/authorize';
    _msalAuth = await getMsalAuth();

    try {
      if (await userHasBeenSignedInBefore()) {
        // User has signed in before (we know by checking that a key exists in the secure storage), get new token silently
        // Do we call acquireTokenSilent() if the token hasn't expired? Instead, do we just use the token stored in secure storage (that's not expired)
        // msal_auth refreshes a token via acquireTokenSilent(), see: https://github.com/nayanAubie/msal_auth/issues/12#issuecomment-2191627392
        await getTokenSilently();
        ...
      } else {
        // User has not signed in before (no token present in secure storage) -- user will have to sign in
        _isAuthenticated = false;
      }
    } catch (e) {
      ...
    } finally {
      ...
    }
  }

@paulhwangfti There is a way to check whether the token is expired. mentioned in the Readme please check it. https://pub.dev/packages/msal_auth#get-auth-token-by-silent-call--when-expired
So when your token is expired, your app is supposed to call the acquireTokenSilent method.


Fixed and refactor template current/legacy xml files header

php settings short_open_tag = on
then following parser exception will be thrown:

Parse error: syntax error, unexpected '=' in phar:///scripts/sw.phar/src/Extensions/Shopware/PluginCreator/template/current/Resources/services.xml.tpl on line 1

thanks for your PR @czimnick :+1:
good catch!


Kafka initialization actions script fails due to missing Debian repository

Very recently, Dataproc clusters started to fail at creation, due to an error in the Kafka initialization script, caused by a Debian repository no longer available:
https://deb.debian.org/debian buster-backports Release
The error says:

Initialization action failed. Failed action 'gs://goog-dataproc-initialization-actions-europe-west1/kafka/kafka.sh', see output in: gs://XXXXX/google-cloud-dataproc-metainfo/a697c722-2bd7-440b-b4da-9494892703ac/XXXXXX-m/dataproc-initialization-script-0_output"

The contents of that file is the following. Any advice or workaround is more than welcome.

I'm  in the same situation.

Thank you for the report.  We are addressing this issue with the highest priority.

The fix https://github.com/GoogleCloudDataproc/initialization-actions/pull/1161 for gpu init actions has been verified. We are already working on the same fix patch for other init actions which are failing with the same error.
For urgent fix, customers/developers can clone the init action and add the same lines of code as in the fix in their copy, and use it for cluster creation. Please note that we do not encourage our customers to use cloned init script as they will not have updated init actions, and they will have to clone it every time there is a change in the init actions repository. So unless urgent, please wait for the other fixes to go in :)

Hi @ahmedetefy @olbapjose could you confirm if the error message is still the same. We have already rolled out the fix a while back.

@akhanna213  Please see the image below and the attachment, which is the output file mentioned in the error.

google-cloud-dataproc-metainfo_initialization-script-0_output.txt

Hi @ahmedetefy @olbapjose , this looks like a different issue than what the users were facing earlier. Let me check with the team to understand what is causing this breakage. Appreciate your patience on this, let me get back to you as soon as possible.

Hi @akhanna213 do you have updates on this? Initially I was able to do a workaround by adding --allow-releaseinfo-change:
function update_apt_get() {
  retry_apt_command "apt-get update --allow-releaseinfo-change"
}

and it worked, but today it is failing again with a different message:
The following NEW packages will be installed:
gnupg2
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 393 kB of archives.
After this operation, 411 kB of additional disk space will be used.
Err:1 http://deb.debian.org/debian buster/main amd64 gnupg2 all 2.2.12-1+deb10u1
404  Not Found [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gnupg2/gnupg2_2.2.12-1+deb10u1_all.deb  404  Not Found [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I will try again with fix-missing but looks like the script is not robust as it is exposed to different possible points of failure.


Reference to new base images

Description
This PR is to resolve #128 by referencing new base images 9.0.20211220 for both twas-nd and ihs.
Testing
The following test cases are passed before sending out the PR:

Successfully deploy a tWAS cluster with the preview link
Observed that dmgr, managed node and ihs server are all upgraded to version <IP_ADDRESS>:

WebSphere integrated solution console:

dmgr: /datadrive/IBM/WebSphere/ND/V9/bin/versionInfo.sh

WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version <IP_ADDRESS>, dated 2/8/12

--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time December 22, 2021 12:47:40 AM UTC

Installation
--------------------------------------------------------------------------------
Product Directory        /datadrive/IBM/WebSphere/ND/V9
Version Directory        /datadrive/IBM/WebSphere/ND/V9/properties/version
DTD Directory            /datadrive/IBM/WebSphere/ND/V9/properties/version/dtd
Log Directory            /root/var/ibm/InstallationManager/logs

Product List
--------------------------------------------------------------------------------
ND                       installed
JAVA8                    installed

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere Application Server Network Deployment
Version               <IP_ADDRESS>
ID                    ND
Build Level           f5102145.01
Build Date            11/8/21
Package               com.ibm.websphere.ND.v90_9.0.5010.20211108_1200
Architecture          x86-64 (64 bit)
Installed Features    WebSphere Application Server traditional
                    EJBDeploy tool for pre-EJB 3.0 modules
                    Embeddable EJB container
                    Stand-alone thin clients and resource adapters

Installed Product
--------------------------------------------------------------------------------
Name            IBM SDK, Java Technology Edition, Version 8
Version         <IP_ADDRESS>
ID              JAVA8
Build Level     pxa6480sr7-20211025_01
Build Date      10/25/21
Architecture    x86-64 (64 bit)

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

managed node: /datadrive/IBM/WebSphere/ND/V9/bin/versionInfo.sh

WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version <IP_ADDRESS>, dated 2/8/12

--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time December 22, 2021 12:49:32 AM UTC

Installation
--------------------------------------------------------------------------------
Product Directory        /datadrive/IBM/WebSphere/ND/V9
Version Directory        /datadrive/IBM/WebSphere/ND/V9/properties/version
DTD Directory            /datadrive/IBM/WebSphere/ND/V9/properties/version/dtd
Log Directory            /root/var/ibm/InstallationManager/logs

Product List
--------------------------------------------------------------------------------
ND                       installed
JAVA8                    installed

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere Application Server Network Deployment
Version               <IP_ADDRESS>
ID                    ND
Build Level           f5102145.01
Build Date            11/8/21
Package               com.ibm.websphere.ND.v90_9.0.5010.20211108_1200
Architecture          x86-64 (64 bit)
Installed Features    WebSphere Application Server traditional
                    EJBDeploy tool for pre-EJB 3.0 modules
                    Embeddable EJB container
                    Stand-alone thin clients and resource adapters

Installed Product
--------------------------------------------------------------------------------
Name            IBM SDK, Java Technology Edition, Version 8
Version         <IP_ADDRESS>
ID              JAVA8
Build Level     pxa6480sr7-20211025_01
Build Date      10/25/21
Architecture    x86-64 (64 bit)

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

ihs server: /datadrive/IBM/WebSphere/IHS/V9/bin/apachectl -v

Server version: IBM_HTTP_Server/<IP_ADDRESS> (Unix)
Server built:   Oct  4 2021 10:21:10

Signed-off-by: Jianguo Ma<EMAIL_ADDRESS>

Note: The commit 72d0c80 is to replace master with main as the branch master was renamed to main. It's non-related to the PR topic, but it's just tiny enough to be included and shipped with the PR.


Truffle scripts should connect to localhost:9545

Truffle develop binds to localhost:9545 by default so we should update our development truffle scripts accordingly.

@denalimarsh what port does your truffle develop instance listen on? On Ubuntu, Truffle v5.1.X listens on 9545, so we should try and find a common solution.


how can  refresh parent component when child component is poped

Version
Tell us which versions you are using:

react-native-router-flux v3.36.0
react-native v0.34.1

Expected behaviour
how can  refresh parent component when child component is poped
I tried to use onBack func in a scene
but i got an error like

My code is like
            <Scene key="msg" clone hideTabBar title="" component={Msg}               onBack = { () => Actions.pop({refresh: true})}                />

the API mentions refresh: {propstoset} but these props are not set or present in the componentWillReceiveProps(nextProps) function

More or less related: we are also encountering issues with refreshing a page, is there anyone that knows if there is any lifecycle that is triggered when landing on a page again?
Situation: we want an action to be executed every time a user views the page, no matter if it is via redirect or via push or pop or replace... we can't seem to find out how to do this. Any suggestions?

@JeroenNelen  Yes, i just tring to find a callback like android onResume/onPause
Or ,if there's any other solution to do this..

I assume "msg" is not the scene you want to refresh. Have you tried Actions.pop({refresh: {key: "SCENE_KEY_TO_REFRESH"})} ???

Any luck with this issue? Also looking for a solution.

Any luck with this issue? Also looking for a solution.

+1.

+1

You can render the Component by using redux and its reducers, change the state of one of the parameters and it automatically renders the component after we pop out of the child screen.


cleaner archive names ?

It would be nice if the generated archive names did not have the noisy backslash inserted (currently done to prevent the initial hyphen breaking printf I guess).
Also, I'd like it if the timestamp were optional - I'd prefer to have just the date in the archive name.
Thanks for acts!

The optional timestamp would also require handling the case where a second backup is performed in a single day.

When using a name without timestamp, I'd expect it to overwrite a similarly named backup on the same day. (Mine is a one-backup-per-day situation.)

The notion of clobbering backups is quite problematic, and not a path that acts should go down.
A postbackupscript could rename the backups (tarsnap -c newname @@oldname && tarsnap -d oldname).
To make that easier, what if acts supplied the names of backups created in a run as arguments to the postbackupscript?

Oops, I completely forgot to reference this issue when I committed f1b5353. The backslash thing should be fixed there. You're correct that it was to prevent printf from breaking, but I think I've done it in a more intelligent way now.
@simonmichael: Does the final archive saved to tarsnap have a backslash in the name? If so I'll cut a new release immediately.

Closing, as this should be working now. If anyone is getting mangled backup names, I'll let me know and I'll cut a new release ASAP.


Update README.md

The user should always fork the repository then modify it when contributing code. This allows for pull-requests and pushing back to github. That's why we added "YOUR_USERNAME" instead of the master repo.
Thanks!


Error when trying your sample BioQuery...

I am new to Dart... any hints on why?  thx. Billy.
On this line:  The IDE gives me a warning of Invalid Override.
OperationType get type => OperationType.query;
At runtime:
malformed type: line 93 pos 3: cannot resolve class 'OperationType' from 'ViewerBioQuery' OperationType get type => OperationType.query; ^

Hi @billylo1,
Thanks for your interest in this project.
I have cloned the project from scratch and tester the example in the master branch and everything works out of the box for me. I have installed dart using brew by following this guide: https://www.dartlang.org/install/mac.
To make the project works, you have to define a environnement variable GITHUBQL_TOKEN=YOUR_PERSONAL_GITHUB_TOKEN_WITH_THE_GQL_RIGHT. The official documentation is here.
Let me know if you still have an issue. Otherwise, I will close this issue in one week.
Cheers!

Perfect.  Thx!!


Push Notification Toggle Missing 0.76.2

Home Assistant release with the issue:
0.76.2
Last working Home Assistant release (if known):
0.75.0
Component/platform:
https://www.home-assistant.io/components/notify.html5/
Description of problem:
Toggle is still missing for Push Notifications.
Additional information:
There were comments in 0.76.2 release notes that said this was fixed. Its not fixed on my end.

The toggle was moved to the user profile intentionally.  If you don't have auth enabled it you won't see it until you do in 0.77.  For now if you need the toggle you can rollback to 0.75.3 if you don't want to enable auth just yet.


[LazyLibrarian] Move to Common Library

LazyLibrarian is a quite simple chart it looks like.
Yet it's not yet using the common chart.

Thanks for pointing this out!
We'll put this on our backlog, but if somebody wants to create a PR that would be appreciated as well!


Code navigation broken when using modules in index.js files

Issue Type
Bug
Description
When modules are defined in index.js files, code navigation fails. You can't cmd+click to navigate to the defintion, or cmd hover to peek. Code navigation correctly works when the file name is used.
Please see vscode-repro.zip, which is a standard create-react-app ejected, with an additional src folder, and that folder is added to webpack resolve.modules. I'm unable to cmd+click on import Two from within One/index.js.
The folder layout of components is like this:

The jsconfig.json file I'm using in its entirety (I've iterated on this file many times tonight) is:
{
    "compilerOptions": {
        "target": "ES6",
        "module": "commonjs",
        "jsx": "react",
    },
    "include": [
        "src/**/*",
    ],
}

If I switch compilerOptions.module to es6, then code navigation works provided I change the import to reference the filename:
import Two from 'components/Two/index
Is there a way to make code navigation work, using absolute paths (as webpack allows) when components are defined in an index.js file? No incantation I can come up with or search for has worked.
 This fixed the problem when I tested it
"checkJs: true is also useful for tracking down these sort of issues

Thank you @mjbvz I felt I'd tried that already. At first attempt it didn't work, but then reloading the file seems to pick up the change, and then navigation works correctly.


ndt7: design better/simpler channels structure

I was too excited about channels and wrote pipeline code. Also, requirements changed. So, now we not necessarily need to have this pipeline code and we can save some channels. Saving some channels is not just useful to improve the beauty of the code base; as discussed with @darkk in a recent PR and offline, the current structure does not behave well when there are proxies/middleboxes.

WIP:
type sender struct{}

func (s *sender) do(
    ctx context.Context, cancel context.CancelFunc,
    wg *sync.WaitGroup, ch chan<- model.Measurement) {
  defer cancel()
  defer wg.Done()
  // code like before...
}

func measurer struct {}

func (m *measurer) do(
    ctx context.Context, cancel context.CancelFunc,
    wg *sync.WaitGroup, ch <-chan model.Measurement) {
  defer cancel()
  defer wg.Done()
  // code like before...
}

func receiver struct {}

func (m *receiver) do(
    ctx context.Context, cancel context.CancelFunc, wg *sync.WaitGroup) {
  defer cancel()
  defer wg.Done()
  // code like before...
}

func download() {
  waitgroup := new(sync.WaitGroup)
  ctx, cancel := context.WithTimeout(10*time.Second, context.Background())
  const buffersize = 50
  ch := make(chan model.Measurement, buffersize)
  waitgroup.Add(3)
  sender := new(sender)
  go sender.do(ctx, cancel, waitgroup, ch)
  measurer := new(measurer)
  go measurer.do(ctx, cancel, waitgroup, ch)
  receiver := new(receiver)
  go receiver.do(ctx, cancel, waitgroup)
  waitgroup.Wait()
  // store results stored in sender, measurer, and receiver
}

The current code is like in the following diagram:

Because now the saver is not streaming to disk, there is less need to have a saver goroutine to which we send data. It would actually seem more proper to store measurements inside the measurer and the receiver and wait for the end of the nettest to assemble the final JSON object. This allows us to save some channels.
The fix to this first issue consists in removing the channels and synchronising the goroutines running in the background by using some other mechanism, e.g., a waitgroup.
A second issue of this code is that the measurer may block sending on the channel when the sender is blocked on a non writeable socket. This prevents us from collecting measurements.
The quick fix to this issue is to make writing on the channel between the measurer and the sender nonblocking, such that we never block the sender.

gfr collaborated at the retreat, so also has some knowledge of this.


{{workflow.labels.*}} not accessible in metrics

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: test-foobar
  labels:
    testLabel: foobar
spec:
  arguments:
    parameters:
      - name: testParam
        value: foo
  entrypoint: whalesay
  metrics:
    prometheus:
      - name: intuit_data_persistplat_dppselfservice_workflow_test_duration
        help: Duration of workflow
        labels:
          - key: workflowName
            value: "{{workflow.name}}"
          - key: label
            value: "{{workflow.labels.testLabel}}"
        gauge:
          realtime: true
          value: "{{workflow.duration}}"
  templates:
    - name: whalesay
      resubmitPendingPods: true
      container:
        image: docker/whalesay
        command: [ cowsay ]
        args: [ "hello world" ]

Fails with
MetricsError unable to substitute parameters for metric 'intuit_data_persistplat_dppselfservice_workflow_test_duration': failed to resolve {{workflow.labels.testLabel}}

Actually, in general, none of the usual variables seem to be accessible within Workflow level metrics.
We would want to use them for Prometheus metric labels, but global workflow variables seem inaccessible there.

but global workflow variables seem inaccessible there.

If this is the case then it's certainly a bug and will be fixed

I found this to be fixed on master

This was incorrectly closed. The bug is there when using global parameters in labels only with workflow-level and realtime metrics

I still have this issue with labels but on the WorkflowTemplate level. Is it expected behavior?


Added Locals context provider

Type @locals to reference the contents of the local variables with top n level (defaulting to 3) of call stack for that thread. A dropdown will appear, allowing you to select a specific thread to see the local variables in that thread.
{
  "name": "locals",
  "params": {
    "stackDepth": 3
  }
}

Not sure if the prettier config has changed, it used to keep the , but not sure why it has changed

@commandblock2 awesome work here!


Unable to use Admin.

I have the user.cfg and the swgemu.cfg both with the correct text as described. When I log onto the server, I do not have admin rights. Any ideas?

Follow the directions in YodaEmu under "getting connected" and make sure you are editing the proper files.


64bit version has released!

FFXIV 64bit macOS version has released, but the new launcher is running by wine. So I am looking for a better launcher. Does LaunchXIV fits 64bit version client?

It definitely does not, as of right now. I will fix it, in time, however I've got some problems with my development computer, which I updated to the macOS Beta version. Seems like FINAL FANTASY XIV just doesn't work at all in that version, the ffxivboot update fails every time.
It might take me a while to update LaunchXIV because of this, since I'll need to install Mojave again on another partition...

FFXIV 64bit release works really well in Mojave expect for its ridiculous launcher. However, your repo provided a meaningful idea.


daemon/graphdriver/devmapper/deviceset.go redundant else

In GetDeviceStatus:
	if sizeInSectors, mappedSectors, highestMappedSector, err := devices.deviceStatus(info.DevName()); err != nil {
		return nil, err
	} else {
		status.SizeInSectors = sizeInSectors
		status.MappedSectors = mappedSectors
		status.HighestMappedSector = highestMappedSector
	}

#dibs

@aneshas Can I ask you to not taking more then one issue? :) Take it after you'll propose PR for previous.

Ok, no problem :)


#11: Implement json-pretty print option

Closes #11

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev-0.1.0@4192005). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             dev-0.1.0      #31   +/-   ##
============================================
  Coverage             ?   92.77%
============================================
  Files                ?        8
  Lines                ?      166
  Branches             ?        0
============================================
  Hits                 ?      154
  Misses               ?        9
  Partials             ?        3

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 4192005...e893a2c. Read the comment docs.


Notification API example doesn't work in Chromium in cross-origin iframe.

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details
transferred from https://github.com/mdn/interactive-examples/issues/1457
🐛 Bug Description
I've given the permission, but the notification doesn't appear. I've found following deprecation message in the console.

Example?revision=1583240:39 [Deprecation] Permission for the Notification API may no longer be requested from a cross-origin iframe. You should consider requesting permission from a top-level frame or opening a new window instead. See https://www.chromestatus.com/feature/6451284559265792 for more details.

CodePen and JSFiddle have the same problem. I suppose linking to the demo and describing why would be an okayish workaround.
📃 Steps to reproduce

visit https://developer.mozilla.org/en-US/docs/Web/API/notification
click Notify me button

I've referenced this from https://trello.com/c/ivi4m7SR/179-notifications-api-fx-72; we'll fix it along with that stream of work.

I guess this is also related to the Fx70 DDN here? https://github.com/mdn/sprints/issues/2126

Hrm, that is a good point. Maybe this will be fixed by your work here instead then?

I guess this is rather hinting that this only shipped in Fx72. I will investigate.

https://hacks.mozilla.org/2019/11/upcoming-notification-permission-changes-in-firefox-72/ :-)

I've fixed this by removing the live examples on the affected pages, and simply linking to another example hosted on GitHub.


Implement config file parsing.

At the moment the current config setup requires you to edit config.c. This isn't ideal as someone might want to have different setups for different games.
We should look for a suitable YAML library that's easy to embed into the codebase for this purpose.

I'm going to go with a JSON based config format and just reintroduce cjson.
libyaml is the only suitible library i could find and it doesn't look easy to use


Color space adjustment for PPM and PNG files.

PPM by specification is Rec709! Make it so.
PNG files were getting marked as sRGB or Gamma if certain header
attributes were found in the file, but if they were absent, we didn't
designate a color space at all. Change so that the default assumes
sRGB, in the absence of any metadata telling us for sure.
Fixes #3084

For the sake of thoroughness we should note that the PNG spec merely says "choose a likely default gamma value" in the absence of any color space information. sRGB is the right likely value, given that web browsers all make the same choice.


Irrelevant Form Action executes based on the Intent even story action is different.

Rasa Core version: 0.9.6
Python version: 3.7
Operating system (windows, osx, ...): OSX
Issue:
Hi,
I have 2 FormActions. Action1 had 1 required slot and Action2 has 1 required slot.
utter_ask_field1 is for Action1 and utter_ask_field2 is for Action2.
I want to take the complete text typed by the user to store in the slots. So i have 2 more actions ActionGet1 and ActionGet2 which will fill the slot with last message by the user.
In stories I have

## Story 1
* intent1
    - action_myaction1
    - slot{"requested_slot": "utter_ask_field1"}
* intent1
    - action_get_field1
    - slot{"field1": "Value1"}
    - action_myaction1

## Story 2
* intent2
    - action_myaction2
    - slot{"requested_slot": "utter_ask_field2"}
* intent2
    - action_get_field2
    - slot{"field2": "Value2"}
    - action_myaction2

## Story 3
* intent1
    - action_myaction1
    - slot{"requested_slot": "utter_ask_field1"}
* intent2
    - action_get_field1
    - slot{"field1": "Value1"}
    - action_myaction1

In the last story 3 I have written that the text sent by the user may have intent2 but I need to ignore the intend and take the complete text by using the action action_get_field1.
ISSUE: If the intent given by the NLU if it is intent1 then it works fine. But if the intent for the user text is intent2 then next action will be

slot{"requested_slot": "utter_ask_field2"}

I guess this is because the user text intent was intent2 and in FormAction the required field if field2. Thus  utter_ask_field2 was executed. But actual requirement was to execute action_get_field1.
How can I implement this? Is this a bug?

What is the type of your required slot? you you using a FreeTextFormField ?

I used the FreeTextFormField in my custom action. In my online training Form field is requested but the response text is not populated in to the slot.
class ActionWeatherCheck(FormAction):
    def name(self):
        return 'action_weather'

    @staticmethod
    def required_fields():
        return [
            FreeTextFormField("city")
        ]

    def submit(self, dispatcher, tracker, domain):
        try:
            city= tracker.get_slot('city')

My train online worked like this:
Bot loaded. Type a message and press enter:
what is the weather?
/usr/local/lib/python3.6/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
  if diff:
------
Chat history:

	bot did:	None

	bot did:	action_listen

	user said:	what is the weather?

		 whose intent is:	weather_check

we currently have slots: city: None, fuel: None, location: None, requested_slot: None, search_keyword: None

------
The bot wants to [action_weather] due to the intent. Is this correct?

	1.	Yes
	2.	No, intent is right but the action is wrong
	3.	The intent is wrong
	0.	Export current conversations as stories and quit
1
May I know which city you want's to know?
------
Chat history:

	bot did:	None

	bot did:	action_listen

	user did:	weather_check

	bot did:	action_weather

we currently have slots: city: None, fuel: None, location: None, requested_slot: city, search_keyword: None

------
The bot wants to [action_listen]. Is this correct?

	1.	Yes.
	2.	No, the action is wrong.
	0.	Export current conversations as stories and quit
1
Next user input:
Bangalore
/usr/local/lib/python3.6/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
  if diff:
------
Chat history:

	bot did:	action_listen

	user did:	weather_check

	bot did:	action_weather

	bot did:	action_listen

	user said:	Bangalore

		 whose intent is:	deny

we currently have slots: city: None, fuel: None, location: None, requested_slot: city, search_keyword: None

------
The bot wants to [utter_default] due to the intent. Is this correct?

	1.	Yes
	2.	No, intent is right but the action is wrong
	3.	The intent is wrong
	0.	Export current conversations as stories and quit

Is there any error in my code?

from what I can see, the problem is that Rasa NLU is classifying 'Bangalore' as a deny intent, which is probably not what you have in your stories. I would recommend that you try and fix the NLU model, then this should work

@amn41
I have my Story written as:
## Test Story
* weather_check
    - action_weather

and my NLU JSON data for deny intent is
     {
        "text": "no",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "i can't",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "not correct",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "reject",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "not at all",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "something else",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "its is not that",
        "intent": "deny",
        "entities": []
      },
      {
        "text": "no i want a different city",
        "intent": "deny",
        "entities": []
      },

I also have a Fallback policy for 0.3
I guess if NLU gives a different intent also FreeTextFormField should store the latest message completely into the slot.

@amn41 Could you please help me in resolving this?

This should not happen right? When FreeTextFormField for a requested slot is fired then the next user input should be stored in to the slot irrespective of the intent.

This is not how it currently works. We may change this in the future but right now NLU still needs to predict the right intent (or core needs to see stories with different intents so that it knows to always call the FormAction)

@amn41
Thanks for the reply. :)
So what i did is I had 2 intents which was weather weather_check and price_check changed to intent inform .  Also i have added some city name in NLU to identify city names as intent inform.  As I have two different actions ie ActionWeather and ActionPriceCheck I need to change the flow based on the the user text ie weather or price.
So I created one more slot to identify the context and the intent is:
context:
        type: text

If the context is weather then ActionWeather should be executed and if context is price then ActionPriceCheck should be executed.
Story:
## Generated Story<PHONE_NUMBER>886787618
* inform{"context": "weather"}
    - slot{"context": "weather"}
    - action_weather
    - slot{"requested_slot": "city"}
* inform
    - action_weather
    - slot{"city": "bangalore"}
    - slot{"requested_slot": null}
    - export

## Generated Story<PHONE_NUMBER>211843710
* inform{"context": "price"}
    - slot{"context": "price"}
    - price_api
    - slot{"requested_slot": "city"}
* inform
    - price_api
    - slot{"city": "bangalore"}
    - slot{"requested_slot": "fuel"}
* inform{"fuel": "petrol"}
    - slot{"fuel": "petrol"}
    - price_api
    - slot{"fuel": "petrol"}
    - slot{"requested_slot": null}
    - export

But issue is that Rasa Core wont check the slot value of my slot context and execute the action. Now what happens is that the actions  ActionWeather  and ActionPriceCheck executes randomly.
O/p

Using TensorFlow backend.
Bot loaded. Type a message and press enter:
what is the weather in bangalore
Can you specify whether you want to know the petrol price or diesel price?
petrol
Okay, The current petrol price in Bengaluru is INR 77.12
what is the weather in bangalore
The weather forecast in Bengaluru seems to be broken clouds as of now and the temperature shows 26°C. The humidity is around 65% and the wind speed is currently 6.7Kmph.
what is the diesel price
The weather forecast in Bengaluru seems to be broken clouds as of now and the temperature shows 26°C. The humidity is around 65% and the wind speed is currently 6.7Kmph.
what is the weather in chennai
The weather forecast in Chennai seems to be broken clouds as of now and the temperature shows 34°C. The humidity is around 49% and the wind speed is currently 6.2Kmph.


Prepare datasets on HuggingFace

[ ] convert Fluent Speech Dataset to HF from https://www.kaggle.com/datasets/tommyngx/fluent-speech-corpus
[x] Request the Snips datasets
[ ] Convert Snips to HF datasets https://github.com/sonos/spoken-language-understanding-research-datasets

snips: link

fluent: link

Good job boys 🔥


Collector

What this PR does / why we need it:
Code for collector pods that ImageCollectorController will deploy through ImageJob.
Uses ListImages() from CRI and creates ImageCollectorCR with list of all images on the node.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #69
Special notes for your reviewer:

I think this is missing the ImageCollector type definitions?

@cpuguy83 i think they got merged in https://github.com/Azure/eraser/pull/171


Add some test depth

Codecov Report

Merging #2 (f6dd8ff) into main (de40496) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main      #2   +/-   ##
=====================================
  Coverage   98.2%   98.2%
=====================================
  Files          1       1
  Lines         54      54
  Branches       8       8
=====================================
  Hits          53      53
  Partials       1       1

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 de40496...f6dd8ff. Read the comment docs.


Claims Transformation Upgrade issues.

We have an application which uses Windows authentication and in 1.1, was using ClaimsTransformer  and this was working fine. Now we upgraded the app to 2.0 and below is the new claims transformation we trying to use.
public class MyAppClaimsTransformer : IClaimsTransformation
    {
        private readonly AppDbContext _context;

        public MyAppClaimsTransformer(AppDbContext context)
        {
            _context = context;
        }

        public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal)
        {

                var id = ((ClaimsIdentity)principal.Identity);
                var username = ((ClaimsIdentity)principal.Identity).Name.Split('\\')[1];
                var roles = _context.UserClaims.Where(r => r.Username == username);
                var ci = new ClaimsIdentity(id.Claims, id.AuthenticationType, id.NameClaimType, id.RoleClaimType);
                if (roles.Any())
                {
                    roles.ToList().ForEach(c =>
                    {
                        ci.AddClaim(new Claim(c.Type, c.Value));
                    });
                }
                var cp = new ClaimsPrincipal(ci);
                return Task.FromResult(cp);
        }
    }

And in Startup.cs services.AddTransient<IClaimsTransformation, MyAppClaimsTransformer>();. However this is causing 500 server error. It works fine on debug. We were trying to deploy the app and keeps getting 500 errors, spent a lot of time debugging to no avail. It was only after we commented the line on Startup.cs the app runs. However we need the custom transformation for authorization but whenever we add the line the app fails with 500 error.
I have seen the question and the link referenced but the example is for Individual User Accounts
Asp.net Core Claims Transformation Support Missing
Note: This is works fine in debug mode with IIS Express.

What error do you get in the application logs?
I suspect the lifetime of AppDbContext is wrong.

No error at all. The AppDbContext is correct. I did removed it to test if it was the problem, but nope.
I enabled stdout logs but no logs written as well.

Post your startup config.

Here's my Starup config:
public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddAuthentication(IISDefaults.AuthenticationScheme);

            services.AddMvc();

            services.AddDbContext<AppDbContext>(options =>
                    options.UseSqlServer(Configuration.GetConnectionString("AppDbContext"), o => o.UseRowNumberForPaging()));
            services.AddTransient<IClaimsTransformation, MyAppClaimsTransformer>();
            services.AddAuthorization(options =>
            {
                options.AddPolicy("Manager", policy => policy.RequireClaim("Admin"));
            });

            services.AddDistributedMemoryCache();
            services.AddCloudscribePagination();
            services.AddSession(options =>
            {
                options.IdleTimeout = TimeSpan.FromSeconds(300);
            });
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            loggerFactory.AddConsole(Configuration.GetSection("Logging"));
            loggerFactory.AddDebug();
            loggerFactory.AddSerilog();

            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
                app.UseBrowserLink();
            }
            else
            {
                app.UseExceptionHandler("/Home/Error");
            }

            app.UseRequestLocalization(new RequestLocalizationOptions
            {
                DefaultRequestCulture = new Microsoft.AspNetCore.Localization.RequestCulture("en-GB"),
                SupportedCultures = new[] { new CultureInfo("en-GB") },
                SupportedUICultures = new[] { new CultureInfo("en-GB") }
            });

            app.UseStaticFiles();

            app.UseMvc(routes =>
            {
                routes.MapRoute(
                    name: "default",
                    template: "{controller=Home}/{action=Index}/{id?}");
            });
        }
    }

Can you post a complete app to GitHub so that we can take a look?


Add GitHub actions

Addition of GitHub actions will help to enhance the code quality and workflow or repository.
try to add ESLint and prettier Actions.

Hey @abhisheknaiidu, if this issue is not assigned to any one so can you assigne it to me. I would love to make my contribution in this repo. Also let get connected and dicuuss more about the Github Action flow.

@vaibhavp Go Ahead!

can I be assigned to this, please


build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0

update https://github.com/advisories/GHSA-vvpx-j8f3-3w6h

duplicate of https://github.com/cilium/cilium/pull/23850


Doesn't work: There are no frames to convert

Hello,
https://1drv.ms/u/s!Aj16T_Ds0bkv3CvTZD3OLt8xYmRL
Bests,
Thierry

I've added the Settings window that manages the default behavior of the plugin. That should fix the problem
https://www.figma.com/community/plugin/848551444907255153/Frames-to-Groups?comment=1206663101810610663
Feature commit: https://github.com/maxmartynov/figma-plugin-frames-to-groups/commit/19e275bcf7e15a32ee047bc6fe2ab4e5011ded62


CASSANDRA-17560: Migrate track_warnings to more standard naming conventions and use latest configuration types rather than long

with latest changes track warnings no longer exist
$ egrep -r 'track_warning|track-warning|trackwarning' src/ test/
$


Typo in Reference Documentation for Creating Process Group Naming Rule in Dynatrace

Under the section "Create a process group naming rule in Dynatrace" (refer to https://keptn.sh/docs/0.6.0/reference/monitoring/dynatrace/#create-a-process-group-naming-rule-in-dynatrace) the third step says to set the Condition to "exits"...
Condition: keptn_deployment (Environment) > exits
when it should indicate "exists"...
Condition: keptn_deployment (Environment) > exists

Hi John,
many thanks for the hint! I fixed the typo with this PR: https://github.com/keptn/keptn.github.io/pull/494


fix: COPY query issue in toTable

I think this is a typo

Sorry I missed this PR. It does look like a bug - can you confirm you got the correct behavior with this patch? I assume you did, hence making the PR, but just wanted to double check.

Yup I've been using this fix for awhile now in production
On Feb 7, 2017 2:47 AM, "Oliver Charles"<EMAIL_ADDRESS>wrote:
Sorry I missed this PR. It does look like a bug - can you confirm you got
the correct behavior with this patch? I assume you did, hence making the
PR, but just wanted to double check.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ocharles/pipes-postgresql-simple/pull/8#issuecomment-277963288,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACyHlRHLe-tKdakFKU-m7pz2frNYB1Yks5raEungaJpZM4I6Pjp
.

Thanks! I've released this. You might also be interested to know this library is now deprecated in favor of http://hackage.haskell.org/package/streaming-postgresql-simple. You can adapt this library to work with pipes using streaming-pipes. I will continue to maintain the cabal file for this library though, so if this API is sufficient there is no need to change.


use resource from conn if already present

I noticed that the LoadResource assumed that the resource was inside a {:ok, resource} tuple inside the conn. Guardian.Plug.set_current_resource however just puts the resource into the conn without wrapping it in a tuple. This made testing a bit hard. With this fix it's possible to just use a helper like the following in controller tests:
def sign_in(conn, user \\ %User{}) do
  conn
    |> Guardian.Plug.set_claims({:ok, %{}})
    |> Guardian.Plug.set_current_resource(user)
end

Hey, could I get some input on this. I'm currently depending on my form from my projects, but would like to depend on the hex package again. I thought this was a bugfix, but I'm not completely sure :-)

@manukall sorry for the delay. The reason it needs to go into a tuple is because it's completely unknown where it's coming from. Api, memory, db. The tuple provides a way to find out what happened in the case that something when wrong. I think the better option would be to make sure that set_current_resource wraps it in a tuple when it puts it in there..

@hassox thanks for your reply. i'll reset the LoadResource plug and change set_current_resource. Would you want Plug.current_resource to still return just the resource or {:ok, resource} then? (the latter would obviously break the existing api.)

ping @hassox


Help Wanted/Quick question: What is  external/generate_agent for? and how do I use it?

Empire Version
2.5
OS Information (Linux flavor, Python version)
Kali 2018 newest
Sorry just basic question but what exactly is the external/generate_agent module for? I have got stagers to call back from target hosts on my test network and they are listed as agents. That combined with reading the agents wiki I was under the impression that agents are compromised hosts so what is this module for? Also it appears to be a powershell script but that's not what the output file extension is?

generate_agent gives you code for an agent that's already fully staged, that can start communicating with the server without having to go through the staging process. This agent shouldn't be executed at once, since I don't think Empire would handle two different agents ghosting each other pretty well.

generate_agent gives you code for an agent that's already fully staged, that can start communicating > with the server without having to go through the staging process. This agent shouldn't be executed at > once, since I don't think Empire would handle two different agents ghosting each other pretty well.

So it's for executing from the box  I am running Empire on? Like I have read the description on the module. I guess a better question is what is an Agent? I thought it was a compromised target host

Nope, it's for running on a compromised host.
An agent is Powershell or Python code you've got running on a remote host that talks to the Empire server and runs commands and other code for you.
The generate_agent module is for pretty specific scenarios where you can get code execution, but something is preventing you from staging an agent normally. Other than that, the results are the same as using any other stager.

ahh thank you


Add support for DeploymentPreference to AWS::Serverless::Function

This PR adds support for the DeploymentPreference option in SAM based templates.
For more details, see documentation

Thanks!


Remove extra scrollbars in the modal sheet due to nested scroll views

Description:
Issue reported within #46
This PR addresses an issue where an extra scrollbar was being displayed in web and desktop apps when a nested scroll view was present within a modal page constructed with withSingleChild factory method.
Changes Made:
Wrapped the singleChildContent within a ScrollConfiguration widget the copy of the parent scroll behavior and changed the scrollbars to false for the descendants.

Before
After

I remember making a similar change in one of the Flutter samples

@TahaTesser Thanks for the review! Any idea about this exception? which is throwing needs layout exception when scrolling with drag gestures on desktop apps


docker-compoose.yml: Add gui directory to volumes of explorer docker

This adds the gui directory the volumes of the explorer image so it doesn't need to be rebuilt during front-end development and other updates.

Mhmm, this doesn't seem to work for me locally for me, it seems the following line is not working as expected after this change: https://github.com/jtimon/elements-explorer/blob/master/docker/explorer/Dockerfile#L17
No angular packages are being served. See https://github.com/jtimon/elements-explorer/blob/master/docker/explorer/package.json

I'm having the same issue now. There may have been something cached when I tested previously.


Dict-like structures' constructors should track Dict changes

(I'm guessing.)
Leave them in, if @deprecate depending on VERSION, add missing methods?

I believe this is addressed for OrderedDicts and OrderedSets, but not yet for DefaultDicts.


Fixed InvalidCastException when using a sqlite database

Additional fixes for #42

This is the result of how sqlite stores its data, and therefore retrieves its data.
Basically, the data types are dynamic and if the numeric data is larger than Int32.MaxValue, it will be retrieve with GetInt64 for example.
https://www.sqlite.org/datatype3.html#affinity

Thank you. I've updated the code based on your suggestions.


share global variable between workers?

suppose i use 4 workers in workerman lib, and i want to share global variables in different workers, how i can do it? thank a man.

Variables of different processes can not be shared.
But you can use mysql/redis etc as an global storage to share data.


Suggestion for a machine incompatibility fix!

The Crusher somehow can cause crashes if it gets attacked by certain mobs from other mods or even if it is swarmed by silverfish. Or when shoot at by a wither skeleton in the nether. Is there a way to fix this? Or could you make it so that it can attack trough walls to enable it to be out at a save place behind a wall so mobs can’t attack it. Or make it do dmg in a way that mobs don’t get agro to the crusher?

If you don't provide a crash log that's just false accusations. Nothing I can do about it.

it can attack trough walls

Also, the mob crusher can already kill mobs behind a wall.


docs: add notes to merged architecture page

Adds the notes to the one architecture docs page and adds a link to the bottom of the readme.
url: https://media-chrome-docs-git-fork-luwes-architecture-docs-mux.vercel.app/en/architecture

Should we split this into two? Maybe Design Principles and Architecture? While they overlap at "Connecting elements to the media" they feel like generally different concepts.

sounds good to me, will make some changes.


Updating sponsorship text

@santosomar we do not have the access to Merge. Can you merge this one?


Serve API with PasteScript

Install PasteScript into your python environment and then execute a command like this:
/path/to/venv/bin/paster serve /path/to/api/dev.ini --reload

This will launch the API with PasteScript and activate automatic reloading.

NOTE: if we move forward with PasteScript, we should probably do some extra work to consolidate the old bin/api.wsgi with the new wsgi.py

Is this a purely additive change?
Is it purely for development?
Will it influence / replace uwsgi?

Yes, yes and maybe.  This is not for prod use.  We may want to consolidate how we're launching uwsgi and paster at some point.  Otherwise, the goal would be for uwsgi to be unaffected.

Also of note here, you can use a debugger with paster.  For example, you can put this in your code:
import pdb; pdb.set_trace()

And you will be dropped into the debugger in the terminal that is running paster

Very cool, @andynemzek!
@rentzso and I will exercise reloading and debugging functionality tomorrow. We'll also look into consolidating with the existing files.

I'm sorry, but I have been swamped and won't get to this until next week.

Ok, just a reminder, these are purely additive changes, so they can technically be merged whenever.

@josschne wanna take a look?

Got https working with @andynemzek yesterday, simply by adding ssl_pem param under [app:main].

Hi All, where are we at with this?  I will be needing this shortly (or something like it) to proceed with building the dev env.

I've got no complaints.

@andynemzek: Per our offline discussion, please rebase onto master and expand with bash wrapper. I'll help with converting the API's config system to environment variables. Will seek buy-in from @kofalt later today.

@gsfr I created a minimal bash script to run the API and mongo.  I think this script is relatively solid.  I also modified the wsgi.py file to work against the changes in master...this however, needs more work.  Again, it's additive, so we could merge and work on it incrementally if necessary.  Let me know what you think.

Very cool!
I've made a few changes to the bash script, mainly created variables for 'runtime' and 'persistent' and made them optionally settable as command line arguments.
We are still missing the ability to optionally bootstrap users and/or data. I'm not sure about the exact desired behavior here, with respect to idempotence, or instance.
For reference:
bin/bootstrap.py users mongodb://localhost:9001/scitran bootstrap.json
bin/bootstrap.py data --copy mongodb://localhost:9001/scitran ../testdata persistent/data

Thanks for making those changes.  One thing to note about variable directory names...we obviously can't change the .gitignore so the dirs would appear at a git status as files to add to the repo.  If they indicate a directory outside the repo I guess that's fine.
I will be checking out the bootstrapping shortly.

@gsfr see what you think about this.  Users are bootstrapped every time cause it's a fast operation.  Data is bootstrapped only if the persistent/data dir does not exist.

@gsfr can we pull this in to master?  It's needed for the dev env work.

This LGTM!
It's a purely additive change, so let's just take initiative and merge this.
Open to further proposals in future PRs!

Sorry for being so slow. The only thing I would have changed is the unconditional user and group bootstrapping. While user bootstrapping is pretty idempotent, group permissions simply get clobbered, which can be annoying. Also, it's not exactly fast for longer user and group lists. I'd only bootstrap if mongo.lock does not exist. Will follow up with another PR.


toggling enableTime not possible?

My context is a form for calendar-events. There is a checkbox for "allDay"-events.
Depending on the value of that checkbox, I want to toggle the timepicker-functionality of flatpickr.
I tried fp.set('enableTime', false)
This changes some the behavior:

with enableTime true, flatpickr stays open after clicking on a day and focuses the hour-input
with enableTime false, flatpickr closes after clicking on a day

That's ok.
But: The time-picker is visible, even with enableTime set to false.
See https://jsfiddle.net/01k4czak/1/

Pick a date and time
Click the button
Open flatpickr again
time-picker is still visible

Is this intended behavior?

Hello,
Yes, toggling some properties like mode and enableTime doesn't work dynamically.
This is intentional due to the sheer number of options available making this functionality unfeasible without bloating the codebase.
I suggest simply recreating the instance, which is cheap.

@chmln Ok, I understand.
Yes, now I am recreating the instances instead :)
Maybe it would be beneficial to document which options can't or can be updated dynamically. I spent some time fiddling around - not knowing if I was just doing it wrong - until settling with recreating the instance.
Or maybe even outputting something like a console.warn from fp.set('enableTime', false) for all options that can't be changed dynamically?


QR Code Expiring

We have a website using this library for 2FA, the QR code expires exactly two months from when it was first scanned by the authenticator app. This occurs using both Authy and Google Authenticator. Do you have any ideas why this is occurring or is it the web site? Appreciate it if you or someone else could let us know asap.

I'm not sure what you mean, the QR code is of the two factor secret and the secret should be attached to the users account and then recorded into the users device to generate the code.
I don't believe this library adds any kind of expiration to that process, it doesn't make sense to cut off or reset a users two factor unless they have lost access to their device.

Probably this can be closed, until additional feedback is added.


NOT_RECEIVED error when running StarkNet.js workshop with starknet-devnet

The StarkNet.js workshop example works fine on testnet, but when running it against starknet-devnet I get this error:
Reading ERC20 Contract...
Deployment Tx - Account Contract to StarkNet...
Waiting for Tx to be Accepted on Starknet - Argent Account Deployment...
Invoke Tx - Initialize Argnet Account...


[WIP] Create basic model for Service Orders

https://trello.com/c/LVtwhl55/168-5-ssui-new-shopping-cart-model
cc @tinaafitz @gmcculloug @jrafanie

@miq-bot add-label wip

@jrafanie @gmcculloug @dclarizio I added storing user_name to miq_request and I also added default value for user (current_user)

thanks @jrafanie @gmcculloug I added user_name to service_order (instead of miq_request) with populating user_name on before_create and removed assigning current user.

@miq-bot remove-label wip

:+1: Looks good.

Nice @lpichler.  Thanks @gmcculloug @dclarizio for the feedback.