Fix using nosleep on html5 before user action

This PR contains a:

[x] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Fails on html5 if run before user triggers action. Use case is to run on a specific page load without user action.
https://stackoverflow.com/questions/49930680/how-to-handle-uncaught-in-promise-domexception-play-failed-because-the-use
Breaking Changes

Additional Info

In the README it is explained that:

NOTE: This function call must be wrapped in a user input event handler e.g. a mouse or touch handler

The intention is not that you can request wake lock on e.g. page load but that wake lock can only be requested after the user has interacted with the page in some way.
Also see the discussion in https://github.com/richtr/NoSleep.js/issues/85 for further reasoning on why the muted attribute was recently removed from this project.


Calico nod pod is unhealthy

Hey
I've installed Docker UCP (part of enterprise edition of docker), and i am trying to add a node to the swarm cluster. But i'm getting the following error: Calico-node pod is unhealthy: %!s(<nil>)
Details:
OS: RHEL 7.4
uname -r: 3.10.0-693.el7.x86_64
Docker version
Client: Docker Enterprise Edition (EE) 2.0
 Version:       17.06.2-ee-10
 API version:   1.30
 Go version:    go1.8.7
 Git commit:    66261a0
 Built: Fri Apr 27 00:38:41 2018
 OS/Arch:       linux/amd64

Server: Docker Enterprise Edition (EE) 2.0
 Engine:
  Version:      17.06.2-ee-10
  API version:  1.30 (minimum version 1.12)
  Go version:   go1.8.7
  Git commit:   66261a0
  Built:        Fri Apr 27 00:40:03 2018
  OS/Arch:      linux/amd64
  Experimental: false

The desired result must be successful node addition to the swarm cluster. Help needed in resolving this issue.
Regards
Aditya

You should start with looking at the logs from calico-node.  It should have some information on why it is unhealthy.  If you can grab logs and add them to the issue we can try to help more.

I'm having the same issue.
@ackris Have you been able to resolve it?

I've got a similar problem, except the calico images (ucp-calico-node and ucp-calico-cni) aren't even getting pulled. This is ucp 3.1.8. most of my nodes are doing fine, just one is misbehaving. Smells like something pre-installed on that node is interfering
Any ideas or remedies? The other suggestions don't apply (rp_filter is 1, plenty of disk).

FWIW, docker/ucp-pause isn't being pulled either.


python310Packages.ansible-doctor: 1.2.4 -> 1.3.0

Description of changes
https://github.com/thegeeklab/ansible-doctor/releases/tag/v1.3.0

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 171211 run on x86_64-linux 1

2 packages built:

ansible-doctor (python39Packages.ansible-doctor)
python310Packages.ansible-doctor


Save to dev dependences

Hey,
Thought it would be useful to add it as a dev-dependences over normally. Cause isn't this more for development  testing :) Sorry if incorrect. Love the repo
Also added some markdown tweaks for highlighting.

Thanks for this 👍

lightcrawler


fix warning from awk about invalid regex escape

This fixes #1

I haven't tested this yet with macos awk

Thank you! LGTM!


Added support for custom WebHostBuilder when using cli

This enables the CLI tool to run on projects with custom webhost configurations.
ex. adding autofac, custom config files etc.
Added an example project with autofac. CliExampleWithFactory

Sorry I didn't mean to close this PR, it was the result of a major F-up on my part - I was working on another project, accidentally added Swashbuckle as the remote and force pushed. As a result, GitHub closed all open PR's because there was no history in common. I was able to get the commits back up from my local branch but am unable to re-open PR's.


Consider using APP_PORT in the code as opposed to hard coded values in all the Quickstarts

Docs issues such as https://github.com/dapr/docs/pull/2369 can be prevented by using APP_PORT env variable set by the CLI.
Generally this is a best practice anyway and should be applied across all of the quickstart samples, to prevent the CLI command from having to match a hard coded port in the code.
Suggest updating all the quickstarts to use APP_PORT

/assign


Made ammendments to code-block ui and language selection

Fixes #827

Description

Fixed: styling of code-block
Added: "plaintext" as default
Fixed: issues with parsed coodeblock in EditorContent

Checklist
- [ ] I have made corresponding changes to the documentation.
- [ ] I have updated the types definition of modified exports.

[x] I have verified the functionality in some of the neeto web-apps.
[x] I have added the necessary label (patch/minor/major - If package publish
is required).

Reviewers
@AbhayVAshokan _a

@AbhayVAshokan _a Please review the new changes.

@AbhayVAshokan _a Please take a look at the updated  Ui, I have reverted the changes to dropdown strategy.


Moving cachedScope field out of ScriptFunction

cachedscope is not applicable to most of the normal functions. This change moves it out of the ScriptFunction to to a separate derived class which is instantiated if we decide to have cachedscope for that particular function.

With this change, are we able to figure out, for all deferred functions that will have NewScFunc byte code emitted for them, which ones will require scope objects when we execute them? Given that that's what we need to do, I was expecting a bigger change.

@pleath yes it looks like this covers all cases for scope objects including with statements.

There are many calls to Scope::SetIsObject in the byte code generator that are not touched by your change. All that logic now has to be applied to top-level deferred functions as well as non-deferred ones.


fix spelling and grammar

Signed-off-by: Bill Mulligan<EMAIL_ADDRESS>

Thanks @xmulligan!


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

created a contact info

[Create a contact info block


Pose tag in sensors ignored with fixed links

Original report (archived issue) by adhenning (Bitbucket: adhenning).
The original report had attachments: GearsBot.URDF

When a sensor (or at least camera's in this case) is attached to a fixed link, it's pose tag is ignored and overwritten with the computed pose for the fixed link when the pose tag should be transformed by the computed pose. I've attach the file to reproduce this issue. The following cases show the error. The pose should change, but doesn't.
No pose (0, 0, 0, 0, 0, 0):
<sensor name="robotCamera" type="camera">
  <visualize>true</visualize>
  <!-- <pose>1 1 1 1.570796 1.570796 1.570796</pose> -->
  <camera></camera>
</sensor>

Output:
$ gz sdf -p /usr/share/frcsim/models/GearsBot/robots/GearsBot.URDF | awk "/<sensor name='robotCamera/,/<\/sensor>/"
  <sensor name='robotCamera' type='camera'>
    <visualize>1</visualize>
    <camera name='__default__'>
      <horizontal_fov>1.047</horizontal_fov>
      <image>
        <width>320</width>
        <height>240</height>
      </image>
      <clip>
        <near>0.1</near>
        <far>100</far>
      </clip>
    </camera>
    <pose>-0.20115 0.42488 0.30943 1.5708 -0.89012 1.5708</pose>
  </sensor>

Pose:
<sensor name="robotCamera" type="camera">
  <visualize>true</visualize>
  <pose>1 1 1 1.570796 1.570796 1.570796</pose>
  <camera></camera>
</sensor>

Output:
  $ gz sdf -p /usr/share/frcsim/models/GearsBot/robots/GearsBot.URDF | awk "/<sensor name='robotCamera/,/<\/sensor>/"
  <sensor name='robotCamera' type='camera'>
    <visualize>1</visualize>
    <camera name='__default__'>
      <horizontal_fov>1.047</horizontal_fov>
      <image>
        <width>320</width>
        <height>240</height>
      </image>
      <clip>
        <near>0.1</near>
        <far>100</far>
      </clip>
    </camera>
    <pose>-0.20115 0.42488 0.30943 1.5708 -0.89012 1.5708</pose>
  </sensor>

There's even a TODO for it in the code: https://github.com/osrf/sdformat/blob/master/src/parser_urdf.cc#L3374 . This issue is very impractical...

Fixed by https://github.com/osrf/sdformat/pull/525 .

The fix has been released. This bug can be closed now, @nkoenig .


Axis tick auto align on multiaxis

What problem does this feature solve?
I want to have a functionality which allows the user to have the same number of ticks on every parallel axis.
i.e. I have 2 yAxis, but the auto ticks calculation gives me 6 ticks for one axis and 5 for the other. The difference creates irregular spacings between the split lines, which is not really good for user experience.
Here is the sample option code:
option = {
  "xAxis": [
    {
      "data": ["test"]
    }
  ],
  "yAxis": [
    {
      "name": "A",
    },
    {
      "name": "B",
    }
  ],
  "series": [
    {
      "name": "A",
      "type": "bar",
      "data": [
        275500000,
      ],
      "yAxisIndex": 0
    },
    {
      "name": "B",
      "type": "bar",
      "data": [
<PHONE_NUMBER>
      ],
      "yAxisIndex": 1
    },
  ]
}

And here is the sample result:

My request is based on the HighCharts library, which provides an API called alignTicks, which does the same thing as I described here.
What does the proposed API look like?
Let's say we have a boolean attribute yAxis.axisAutoAlign. By setting it to true, its ticks will get aligned with every other axis in the yAxis array which has the same boolean to true. That way, if one of the axis has 6 ticks, all the other axis will also have 6 ticks and get nicely aligned altogether.

Much needed !

This is an important feature and we should have some further discussion about it. Probably it's not easy to implement this and may be done in v5.0.

I need this feature too!

这个问题是不是短期内不会处理了？

@tidemarks 这个改动影响面很大，需要很多验证，所以短期不会合入。

@tidemarks 这个改动影响面很大，需要很多验证，所以短期不会合入。

这个issue开了3年了，你指的短期是多少年呢？


Update npm and python setup

Introduced the top-level nom run build:serverextension command and cleaned up the python setup.py script to use it.
Fixes #20

@SylvainCorlay - does this solve your issue?

@fperez - I added the git hooks here too.

@jasongrout, I added a PR against your PR to provide a watch:serverextension script.

Thanks! I was hoping there would be a watch eventually...

This also fixes #27.

In it goes...


[Feat] Key Performance Indicator Metrics (Prometheus)

Issue Description
I think it might be good to include some performance metrics e.g. Prometheus metrics. This will provide an opportunity to have a dashboard that shows how the free5gc deployment is behaving.
What's the version are you using
Not related to a particular free5c version.
Is your feature request related to a problem? Please describe.
No it is not
Describe the solution you'd like

Free5gc components (amf,smf,pcf,upf etc.) generate metrics that can be scrapped (e.g. Prometheus).
Example of metrics will be Attach Failure/Success Rate, Number of UEs, Number of GnB, Bearer statistics etc.
Metrics can now be used to create dashboards (e.g. Grafana).

Describe alternatives/workarounds you've considered
I don't think there is an existing solution for this with regards to free5gc.
Issue Template Checklist

If willing to resolve an issue by submitting Pull request, please consider the points below.

I don't know how to write programs currently. I opened this case maybe it might be interesting for the community to consider it.

Hello @infinitydon
We are working on the deployment of Free5GC on Kubernetes using Helm charts.
We have been able to monitor the Free5GC components using Prometheus.
For resource usage monitoring, it helped us to define resource requests and limits for the Free5GC components. Please see.
For application-specific metrics, we've used the istio service mesh to do the instrumentation. For the control plane components, we could have more grained metrics by using this feature for customizing metrics provided by Istio.
The same feature is provided by another service mesh called [linkerd](https://linkerd.io/ in a more automated way. You will can see that you can customize http metrics based on OpenAPI files. For Free5GC, [OpenAPI] are available here.
NOTE: I've not tried yet to customize metrics which would allow to get a per path metrics instead of having a single http_request metric.
Furthermore, service meshed can help also in generating traces that will be consumed by Jaeger for example.
What I am telling you after listing the possibilities offered to generate KPIs is that it is not a priority I think. I think we should rather think about having a stable version of Free5GC on Kubernetes (it will be the platform that host 5g networks sure) and then switch to a microservice architecture for the next versions. This cannot be done without opening a discussion between the developers of the Free5GC code and the operational staff who need to deploy 5G in open source platforms. I think that such an initiative could take this project much forward.
For the Helm charts, they are available for versions 3.0.4 and 3.0.5. We offer also the possibility of establishing an end to end testing using the UERANSIM. We have to verify if we're allowed to publish them in Github (in terms of licenses) before doing it :(
Best regards,
Abderaouf

Hi @raoufkh,
Thanks for the response..
Actually examples of the metrics that I am suggesting are:

Number of Attached Users
Attach Failure/Success Rate
Number of attached gNbs
Bearer activations/deactivations
utilization of the UE IP pools (how many UE IPs have been allocated, how many are free).

Can you confirm if the service mesh observability approach will provide the kind of metrics I listed above?
I also work on k8s and am a huge fan of provisioning 5GC using k8s, I have also made some suggestions with regards to deploying free5gc ion k8s. Using k8s will certainly fulfill one of the mantra of 5GC since it positioned to be deployed a  Cloud Native Functions.
kindly let us know peradventure your k8s implementation will be made open-source.

I agree with you that service meshes provide more advanced metrics only for HTTP traffic. So you can have metrics like the number of registration requests to the NRF , number of PDU sessions created by the SMF... etc. This allows developpers to minimize the need of changes in the application code.
I'm looking forward to the agreement to make the project open source so that the community can have a very simple method to deploy and configure Free5GC on Kubernetes and I'll let you know about it. I also hope to be able to have discussions with Free5GC contributors to talk about possible improvements of NFs (more desgin side).
Publishing in open source would also allow to improve Helm charts by benefiting from the experiences of others.

This issue has been mentioned on free5GC. There might be relevant details there:
https://forum.free5gc.org/t/is-it-possible-to-create-a-node-just-to-measure-performance/732/4

+1
FYI, I have been setting up Free5GC with Istio, Prometheus en ELK stack successfully, so I would be more the interested and willing to help out, also on the Helm aspects of it.

Hi @boeboe, @raoufkh,
I was trying to setup Prometheus with free5GC, but after installing Prometheus I'm a little lost how to proceed further, what files do I need to modify and how, to tell Prometheus what metrics should he monitor.
As you've been able to setup Prometheus with free5GC succesfully, could you help me out with some tips/tutorials which could help me to proceed? Or if it's possible to share some codes here or on GitHub, I would really appreciate that.
Unfortunately I'm not really experienced with programming, expecially not with Golang yet.
To start off, I would like to supervise more or less the same metrics @infinitydon mentioned on Feb 14th. Later I would like to also add custom metrics but as I understood from @raoufkh's comment I will need service meshes for that (Istio).

I am using Istio. Istio ships with dashboard for sidecar and cluster metrics. Next to that I've installed Prometheus node-exporter to gain visibility on node consumption per microservice.
If you want extra metrics for F5GC specifically, you would need to annotate your F5GC deployments and implement a /metrics endpoint in the microservice yourself, but the metrics provided by Istio and node-exporter gave me enough information.

Thanks @boeboe for your comment! I've managed to setup Prometheus and node exporter.
For Istio, I see that it requires Kubernetes cluster which is still under deployment for free5GC, as per @raoufkh's earlier comment.
Can you help me how did you overcome this issue? It's the ELK stack which you've mentioned?

You can deploy free5gc on kubernetes already, given you enable sctp support as an api-server experimental flag. You also need a CNI plugin with multi network interface support for the non-http traffic between ue/gnbsim/amf/smf. I used multus in my example.
https://github.com/boeboe/free5gc-k8s
ELK is the abbreviation of the popular logging stack solution from Elastic, being  ElasticSearch, Logstash & Kibana. I use it to send the log streams of the CNFs to ElasticSearch and create Kibana dashboards for visualizations.

Hello @boeboe

For distributed tracing (with Zipkin, Jaeger or OpenTracing), the CNF's would have to copy the correct tracing headers so that spans can be generated to trace the call throughout different CNF's.
https://istio.io/latest/faq/distributed-tracing/
A very simple POC of this:
https://github.com/boeboe/goserver-scratch/blob/69a8d3c9bfa9f7399fba39dd8e6fb9c87ac87ba8/goserver/main.go#L110
UPDATE: Looks like the headers are already propagated:
https://github.com/free5gc/http_wrapper/blob/29c8b0c4241fbae21255e8b569a0677841884ae9/request.go

What about tracing non HTTP calls. In the context of 5G we may have to trace requests that are not based on HTTP but other protocols like NGAP, PFCP ... etc
I know that Jaeger introduce the calls to databases in traces even if the protocol used to communicate with these databases is not HTTP

Yes ! Even the Envoy proxies they don't intercept UDP traffic, often used as the transport protocol for PFCP (SMF-UPF) and GTP (gNB-UPF) and they do not talk about SCTP which is used for NGAP (gNB-AMF). There is a clear need for a 5G service mesh :D

Hello again
I was finally able to publish the project on github. I let you discover: https://github.com/Orange-OpenSource/towards5gs-helm
I put the documentation and tutorials in the docs folder and I remain at your disposal if you need.

Hi @raoufkh,
Thanks for the response..
Actually examples of the metrics that I am suggesting are:

Number of Attached Users
Attach Failure/Success Rate
Number of attached gNbs
Bearer activations/deactivations
utilization of the UE IP pools (how many UE IPs have been allocated, how many are free).

Can you confirm if the service mesh observability approach will provide the kind of metrics I listed above?
I also work on k8s and am a huge fan of provisioning 5GC using k8s, I have also made some suggestions with regards to deploying free5gc ion k8s. Using k8s will certainly fulfill one of the mantra of 5GC since it positioned to be deployed a Cloud Native Functions.
kindly let us know peradventure your k8s implementation will be made open-source.

Hi,
I am also looking for these metrics, I have deployed Free5gc with Ueransim from Orange-Opensource towards5gs helm charts.
If you have got any concrete solution then please let me know.
Thanks!!

Hi @lgabhishek18
The KPIs you are looking for are very specific to 5G and I don't think there is a service mesh solution that can provide them (at lease Istio, Linkerd, and most popular service mesh tools don't). I've devlopped a tool using eBPF to get 5G-related metrics. All the metrics you mentioned except Bearer activations/deactivations and utilization of the UE IP pools are possible to get using Prometheus queries). For the two last metrics, I ignore if it is possible to get them with our current implementation.  Our work has been published in https://ieeexplore.ieee.org/abstract/document/10154433 and https://ieeexplore.ieee.org/document/10154369. The proposed solution has been tested with free5GC and Open5GS. You can find more details in the papers. We have the intent to make the code avaialable but unfortunately, the solution is not yet documented.
Regards,
Abderaouf

Hi @lgabhishek18
The simple way is to implement a custom Prometheus metrics exporter, then you can edit your alert rule and get the specific report.
Hi @raoufkh
If you need any technical help to integrate your project with the free5GC, please let me know.
Thanks.

Hi @ianchen0119
I appreciate your response. I have tried to create the custom Prometheus metric exporter, but I think that Free5GC doesn't provide metrics that can be scraped by Prometheus. Can you elaborate more on your approach?
To provide further insight into my current situation, I have setup Free5GC on Kubernetes, and my goal is to monitor telco-specific metrics. These metrics include essential KPIs such as the number of connected UEs (User Equipments), Attach Success Rate, Attach Attempts, the count of gNBs and more.
I am still exploring the best solution that can solve my issue.
Reagards!!
Abhishek

Hi @lgabhishek18
Sorry for the late reply.
There is an example to implement the simple metrics exporter in the Network Function:
https://github.com/ianchen0119/amf/tree/feat/prom
I think you can refer to this example to develop the solution by yourself.


[HOLD for payment 2023-07-17] [$1000] 2FA "Disable Authentication" page comes up again if we navigate back to the page in Offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open account with 2FA enabled
Go offline
Go to Settings -> security -> Two-factor authentication
"Disable Authentication" page will be shown
Disable the 2FA
Offline page with no action will be shown
Close settings and come back to same page

Expected Result:
Offline page with no action should be shown
Actual Result:
"Disable Authentication" page will be shown
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/119e4b8c-940f-43f3-9d9c-970fd5e885e6
https://github.com/Expensify/App/assets/93399543/c9b8d9fb-df32-43ef-b77f-ac76cb1547cd
Expensify/Expensify Issue URL:
Issue reported by: abdulrahuman5196
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687424270135549
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0164903c489572791c
Upwork Job ID:<PHONE_NUMBER>156371456
Last Price Increase: 2023-06-27

Proposal
Please re-state the problem that we are trying to solve in this issue.
2FA "Disable Authentication" page comes up again if we navigate back to the page in Offline mode
What is the root cause of that problem?
As we are not blocking the View when the user is offline causing the issue.
What changes do you think we should make in order to solve the problem?
We should wrap the ScrollView with the FullPageOfflineBlockingView component, which will show the offline blocking View to the user and not allow to disabling the 2FA in offline mode.
https://github.com/Expensify/App/blob/9604ac7ea8c94f13008da23fd39247387bdee16b/src/pages/settings/Security/TwoFactorAuth/IsEnabledPage.js#L26

@bfitzexpensify I think this one would be a dupe of an issue reported first: https://github.com/Expensify/App/issues/21431

I had the same hesitation, but landed on the same conclusion as @0xmiroslav. Let's see what Chirag says.

Yup, i'm on the same boat as @0xmiroslav. Plus when the user does not have 2FA enabled and visits 2FA page when offline they see "You appear to be offline" message. I think its fine showing the same message for the same page when 2FA is enabled as well.
I like @Pujan92's proposal as well. Free free to create the PR @Pujan92.

@0xmiroslav @chiragsalian PR is ready for review!

@0xmiroslav reminder to complete the BZ checklist when you get a moment - thanks!

@0xmiroslav another reminder - once the BZ checklist is complete here I'll pay out the C+ payment

Sure, moving this to monthly - @0xmiroslav, please comment here when you'd like me to issue payment.

any update here @0xmiroslav?

Guessing this is still being figured out @0xmiroslav?

Cool, closing.


Slow queries when harvesting

AudioRecordingsController#create (56%)
AudioRecordingsController#update_status (42%)

Also extremely high CPU on database.
Need to investigate what part of the rails / queries are causing the high CPU

Web response time is mainly db: 3270ms per request.
web request throughput maxed at 141 rpm.

50GC runs per 100 tranactions seems silly - that's every 2nd transaction
make 1000 object,s destroy a 1000 objects etc...
1.5M objects

harvest jobs go from 48s average to 73s average


Add Item-Hunter plugin

Item Hunter

Adds a side-panel to your client where you can generate random items.

FYI we have ImageUtil.resizeImage() if you ever want to use that instead of this borrowed-from-SO code.


[Bug]: Azure OpenAI Service

Contact Details
<EMAIL_ADDRESS>What happened?
This is not exactly a bug, it's more of an improvement suggestion that I have already implemented for a need I had. However, I may have misunderstood the code and what I did may have been completely unnecessary. Here it goes:
I need the project to work exclusively via Azure endpoint. To do so, I filled in the session variables in the .env file. However, I noticed that the models used in the combo box of the interface follow the OpenAI session variable, even if they are not being filled in:
##########################
# OpenAI Endpoint:
##########################

# Access key from OpenAI platform.
# Leave it blank to disable this feature.
# Set to "user_provided" to allow the user to provide their API key from the UI.
OPENAI_KEY=

# Identify the available models, separated by commas *without spaces*.
# The first will be default.
# Leave it blank to use internal settings.
OPENAI_MODELS=gpt-3.5-turbo-0301,gpt-4

Therefore, I ended up creating a logic with the AZURE_OPENAI_API_DEPLOYMENT_NAME variable so that, in the same way as with the OPENAI_MODELS variable, they are separated by commas and correspond in position to the OpenAI models. Example:
##########################
# AZURE Endpoint:
##########################

# To use Azure with this project, set the following variables. These will be used to build the API URL.
# Chat completion:
#     `https://{AZURE_OPENAI_API_INSTANCE_NAME}.openai.azure.com/openai/deployments/{AZURE_OPENAI_API_DEPLOYMENT_NAME}/chat/completions?api-version={AZURE_OPENAI_API_VERSION}`;
# You should also consider changing the `OPENAI_MODELS` variable above to the models available in your instance/deployment.
# Note: I've noticed that the Azure API is much faster than the OpenAI API, so the streaming looks almost instantaneous.

AZURE_OPENAI_API_KEY=xxxxxxxxx
AZURE_OPENAI_API_INSTANCE_NAME=gpt_xxx
AZURE_OPENAI_API_DEPLOYMENT_NAME=xxx-gpt-3_5-turbo-0301;xxx-gpt-4
AZURE_OPENAI_API_VERSION=2023-05-15

There is still a technical debt in that the names of the deployments in Azure must contain a reference to the name of the original OpenAI model for matching purposes.
But... as I mentioned, I may not have understood how to use the application correctly, and I may have done all this for nothing. What do you think?
Thank you!
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm not sure I completely follow. Does the deployment name determine which models are used?

Let me provide an example. Given the model names of the endpoints:
# OpenAI Endpoint:
OPENAI_MODELS=gpt-3.5-turbo-0301,gpt-4
# AZURE Endpoint:
AZURE_OPENAI_API_DEPLOYMENT_NAME=xxx-gpt-3_5-turbo-0301;xxx-gpt-4

The OpenAI model "gpt-3.5-turbo-0301" will match the Azure model "xxx-gpt-3_5-turbo-0301" because it contains the name of the OpenAI model within the Azure deployment name.

From what I understand, deployment names will vary from organization. It might be convention to name after the model being used. It would help if you submit a PR to see what your logic is doing exactly, I've been given azure access for testing things like this but I only have one deployment name/model


Javascript has stopped working after applying the AMP on nuxt page.

Hi Team,
I have integrated the @nuxt/Amp module and Javascript has stopped working after applying the AMP on nuxt page.
When we make it disbale its working again.
Please resolve my issue.

Every amp page is designed to work without self javascript, just the framework's  javascript from the CDN.
Read the Amp project and understand how it was designed and how to use your javascript with amp-script. https://amp.dev/documentation/


Using DynamicResource for view inside CarouselView

Xamarin Form version : <IP_ADDRESS>2
CaroselView version : 4.4.6
After update my Xamarin Form from <IP_ADDRESS>7 to <IP_ADDRESS>2 and CarouselView form 4.4.3 to 4.4.6. I found out control in carouselview will not causing change in value. But the problem not happen with 4.4.3 and <IP_ADDRESS>2.
Sample here : https://www.sendspace.com/file/wa6c97

What do you mean with this "I found out control in carouselview will not causing change in value."?

I mean when our listview cell item using dynamic resource to control its content, if the dynamic resource changed, the content of cell will not change in version 4.4.5 or above. The simplest sample we can make is that we create a listview inside one of page in carouselview. Set the cell text color by dynamic resource, every time we refresh the list, change the dynamic resource. you will see the textcolor do not change with the dynamic resource in version 4.4.5 or above.

This control has been merged into Xamarin.Forms master branch. Please, wait for it to be released as part of Xamarin.Forms and submit any issues there https://github.com/xamarin/xamarin.forms/tree/feature-carouselview. Thanks


It is not really working

Hi i am quite in the field of Wordpress.
I found your plug in which is very interesting to me.
I only find a php file to download . Which if I move it to the plugin folder is not shown in the dashboard.
I i convert the php into Zip with a converter. The website sends me the following message:
Hallo!
WordPress hat eine eingebaute Funktion, die erkennt, wenn ein Plugin oder ein Theme einen fatalen Fehler auf deiner Website verursacht, und dich deswegen mit dieser automatisierten E-Mail benachrichtigt.
....
What do you think, do I make mistake?

@franzberge thanks for reporting this. Seems to cause a hard crash on certain WP setups. I will look into it, and what conditions might cause this.

@franzberge upon reviewing your issue again, it sounds like you've installed the plugin wrongly. Please remove the files / zip file you added, that causes problems.
Then try this please:

Download ZIP file from «Releases» here: https://github.com/Swiss-Mac-User/language-locale-overwrite/releases
Unzip the ZIP file. You should have a folder called "language-locale-overwrite"
Move this whole folder to your Wordpress installation into the directory <your-blog>/wp-content/wp-plugins/
Now open your Wordpress site & see if everything works
Go to your Wordpress Admin area > Plugins and activate the Plugin from the list

Hope that helps.

Hi, i have tried several options.
Moving the entire folder in the Wp/plugin folder and install the ZIP in the AddPlugin Wordpress option.
Unfortunately it doesn't work as far may ability goes.
Thank you for your help, Franz
Franz Trimmel
UIAGM Mountain and Ski Guide
Höhenstrasse 113
6020 Innsbruck
St. Anton
+436643937764
alloffpiste.com
allesklettersteig.com
franzderberge.at

Am 24.09.2023 um 15:49 schrieb Swiss Mac User  @.***>:
@franzberge https://github.com/franzberge upon reviewing your issue again, it sounds like you've installed the plugin wrongly. Please remove the files / zip file you added, that causes problems.
Then try this please:
Download ZIP file from «Releases» here: https://github.com/Swiss-Mac-User/language-locale-overwrite/releases
Unzip the ZIP file. You should have a folder called "language-locale-overwrite"
Move this whole folder to your Wordpress installation into the directory /wp-content/wp-plugins/
Now open your Wordpress site & see if everything works
Go to your Wordpress Admin area > Plugins and activate the Plugin from the list
Hope that helps.
—
Reply to this email directly, view it on GitHub https://github.com/Swiss-Mac-User/language-locale-overwrite/issues/2#issuecomment-1732574634, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCYX3DOOHT3JVJIRFM4VQA3X4A27BANCNFSM6AAAAAA5EGHJFQ.
You are receiving this because you were mentioned.

Hi @franzberge
I had another person reporting a similar issue, and was able to send me the details what WordPress is "complaining" about.
So here's a new version 2.1.0 available now, also with a ZIP-file that you can extract & move directly into your blog's /wp-content/wp-plugins/ folder: https://github.com/Swiss-Mac-User/language-locale-overwrite/releases/tag/2.1.0
Hope it works now for you as well 🤞

Thank you for all your hard work.
I found a Article from Google Webmaster that google is ignoring the HTML Lang.
https://www.seroundtable.com/google-ignores-the-html-lang-attribute-22974.html
I did it with:

As Hook Element on the individual Website.
It works fine and there is no hustle.

I found a Article from Google Webmaster that google is ignoring the HTML Lang.

Thanks for sharing & yes that's true, Google works with the hreflang attributes. The HTML lang is for better user experience: accessibility on devices and browsers that read it to offer possible translations of pages when the visitor's system language differs from the website content they are viewing.


fix(gatsby-theme-bch-wallet): Updating to v1.2.1

:tada: This PR is included in version 1.4.0 :tada:
Your semantic-release bot :package::rocket:


Copying over TABs

Is your feature request related to a problem? Please describe.
I am in Chrome (Version 128.0.6613.120 (Offizieller Build) (64-Bit) - should be the latest version) and I want to copy a folder in oCIS and want to paste the folder in another TAB. But I do not get the option to paste it there.
A refresh of the second TAB also does not work.
Describe the solution you'd like
I would like to be able to copy the folder/file in one TAB and be able to insert it in another TAB. That way I can have both locations opened and I do not have to find my way to the second location.
Describe alternatives you've considered
I have no idea for a different alternative in web.
Additional context
I tried this on infinite on 05.09.2024 at 12:35 o'clock.

WHO is the requester of that FR?


changed setuppy + path to test csv files (should pull from synapse in future) + closes #51

@philerooski < sounds Italian... I changed your iteritems request. Your comment didn't disappear though. Do you mind eyeballing this pull request again. Thanks!

I always thought it was a Polish suffix ¯_(ツ)_/¯ Tests pass on my end!


Error during plotting of hotspots

Hello
I have been running this on a Mac with M1 chip.  using
This is the output that i get from debug
○ Visualisation of hotspot communities using lovis4u...
Traceback (most recent call last):
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/lovis4u/Manager.py", line 137, in load_config
config = configs.load(path).get_config()
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/configs/api.py", line 18, in load
return Config(config_file)
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/configs/config.py", line 22, in init
self.load(config_file)
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/configs/config.py", line 52, in load
with open(config_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'A4p2'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/ilund4u/drawing.py", line 215, in plot_hotspots
l_parameters.load_config(self.prms.args["lovis4u_hotspot_config_filename"])
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/lovis4u/Manager.py", line 169, in load_config
raise lovis4uError("Unable to parse the specified config file. Please check your config file "
lovis4u.Manager.lovis4uError: Unable to parse the specified config file. Please check your config file or written name.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/ilund4u/drawing.py", line 68, in plot_hotspot_communities
self.plot_hotspots(hc, vis_output_folder, shortest_labels=shortest_labels)
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/ilund4u/drawing.py", line 257, in plot_hotspots
raise ilund4u.manager.ilund4uError("Unable to plot set of hotspots using LoVis4u.") from error
ilund4u.manager.ilund4uError: Unable to plot set of hotspots using LoVis4u.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/giusym/miniconda3/bin/ilund4u", line 34, in
drawing_manager.plot_hotspot_communities(
File "/Users/giusym/miniconda3/lib/python3.10/site-packages/ilund4u/drawing.py", line 73, in plot_hotspot_communities
raise ilund4u.manager.ilund4uError("Unable to plot hotspot communities.") from error
ilund4u.manager.ilund4uError: Unable to plot hotspot communities.
I can use LoVis4u as standalone on the same sequences using the same conda environment. The gff files i am using were annotated with prokka.
By manual annotation, I know the sequences used have at least a P2 hotspot.

Sorry command i run was
ilund4u hotspots --gff /path/to/gff --debug

Hi! Thank you for trying iLund4u and this report.
Could you update LoVis4u with the following command: python3 -m pip install --upgrade lovis4u, seems you're using one of the older versions.
I will also modify requirements for lovis4u version with ilund4u installation to avoid such problems.

Ah yes works perfectly now thank you so much!

That's great :)
You can always contact me if any help is needed.
Best,
Artyom


Fix dynamic imageSrc removal

Prevent triggering irrelevant imageLoader call, thus avoiding an exception.

https://github.com/airbnb/react-native-maps/issues/738


Score not present if groupBy is used in hybrid search

If I don't put groupBy in hybrid search, I get the score metadata.
But if I put groupBy then only metadata that works is distance.
I'm not sure if this is an issue in weaviate or the typescript client.
I've even tried with returnMetadata: 'all'
const result = await collection.query.hybrid(query, {
    vector: qEmbedding.tolist()[0],
    alpha: 0.25,
    limit: 200,
    returnProperties: ['entity'],
    returnMetadata: ['score'],
    groupBy: {
         property: 'entity',
         numberOfGroups: 5,
         objectsPerGroup: 100,
    }
});

Version: 3.1.4

Hi @zereraz, thanks for raising this! I can confirm that I see the behaviour you're seeing due to the server-side behaviour
As it stands, this is an intended behaviour as the server-side group-by operation does not return this extra metadata. Instead, it only returns the id, vector, and distance relevant to the group-by operation. I do think this is a limitation that we should perhaps consider changing in future, but that would require a significant server-side dev effort
In the context of the TS client, I can see a way to modify the API surface in a backwards compatible way that will make this server-side requirement understood through the type system. For now, however, you cannot retrieve the score metadata when performing a group-by query; it is not an allowed functionality. In a future release, your above query will throw a TS compilation error communicating this

Hi @tsmith023, thanks for bringing clarity in this issue.
Ya makes sense why score was not coming in the output.


training problem

I am trying to train your base code.
but, In the process, we see strange phenomena.
During learning, the values of ap and an  are gradually increasing. Do you know what the problem is?
 Since the "fc9_1" layer will magnify the norm of the feature to enlarge the distance between a and an, you can see the distance keeps increasing untill it overflows. I also recommend adding a "PReLU" layer after the last ip layer before normalizing it.

@mfernezir thanks rely.
Do you mean to remove the embedding layer?
layer {
name: "norm2"
type: "Python"
bottom: "fc7"
top: "norm2"
python_param {
module: "norm2layer"
layer: "Norm2Layer"
}
}
layer {
name: "fc9_1"
type: "InnerProduct"
bottom: "norm2"
top: "fc9_1"
param {
lr_mult: 1
decay_mult: 0
}
inner_product_param {
num_output: 512
weight_filler {
type: "xavier"
}
}
}
Then, what kind of layer do you measure?
( I need a dimensionally reduced vector. So I want to know how to reduce it.)

@JoeFannie thanks rely.
Do you mean to remove the embedding layer?
layer {
name: "norm2"
type: "Python"
bottom: "fc7"
top: "norm2"
python_param {
module: "norm2layer"
layer: "Norm2Layer"
}
}
layer {
name: "fc9_1"
type: "InnerProduct"
bottom: "norm2"
top: "fc9_1"
param {
lr_mult: 1
decay_mult: 0
}
inner_product_param {
num_output: 512
weight_filler {
type: "xavier"
}
}
}
Then, what kind of layer do you measure?
( I need a dimensionally reduced vector. So I want to know how to reduce it.)

layer {
name: "norm2"
type: "Python"
bottom: "fc7"
top: "norm2"
python_param {
module: "norm2layer"
layer: "Norm2Layer"
}
}
add only norm2 layer is just good. If u want to reduce the dimension, u can move the norm2 layer to the next to the last ip layer "fc9_1". In one word, the feature is supposed to be normalized before being fed to the triplet loss layer. Hope it helps.

@JoeFannie sorry very late..and thanks.
fc7 -> fc9_1 -> norm2 ->"triplet_select"
Do you mean this order?
so, below...
,,,

layer {
  name: "fc7"
  type: "InnerProduct"
  bottom: "fc6"
  top: "fc7"
  param {
    lr_mult: 0
    decay_mult: 0
  }
  param {
    lr_mult: 0
    decay_mult: 0
  }
  inner_product_param {
    num_output: 4096
    weight_filler {
      type:"xavier"
    }
  }
}
layer {
  name: "relu7"
  type: "ReLU"
  bottom: "fc7"
  top: "fc7"
}
layer {
  name: "drop7"
  type: "Dropout"
  bottom: "fc7"
  top: "fc7"
  dropout_param {
    dropout_ratio: 0.5
  }
}

layer {
  name: "fc9_1"
  type: "InnerProduct"
  bottom: "fc7"
  top: "fc9_1"
  param {
    lr_mult: 1
    decay_mult: 0
  }
  inner_product_param {
    num_output: 512
    weight_filler {
      type: "xavier"
    }
  }
}

layer {
  name: "norm2"
  type: "Python"
  bottom: "fc9_1"
  top: "norm2"
  python_param {
    module: "norm2layer"
    layer: "Norm2Layer"
  }
}
#add activation layer may increase the feature's expression
layer {
  name: "triplet_select"
  type: "Python"
  bottom: "norm2"
  bottom: "labels"
  top: "archor"
  top: "positive"
  top: "negative"
  python_param {
    module: "tripletselectlayer"
    layer: "TripletSelectLayer"
  }
}
layer {
  name: "tripletloss"
  type: "Python"
  bottom: "archor"
  bottom: "positive"
  bottom: "negative"
  top: "loss"
  python_param {
    module: "tripletlosslayer"
    layer: "TripletLayer"
    param_str: "'margin': 0.2"
  }
  loss_weight: 1
}

It is what I mean


Fixed error on debug mode

Error on debug mode:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x89dae0]

goroutine 1 [running]:
main.main()
        /prometheus_bot/main.go:418 +0x260

Moved debug definition after bot initialization.

LGTM, ty!


az acr run doesn't interpret /dev/null correctly on Windows with Git bash

Describe the bug
When using /dev/null as source location, az acr run returns:
Source location should be a local directory path or remote URL.

on Git bash.
Same command works on PowerShell 7.2.0.
To Reproduce
Use this tutorial: https://docs.microsoft.com/en-gb/learn/modules/publish-container-image-to-azure-container-registry/6-build-run-image-azure-container-registry
Expected behavior
The command should ignore source directory.
Screenshots

Any relevant environment information

OS: Windows 19043.1348
Version:  2.30.0
Git version:  2.34.1

Additional context
Add any other context about the problem here.

If you replace the /dev/null with '' (an emply string in single-quote characters) then the hello world image will run.

No, neither works I'm afraid, and none of the command samples from the Microsoft docs work for me:

PowerShell throws the following arguments are required: <SOURCE_LOCATION>

Bash throws Source location should be a local directory path or remote URL

$ az version
{
  "azure-cli": "2.38.0",
  "azure-cli-core": "2.38.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "azure-firewall": "0.9.0"
  }
}

https://github.com/Azure/acr-cli/issues/87#issuecomment-1203200754

No, neither works I'm afraid, and none of the command samples from the Microsoft docs work for me:
* PowerShell throws `the following arguments are required: <SOURCE_LOCATION>`
  ![image](https://user-images.githubusercontent.com/80741/182470105-46f058a8-6354-4a93-aea6-91cd3ee7a644.png)

It turns out the PowerShell needs quoting of the double quote passed as empty parameter:

This does NOT work

>  az acr run --registry mycr --cmd '$Registry/hello-world:x' ''
the following arguments are required: <SOURCE_LOCATION>

This does work

>  az acr run --registry mycr --cmd '$Registry/hello-world:x' '""'
Queued a run with ID: dbn
Waiting for an agent..

I've updated to:
...
Today, I also updated Azure CLI from 2.38.0 to 2.39.0, so perhaps handling of '""' has been fixed in the latest.

It's azure cli. Please reopen it in https://github.com/Azure/azure-cli/issues if you still have the issue.


Update

@issacyxw You may need to update your master branch with the latest futurewei-cloud:master. This PR includes quite a few changes which have been merged to futurewei-cloud:master previously.

@issacyxw You may need to update your master branch with the latest futurewei-cloud:master. This PR includes quite a few changes which have been merged to futurewei-cloud:master previously.

@issacyxw At the bottom of this page, you can see that there is quite a few of conflicting files with existing master branch. Can you fix the issue?

Codecov Report

Merging #550 (4bfb415) into master (c7baf54) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #550      +/-   ##
============================================
+ Coverage     34.38%   34.42%   +0.04%
- Complexity     1236     1241       +5
============================================
  Files           501      501
  Lines         12398    12398
  Branches       1567     1567
============================================
+ Hits           4263     4268       +5
+ Misses         7557     7555       -2
+ Partials        578      575       -3

Impacted Files
Coverage Δ
Complexity Δ

...com/futurewei/alcor/macmanager/utils/MacUtils.java
56.52% <0.00%> (-8.70%)
7.00% <0.00%> (-1.00%)

...alcor/elasticipmanager/dao/ElasticIpAllocator.java
63.81% <0.00%> (+0.27%)
48.00% <0.00%> (ø%)

...rewei/alcor/portmanager/processor/PortContext.java
71.62% <0.00%> (+2.70%)
33.00% <0.00%> (+2.00%)

...alcor/portmanager/util/RestParameterValidator.java
46.15% <0.00%> (+3.07%)
14.00% <0.00%> (+1.00%)

...i/alcor/portmanager/processor/RouterProcessor.java
85.29% <0.00%> (+5.88%)
10.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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

@issacyxw Please edit the title and add more details to the PR description.


Add openvpn_push option to push generic config to the client.

Allows configuring an arbitrary list of configuration items to the client. I used it to push a static route, but you can use it to do anything openvpn supports.

LGTM.
Just wondering what's the particular use case? If it's a common option, it could be better to build it directly into the config.

I'm using it now to push an IPv6 route, to say "this network block is reachable via the VPN". There are enough other things I've used "push" for that I think it would be hard to build separate config for all of them.


Zero-allocation encodings

Currently primitive types have encodings that do not allocate (they're defined from static strings) but compositions like structs either have to jump through hoops and use different encoding strings for different architectures or accept the cost of allocating a string and pushing of the encoding of their fields.
Is there a better way to do this, where encodings from structs could more simply be composed without allocating?

My attempt at this is underway at SSheldon/rust-objc-encode

objc was updated to use objc-encode in 6092caa.


podman runs disabled containers and privileged containers as spc_t

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

bot, retest this please

@rh-atomic-bot r+

Both our merge bots are out of action, so I'm pulling the trigger manually


Star worm cobble doesn't drop anything on break

Forge 31.2.0
starwormlighting_1.15.2-<IP_ADDRESS>
Star worm cobble doesn't drop anything (even with silktouch).

Found the issue and should be fixed in the next update which should be released today.
Thanks for reporting it 👍


[stable/nats] Normalize ports under service

Signed-off-by: Javier J. Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
Normalize ports under service section
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


BuildLayers Task fails when jars have the same name

Expected Behavior
The BuildLayers task should either:

Gracefully handle duplicate entries using the default (INHERIT) strategy
Allow the configuration of a DuplicateStrategy in the task (or somewhere)

Actual Behaviour
> Task :buildLayers FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildLayers'.
> Entry shared-1.0.0-SNAPSHOT.jar is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.5.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

Steps To Reproduce

Create two projects with a 'src' (main) module and a 'shared' module
In one of them, depend on both shared modules
Attempt to run a build

Environment Information
Mac OSX
Java 17
Example Application
No response
Version
3.6.3

We can definitely add a duplicates strategy to the task. I'm however curious if you have a reproducer for this, because what this hints at is that you have a configuration problem: there shouldn't be any duplicates on classpath.

Thanks for your reply @melix
I was probably too quick to write up my ticket because I was late for a meeting, but here is gist.
I have two projects with the following module setup:

The dependency structure within a project is as follows:

where client and src/main/java both depend on shared.
The purpose of the client module is for other services to import and use easily. (since we have switched over to using micronaut, we don't really need this module because we use a declarative client from an interface that the controller in src/main/java uses)
The purpose of the shared module is to house everything that that both the client and src/main/java need to function (DTOs, Controller Interfaces, etc).
When projA imports the shared module from projB, there is now a collision (they are both 1.0.0-SNAPSHOT as well).
The workaround is to use more verbose names in our modules, so instead of shared it is now projA-shared or projB-shared. I am personally not a fan of being verbose in the sense that com.company.projB.projB-shared is redundant :shrug: .
Hope this helps explain it.


Fixes #1056 yarn client no longer runs due to No FileSystem for schem…

…e: hdfs, #1054 Can no longer submit applications to master when running in YARN

+1


Virtual cockpit for xr2

Looking forward orbiter to have more digital and analog controls
Multi monitoring
separated monitoring for every monitor in the panals and HUD

Check how this is implemented in samples/DeltaGlider. It is vessel specific, so no need to change core.

The XR2 isn't part of the core Orbiter solution - any development of a VC for this or any other vessel will need to take place in the code supplied by its developer.


Sc/heartbeat buffering

The tests should still pass for all values of user configured heartbeat_interval
With 1 sec heartbeats the tests take:
469 examples, 0 failures, 64 pending```

With 10 sec heartbeats the tests finish take:
```Finished in 31 minutes 46 seconds
469 examples, 0 failures, 64 pending```

Build: http://wilson.ci.chef.co/job/opscode-push-jobs-server-trigger-ad_hoc/4/downstreambuildview/

Related to these PRs:
https://github.com/chef/omnibus-pushy/pull/91
https://github.com/chef/opscode-pushy-client/pull/86

Knife:
https://github.com/chef/knife-push/pull/45

Looks like you got a build failure, but looks great other than that!


Docstrings for the data upload code

It's pretty hard to understand how to use Repo, DataSet and related code in dagshub/upload/wrapper.py without more documentation.

Working on it..will raise a pr once done. Please review and provide any suggestions necessary!

Add the docstrings in this PR. Please review it and suggest changes, if any.
https://github.com/DagsHub/client/pull/229/commits/ee81eb3dff90da95ee18c7114f26e5fe0755b9b4


When auto-generating SW with workbox-webpack-plugin there is no way to keep custom SW code?

Library Affected:
workbox-webpack-plugin
Browser & Platform:
"webpack*
Issue or Feature Request Description:
Hello!  I've been trying workbox out over the last week and it's great!  I'm using the workbox-webpack-plugin to generate my service worker.  Now I've gone beyond naive scenarios I'd like to try generating a SW and including some custom code as well.  Alas, there doesn't seem to be a way to generate a SW that includes custom code.
This is my config: https://github.com/johnnyreilly/reactspike/blob/master/webpack.config.production.js#L52
What I want to do is include this custom code in my SW:
// You can also create an optional default handler that can respond to requests
// that don't match anything.
// If you don't create a default handler, then requests that don't match will
// just be passed along to the network without service worker involvement.
router.setDefaultHandler({
  handler: ({event}) => {
    console.log('Routed through the default handler.');
    return fetch(event.request);
  },
});

From what I can tell there doesn't appear to be a way to plug custom SW code into the webpack build pipeline.  Or have I missed something?
All help appreciated.  Much  ❤  🌻

Seems like others have stumbled here too: https://github.com/nuxt-community/pwa-template/issues/5

There's definitely some overlap between this issue and https://github.com/GoogleChrome/workbox/issues/696

Hello @johnnyreilly—Apologies, as this is an area that should be clearer in the v3 docs. Translating the v2 docs from JSDoc to HTML lost a lot of the examples.
You should be able to use the Webpack plugin in "inject manifest" mode, where you pass in your custom service worker code in as a the swSrc parameter to the plugin, with a placeholder call to workboxSW.precache([]) somewhere in the code, and then the Webpack build process will result in the empty placeholder array being populated with all of the resources to precache.
E.g.
new WorkboxBuildWebpackPlugin({
  globPatterns: ['**\/*.{html,js,css}'],
  swSrc: './src/sw.js',
  swDest: './build/sw.js',
});

and inside of ./src/sw.js:
const workboxSW = new WorkboxSW();
// The [] will be replaced:
workboxSW.precache([]);

// Custom code...

Thanks that's brilliant - glad it's possible! The more I learn about workbox, the more I like it! I've put my money where my mouth is with my latest blog post too :wink: https://blog.johnnyreilly.com/2017/11/the-typescript-webpack-pwa.html
I look forward to seeing the V3 release. I'd say that the only criticism I have of workbox is the documentation. And that's been visibly improving over the last couple of weeks so good work! Looking forward to even more goodness!


result screen doesn't tell you how to proceed

I mean, it's maybe obvious that "enter" is the way to do it, but if you're going to have the other keys in the help at the bottom, maybe have the most important one too.

Thanks for pointing this out - fixed in https://github.com/thomasschafer/scooter/pull/8


Move to apollo-server repository

Should be really cool to see https://github.com/apollographql/apollo-server/issues/626 fixed using this repo.
As you already done switch to TypeScript, it seems to be on the road of apollo-server-fastify ;)
Thanks for your works and @coopnd one !

There's a few small things that need to be done before I'd consider this ready for a move to apollo-server. I'll get things polished over the next few days and drop you a mention once things are good to go.

Thanks! Can I help you ?

@jeromemacias I think I'll be alright to clean the code up myself. I'm going to borrow the apollo-server-express test suite and make sure that this middleware is compliant with it.   This has been a long time coming....

Seems someone else is working on it the past 2 weeks if you 2 want to help?


Crash in shifter zerus.

Traceback (most recent call last):
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/training/pytorch/ppo.py", line 418, in <module>
    main()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/training/pytorch/ppo.py", line 414, in main
    ppo_learner.run()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/training/pytorch/ppo.py", line 345, in run
    worker.play_game()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/training/pytorch/worker.py", line 44, in play_game
    host.play_game()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/host/round_robin_host.py", line 61, in play_game
    self.play_round()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/host/round_robin_host.py", line 52, in play_round
    for _ in self.play_round_generator():
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/host/round_robin_host.py", line 27, in play_round_generator
    self.tavern.buying_step()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/tavern.py", line 59, in buying_step
    player.buying_step()
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/player.py", line 103, in buying_step
    self.broadcast_buy_phase_event(events.BuyStartEvent())
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/player.py", line 292, in broadcast_buy_phase_event
    card.handle_event_in_hand(event, BuyPhaseContext(self, randomizer or self.tavern.randomizer))
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/cards.py", line 173, in handle_event_in_hand
    self.zerus_shift(context)
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/cards.py", line 241, in zerus_shift
    context.owner.remove_hand_card(self)
  File "/home/jeremy/PycharmProjects/hearthstone_battlegrounds/hearthstone/simulator/core/player.py", line 344, in remove_hand_card
    self._hand.remove(card)
ValueError: list.remove(x): x not in list

Process finished with exit code 1

Do we know the boardstate when this happened?

Actually, there could've been a second shifter zerus in hand that caused a golden transformation, removing the first zerus from hand.

But it looks like we're not even checking for a golden transformation after a zerus shift (I suppose we probably should be?), so that's not it.

But it looks like we're not even checking for a golden transformation after a zerus shift (I suppose we probably should be?), so that's not it.

Oh wait ignore that ^

Is this a very rare bug?

Yes, this is pretty rare, it happened after 122 million actions were taken.

AHA! This test fails:
    class TestZerusBugRandomizer(DefaultRandomizer):
        def select_draw_card(self, cards: List['MonsterCard'], player_name: str, round_number: int) -> 'MonsterCard':
            if round_number <= 3:
                return force_card(cards, AlleyCat)
            return force_card(cards, ShifterZerus)

        def select_random_minion(self, cards: List['Type'], round_number: int) -> 'Type':
            if round_number == 5:
                return AlleyCat
            elif round_number == 6:
                return DragonspawnLieutenant
            elif round_number == 7:
                return ShifterZerus
            else:
                return cards[0]

    def test_zerus_bug(self):
        tavern = Tavern(restrict_types=False)
        tavern.randomizer = self.TestZerusBugRandomizer()
        player_1 = tavern.add_player_with_hero("Dante_Kong")
        player_2 = tavern.add_player_with_hero("lucy")
        self.upgrade_to_tier(tavern, 3)
        tavern.buying_step()
        player_1.purchase(StoreIndex(0))
        self.assertCardListEquals(player_1.hand, [ShifterZerus])
        tavern.combat_step()
        tavern.buying_step()
        player_1.purchase(StoreIndex(0))
        self.assertCardListEquals(player_1.hand, [AlleyCat, ShifterZerus])
        tavern.combat_step()
        tavern.buying_step()
        player_1.purchase(StoreIndex(0))
        self.assertCardListEquals(player_1.hand, [DragonspawnLieutenant, DragonspawnLieutenant, ShifterZerus])
        tavern.combat_step()
        tavern.buying_step()

Error
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/tests/test_tavern.py", line 3217, in test_zerus_bug
    tavern.buying_step()
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/tavern.py", line 59, in buying_step
    player.buying_step()
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/player.py", line 105, in buying_step
    self.broadcast_buy_phase_event(events.BuyStartEvent())
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/player.py", line 305, in broadcast_buy_phase_event
    card.handle_event_in_hand(event, BuyPhaseContext(self, randomizer or self.tavern.randomizer))
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/card_pool.py", line 37, in handle_event_in_hand
    self.zerus_shift(context)
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/cards.py", line 248, in zerus_shift
    context.owner.remove_hand_card(self)
  File "/Users/ethansaxenian/Documents/GitHub/stone_ground_hearth_battles/hearthstone/simulator/core/player.py", line 357, in remove_hand_card
    self._hand.remove(card)
ValueError: list.remove(x): x not in list

same error!

It looks like when the 2nd Dragon/Zerus transforms back into a Zerus, the golden transformation happens and the 3rd Zerus is removed from the hand, and then the handle_event loop continues onto the now-removed 3rd Zerus. Is this how python is supposed to work?

I missed this yesterday, Ethan. Good catch.
I think it's because in broadcast buy phase event (player 300) we use player.in_play.copy(). It's because we don't want to mutate the lists while we're broadcasting to them in case we summon stuff and mess up the indices while we're iterating over them or send events to minions that we're just summoned. However, that means that if a minion is removed from the list then we still broadcast the event to it. Then when we call player.remove_hand_card(self) in zerus shift that attempts to remove the card from the player's hand, but it's not there anymore.

We could protect remove_hand_card with an if statement. more general might be for us to ask if the card in broadcast_buy_phase_event is in the actual list as well so we just don't broadcast events to cards that have been removed already.


Does not provide links for older OS versions for rollback instructions

The instructions for how to rollback to a earlier version only provides a link to the latest version of the OS.  Please add link to historical versions of the OS.

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

ID: dedee10f-ed03-2db2-6606-fdc546ac5308
Version Independent ID: c9d023d1-17a5-e47a-ea5f-2c4d0c214632
Content: Update HoloLens
Content Source: hololens/hololens-update-hololens.md
Product: hololens
Technology: windows
GitHub Login: @scooley
Microsoft Alias: scooley

Hello, we currently do not have plans to include download links to older OS versions in the documentation at this time. If you believe you are blocked by by not having access to an older build please reach out to support with your use case and why you are blocked and they can either help you become unblocked or provide you with the older build.
Thank you.
Closing this issue as this is By Design.


[Documentation] for Qwickstay

Describe the Feature you want to end
i would like to add readme file for Qwickstay project

Expected behavior
it helps in knowing about the project better way

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Kindly, assign this to me.


Getting "Cannot find a class with the main method." in VSCode when clicking Debug > Start debugging

I'm suddenly receiving the error "Cannot find a class with the main method." in visual studio code when trying to debug my flutter app.  It's been working fine for weeks and nothing has changed apart from installing regular updates to Visual Studio code.  The error states it's from "Debugger for Java extension".

Any ideas how to resolve?

Hi @JosephG3001
can you please provide
a self contained app on github
or the steps to reproduce it.
Also your flutter doctor is not entirely readable,
can you post it again?
Please refrain from posting pictures if not necessary.
Thank you

Looks like clicking debug > start debugging in VSCode's main menu causes this error, however; I can right click the main.dart file itself and click debug from there.  Not sure why doing it from the main menu bar suddenly stopped working for me.
Closing the issue.

I   get the same problem trying to run the code in this tutorial: https://flutter.dev/docs/development/platform-integration/platform-channels#example-java
The git repo is here: https://github.com/flutter/flutter/tree/master/examples/platform_channel
flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15.1 19B88, locale en-CA)
• Flutter version 1.9.1+hotfix.6 at /Volumes/macex/flutter
• Framework revision 68587a0916 (8 weeks ago), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Volumes/macex/androidSDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2, Build version 11B52
• CocoaPods version 1.7.1
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.40.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.6.0
[!] Connected device
! No devices available
! Doctor found issues in 1 category.

In case someone else is facing this issue, I fix it by deleting this file:
.vscode/launch.json

In case someone else is facing this issue, I fix it by deleting this file:
.vscode/launch.json

Thank you, this solved my problem!

Thank you!! solve my problem too!!

In case someone else is facing this issue, I fix it by deleting this file:
.vscode/launch.json

Where can I find this file? I'm new to Java

i can't find this file, where can i find

In the root of your VS Code project.  On some systems .vscode is a hidden folder.


API Documentation doesn't cover X-Registry-Auth format

In the documentation we mention that AuthConfig objects are passed in the X-Registry-Auth header, but we never document the format of AuthConfig objects, or when/why they get passed.
If you've done a docker login, you'll get a base64 encoded json file which looks like:
{"username":"pdevine","password":"mysecretpassword","auth":"","email":"pdevine@foo.com","serveraddress":"<IP_ADDRESS>"}
If you then do a docker logout, you'll get:
{"auth":"","email":""}
If you're using passed tokens, you'll get something like:
{"registrytoken": "foo"}
We should document:

each of the fields (I think the auth field is new and related to the recent authZ changes?)
when fields get omitted (not sure why we even pass anything back after a docker logout?)

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

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

Did a quick search for where changes may be needed; some information is present here;

https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api.md#authentication
https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md#create-an-image
https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md#check-auth-configuration
https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.22.md#build-image-from-a-dockerfile

Possibly related on the "registry" side;

https://github.com/docker/distribution/blob/master/docs/spec/auth/jwt.md
https://github.com/docker/distribution/blob/master/docs/spec/auth/token.md

ping @thaJeztah


Discussion on the selection of the calibration data set

Is using SFT data directly as calibration data the best option? Does it cause performance fluctuations when I have more (e.g. 28w) or less (e.g. 1k) fine-tuned data? Also, would using datasets from other domains as calibration datasets cause a gain or huge loss in performance? Thanks for sharing your practical experience.

Hi, I have recently also been considering using my own calibration dataset. Could you provide any guidance or tutorials on how to use a custom calibration dataset?  Thank you in advance for your kind cooperation.


Mongo error saving subarray splice

This issue seems very similar to https://github.com/Urigo/angular-meteor/issues/763 but might be different.
When I call save on my $meteor.object that has had a subarray spliced I get this error in the console:

update failed: MongoError: Cannot update 'templateRelationships.14' and 'templateRelationships' at the same time

Here is what the mongo profile shows for this update attempt:

meteor:PRIMARY> db.system.profile.find({op: {$eq:'update'}, ts: {$gt: ISODate("2015-10-28")}}).pretty()

{
	"op" : "update",
	"ns" : "meteor.templateLibraries",
	"query" : {
		"_id" : "wHHJKRr2MhLdc4GkT"
	},
	"updateobj" : {
		"$unset" : {
			"templateRelationships.14" : true
		},
		"$pull" : {
			"templateRelationships" : null
		}
	},
	"nModified" : 0,
	"keyUpdates" : 0,
	"numYield" : 0,
	"lockStats" : {
		"timeLockedMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(51)
		},
		"timeAcquiringMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(3)
		}
	},
	"exception" : "Cannot update 'templateRelationships.14' and 'templateRelationships' at the same time",
	"exceptionCode" : 16837,
	"millis" : 0,
	"execStats" : {
	},
	"ts" : ISODate("2015-10-28T12:42:39.081Z"),
	"client" : "<IP_ADDRESS>",
	"allUsers" : [ ],
	"user" : ""
}

Here is a repo demonstrating the issue: https://github.com/MarkPhillips7/angular-meteor-issue-793

Fixed in 1.0.4

I have encountered this in 1.0.7. Here is mongo profiler output demonstrating the error:
{
	"op" : "update",
	"ns" : "meteor.templateLibraries",
	"query" : {
		"_id" : "HQSXaGAuKohxZMySj"
	},
	"updateobj" : {
		"$pull" : {
			"templates.9.templateSettings" : null,
			"templates" : null
		}
	},
	"nModified" : 0,
	"keyUpdates" : 0,
	"numYield" : 0,
	"lockStats" : {
		"timeLockedMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(116)
		},
		"timeAcquiringMicros" : {
			"r" : NumberLong(0),
			"w" : NumberLong(5)
		}
	},
	"exception" : "Cannot update 'templates.9.templateSettings' and 'templates' at the same time",
	"exceptionCode" : 16837,
	"millis" : 0,
	"execStats" : {

	},
	"ts" : ISODate("2015-11-08T01:04:58.776Z"),
	"client" : "<IP_ADDRESS>",
	"allUsers" : [ ],
	"user" : ""
}

It looks like it is not enough to issue a $pull update separate from $unset. I guess the $pull needs to be separated further if it includes a key contained within another key like how 'templates' is contained in 'templates.9.templateSettings'. So this $pull update needed to be broken into 2 $pull updates to avoid the exception.

@MarkPhillips7 do you think you can make a failing test for that?
and then maybe pull request a fix???

I spent some time trying to make a failing test but have been unsuccessful. Are there any test examples of capturing mongo exceptions or waiting for updates from mongo to confirm that data was not updated? I could create a test covering _updateParallel but don't know how to capture the end to end scenario.

I updated https://github.com/MarkPhillips7/angular-meteor-issue-793 to demonstrate how issue still occurs.


V1.2 generic

Fixes #15

Codecov Report

Merging #23 (497ea5f) into master (210e61a) will decrease coverage by 0.16%.
The diff coverage is 80.19%.

@@             Coverage Diff              @@
##             master      #23      +/-   ##
============================================
- Coverage     72.15%   71.99%   -0.17%
- Complexity      399      404       +5
============================================
  Files            70       73       +3
  Lines          1232     1246      +14
  Branches        125      125
============================================
+ Hits            889      897       +8
- Misses          311      317       +6
  Partials         32       32

Impacted Files
Coverage Δ

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

...java/seedu/address/logic/commands/ListCommand.java
0.00% <0.00%> (-100.00%)
:arrow_down:

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

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

...ess/logic/commands/person/DeletePersonCommand.java
75.00% <75.00%> (ø)

.../seedu/address/logic/parser/EditCommandParser.java
92.59% <80.00%> (+0.28%)
:arrow_up:

...ddress/logic/commands/person/AddPersonCommand.java
83.33% <83.33%> (ø)

...dress/logic/commands/person/EditPersonCommand.java
97.01% <87.50%> (ø)

...rc/main/java/seedu/address/logic/LogicManager.java
75.00% <100.00%> (ø)

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <100.00%> (ø)

... and 18 more

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 210e61a...497ea5f. Read the comment docs.


Feature request: Windows + Scroll wheel

Hi!, i want to thank you for this app, it works great, but, coming from gnome, something like windows + scroll wheel to change the virtual desktop could be very useful

I was thinking about adding win+crtl+1-9 for switching between specific desktop. The win+ sroll whell is nice too. Going to pull request that when I have time.

I was thinking about adding win+crtl+1-9 for switching between specific desktop.

Hello. The issue is those shortcuts are already used by Windows:

Windows Key + Ctrl + Number (0-9)  -  Switch to the last active window of the app in the number position in the Taskbar.
Windows Key + Ctrl + Shift + Number (0-9)  -  Open another instance as an administrator of the app in the number position in the Taskbar.

My original idea with this little tool is to keep it simple and not break any native keyboard shortcut. Personally I just use Left-Right (with 4 VDs), but I see they can be useful with some more complex workflow. Maybe they should be optional and not active by default?


fix(curriculum) : removed comma and fixed sentence

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #47686
Describe your changes:
Fixed the extra comma and incorrect use of paranthesis in the sentences.
Issue ticket number and link:
Small fixes notified on crowdin #47686
https://github.com/freeCodeCamp/freeCodeCamp/issues/47686

Thank you for your PR! The issue has already been fixed, so I am going to close this PR. We would welcome new contributions from you!


Adding analytics

@rorbech good points. I think I'll revisit this once we have a comprehensive list of things we want to capture (including at the compiler level) the refactor it accordignly. As a first step like you mentioned having an idea of the unique number of builds is a good start.

@rorbech good points. I think I'll revisit this once we have a comprehensive list of things we want to capture (including at the compiler level) the refactor it accordignly. As a first step like you mentioned having an idea of the unique number of builds is a good start.


Don't send unnecessary data from forks

import test from '../../';

test(`test`, t => {
	t.plan(1);
	t.pass();
});

The single test above generates three events from the child process:
stats event:
{ testCount: 1, file: 'test/fixture/lots-of-plans.js' }

test event:
{ duration: 8, title: 'test', error: {}, type: 'test', skip: false, file: 'test/fixture/lots-of-plans.js' }

results event:
{
  stats: {
    failCount: 0,
    passCount: 1,
    skipCount: 0,
    testCount: 1
  },
  tests: [ { duration: 8, title: 'test', error: {}, type: 'test', skip: false } ],
  file: 'test/fixture/lots-of-plans.js'
}

The results event seems completely unnecessary as it can be built from previous events.

Does it have any non-neglibable perf impact? The result event for for convenience.

Does it have any non-neglibable perf impact?

Yes, it does. Though really only when there are lot's of errors (errors generate a lot more data).

The result event is a nice convenience.

See #497. I rebuild it inside fork.js, so it's not gone.

Alright. Then I'm :+1:


Does this look like "idiomatic" Finch?

Hi, I'm trying to make a (rather silly, I admit) comparison between a few web framework for Scala.
What's important for me is the "look-and-feel" sort of  experience with them.
I'd like to know if I got Finch alright: take a look
I've also found a little issue: importing both io.finch._ and io.finch.route._ produced ambiguity on the Endpoit object.
Thanks!

Hi @mfirry!
That is exactly what we're trying to understand right now - how good Finch code looks like. The brief explanation and possible answers are in this gist.
Regarding the name conflicts. It's also a known issue and it's mentioned in the documentation.
Otherwise, your approach looks pretty good and fits well into the current understanding of idiomatic Finch style. Once we resolve the problem mentioned in the gist, I will send you a PR with enhanced style. How does it sounds?

Hi @vkostyukov and thanks for the super-quick reply.
Don't bother with the PR. This is really just a "rainy sunday" project for me.
I'll keep following Finch and update my thingie no problem.
One thing I'd like to add is:
I loved being able to one-line like this: Get /> Ok(Json.arr(1, 2, 3)).toFuture but apparently there was no (easy?) way to do it with text/plain responses. Or am I wrong?

You should be able to write val e: Endpoint[HttpRequest, HttpResponse] = Get /> Ok("plain/text").toFuture.

I tried. I get
could not find implicit value for parameter encode: io.finch.response.EncodeResponse[io.finch.route.string.type]
The endpoint looks like: Get / string /> Ok(string).toFuture

You're trying to create an HTTP response from type Router, since string is an instance of type Router[String], a router that extracts string value from the route. You can change it in a way like this:
val e: Endpoint[HttpRequest, HttpResponse] = Get / string /> Ok(_).toFuture

That doesn't work either
missing parameter type for expanded function ((x$1) => Get.$div(string).$div$greater(Ok(x$1).toFuture))

Yeah. You should probably wrap closure with {}:
val e: Endpoint[HttpRequest, HttpResponse] = Get / "string" / string /> { Ok(_).toFuture }

Yeah great. Thanks a lot again!

Np. Feel free to ping in case of any questions either here or in Gitter room.


v0.1.2 release doesn't contain any binaries

Seems like the build failed and there are no binaries for v0.1.2

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."


Add tourist, errichto, umnik, aoxiang, happygirlzt Youtube channels

I have added youtube channels by:

tourist

errichto

aoxiang

umnik

happygirlzt

You added more changes than you mentioned. Your code editor may be the cause of it. Remove the unnecessary changes first.

Okay, I reverted and updated the changes


Made sure terminal closes on exit

Resolves issue #449 in fzf.vim for vim8.

Two separate issues are discussed in https://github.com/junegunn/fzf.vim/issues/449, so let me clarify what we're trying to fix here.
Problem definition
When let g:fzf_layout = { 'window': '10split enew' } is set on Vim 8, :FZF opens the selected buffer on the temporary window, instead of opening it after closing the window.
The problem is not reproducible with let g:fzf_layout = { 'window': '10split' }. So we can presume that it has to do with the internal management of buffer ids.
Cause
The bug is due to the inconsistent behavior of term_start of Vim 8 and termopen of nvim. Unlike termopen, term_start opens a new buffer with a new buffer id.
Fix
I believe a proper fix would be as follows. We have to take the return value of term_start, a new buffer id, and use it in on_exit callback.
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 8c3932f..27b5332 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -699,9 +699,9 @@ function! s:execute_term(dict, command, temps) abort
     if has('nvim')
       call termopen(command, fzf)
     else
-      let t = term_start([&shell, &shellcmdflag, command], {'curwin': fzf.buf, 'exit_cb': function(fzf.on_exit)})
+      let fzf.buf = term_start([&shell, &shellcmdflag, command], {'curwin': 1, 'exit_cb': function(fzf.on_exit)})
       if !has('patch-8.0.1261') && !has('nvim') && !s:is_win
-        call term_wait(t, 20)
+        call term_wait(fzf.buf, 20)
       endif
     endif
   finally

What do you think?

/cc @virus-found

This works well for me. Title updated instantly.

Sorry, It didn't work, just re-test. Redraw will work https://github.com/junegunn/fzf/pull/1173


ImportError: No module named onedrivesdk

Getting the ImportError: No module named onedrivesdk error even though I have it installed.

Traceback (most recent call last):
  File "script/spider.py", line 9, in <module>
    from upload import Upload, SERVICE_GOOGLE_DRIVE, SERVICE_ONEDRIVE, SERVICE_DROPBOX, SERVICE_SCP
  File "/home/abc/packtpub-crawler/script/upload.py", line 2, in <module>
    from onedrive import OneDrive
  File "/home/abc/packtpub-crawler/script/onedrive.py", line 4, in <module>
    import onedrivesdk
ImportError: No module named onedrivesdk

abc@xyz:~/packtpub-crawler$ sudo pip install onedrivesdk
Requirement already satisfied: onedrivesdk in /usr/local/lib/python3.5/site-packages
Requirement already satisfied: requests>=2.6.1 in /usr/local/lib/python3.5/site-packages (from onedrivesdk)

Are you using a different python version for pip than for running the script? It looks like pip uses 3.5, how do you call the script?

Bingo that was it, I had not noticed the 3.5 install.. normally I just do a pip not pip2.7 and it installs by default 2.7.  I did a forced pip2.7 and that worked. Problem resolved.

Bingo that was it, I had not noticed the 3.5 install.. normally I just do a pip not pip2.7 and it installs by default 2.7. I did a forced pip2.7 and that worked. Problem resolved.


Add group in alert messages + Validate Name/Group/Description

closes #199
closes #220 (sorry for stealing your PR 😅)

Codecov Report

Merging #221 (b5d2f97) into master (3dd8ba1) will decrease coverage by 0.71%.
The diff coverage is 51.16%.

@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
- Coverage   84.48%   83.76%   -0.72%
==========================================
  Files          50       50
  Lines        3120     3136      +16
==========================================
- Hits         2636     2627       -9
- Misses        367      389      +22
- Partials      117      120       +3

Impacted Files
Coverage Δ

alerting/alert/alert.go
57.69% <0.00%> (-42.31%)
:arrow_down:

core/endpoint.go
72.31% <0.00%> (-5.60%)
:arrow_down:

alerting/provider/discord/discord.go
89.83% <100.00%> (ø)

alerting/provider/email/email.go
74.28% <100.00%> (ø)

alerting/provider/mattermost/mattermost.go
91.54% <100.00%> (ø)

alerting/provider/messagebird/messagebird.go
81.81% <100.00%> (ø)

alerting/provider/opsgenie/opsgenie.go
84.44% <100.00%> (ø)

alerting/provider/pagerduty/pagerduty.go
71.01% <100.00%> (ø)

alerting/provider/slack/slack.go
89.83% <100.00%> (ø)

alerting/provider/teams/teams.go
89.83% <100.00%> (ø)

... and 4 more

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 3dd8ba1...b5d2f97. Read the comment docs.


Update Blazar image

Update Blazar image to include upstream and WIP flavor reservation patches to be used with coral credits.

If it's WIP, I'd rather not merge this into our main branch. Can we wait until it's fully tested?

I agree with @Alex-Welsh - is there a reason the flavour reservation patches are not merged in stackhpc/2023.1 (or stackhpc/2024.1)? I understand that it's WIP because that needs testing-in-production?

We're basing this on Blazar master. flavor-based-reservation5 contains all outstanding commits that are not in master yet, we could create a backport for Antelope of merged and unmerged patches, but we're testing with this currently.
Maybe @JohnGarbutt has some more context for this.

We're basing this on Blazar master. flavor-based-reservation5 contains all outstanding commits that are not in master yet, we could create a backport for Antelope of merged and unmerged patches, but we're testing with this currently.
Maybe @JohnGarbutt has some more context for this.

If it's based on master - do we plan to switch back to 2023.1 or 2024.1 version later on? That seems like it's going to cause some problems... but I'm not the Blazar expert here.

@Alex-Welsh I believe this has now been fully tested. @assumptionsandg please do correct me if I am wrong. (All these patches are up for review upstream)
The question in my head is what to call the branch in stackhpc/blazar (partly also how to review it). We could call it stackhpc/2023.1 but we really want to use this branch (based on upstream master), with Caracal as well. We could have all the branches point to the same commit for the moment.

@JohnGarbutt We do this fairly regularly in release train, where we backport changes to our stackhpc/xyz branches. We've got automation set up to keep them up to date we the stable/xyz branches upstream. If there's a change we want in our forks, we should just cherry-pick it into both stackhpc/2023.1 and 2024.1

Okay, to get this merge I think we need 2 things:

make a stackhpc/master branch which mirrors upstream but has our customisations cherry-picked in.
Add a release note
@assumptionsandg does that sound okay?

One more thing, could you add to the docs so we know know how to make use of these new features e.g. any changes we should be making in blazar.conf


August-W: Made ServiceProvider more configurable without needing to extend it

Added class variables in ServiceProvider for logout_endpoint, login_return_endpoint, entity_id, and acs_redirect_endpoint, and added parameters in the create_blueprint method.
With acs_redirect_endpoint, you can explicitly set the relay_state in AssertionConsumer, for cases in which the SAML Request does not contain a relay_state parameter.
Now, if you don't want to use a url to the saml xml file as your entity_id (default behaviour), you can set the entity_id in ServiceProvider.
Fixed an issue with the Login class in views.py. It now supports setting the scheme to "https" (this happens in ServiceProvider's create_blueprint method).
Updated the example sp.py accordingly.
Linked Issues:
https://github.com/timheap/flask-saml2/issues/17
https://github.com/timheap/flask-saml2/issues/18
https://github.com/timheap/flask-saml2/issues/19

@timheap can we merg this?

Is there an update on this? I'm thinking of using this library, but not being able to use https as the scheme is preventing me from using it

Hey @lucasSzavara, I'm not sure if this is getting merged but for now you can just extend ServiceProvider and make the same changes I did here, or you can use my fork

Thanks @August-W! I'll use your fork, is there anything that I need to change on my code, other than including the scheme parameter?

No problem, @lucasSzavara. You shouldn't have to change anything else. It's been a while since I've looked at this but let me know if you run into any issues.


Question: howto create new sql editor script on connection open, instead of open last saved script

Hi Serge
I'm looking for an option to open new sql editor script by default, because it always opens last script associated to conection, and I have to create new script and close old one.
It's a little bit frustrating.
Thanks!!

This feature is already supported. there are 3 ways to open SQL script:

Open recent script (the one you mentioned), shortcut is Ctrl+Enter in navigator.
Open existing/new script F3)
Open new script (Ctrk+]) - looke this one is what you need.

I think I have not explained myself well.
I mean, when you open a new connection, how to, by default, create a new blank script, instead of opening an existing one.

Ah, I see.
Weill, this can be easily implemented, just yet another action type for double click:

Great news!
It could be as simple as do what configuration says: "open new sql script", and rename current behavior as it do: "open last saved script".
Hope it helps. Thanks!

@marco-sanjuan the screenshot above is what @serge-rider just implemented, currently that option does not exist (you likely have "Open SQL Editor" without the "new" bit). Be sure to upgrade when 5.1.4 is out!

Ah ok ok sorry, that's right.
Thanks ;)


ipad - fixed position

Safari on desktop fixes the background, so it's nice.
ipad safari allows it to scroll, like on the demo page.
So it's not quuuite right for that medium yet.
thx

Hi srobbin,
first thank you for your script! I have the same problem as described above - the background images looks fine on all desktop browsers but if you use safari on iPhone/iPod Touch the background image is not fixed - it scrolls with the content. I tried to use your solution you described above but the image still scrolls with the content (it is not fixed).. do you have any idea? sorry for my bad english!
btw.. the script looks pretty nice on iOS5! but a lot people still use iOS4.

Hi stokedesign,
iOS4 does not support "position:fixed," which is what locks the background in place. The fullscreen scrolling background is a fallback, and still looks quite nice, I think. I'm not sure if there are any other fullscreen background plugins that attempt to fix this.
Best of luck,
Scott

das


Smeshing welcome screen

Feature that be enabled in next version should be commented out with TODO explanation and not removed