Why is "postgres" db created when specifying POSTGRES_DB with a different name

Using tag 12
Hi, I'm specifying POSTGRES_DB with a value different from the default value "postgres".
After initialisation, I see that my DB has been created (without schema) but there's also the "postgres" db with a public schema. How and why is this happening? I was expecting to see only my database after initialisation.
I'm new to postgres so I might be missing somthing here?

https://www.postgresql.org/docs/9.1/app-initdb.html

The postgres database is a default database meant for use by users, utilities and third party applications.

Oh, sorry for the delay. Thanks for the pointer. It still seems counter intuitive as this section also refers to the db created as the user under which it is running. Which is "postgres" in the image. This feels confusing when the param states that POSTGRES_DB will be the name of the database.
I'll think about that a little bit more to see if I just got the wrong mindset. Feel free to close this issue in the meantime.


Single member fragment font changes to a light grey color with dark background

Is this a BUG REPORT or FEATURE REQUEST?:
bug
What happened:
When changing to the dark background in portfolio.md for the single member fragment, the font changes from black to grey and is difficult to read. This applies to the "title", "position", "reports_to" and "lives_in" text in bio.md.
What you expected to happen:
The font stays consistent when changing to a dark background for the single member fragment.
How to reproduce it (as minimally and precisely as possible):
Change the background from light to dark in portfolio.md.
Environment:

Syna Theme version: v0.11.0
Hugo version: v0.41

Additional info. This is most likely due to us changing the fragment background color, but not the background color of the bubble thing. So if we decide to keep it like this, we should be able to fix this by removing the color switch on the various text items.


refactor: pulling api from docker hub

Checklist

[ ] Architecture Design Records have been added as adr/*.md and appended to list in adr/_index.md.
[ ] The values-schema.yaml file and test/** fixtures have been updated to reflect code changes.
[ ] The OpenApi Schema from redkubes/otomi-api project is compatible with definitions from values-schema.yaml file.

I think we need to release new docker image first, right?

I think we need to release new docker image first, right?

indeed


Node metrics for autoscaler

I'm using prometheus adapter alongside the node exporter, but I can't seem to scrape the node metrics from the custom metrics API. My scrape config is:
    - seriesQuery: '{__name__=~"^node_.*",job="kubernetes-service-endpoints"}'
      seriesFilters: []
      resources: {overrides: {system_name: {resource: node}}}
      name:
        matches: ^node_(.*)
      metricsQuery: avg_over_time(<<.Series>>[30s])

When I query
kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1
I get a lot of node metrics returned, but when I query the specific metric using
kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1│ /nodes/*/memory_SwapTotal | jq .
I get back
{
"kind": "MetricValueList",
"apiVersion": "custom.metrics.k8s.io/v1beta1",
"metadata": {
    "selfLink": "/apis/custom.metrics.k8s.io/v1beta1/nodes/%2A/memory_SwapTotal
},
  "items": []
}

This happens for every single node metric as far as I can tell. The metrics appear properly in Prometheus.
In the Prometheus Adapter log files when I make this query I can see the call being made to prometheus and returning in data. So most of the pipeline seems to be functioning. On my one node cluster I get
{
"status":"success",
"data":{
  "resultType":"vector",
  "result":[{"metric":
    {"addonmanager_kubernetes_io_mode":"Reconcile",
     "instance":"<IP_ADDRESS>:9100",
     "job":"kubernetes-service-endpoints",
     "kubernetes_io_cluster_service":"true",
     "kubernetes_io_name":"NodeExporter",
     "kubernetes_name":"node-exporter",
     "kubernetes_namespace":"kube-system"},
     "value":[1553190789.726,"624859136"]}]}
}

so I think there's some issue that I can't figure out with my Prometheus Adapter config.
I tried to follow the solution in #123, but it doesn't seem to have worked.

Maybe the resource overrides you used can not meet your meet?
You have tried this kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1, can it return the metric nodes/memory_SwapTotal ?
I wonder, can you try this config?https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/123#issuecomment-438052778
- seriesQuery: '{__name__=~"^node_.*",node!=""}'  # match things with a `node` label that start with `node_`
  resources: {overrides: {node: node}}  # the only resource we expose this on is nodes, using the `node` label
  name: {matches: "^node_(.*)$"}  # metrics like node_memory_active become nodes/memory_active in the custom metrics API
  metricsQuery: "sum(<<.Series>>{<<.LabelMatchers>>}) by (<<.GroupBy>>)"  # since this isn't a rate, just aggregate by whatever resource we request it on (i.e. nodes right now)

I think the request you used is wrong, it's not kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1/nodes/*/memory_SwapTotal | jq . , it should be kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1/node/*/memory_SwapTotal | jq . .
The difference is nodes/*/memory_SwapTotal and node/*/memory_SwapTotal.
If not lucky, the above is still not work, could you provide the results of  kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/" | jq .

So either way, with nodes or node, it returns the same output. The configuration used from #123 doesn't return any node metrics whatsoever unfortunately.
The output of "/apis/custom.metrics.k8s.io/v1beta1/" | jq  lists all of the metrics that I'm looking for, but querying those metrics results in the output described in the OP. I don't have access to the machine right now so I can't post the full output unfortunately.

If neither nodes nor node can return a expected output, I think there maybe a bug as I described in issue #178.
I guess the below is part of the output when you try kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/" | jq . .
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "custom.metrics.k8s.io/v1beta1",
  "resources": [
    {
      "name": "nodes/memory_SwapTotal",
      "singularName": "",
      "namespaced": true,
      "kind": "MetricValueList",
      "verbs": [
        "get"
      ]
    }
  ]
}

Looking carefully into the result, If you find the field namespaced is true, you probably can't get the metric you want. In fact, the resource nodes is root-scoped apparently. And I think this is a bug.
Another way to prove it: namespace is also a root-scoped resource, you can try kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1│ /namespace/*/memory_SwapTotal | jq . if you have exposed the resource in your config rules. This may return some meaningful results.
If that happened as I described, this could be a bug which I have mentioned in #178, the relevant PR is #179.
There are a few amends that I think probably is right. If you want to try, you can pull the branch in my repository.

I have build an image for your convenience, and you can try docker pull xjas/k8s-prometheus-adapter-amd64

Thanks for the help xjas! I got access to the machine, but it's not giving results inline with your approach.
custom_metrics_raw_list.txt
So all of my node metrics have namespaced: false as you can see in the result of the get attached. I don't think your fix will work for that, unfortunately.
Querying them under namespace/*/ gives
Error from server (NotFound): the server could not find the metric memory_SwapTotal for namespace

Hey, I managed to get this working at last. The issue wasn't with namespacing, it was with incorrect labelling in my prometheus configuration i.e. my node metrics were being picked up from a generic "kubernetes service endpoint" and weren't being labelled properly as a result.
Thanks again for the help xjas!

If possible, could you let me know what the output is when you use the official Adapter image: directxman12/k8s-prometheus-adapter-amd64:v0.4.0 or version v0.4.1?
In fact, I wonder, which image you are using about the custom_metrics_raw_list.txt you attached in https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/180#issuecomment-475966601?
Because Looking carefully into the custom_metrics_raw_list.txt you attached, I see "namespaced": false about resource nodes, take nodes/node_memory_VmallocUsed for an example.
    {
      "name": "nodes/node_memory_VmallocUsed",
      "singularName": "",
      "namespaced": false,
      "kind": "MetricValueList",
      "verbs": [
        "get"
      ]
    },

The output you pasted did not consist with what I get when querying kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/" | jq .. In fact when I use image directxman12/k8s-prometheus-adapter-amd64:v0.4.0 or version v0.4.1, I always get the field "namespaced": true, of resource nodes. As a contrast, I can get the field "namespaced": false, of resource namespaces.
I think this inconsistency may be a bug, as I descirbed in issue #178 and PR #179.
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "custom.metrics.k8s.io/v1beta1",
  "resources": [
    {
      "name": "nodes/reflector_short_watches",
      "singularName": "",
      "namespaced": true,
      "kind": "MetricValueList",
      "verbs": [
        "get"
      ]
    },
    {
      "name": "namespaces/storage_operation_errors",
      "singularName": "",
      "namespaced": false,
      "kind": "MetricValueList",
      "verbs": [
        "get"
      ]
    },
    {
      "name": "nodes/container_cpu_cfs_throttled_periods",
      "singularName": "",
      "namespaced": true,
      "kind": "MetricValueList",
      "verbs": [
        "get"
      ]
    }
  ]
}

If I was right, then this probably is a bug, otherwise I just didn't use it correctly. So could I have your confirmation?
If you have tried the image xjas/k8s-prometheus-adapter-amd64:latest, could you help pasting the output of  kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/" | jq . when using the image xjas/k8s-prometheus-adapter-amd64:latestas well?
Sorry for my verbose descirbing. If possible, I want to know the following things to confirm the probable bug.

which image you are using about the custom_metrics_raw_list.txt you attached in https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/180#issuecomment-475966601?
if you have tried, what's the output when using image xjas/k8s-prometheus-adapter-amd64:latest?

Thank you in advance.

So the image in my case is
directxman12/k8s-prometheus-adapter-amd64
I haven't gotten a chance to use the image in your pull request just yet. Where are the metrics you're focused on coming from ? Are they per-node versions of pod metrics, or are they from the node exporter or similar? That might be the differentiating factor.

Thanks for your quick response.
I just try the directxman12/k8s-prometheus-adapter-amd64:latest images, but the return is still "namespaced": true.
Sorry, I don't understand the meaning of what you say;

Are they per-node versions of pod metrics, or are they from the node exporter or similar? That might be the differentiating factor.

The metric I need is `http_requests_total
Could you make a few explain or give me some references, thanks.

So the metrics I've been looking at come from the Prometheus Node Exporter https://github.com/prometheus/node_exporter
I'm capturing them with a specific scrape job on prometheus. I don't see http_requests_total there, so I think you're getting your metrics from a difference source. Do you know what Prometheus scrape job produces the metric?

Thanks for your response,
The metrics I used did not come form Prometheus Node Exporter, I think the metric comes from a  Prometheus scrape job too. In fact it's exported by the cadvisor.
I will do some deep dig, and I will let you know if I get some infomation.
Thanks again.

I think I have one metric exposed by the cadvisor job and your solution of using namespace rather than node did in fact return the metrics. The metrics I'm interested in though are from the node exporter. The way that you scrape and relabel through the prometheus config map might be the key there.

Thanks for your advice.
Forgive my stupidity, what you have said is about adapter rules config and the Prometheus config? Did I understand you correctly?
Thanks for your patience, and I will try harder.

No need for forgiveness! I should explain myself better. So the solution to my problem, which might be applicable in your case, was in the prometheus scrape config. I'm not sure if it will help you or not.
      - job_name: 'kubernetes-node-exporter'
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
          insecure_skip_verify: true
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        scheme: https
        kubernetes_sd_configs:
        - role: node
        relabel_configs:
        - source_labels: [__address__]
          regex: ^(.*):\d+$
          target_label: __address__
          replacement: $1:9100
        - target_label: __scheme__
          replacement: http
       # Here's where I add the host name label
        - source_labels: [__meta_kubernetes_node_name]
          target_label: none

In the relabel config above I added the kubernetes node name to the list. this is what made the metrics appear properly to prometheus adapter in my case. It may be possible to do something similar in your case, but I'm not certain. If your solution is working for you know it's probably a good idea to stick with it!

I appreciate your consideration.
I am trying it as you have advised and I think it must help a lot to make my adapter works correctly.
If I have some progress, I will let you know.
Thanks for your detailed explanation again.

The metrics I used is indeed per-node versions of pod metrics, which is different from what you are using.
So I need PromL do the aggregation for me, and the resource nodes have to be root-scoped.
Recent progress is PR #179 has been merged for now, however, the shortcoming of this PR is that it's something like hard-code. If any root-scoped resources is introduced into K8S, the code need to be modified again.
Fortunately, there is a plan to unifies detection of namespaced objects as described in https://github.com/DirectXMan12/k8s-prometheus-adapter/pull/179#issuecomment-477567312.
Thanks for your hint sincerely again.


eNotice2 - preview

The OPT-210 is uncorrectly translated in Italian: the tendering party is "L'Appaltatore" not "La stazione appaltante"

fixed with SDK 1.10


backend: Fix authentication validation for github

This patch fixes the auth validation for github
by accepting API keys in header for authentication.
Signed-off-by: Santhosh Nagaraj S<EMAIL_ADDRESS>

Working on the pagination search bug in the same branch. So marked the PR as a draft.

I have added the frontend bits. Also the "fixup or delete" commit is because the tests are using GetPackage and I thought maybe we keep this function and add the new ones as separate (they will need testing in both cases).
The only other nitpick is that searchTerm in the query seems a bit quirky to me, but ATM I cannot think of a much better one.

@joaquimrocha let's update the tests instead of creating a new function. I was also thinking about the searchTerm keyword, should it be searchVersion ?

@joaquimrocha When the search term is removed the packages are not updating
https://user-images.githubusercontent.com/22731013/154635479-afc23fa1-d9b2-4729-9241-c7757a0e8241.mov

@joaquimrocha let's update the tests instead of creating a new function. I was also thinking about the searchTerm keyword, should it be searchVersion ?

Let's go with matchVersion if it just matches the version.


Use merlin-dataloader package

Use the merlin-dataloader package under the hood for the nvt dataloader.

Current CI failures need a fix included with https://github.com/NVIDIA-Merlin/dataloader/pull/38

Rerun tests

rerun tests

rerun tests

rerun tests


pythonPackages.togglCli: init at 2.1.0 (and its dependencies)

Motivation for this change

pythonPackages.togglCli: init at 2.1.0

And its dependencies:

pythonPackages.validate_email: init at 1.3
pythonPackages.readchar: init at 2.0.1
pythonPackages.inquirer: init at 2.6.3
pythonPackages.PTable: init at 0.9.2

Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build pythonPackages.togglCli

@GrahamcOfBorg build python3Packages.togglCli

@worldofpeace you are amazing - thank you for your review! Pushed the new changes.

Great work here @mmahut :sparkles:
I think this is complete, can you squash the commits?

@worldofpeace thank you! Done!


Error with Husky v1.0.0-rc.2 on Windows

Hi @marionebl,
In next version of husky, GIT_PARAMS env variable is going to be scoped (mainly to avoid collisions and be more explicit that it's coming from husky) but it creates a bug with commitlint.
https://github.com/typicode/husky/blob/dev/CHANGELOG.md#100-rc1
https://github.com/typicode/husky/issues/268
Affected packages

[x] cli
[ ] core
[ ] prompt
[ ] config-angular

Possible Solution
I've checked commitlint code, and I see 2 potential solutions.
Use cross-env
cross-env comes with cross-env-shell which lets you write env variable the linux way with $ and it makes it compatible with Windows.
"commit-msg": "cross-env-shell "commitlint -e $HUSKY_GIT_PARAMS"

Add an option to commitlint CLI
It should be possible also to add, for example, a --env/-E option to commitlint-cli to define which environment variable it should look for in process.env without relying on OS specific syntax.
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS"

I personally like the second one as it doesn't involve downloading another package. Probably you have other ideas as well. Let me know what you think about it and if you want me to make a PR :)
Steps to Reproduce (for bugs)

mkdir test && cd test
git init && npm init -y
npm install --save-dev @commitlint/{config-conventional,cli}
npm install --save-dev husky@next (1.0.0-rc.2 )
Add to package.json

"husky": {
  "hooks": {
    "commit-msg": "commitlint -e $GIT_PARAMS"
  }
}

 git add something and  git commit -m foo
On Windows it'll throw:

node_modules\@commitlint\cli\lib\cli.js:70
                throw err;
                ^

Error: Received $GIT_PARAMS as value for -e | --edit, but GIT_PARAMS is not available globally.

Your Environment

Executable
Version

commitlint --version
6.1.3

git --version
2.7.4

node --version
9.11.1

OS
Windows

Thanks for reporting! I'd like to go with you second option, but fuse it into the existing -e flag. We could add the following logic:

Check husky version

<1: use GIT_PARAMS if given, warn if HUSKY_GIT_PARAMS found
>=1: use HUSKY_GIT_PARAMS if given, warn if GIT_PARAMS found

For win32 handling we can do the same as with GIT_PARAMS before:
https://github.com/marionebl/commitlint/blob/b0bbce39393025d0e366fede8d08ef9eacd6e94a/%40commitlint/cli/src/cli.js#L168-L176
A PR for this would be very welcome ❤!
What do you think?

I thought about fusing it with  -e  as well, but I wasn't sure how to distinguish between a file path (.git/COMMIT_EDITMSG) and an environment variable (HUSKY_GIT_PARAMS) in a reliable way?
Also, not sure how to display correct error message in case path or env variable is missing?

Ran into same problem.
Changed the git hook part to "commit-msg": "commitlint -e %HUSKY_GIT_PARAMS%"
Is this correct for Windows?

how to write our own custom rule for git commit message?


Powerbank

INTRODUCTION
powerbank-PBK-ERC20
Powerbank is an erc20 platform based coin for Mobile phone bill payment&recharging world smartcontract:0x077DC3c0c9543df1cdD78386DF3204E69E0DD274 symbol: PBK Decimal :7 supply :500M With the current growth of blockchain technology, Smart Contracts are clearly becoming the future of our financial system. From creating an Insurance, a token or a complete election voting system, blockchain technology is now allowing anyone anytime anywhere to replace and disrupt complete market sectors, and all of this with just few lines of code. Whole government functions and institutions are now being created with what we call trustless trust, without any central authority in the middle to block it.Powerbank contribution to this great ecosystem will be to attempt to introduce a new payment gateway for smartphone world & recharging management.this approach is transparent, fair and shared by all the participants with the consideration of containing the supply for a future smartphone world.
Name : powerbank symbol :PBK Decimal 7 Platform ERC 20 Smart contract:0x077DC3c0c9543df1cdD78386DF3204E69E0DD274

Incorrect information submitted, please go through our guide and check again.
Please provide more detailed information about the project, to smoothen and speed up the screening process.
To speed up the screening process, please provide detail information about the project, media coverage (if any), and the following information to help imToken team better understand your project.
Team background:
Project current status:
Media coverage:
Recommended gas limit for users (default is 60,000):
PR example: https://github.com/consenlabs/token-profile/pull/1636


Revert "Set checked to false on indeterminate changed"

Connects to #42
Fixes #48
Reverting to native checkbox behavior

This change is

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

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


[Donation] Remove all old copyrights announcement

After SGA/ICLAs submit, also before the transfer happens, please remove all announcements about
supported By DaoCloud Labs, including words, badges, and links.

Fixed: https://github.com/TinyAllen/rocketbot/commit/d49282aa0379d20910e824f4daee3656a44145cb

We just need to fix this because repository transfer happens:) Thanks for changing so quickly.


JunctionIdList columns

How to work with JunctionIdList columns?
For example, Event entity have AcceptedEventInviteeIds column.
But it isn't exists when using event = api.materialize('Event').first.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/field_types.htm#JunctionIdList_Field_Type_title_ph

@sld Did you ever come up with a solutiom/answer to this?


Fix invalid framework status error message

ValidationError should be printed with e.message, which is done
by the app error handler, so there's no need to handle the exception
in any of the views.

:+1:


1.0.19 problems

settings in config
"Framerate" no longer works
"MonitorEmissiveColor" Only works with integers and is terrible at it

settings in config "Framerate" no longer works

I can't reproduce this issue.

"MonitorEmissiveColor" Only works with integers and is terrible at it

None of the default color component values are integers, and it the color appears correct for me, so you'll have to be clearer about what is "terrible" about it.
These should be two separate issues.

I set the maximum framerate to 1. but it looks like 60 or higher
The screen simply does not have a color filter if the value is less than integers
https://youtu.be/azldcRag2Ac

I got another report of the issue with the colors and figured out it was the locale changing how the numbers were being parsed. That issue should now be fixed, so I'll close this issue as completed.
Could you test the framerate limit on 1.0.20 and see if it is still occurring, and if so open a new issue? When I set that value to 1, it does indeed limit the framerate as I expect.


support for WFRP4e system "worn/equipped" trappings flag

Hi,
this PR adds similar support for WFRP4e system that D&D5e already has. It allows to apply effects only when specific item is worn/equipped i.e. torch, lantern or other magic ring.

@silentmark Can you address the review feedback I gave here?
https://github.com/kandashi/Active-Token-Lighting/pull/128#discussion_r1161390340
Having a getEffects function will make sure it works for WFRP4e as well as other systems. Plus, for v11 compatibility, I'll need a function like that anyways b/c of some changes in Foundry itself.

I will take a look into that end of this week

I'm going to make the changes I requested myself. I'll merge this into another branch, so your commits will still be there. Just gonna create another branch to put these in and then another PR to merge into main.

May not need to. I see "maintainers are allowed to edit this PR" so I should be able to commit myself

I didn't realize I could commit to the PR. If I realized that earlier, I would have done this a lot sooner. I think I made all the changes I wanted. Does it look okay to you?


feat: support request body rewrite #127

Features and modifications includes:

Update github.com/api7/ext-plugin-proto to v0.6.1
Add SetBody([]byte) to http.Request
Add a sample request body rewrite plugin
Add an e2e test for the sample request body rewrite plugin
Lint some code and add items (e.g. .vscode, go.work) to .gitignore

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (f049304) 80.75% compared to head (ef15c7d) 80.37%.

:exclamation: Current head ef15c7d differs from pull request most recent head 3b80916. Consider uploading reports for the commit 3b80916 to get more accurate results

Files
Patch %
Lines

cmd/go-runner/plugins/request_body_rewrite.go
75.00%
2 Missing and 2 partials :warning:

internal/http/request.go
90.90%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   80.75%   80.37%   -0.38%
==========================================
  Files          16       17       +1
  Lines        1034     1060      +26
==========================================
+ Hits          835      852      +17
- Misses        146      156      +10
+ Partials       53       52       -1

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

Nice work!

@bzp2010 please help to review

Whether content-length needs to be processed？

Whether content-length needs to be processed？

Is it a must to make limitations here? Flatbuffer itself has size limit of 2GB (https://stackoverflow.com/questions/59185516/do-flatbuffers-have-size-limits).


custom grid compilation bug

Hello. I tried to compile bootstrap with custom grid (26 columns, 40px each, 10px gutter)... and it only generated .span1 up to .span24. It also generated offsets up to .row>.offset12. Inputs, textareas and tables are also generated up to .span16. The only proper value is width of the .container... and of course widths of existing elements (those 24 columns).
I tried to compile on both Ubuntu and Windows using various tools with both 1.3 and 1.4 versions. Effect is the same. I believe that's a bug.

You'll have to add additional columns to the grid system for this to work. We only estimated folks using up to 24 columns and thus only provided code for those.
In 2.0, we will be dropping this feature and only rolling with a 12 column grid. You can still customize, but it will require more work on your part.


Language bangla #108

The addition of the Bangla (Bengali) language has been completed.
New language added. reference

please update readme

I have changed the code, please check it now.

@ronisarkarexe Hi, can you fix git conflicts?

I ran your tests, 64/100 does not passes :( If counting in hindi is similar to bangla, you can get inspired by PR: #112

I will check, thank for mention

I resolved conflicts in your PR


skip parts that are missing version1 fields

when generating a schema for v1, all parts need to have version1 fields
fixes #70.

waiting for spec for warning-list.

@yulric Ah, I forgot about this one. Yeah, I think we can merge it. Can you approve it?


Update fonts

Update google fonts for new symbols (ex. russian rouble sign)

@ray1984 It is also necessary to update the condensed fonts.

@ray1984  Will you do?

When will this changes appear in gradle?

20 minutes.
On Aug 31, 2015 2:03 PM, "ray1984"<EMAIL_ADDRESS>wrote:

When will this changes appear in gradle?
—
Reply to this email directly or view it on GitHub
https://github.com/johnkil/Android-RobotoTextView/pull/42#issuecomment-136335827
.

ready :yum:
compile 'com.github.johnkil.android-robototextview:robototextview:2.4.2'

@johnkil Tnx


Add fabform.io to your list

Hello
I would like to add fabform.io to your forms service
How do I go about adding it
Thanks

@fabformG I am a little confused... I just created an account and without some kind of documentation I am not sure how to use this service or even what exactly it does, however based on the name I am assuming it is a form design tool.


Adding styling in the cards

Describe the feature
Hii @anuragverma108
The cards in the "LITERARY REALMS " section is looking very simple.
I want to make it more attractive, I will add styling and hover effect according to the theme of the website.
Can you please assign this task to me under GSSOC24 so that I can make it more attractive.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Assigned! @Manishar55
Make sure to attach before & after screenshot in your PR.
Make sure to star the repo before working on it! Happy open-source contributing!

Can I contribute to this??

Hey @anuragverma108 I would love to work on this issue. I can make the UI look more attractive. Please assign me this issue. Looking forward for the apporval

@anuragverma108 Sir , I would like to work on this issue. Please assign this work to me.


Usage outside of DefinitelyTyped

First of all, congrats for this impressive tool.
I'd like to know whether it can be used outside of DefinitelyTyped ecosystem.
To be specific, I'd like to use it to obtain the metrics generated for DefinitelyTyped PR, but for a  local types package instead.

Hey @tomasz-zablocki, sorry for the delayed response. Currently DefinitelyTyped is kind of hard-wired into this tool, but it’s fairly modular if you wanted to adapt some of the existing code. The majority of the metrics are gathered here and by that point, it’s no longer specific to DefinitelyTyped at all.

@andrewbranch Thank you very much, I'll try to adapt parts of it to my needs then.


Produce Dataverse Table Schema Documentation from Metadata v1

Category

[ ] Content fix
[x] New article

Related issues

fixes #issuenumber
partially #issuenumber
mentioned in #issuenumber

Contents of the Pull Request
New blog post and associated images for review and publish please. @alex_mcla documentation of Dataverse schema/metadata in Markdown and HTML formats from XrmToolBox Metadata Document Generator outputs.
Guidance

Hi @alex-mcla  - thanks for contributing. In order to publish your post, please change the image in the metadata (this is the YAML part) - the myImage is just a placeholder - you need to provide a path to the thumbnail image that you want to be included.
Also please adhere to proper markdown - you start with a ## heading 2, the # heading 1 is already taken by the title.
Let me know if you have questions.

Thank you for reviewing Luise, and sorry I missed some of the instructions - I'll review these in more detail for the next post. I've made the changes you requested and a few more to improve consistency and pushed them. Please let me know if there are any further changes you'd like me to make.

thank you! files are merged, site is building.


Transaction signatures

Update the transaction signature mechanism. It is a kind of hybrid between Segwit and Taproot way of doing signatures. Since generating signatures is no longer so straightforward, there will be matching utxo-tester PR soon which should help with experimenting and as a second reference implementation.

Looks like @altonen got in before the conflicts :smile:

Looks like @altonen got in before the conflicts smile

Yea, I kind of expected there to be conflicts, will resolve them soon.

They're pretty minor

Rebased and rolling again :]

Do you think it's worth generalising these H256 and H512 datatypes littered around the place to Vec? That way we never need to worry about pub key/sig/address/anything size it will always be supported no matter what

So the reason I'm thinking about this is BLS will need new data types as it won't fit in 256/512 bit datatypes, the CT stuff will certainly need different datatypes. Now we can define H384 in substrate itself and handle it that way or we can stick the Vec. I do get where you're coming from with regards to the compiler though.

My preference would be H384 or even better something like bls::Public and bls::Signature. If you take a look into sign.rs in this PR at the Signature type there, it is an enum exactly for the reason that we will want to add more variants in there. All of this will probably need some amount of redesign for signature batching but I did not want to engage in premature design for that. Does that sound sensible?

Alrighty... So i have to admit I hadn't seen the sign.rs file yet. You can ignore my original comments having had a quick look.
I have already defined bls::Public and bls::Signature in an identical way to sr25519 so this should drop in nicely. I'll take a proper look through the PR in the morning
Yeah we've got a few things that ultimately we'll need to support, we have the code for multisig, threshold sigs and aggregated sigs already but we won't implement it until after the testnet.

Alrighty... So i have to admit I hadn't seen the sign.rs file yet. You can ignore my original comments having had a quick look.
I have already defined bls::Public and bls::Signature in an identical way to sr25519 so this should drop in nicely. I'll take a proper look through the PR in the morning
Yeah we've got a few things that ultimately we'll need to support, we have the code for multisig, threshold sigs and aggregated sigs already but we won't implement it until after the testnet.

More conflicts, yay! Will resolve soon but after that pallets/utxo/src/lib.rs will have chenged.

Rebased this again atop the token system. The conflicts were localized but a bit tricky to resolve, @sinitcin can you check I have not missed something?


New hook for performing actions when address change on cart

Questions
Answers

Description?
Added new hook from PR 31294 to autoupgrade script

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?

Sponsor company
Prestaworks AB

Related PRs
https://github.com/PrestaShop/PrestaShop/pull/31294

Hello @Prestaworks
Could you please resolve the conflits 🙏
Ping @kpodemski as discussed on Slack, this PR should be tested by a dev.
Thanks!

Hello @Prestaworks
Could you please resolve the conflits 🙏 Ping @kpodemski as discussed on Slack, this PR should be tested by a dev.
Thanks!

Done!

@florine2623 You did not run composer install

Not sure if I need to do anything else here? waiting for QA was removed and florine seems to have removed her assignment?

@Prestaworks sorry for that, no worries, nothing more to do on your side, we'll handle that

thank you @Prestaworks :)


Libcarla as submodule

Hey, I have prepared a version where libcarla is a submodule. It will be easier to change libcarla and compare carlaviz repo changes. What do you think?

Hi @umateusz , I considered this before but I don't think this is a good idea. Here are my reasons.

Carla's official repo has too many unrelated things/codes. Some of them belong to the server side or Unreal Engine side. Including all of them will bring messy stuffs to this repo.
When carla upgrades, we may still need to change some bash scripts, like setup.sh in this repo. So why not copying the LibCarla codes as well?

Hi @umateusz , I considered this before but I don't think this is a good idea. Here are my reasons.

Carla's official repo has too many unrelated things/codes. Some of them belong to the server side or Unreal Engine side. Including all of them will bring messy stuffs to this repo.
When carla upgrades, we may still need to change some bash scripts, like setup.sh in this repo. So why not copying the LibCarla codes as well?

Hi @mjxu96.
Having libcarla as a submodule will make it easier to change version and control it. Currently, we cannot check which version of carlaviz works.

I agree that It would be better to download libcarla without any additional dependencies but that would require some extra work on Carla side. I think it's better to download too much than copy the code.
If we need any code changes, it's better to do them on the Carla side. If there are small changes to e.g. setup.sh, only this file can be copied.

It's your decision, if you think it's better to copy the code please close this PR.

Hi all,
I think there is a solution somewhere in between of including whole CARLA sources as a submodule (which I agree could get quite messy) and copying the LibCarla code. Why not add downloading & extracting LibCarla sources as a part of setup.sh, the way other libs are added? It seemed to work quite well in our quick-and-dirty upgrade to 0.9.13 (https://github.com/wielgosz-info/carlaviz/commit/797fa93fe075616c139ecea1d79bb5e28914dc4a#diff-d32ba621b1d068eebb89e2404a5da195eafb40d58ee9f5c9d542a18a9cc6b35a).
It allows both to avoid the overhead of checking out the whole carla repo history & ensures the carlaviz versioning is for a specific version of CARLA.
@mjxu96, do you think something like that could work?

I will use Conan to manage the dependency in this PR https://github.com/mjxu96/carlaviz/pull/62
Thanks for the PR and thoughts.


Include .gitignored folder in the sdist and wheel

We have a Python package that includes a node-built static HTTP filter. We don't track it in git. We extract it before building the sdist and wheel. However, it doesn't show up in the sdist and wheel, presumably because it's .gitignored.
Is there a way to force it to include a particular .gitignored folder? In this case it's alongside the source. In src/package/web, basically.
Thank you!

I fixed it with this: https://flit.pypa.io/en/latest/pyproject_toml.html#sdist-section
Thank you all!


Added V3 support for Users module

This branch switches the rest of the Users module over to V3 of the API. Comments and critiques welcome.

Other than this minor comment, it looks good to me.


Update COMMITTERS list

The Technical Committee has agreed to make Martin and Felix OpenTitan
committer. This commit updates the in-tree COMMITTER file to reflect
that.
Please join me in welcoming Martin and Felix to the group of
commmitters! Thank you for your great work on OpenTitan so far, we're
happy to have you in the team.
If you're interested in becoming a committer as well, please have a look
at https://docs.opentitan.org/doc/project/technical_committee/ and talk
to one of the TC members for more information.

CC @felixmiller @martin-lueker

@asb Can you please update the GH repo settings?

Felix, Martin: I've now also added you to the OT committers team, giving you commit rights.


feat: add CAI token

looks fine to me. @Olanetsoft can u fix conflicts and ask Fig to sign off on logo?


Add message to assertions and throw exception.

Minor code optimizations.

@mfussenegger FYI: https://github.com/crate/crate/pull/4574/files#diff-17ab467e09a2692eaf953b882cf86c00R94
I extracted to a variable because  and couldn’t find a way to make xpath rule work....


[msal node] Adds confidential client

Adds support for:

building confidential client application
using a client secret
using a client certificate
using client assertion

Coming soon:

support for client credentials grant
support for on-behalf-of flow

Coverage decreased (-0.2%) to 81.676% when pulling f0f8c7a4fe5b0890d1240fc134eb3e5db657ed3a on msal-node/confidential-client into 135076af1e2abc70273f6338d812b6e60487f0ab on dev.

@sangonzal has this been released or does it still need to be released?

@baywet Yes this has been released. The latest MSAL node version (v1.0.0-alpha.12) supports client credential grant and on-behalf-of flow.


feat: Share sessions with other users

To enable the feature for specific connection methods of tools, you have to set the sharing.enabled attribute in the tool connection method configuration to true. To enable sharing for the Xpra connection method, add &sharing=1 as suffix to the redirect_url.
Resolves #1421
When a session is shared with a user, the user has the following permissions:

Access the session token
Connect to the session
Full control over the session

The user doesn't have the permission to:

Access the TeamForCapella session token
Terminate the session
Share the session with other users
Access the file browser

Something a bit off-topic one may want to incorporate into this PR:
I suggest that the term Jupyter in the README will be replaced by a hyperlink labelled JupyterLab which points to https://jupyterlab.readthedocs.io/


User stories missing

User stories that were discussed last tutorial haven't been added and prioritised yet.

Understood.

@Rishav1 Thanks for your reminding. We have updated our user stories.


[MySQL] Copy as CSV copies only timestamp data if a part of a table is selected only

System information:

Operating system (distribution) and version Win10
DBeaver version 7.1.1 EA

Connection specification:

Database name and version MySQL

Describe the problem you're observing:
Copy as CSV copies only timestamp data if a part of a table is selected only and Use native date/time format is enabled
Precondition:

a table with several filled columns and rows exists
one of the columns has timestamp type
the table is opened in Data Editor
Use native date/time format is enabled in the connection settings

Steps:

Select a part of the table including data of the timestamp type column (e.g. in sakila.NewTable_2)
Select Copy AS CSV in Context menu for this part
Paste the copied data

Expected:
the data is pasted completely
Actual result:
Only column names and data of timestamp column is pasted

The problem is with SQL Editor, setting "Extract SQL from source code". You can disable it or don't copy CSV to SQL Editor.

I've added taskbar notification for SQL transformations. Otherwise it may look weird and unexpected.

Another suggestion: you could allow to get back to the unconverted string via ctrl+z. I don't know if putting something in the undo queue programmatically is easily doable.
This would be similar to the eclipse feature that allows you to revert "on save" actions by doing an undo.

@SA357 Thank you for the help. It works.


Do not trigger event if identity of parameter value is unchanged

Seems like a crazy oversight, not all objects can be compared for equality so we should always check for identity first. The current behavior was added in https://github.com/holoviz/param/pull/279, but it does not provide any arguments for why we would want to trigger events if the object identity is unchanged.

It certainly sounds safe to add this check.

I thought we didn't compare for identity because of mutable objects. Take the code below, right now the debug callback is called. With your changes, it no longer is.
import param

class Dummy: pass

dummy = Dummy()

class Foo(param.Parameterized):
    d = param.ClassSelector(class_=Dummy)

    @param.depends('d', watch=True)
    def debug(self):
        print('updated d')

foo = Foo(d=dummy)
dummy.changed = True
foo.d = dummy  # triggers `debug` now, not with this PR

We could decide that's the right course of action, if so, I don't think it should be released in a patch release.

Thanks, that's a good point. Personally I don't think this was intentional but I appreciate that it's a significant change in behavior. For mutable objects the correct way to trigger an event should always be to explicitly trigger an event. That is because if we ever did register an equality comparison for a particular type of object then the event would no longer get triggered because the equality check will always pass if the object has the same identity.

As an example to illustrate this point, the two mutables that we do have equality comparisons defined for do not trigger an event:
import param

class Foo(param.Parameterized):
    d = param.List()

    @param.depends('d', watch=True)
    def debug(self):
        print('updated d')

mutable = []

foo = Foo(d=mutable)
mutable.append(1)
foo.d = mutable # does not trigger `debug`

The docs about trigger also make this point:

Usually, a Watcher will be invoked only when a parameter is set (and only if it is changed, by default). What if you want to trigger a Watcher in other cases? For instance, if a parameter value is a mutable container like a list and you add or change an item in that container, Param’s set method will never be invoked, because in Python the container itself is not changed when the contents are changed. In such cases, you can trigger a watcher explicitly, using .param.trigger(*param_names).

Yes, your points make sense to me.
We often see Param users, and in particular Panel users using Param, asking why updating their list/dict doesn't execute their callbacks. Expanding this behavior to "complex" (there's got to be a better name for this) will need to be carefully documented (with a big warning!).


Reverse Engineering feat not accepted as an Archetype feat

The feat can be applied as a bonus feat, but when adding as an Archetype feat, the following error is displayed:

When switching the feat to a different type, it is applied to the sheet as normal. It only happens when adding as an Archetype feat.
This is when it is being added as a 4th level feat using the Free Archetype variant rules.
I have tried the following to solve this issue:

Reinstalled Foundry
Reinstalled PF2 system files
Making a fresh world, fresh actor, and attempting to apply the feat

I also noticed that, when adding the Reverse Engineering feat as a different kind of feat, a duplicate line of code is generated for an actor in the actors.db file in the world folder. It's usually a copy of the actor I'm trying to assign the feat to, but sometimes the data doesn't appear to be a perfect copy, or it copies another actor, seemingly at random.

It's a Skill feat. Free Archetype feats are Class feats RAW.
https://github.com/foundryvtt/pf2e/wiki/The-CounterFAQ#free-archetype-and-archetype-skill-feats

Closing as the system is working as intended. If you would like to put the feat into the slot anyway, we recommend altering the feat type in your game

That works! Thank you!


Candle open exact same as candle close on Forex data

I noticed that in the last months of daily forex candles, open prices are the same than close prices. This cannot be true because I compared with other sources like tradingview and candle open are definitely not the same as close.
import yfinance as yf
import pandas as pd
ticker = 'EURUSD=X'
start_date = '2010-01-01'
end_date = '2022-10-02'

period = '730h'
interval = '1d'
forex_data = yf.download(ticker, start=start_date, end=end_date, interval=interval)
forex_data.index = pd.to_datetime(forex_data.index)

# count occurrences of open == close
forex_data[forex_data['Open'] == forex_data['Close']].index.year.value_counts()

2022    139
2012    121
2013     54
2016     44
2014     34
2015     23
2019     20
2011     18
2018     18
2021     15
2020     13
2017     11
2010      6
Name: Date, dtype: int64

This is an issue of yahoo_finance itself, please like & retweet so this gets attention
https://twitter.com/playratewinrate/status/1577336404891377665?s=20&t=VH94h-5zcUsy75LmlE4KAQ

Duplicate of #1071


Feature Request: Recognize Timestamps in Sub-blocks and Update Time Slots

Dear Development Team,
First and foremost, I would like to express my sincere gratitude for the outstanding product and services you have been providing us. I truly appreciate your dedication to user experience and continuous efforts towards improvement.
I have a small feature suggestion that I hope you could consider. During the course of using your product, I often forget to click the "Clock In/Clock Out" button, but inserting timestamps like "18:26 - 18:45" is quite simple for me. Therefore, I respectfully suggest the possibility of adding a feature that can automatically recognize all timestamps in the sub-blocks under "Time Recorder" and copy them to "Time Slots." This would greatly enhance my work efficiency.
Once again, thank you for your hard work and dedication. I look forward to your feedback. Whether or not you are able to implement this suggestion, I am truly grateful. Wishing you all the best in your endeavors!

I have updated to the new version, and the new UI looks great and is very user-friendly. I think maybe this feature request is not very good, it just needs to add a command to call clock in and clock out through /. I really don't want to have to click with the mouse before typing each time.

@HeatDeathOfUniverse
Thank you for your feedback!

inserting timestamps like "18:26 - 18:45" is quite simple for me

Something you can do already with the current version is to just click outside of the table and edit the plain text of the block (see GIF in README).

recognize all timestamps in the sub-blocks under "Time Recorder" and copy them to "Time Slots."

I think this would be difficult to do efficiently because there is no API to be notified about updates to sub-blocks as far as I know. I would personally also find it a bit unintuitive.

it just needs to add a command to call clock in and clock out through /

The problem I see here is that you can have multiple time recorders at the same time (e.g. for subtasks), so if we had a "Clock Out" command, it would need a way to identify which time recorder to clock out from.
Something I have thought about would be to instead have the table itself be editable, so if you click on a timestamp an input field would appear there where you can change it.
Maybe that would help with your issue?
Mockup:

Although I have no idea when/if I will ever be motivated to work on that 😄


feat: define split token in one place and use it everywhere in the app

Resolves #177
Resolves #379

I think the naming would be better if there would be a Token type only defining the token. And there would be another type that would contain the token and the amount, just like you did. This could be called TokenAmount or just Amount.

Agree, will change :)


blame: add commit hash to blame result

Signed-off-by: Shane Da Silva<EMAIL_ADDRESS>

Can you add a test for this?


Panic instead of partially running actions

This PR changes the ignores in lib.rs to panics, as a stopgap against half-run rules. It also fixes the resulting failing tests by doing the demand transformation manually.

This resolves the most urgent concern from #228, which is that rules can fail silently.

Looks good. Can you add an explicit panic message?

Added.


Listen to Enter key (data-on-xxx)

Just starting with datastar and it is really great.
I stumbled over this example:

Press Ctrl+K

And I just wondered, if i can filter the Enter key also as modifier? Is there a reference somewhere (I am not that experienced in web development)?
Great thanks!

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

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

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Enter isn't considered a modifier key :(

Enter isn't considered a modifier key :(

Okay. No problem. Thank you for the information. :)


How much is the GPU memory requirements?

My GPU is TITAN X(Pascal)(12GiB).
When I train the model using 'python train.py', there is a warning: "Ran out of memory trying to allocate 3.19GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.".
I wonder if the required GPU memory is 15GiB?
But even I ran out of memory, it still runs.
And it seems not damage the performance.
Have you ever met this kind of problem?
cv@cv:~/tf/tf-deeplab-resnet$ python train.py
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so locally
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: TITAN X (Pascal)
major: 6 minor: 1 memoryClockRate (GHz) 1.531
pciBusID 0000:02:00.0
Total memory: 11.90GiB
Free memory: 11.61GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x54536c0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 1 with properties:
name: TITAN X (Pascal)
major: 6 minor: 1 memoryClockRate (GHz) 1.531
pciBusID 0000:03:00.0
Total memory: 11.90GiB
Free memory: 11.76GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x54574e0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 2 with properties:
name: TITAN X (Pascal)
major: 6 minor: 1 memoryClockRate (GHz) 1.531
pciBusID 0000:82:00.0
Total memory: 11.90GiB
Free memory: 11.76GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x545b300
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 3 with properties:
name: TITAN X (Pascal)
major: 6 minor: 1 memoryClockRate (GHz) 1.531
pciBusID 0000:83:00.0
Total memory: 11.90GiB
Free memory: 11.76GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0 1 2 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y Y N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 1:   Y Y N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 2:   N N Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 3:   N N Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:1) -> (device: 1, name: TITAN X (Pascal), pci bus id: 0000:03:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:2) -> (device: 2, name: TITAN X (Pascal), pci bus id: 0000:82:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:3) -> (device: 3, name: TITAN X (Pascal), pci bus id: 0000:83:00.0)
Restored model parameters from /home/cv/tf/tf-deeplab-resnet/deeplab_resnet_init.ckpt
W tensorflow/core/common_runtime/bfc_allocator.cc:217] Ran out of memory trying to allocate 3.19GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.
W tensorflow/core/common_runtime/bfc_allocator.cc:217] Ran out of memory trying to allocate 3.19GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.
The checkpoint has been created.
step 0 	 loss = 4.333, (12.162 sec/step)
step 1 	 loss = 3.095, (1.228 sec/step)
step 2 	 loss = 3.916, (0.890 sec/step)
step 3 	 loss = 3.019, (0.836 sec/step)
step 4 	 loss = 3.412, (0.824 sec/step)
step 5 	 loss = 2.240, (0.909 sec/step)
step 6 	 loss = 2.528, (0.962 sec/step)

Yes, this warning pops up from time to time when I am trying to increase the batch size, but it doesn't affect the model performance.
In my case, when_ running on Titan X (12 Gb), it doesn't produce any warnings with default parameters (batch_size=10, image_size=321) and takes 11708 Mb of the GPU memory.


Inconsistent comment rendering

1. Description
It's not clear if HtmlDocument.CreateComment() need to include . If it's included, OuterHtml include it twice.
If it's not, WriteTo() with OptionOutputAsXml = true could raise an exception.
Note: the HTML Standard indicate HTML comments can't contains some sequences:

text [inside comments] must not start with the string ">", nor start with the string "->", nor contain the strings "", or "--!>", nor end with the string "<!-"

2. Exception
[System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length]
   at System.String.Substring(Int32 startIndex, Int32 length)
   at HtmlAgilityPack.HtmlNode.GetXmlComment(HtmlCommentNode comment)
   at HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText, Int32 level)
   at HtmlAgilityPack.HtmlNode.WriteTo()
   at Program.Test(Boolean outputAsXml) :line 21
   at Program.Main() :line 10

3. Fiddle or Project
A Fiddle that reproduce the issue: https://dotnetfiddle.net/vARPlD
// @nuget: HtmlAgilityPack -Version 1.11.54
using System;
using HtmlAgilityPack;

public class Program
{
	public static void Main()
	{
		Test();
		Test(true);
	}

	static void Test(bool outputAsXml = false)
	{
		Console.WriteLine(string.Format("---- Test with outputAsXml = {0} ----", outputAsXml));
		var doc = new HtmlDocument();
		doc.OptionOutputAsXml = outputAsXml;
		doc.LoadHtml("");
		var comment = doc.CreateComment(" cde ");
		Console.WriteLine(string.Format("comment.OuterHtml = {0}", comment.OuterHtml));
		Console.WriteLine(string.Format("comment.WriteTo() = {0}", comment.WriteTo()));
		doc.DocumentNode.AppendChild(comment);
		var comment2 = doc.CreateComment("");
		Console.WriteLine(string.Format("comment2.OuterHtml = {0}", comment2.OuterHtml));
		Console.WriteLine(string.Format("commen2t.WriteTo() = {0}", comment2.WriteTo()));
		doc.DocumentNode.AppendChild(comment2);
		Console.WriteLine(string.Format("doc.DocumentNode.OuterHtml = {0}", doc.DocumentNode.OuterHtml));
		Console.WriteLine(string.Format("doc.DocumentNode.WriteTo() = {0}", doc.DocumentNode.WriteTo()));
	}
}

Will outuput:
---- Test with outputAsXml = False ----
comment.OuterHtml =
comment.WriteTo() =  cde
comment2.OuterHtml = -->
commen2t.WriteTo() =
doc.DocumentNode.OuterHtml =  cde
doc.DocumentNode.WriteTo() =  cde
---- Test with outputAsXml = True ----
comment.OuterHtml =
[Run-time exception]

Hello @mems ,
Thank you for reporting. Indeed something doesn't work in this logic.
We will look at it.
Best Regards,
Jon

Hello @mems ,
We have released today the v1.11.55: https://github.com/zzzprojects/html-agility-pack/releases/tag/v1.11.55
You can see this commit that will explain what we did:
In this version:

If a comment is provided without being enclosed with <-- and -->, we will add it to the comment (with a space before and after. So doc.CreateComment(" cde "); will create the following comment: <--  cde  --> as you explicitly specified to add a additional space before and after the text.
To be somewhat backward compatible, if the comment stored is already <-- and -->, we will no longer enclose it with an extra .
When writing a comment with the WriteTo method, we will no longer add an extra space at the end before the -->

You can see the following Fiddle with your case on this new version: https://dotnetfiddle.net/6LvV3S
Which has the following output:
---- Test with outputAsXml = False ----
comment.OuterHtml =
comment.WriteTo() =
comment2.OuterHtml =
commen2t.WriteTo() =
doc.DocumentNode.OuterHtml =
doc.DocumentNode.WriteTo() =
---- Test with outputAsXml = True ----
comment.OuterHtml =
comment.WriteTo() =
comment2.OuterHtml =
commen2t.WriteTo() =
doc.DocumentNode.OuterHtml = <?xml version="1.0" encoding="iso-8859-1"?>
doc.DocumentNode.WriteTo() = <?xml version="1.0" encoding="iso-8859-1"?>

Let me know if we missing something.
Best Regards,
Jon

@JonathanMagnan,
please note that the code in HtmlDocument.cs adds surrounding spaces to the comment, something it should not do. Instead of "", it should use "" without the spaces. (The code in HtmlNode.cs and HtmlCommentNode.cs appear to do it correctly.)

Thank you @elgonzo ,
I understand your point.
Adding a space before and after is usually a good practice. It is our responsibility? Probably not and like @mems did in his example, he added the space on his side.
So we will probably go ahead with your pull ;)

Since there is a release version that fix my issue, I close it now.

Hello @mems ,
Just to let you know that the merge from @elgonzo has been merged (thank again!). So, no additional space will be added anymore when creating the comment tag manually.
Best Regards,
Jon


Can't open problem in admin interface

Describe the bug
unable to open problems in admin interface
To Reproduce
Steps to reproduce the behavior:

Go to 'admin'
Click on 'problems.'
See error

We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
GET https://3dprint.home.lan/admin/problems 500 (Internal Server Error)
Expected behavior
the problem tab opens
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [Windows]
Browserchrome,
Version [121]

Add any other context about the problem here.

Thanks! I've had this problem for a while, I've got a fix on the back burner in #1783. Thanks for logging it!


Error: IPC channel is already disconnected

Running Nightmare (2.1.2) with electron-prebuilt (0.36.2) I got this error
Debug: internal, implementation, error
    Error: IPC channel is already disconnected
    at ChildProcess.target.disconnect (internal/child_process.js:631:26)
    at Nightmare.done (/Users/fcguerrero/Public/work/myrpoject/node_modules/nightmare/lib/nightmare.js:222:17)
    at Nightmare.next (/Users/fcguerrero/Public/work/myrpoject/node_modules/nightmare/lib/nightmare.js:204:28)
    at EventEmitter.<anonymous> (/Users/fcguerrero/Public/work/myrpoject/node_modules/nightmare/lib/nightmare.js:214:12)
    at EventEmitter.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at EventEmitter.emit (events.js:166:7)
    at ChildProcess.<anonymous> (/Users/fcguerrero/Public/work/myrpoject/node_modules/nightmare/lib/ipc.js:28:10)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)

Any ideas what cause this error? Thanks.

This is a client side error, caused by calling disconnect to a already disconnected process. You can debug into Nightmare to find out why it happened.

@felixcrive Hey I'm having the same issue on both Mac OSX and CentOS. Did you get a solve for the issue?

@serv I haven't, apparently is a Nightmare bug, but if you find something please keep me posted. Thanks.


Fix double-encoded JSON in amen.js

Unsure why this is?

Will also need to fix this in the tests!


Issue #112 Update license

Thanks for setting up issues for the Open Source Hours event!

Hi, I updated the commit message to match conventions, sorry I didn't catch that the first time through.

Thanks :)
Congratulations to your first Open Source Pull Request 🐶👍:sparkles:


Add hover effect on commits box

The graph box of the commits doesn't have hover effect.

Niiiiiice! Thanks!


Bump version to 1.30.0

Let’s release it on the world!
/cc @Darhazer @daveworth

strong 👍 - thank you so much for holding my hand through significant reworkings.   Glad to see this moving


Improve inline code style

Keep inline code font size the same as regular text
Add spacing after copy button to emphasize what it belongs to

Before:

After:

Hm, the font rendering for these particular fonts looks very different in terms of font size on Linux.
On macOS, before:

After:


Clarify additional rights/privileges of azure_pg_admin, if any

On this page, it is written that the server admin has "LOGIN, NOSUPERUSER, INHERIT, CREATEDB, CREATEROLE, NOREPLICATION" rights and is part of the azure_pg_admin group.
However it is unclear how being a member of the azure_pg_admin is distinct from having the above right. In
https://docs.microsoft.com/en-us/azure/postgresql/howto-create-users#how-to-create-additional-admin-users-in-azure-database-for-postgresql a new user with the above rights is created in the first step and then granted the azure_pg_admin role in the second. It is unclear what additional privileges are aquired by that second step, and unless that is intellectual property, a trade secret or a security issue, it would be good to have this documented.
If nothing else, for auditors of Azure Postgres instances in order to assess whether a role that is a member of azure_pg_admin has "near Superuser" rights or "merely rights to create databases and other roles".

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

ID: adbbd4e3-40c7-a89d-2e8a-dd9dbd028836
Version Independent ID: 241f0f17-00fd-cde3-2070-e2a8f000806a
Content: Create users - Azure Database for PostgreSQL - Single Server
Content Source: articles/postgresql/howto-create-users.md
Service: postgresql
GitHub Login: @lfittl-msft
Microsoft Alias: lufittl

Thanks for reaching out @mbanck!
Let me check with the team on this. My understanding is that the azure_pg_admin gets additional permissions that are not passed along with the regular Postgres privileges, but I'll confirm & see if we can update the documentation in this regard.
Note that since its Thanksgiving week here in the US, updates on this might be slightly delayed.

@lfittl-msft Please take this feedback forward as required. Let us know if you need any help from us.

Is this issue going anywhere? I’m facing an issue where a member of the azure_pg_admin role is able to drop tables created by another member of the same role, despite not being the owner. This seems tied to the azure_pg_admin role, as revoking the membership prevents the dropping of tables. According to Postgres documentation, this shouldn't happen (only an owner or superuser an drop tables), nor can I reproduce the behaviour in pure Postgres. It seems azure_pg_admin has some secret privileges. Could you please clarify?

@mbanck
We sincerely apologize for the delayed response to this issue. I collaborate with the owners of the GitHub Issues related to PostgreSQL/MySQL/MariaDB to help either get them resolved or determine how to update our documentation.
Due to the age of this issue, we will continue to close this issue.
Please visit https://docs.microsoft.com/en-us/answers/support/ for more information on asking questions about the product or service.
Thank you.

#please-close

I may have overlooked it, but I don't see that the rights/privileges granted through membership in the azure_pg_admin role has been clarified either here or in the Azure documentation.
@markingmyname Can you direct me to documentation that states what privileges are conferred to members of the azure_pg_admin role?  I mean, what can you expect that members of the role will be able to do based solely on their being granted that role and no other privileges?  All I can find are statements that members of azure_pg_admin are not full superusers...but nothing about what that means.

ping, would also like to know this. my research shows that the server administrator:

has createrole and createdb which are standard,
as azure_pg_admin member is owner of public schema in all databases by default (weird) but this is not special behavior, just privileges changed, so no privileges are auto granted to other schemas,
can create superuser only extensions if whitelisted (so far the only special right I've found),
maybe? can also drop extensions which they don't own... or maybe not, this I haven't tested but it seems so.

Unsure but it might be all of it. specifically it can drop tables which are not theirs, but only because it owns the public schema and schema owners can drop non their tables.
But it cannot drop non their schema or db.
Mostly it's not a problem as it has createrole, you can grant yourself membership in any non superuser role and then use that role's privileges to do whatever. But it is also not azure_pg_admin specific.
Side note, user creating a database does not get ownership over it's public schema, which is another weird thing.


AP-324 convert statement of case file to PDF

What
AP-324

When a statement of case file is uploaded, convert it to a pdf in a background worker
config.active_storage.service was duplicated in the config files so I removed the duplication

Checklist
Before you ask people to review this PR:

[X] Tests and rubocop should be passing: bundle exec rake
[X] Github should not be reporting conflicts; you should have recently run git rebase master.
[X] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[X] The PR description should say what you changed and why, with a link to the JIRA story.
[X] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[X] You should have checked that the commit messages say why the change was made.

superseded by https://github.com/ministryofjustice/laa-apply-for-legal-aid/pull/321


fix issue 8292

What is the purpose of the change
fix #8292
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #8340 (30eea81) into master (352a0df) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #8340      +/-   ##
============================================
- Coverage     61.29%   61.26%   -0.03%
- Complexity      446      447       +1
============================================
  Files          1096     1096
  Lines         44212    44213       +1
  Branches       6445     6445
============================================
- Hits          27099    27089      -10
- Misses        14136    14148      +12
+ Partials       2977     2976       -1

Impacted Files
Coverage Δ

.../dubbo/registry/integration/RegistryDirectory.java
76.26% <100.00%> (+0.09%)
:arrow_up:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

...dubbo/remoting/exchange/support/DefaultFuture.java
80.34% <0.00%> (-6.84%)
:arrow_down:

...he/dubbo/remoting/transport/netty/NettyHelper.java
35.48% <0.00%> (-6.46%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-4.35%)
:arrow_down:

.../dubbo/remoting/transport/netty4/NettyChannel.java
62.37% <0.00%> (-1.99%)
:arrow_down:

...e/dubbo/remoting/transport/netty4/NettyClient.java
69.56% <0.00%> (-1.45%)
:arrow_down:

...he/dubbo/registry/multicast/MulticastRegistry.java
67.44% <0.00%> (-0.94%)
:arrow_down:

...rg/apache/dubbo/common/timer/HashedWheelTimer.java
79.72% <0.00%> (-0.35%)
:arrow_down:

.../java/org/apache/dubbo/config/ReferenceConfig.java
70.44% <0.00%> (+0.49%)
:arrow_up:

... and 2 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 352a0df...30eea81. Read the comment docs.

Resolved in https://github.com/apache/dubbo/pull/9147


added tab-meeting-record-name sample

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?

Here is the long awaited sample on a Teams meeting app showing up in pre-meeting and in-meeting experience to record and playback user names to help others in pronunciation. See my blog series linked in README for further explanation.

Awesome sample - thanks!!


Can I transform the (x,y,z) to the original two dimension coordinates?

For example ， in original picture i send the center （width/2,height/2）to gain a 3D coordinates that i could calculate the distance to camera,but how can i transform the (x , y ,z) to （width/2,height/2）reversely

To convert a pixel position into a 3D position in the camera referential, you can use the following code :
//The left image and the depth are pixel aligned, so the same coordinates can be use in both
float z=0;
depth.getValue(pixelX, pixelY, &z);
float x = (( pixelX - cx) * z) / (fx);
float y = (( pixelY - cy) * z) / (fy);
// fx,fy,cx,cy are corresponding to the left camera parameters,
// you can access them from zed.getCameraInformation().calibration_parameters.left_cam
// Check the API documentation for more:
// https://www.stereolabs.com/developers/documentation/API/latest
float distToPoint = sqrtf(x*x + y*y + z*z);

You can also convert a 3D position to a 2D coordinate using the following code:
float pixelX = cx + (x*fx) / z;
float pixelY = cy + (y*fy) / z;


feat[gauge]: add formatter in array form

Brief Information
This pull request is in the type of:

[ ] bug fixing
[x] new feature
[ ] others

What does this PR do?

Enrich the type of this Formatter so that it can support arrays.
Fixed issues

#18021: ...

Details
Before: What was the problem?

i've a gauge with two values
https://echarts.apache.org/examples/en/editor.html?c=gauge-multi-title
it would be nice if i'm able to add a suffix for both values with different units in the formatter.
e.g. formatter: ["{value1} °C" , "{value2} H%"]

After: How does it behave after the fixing?

Document Info
One of the following should be checked.

[ ] This PR doesn't relate to document changes
[ ] The document should be updated later
[ ] The document changes have been made in apache/echarts-doc#xxx

Misc
ZRender Changes

[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[ ] Please squash the commits into a single one when merging.

Other information

unfortunately, it's not working :-(
i've latest Grafana 9.3.2 and just upgraded eCharts to 4.0.0 and restarted grafana-server


Promise.all should be used in adapt

Hello, I'm seeing this code:
export default function (adapters) {
    return {
        name: '@macfja/svelte-adapter-multi',

        async adapt(argument) {
            await adapters.forEach(item => Promise.resolve(item).then(resolved => resolved.adapt(argument)))
        }
    };
}

And I think it should be
await Promise.all(adapters.forEach...)

await adapters.forEach does not await for the promises

I think it's even something like:
await Promise.all(adapters.map(item => Promise.resolve(item).then(resolved => resolved.adapt(argument))))

But good catch, I will update the adapter with that


Not scrolling if put in scrollview after VideoPlayerControls disappears

If I put VersaPlayer in scrollview, and if VideoPlayerControls view disappears, the scrolling doesn't work if the drag gesture starts from player's view. It does work if the dragging finger doesn't start from player but some other components of the scrollview.
It does also work, if the controls are visible, as soon as they disappear, the scrolling no more works.

@RajChanchal please confirm whether disabling the pan gesture fixes the issue.

You meant if there is a pen gesture attributed to VersaPlayer class?
If it was meant for scrollview I am using, then I don't want to disable pen gesture because I want the scrollview to scroll.

You meant to say there is a pen gesture attributed to VersaPlayer class?
If it was meant for scrollview I am using, then I don't want to disable pen gesture because I want the scrollview to scroll.
But if there a pen gesture associated to something else, please let me know so that I can disable it.

@josejuanqm I dug into the code and realized that disabling the pan gesture fixes the issue.
While instantiating the player view, I do the following:
if let swipeGesture = videoPlayer.controls.controlsCoordinator.gestureReciever.panGesture{
   videoPlayer.controls.controlsCoordinator.gestureReciever.removeGestureRecognizer(swipeGesture)
   videoPlayer.controls.controlsCoordinator.gestureReciever.panGesture = nil
}

Is it the correct way or there is some other way to remove a particular gesture?

Hey @RajChanchal ,
There is no current way of removing the gesture easier. I'll try working on something this week.
In the meantime, does this fixes your issue?
Thanks!

Hello @josejuanqm , yes it fixed my issue. Usually the use case is, you can put the player in tableview cells and they are prone to be scrolled.
 Thanks for looking at it this week.

@josejuanqm have you resolved it in the new update?

Any solution on this one I am still facing a similar issue on collection view
and @josejuanqm 's solution is not working for me.

@josejuanqm I dug into the code and realized that disabling the pan gesture fixes the issue.
While instantiating the player view, I do the following:
if let swipeGesture = videoPlayer.controls.controlsCoordinator.gestureReciever.panGesture{
   videoPlayer.controls.controlsCoordinator.gestureReciever.removeGestureRecognizer(swipeGesture)
   videoPlayer.controls.controlsCoordinator.gestureReciever.panGesture = nil
}

Is it the correct way or there is some other way to remove a particular gesture?

Worked for me as well👍🏻


Add Ephemeral Keys to Key-Value store

Many people utilize key-value stores to cache ephemeral data -- data that can be recomputed by going back to the source. Sometimes it's desirable to have that cache be persisted to disk, as it means less load on the upstream data source when the cache restarts. Other times, people may want the cache to consider itself invalid on a restart.
The idea for this feature is to add another layer to the Key-Value store for keys that will never be persisted to disk. Ephemeral keys should support all functionality, including expiration, that normal keys support, but they will be forgotten when the server restarts.
A new permissible action should be added for this, as this feature offers clients a way to directly affect memory consumption of the server.

Would it make sense for this to be expanded to a no-disk mode for the DB?
Uses for such a feature would be:

Unit/integration tests of data centric applications
Event aggregation systems

Would it make sense for this to be expanded to a no-disk mode for the DB?

This is already supported., although it uses the same append-only storage format so I wouldn't use it for event sourcing. High traffic event sourcing should be possible without disabling persistence on the key-value store, just tweaking the persistence thresholds.


Error: connect ETIMEDOUT - Can't connect to remote mysql server.

In my node webkit application, I'm not able to connect to remote mysql server  its returning Error: connect ETIMEDOUT. It works fine with local machine.

That's just a standard Node.js error. It means there was a timeout trying to connect. Typically this means there is a firewall or something dropping your packets.


Prepare for release 0.3

If there are more tasks I can perform, please let me know.
I have a PR ready for Calcite using this release.
Calcite would create 662 slow tests, one for each test file here.


chart object cannot be overwritten in the tests

I'm just trying to overwrite the chart object I have defined at the testsuite level in for a particular test. For example:
suite: My testsuite
templates:
  - my-template.yaml
release:
  name: -my-release-name
  namespace: my-namespace
chart:
  appVersion: 1.0.0
  version: 0.0.1

tests:

  - it: override chart version and appVersion
    chart:
      appVersion: 2.0.0
      version: 0.2.0
    asserts:
      - equal:
          path: spec.version
          value: 0.2.0
      - equal:
          path: spec.appVersion
          value: 2.0.0

From the above I would expect the chart version and the appVersion to be the ones defined within the test, but instead these values are remain with the ones defined at the top root element chart.

Hello @afalhambra-hivemq
Accoding to the documentation it should be available, but the implementation is missing.
Will correct the implementation according to the documentation.
Greetings,
@quintush

The initial issue fixed. I found one more problem, that exists for quite a while. Subcharts are quite tricky, as not yet sure where it's Helm or unit test have issue with value merging

The initial issue fixed. I found one more problem, that exists for quite a while. Subcharts are quite tricky, as not yet sure where it's Helm or unit test have issue with value merging. There is a placeholder, in tests

Hello @ivankatliarchuk
I would suggest to check the output using helm template.
If the output with helm template is the same, it relates to helm template (and questionable if it is by design or a defect), otherwise there is indeed still an error in the helm unittest.
Greetings,
@quintush

Helm does not allow to override any chart values except. This is a helm-unit test feature to my understanding. Example issue in helm https://github.com/helm/helm/issues/8670

@ivankatliarchuk exactly, I see it more like a helm unittest feature, as it would be extremely useful when used in a testsuite with different tests where the chart.version or chart.appVersion is in play.


refbox documentation

[ ] what/where/how
[ ] adding new service
related to #359 #233

###############
#
# featured services config
#
###############
featured.services = pmltq,kontext
featured.service.kontext.fullname = KonText
featured.service.kontext.url = http://lindat.mff.cuni.cz/services/kontext
featured.service.kontext.description = KonText is a basic web application for querying corpora
featured.service.pmltq.fullname = PML-TQ
featured.service.pmltq.url = https://lindat.mff.cuni.cz/services/pmltq/
featured.service.pmltq.description = Tool for searching and browsing treebanks online

in local metadata registry (where kontext and pmltq are in featured.services above)
174	local.featuredService.kontext	Links to data in kontext
175	local.featuredService.pmltq	Links to data in PML-TQ

created https://github.com/ufal/lindat-dspace/wiki/Refbox-services-integration


Cluster in an undefined state

Hi,
I'm playing arround with letsencrypt. To get my certs, I needed port 80 on my first machine of the cluster. So I temporarly stopped flynn-host. After restarting it, I needed multiple tries to modify my routes: Like 4 in 5 times, flynn route answered with

Post https://controller.........com/apps/myApp/routes: dial tcp 213.73........:443: connection refused

This is what flynn-host ps on the first machine gave me:

ID                                           STATE    STARTED         CONTROLLER APP         CONTROLLER TYPE
flynn1-aff1eb28-b419-4b70-9f0b-1396452989c1  running  17 minutes ago  blobstore              web
flynn2-80a2ed31-d7df-400c-95b0-58b2b44c8f89  running  27 minutes ago  discoverd              app
flynn2-106fefa1-c73f-432d-acb0-994380634fc7  running  27 minutes ago  status                 web
flynn2-15c1f7fb-05cf-4256-a9f9-4631fd39847a  running  27 minutes ago  controller             worker
flynn1-8e930eb2-9cf5-45fb-9d0c-7f86e6b9eb26  running  16 hours ago    myApp  web
flynn1-d50b9817-a6f6-462a-8eed-ce9fc4832216  running  16 hours ago    status                 web
flynn2-0949316c-3fdf-4f39-a31f-4ace4eff176d  running  16 hours ago    dashboard              web
flynn1-aff44ae1-158f-472c-88ac-124fdd63e672  running  16 hours ago    dashboard              web
flynn2-964fd054-2260-4f46-b037-6e85f1a4b06d  running  16 hours ago    logaggregator          app
flynn1-875b4ab5-156b-4c54-9243-729e6c4fa891  running  16 hours ago    logaggregator          app
flynn2-3e1132c2-0110-41dd-91b1-0c567b3ded87  running  16 hours ago    gitreceive             app
flynn1-b86f171b-dd67-45c4-a3de-2dc130b8cd51  running  16 hours ago    gitreceive             app
flynn2-63cd63f8-7f5a-48aa-8db5-a54a9cef9756  running  16 hours ago    router                 app
flynn1-a6d9c865-01f8-47dd-8961-766f677f72fa  running  16 hours ago    router                 app
flynn2-5f2c646e-1039-487f-9038-d0603e800232  running  16 hours ago    blobstore              web
flynn2-f8b72616-19be-4052-97b4-f8d9216c7986  running  16 hours ago    controller             web
flynn1-bfdb7f3e-05c3-43ec-8859-c506ce1cd9d1  running  16 hours ago    controller             worker
flynn1-10079698-29b0-4638-96b0-659b238f0fe2  running  16 hours ago    controller             scheduler
flynn2-316b622a-e939-43eb-9522-edcea84b683e  running  16 hours ago    controller             scheduler
flynn0-f2c9039e-434b-4da4-b5f7-7a79b4963922  running  16 hours ago    controller             web
flynn2-98fc5ba5-302d-4e3b-8541-4cece78dc96d  running  16 hours ago    postgres               web
flynn1-65990563-2963-4a86-870f-233a037a5854  running  16 hours ago    postgres               web
flynn1-b61848c7-90b4-4046-83f4-bd227d5bd65c  running  16 hours ago    postgres               postgres
flynn2-0c6f786e-db3f-4599-ab5b-4f17848cf694  running  16 hours ago    postgres               postgres
flynn2-681d66a2-be60-4395-b91c-32f5e409375c  running  16 hours ago    flannel                app
flynn1-cf1b7ce0-d58a-4e6e-8742-51a650248ce7  running  16 hours ago    flannel                app
flynn1-44154587-83cb-4e40-962c-f53ce0c8d147  running  16 hours ago    discoverd              app
flynn0-2c1e9972-aa46-4622-bcca-fe6b1dfaf586  running  16 hours ago    discoverd              app

So I restarted flynn-host on the first machine again. Now flynn-host ps gives me just that:

11:14:47.072828 host.go:135: could not list hosts: Get http://<IP_ADDRESS>:1111/services/flynn-host/instances: dial tcp <IP_ADDRESS>:1111: connection refused

Here is a gist from the first machine:
https://gist.github.com/70c23d5e27c9507d4a68
Collecting the infos on the first machine resulted in:

EROR[12-04|11:18:03] error getting job logs, falling back to on-disk logs err="could not list hosts: Get http://<IP_ADDRESS>:1111/services/flynn-host/instances: dial tcp <IP_ADDRESS>:1111: connection refused"

So I collected them on the second machine as well:
https://gist.github.com/ca4273e7a0e285a5479e

Is this relevant? Or might I close this?

We have other issues about fixing up TLS cert handling (#2442) so we can close this one.

Alright, thx.


fix the grammatical issue #9810

Notes for Reviewers
This PR fixes the issue #9810
@leecalcote ,Fixed the grammatical error in the mesheryctl
Signed commits

[x] Yes, I signed my commits.

Hi @Althaf66  ,
Thanks for your PR! 🚀 I encourage you to share this in the Meshery Development Meet tomorrow at 8:30 PM IST. Share your screen, and walk us through it. It's cool to take and share feedback. Check the Doc here to include this PR.
You're welcome in the meeting today
Cheers, and Happy New Year 🥂,
Subscribe to community calendar for more details of meetings at Layer5.

Thanks, @Althaf66. See the failed check annotations? Fixing these would be a great next step for you.

Good work @Althaf66 🎉, also if you take a look at the linting issue


Add a context menu

This would provide an alternative way to access things like

Toggle comments
Basically everything from Edit->Transform
Find (seeded with selection or clicked word?) and Replace
Cut, Copy & Paste

A context (right click) menu feels like a particularly natural way to issue commands that operate on selections, particularly when using the mouse to select text. This should also show the same key equivalents as the corresponding Edit menu entry (where applicable).

I'll try taking a look at this :+1: I'm not an ios/swift developer, so this may take a bit of time for me

@AlanFoster cool, feel free to ask Qs here if you get stuck.

@MartinJrP Go ahead :+1:

@MartinJrP welcome, look forward to a PR! If you have any questions about process or anything else feel free to drop by http://xi.zulipchat.com. ✌


Ability to enable feature-gates on Kubernetes

Enabling feature-gates on k8s components.
Related discussions: https://github.com/kubernetes/kubernetes/issues/46822

Merging into https://github.com/rancher/rancher/issues/11587


run_keybase still stuck on loading

Hi this is a follow up to issue # 6453  Just want to get it back to top of the queue. I also composed this message on #6453...
Hi sorry to bother you again. But I'm still having a problem running on laptop. It still just hangs at loading... I uninstalled/removed all left behind config files and then reinstalled and have been trying to run it without root. I'm still getting the same problem. Just to try to recreate the issue I installed it on a vm that is KDE Neon. Followed the same directions and this one starts right up no problem. More background info...I also decided to reset my keys/account - still no luck. And I've also attempted to login from terminal and get the error... ERROR dial unix /run/user/1000/keybase/keybased.sock: connect: no such file or directory
The new keybase log send id is 4e8e3b0d8b42e7fe924e171c
Thanks for any help you can give. Its not the end of the world I can just use the vm. I'd just like to get it working if possible.
my log id: 4e8e3b0d8b42e7fe924e171c

Now the error is /$HOME/.local/share/keybase/keybase.leveldb: permission denied, suggesting that you missed removing some root-owned config files.

Thank you for putting up with my ignorance. I'll now now to look through the entire home folder when deleting config files. I had deleted .config/keybase but not .local/share. And thank you for all your hard work on this.

I'm running 18.04 and I'm having the issue right now.  I'm not running keybase as root user.

Logs for the above: 59d56ec4fcaa1a19c4eb731c

@educatedwarrior your error is:
/opt/keybase/Keybase: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

@cjb @oconnor663 @buoyad @joshblum is there a new dependency on libasound that needs to go into the linux packaging?

Do you guys keep versions of the linux package.. I don't want to blindly install new updated packages if they haven't been tested by our internal team.

@educatedwarrior there are some old linux versions here: https://s3.amazonaws.com/prerelease.keybase.io/linux_binaries/deb/index.html
Though I don't know which one introduced this bug, or even if it's new.
Keybase doesn't auto-update on Linux, we rely on people to update it through their package managers.

Thanks @strib , I found out what my issue was.  In docker I had multiple containers linked to the same docker volume/keybase home directory.  I guess it corrupted the directory.     Thanks for the help!!


error: Invalid usage of publishCreate() :: Values must have an id, instead got ::

Hey guys,
I get error: Invalid usage of publishCreate() :: Values must have an id, instead got :: on<EMAIL_ADDRESS>After digging through issues, it looks like this was already posted and resolved. One related issue mentioned that you shouldn't use id, so that this error goes away.
I posted a comment which looks like there might be a cornercase in the way the check for raising this error message is handled.
For convenience, the comment is copied below mentioned specifically against the offending check :-)
If values[this.primaryKey] turns out to be 0, then is the behavior still correct?
To me, it is not apparent if this check needs

a PK to exist (_.isUndefined?), or
an actual value for a PK to be available ([_.isFinite?] (https://lodash.com/docs#isFinite))

?

Are you still getting this error? Was your questioned answered in the other issue?

Yes, it is still open.
values[this.primaryKey] is (going to) give this error no matter if I use id attribute or not.


Missing struct tags for json

Hi,
I´m wondering if there is a reason why there are no struct tags for json in the source code.
https://github.com/kubernetes-sigs/service-catalog/blob/bfead02508171e07cfe9bc486e2bc9099de17e09/pkg/apis/servicecatalog/types.go#L31-L37
For this example, the information that TypeMeta is embedded but ObjectMeta is wrapped with 'metadata' when serializing to/from json is missing. Many other projects include this which is really handy when generating a json schema from the go definition.
 type ClusterServiceBroker struct {
 	metav1.TypeMeta `json:",inline"`
 	metav1.ObjectMeta `json:"metadata"`
 }

Thanks,
Fabian

Hi @Fabian-K
Unfortunately, you are referring to wrong types.go.
please use those from v1beta1 package.
https://github.com/kubernetes-sigs/service-catalog/blob/bfead02508171e07cfe9bc486e2bc9099de17e09/pkg/apis/servicecatalog/v1beta1/types.go
There all jsons tags are specified :)
The pkg/apis/servicecatalog/types.go was used by already deprecated and removed api-server implementation, this file will be removed via this pr: https://github.com/kubernetes-sigs/service-catalog/pull/2720

Please reopen if sth will not work as expected 🙂

🤦♂ my apologies and thanks for pointing me to the right place!

no problem 😄 At the beginning it was also confusing me, I'm happy that we are finally removing it.


Cannot speak back to Discord

I'm running paper-1.4.0 on a Paper 1.19.3 (build 431) server with Simple Voice Chat <IP_ADDRESS>-2.3.28 alongside Simple Voice Chat Interaction 1.19.3-1.0.3 and I've ensured that players and the bot itself have the appropriate permissions.
I can hear those talking in the Discord voice channel, however, when I try to speak, the bot does not relay back what I've said in-game.  I've tested this as a normal player and server operator but to no avail.
My server logs seem to show no issues or errors related to the plugins, which adds more to the confusion.
The mod's description states that it _allows for players without the mod to hear and speak. but maybe I'm misunderstanding that it's not supposed to be a two-way communications plugin?

It is a 2 way communication plugin. Could you double check that there are no errors? They might just be 1 line in the logs. Also, what happens if someone else uses the plugin?

I'm running paper-1.4.0 on a Paper 1.19.3 (build 431) server with Simple Voice Chat <IP_ADDRESS>-2.3.28 alongside Simple Voice Chat Interaction 1.19.3-1.0.3 and I've ensured that players and the bot itself have the appropriate permissions.
discord can't hear me sound from Minecraft

anything in console? are you sure the other players have started a discord voicechat session?

now repeat connect and disconnect

closing as invalid, please try a new nightly build or 2.0.0


usage of settings instead of options

In the current version of mingw_installer, compiler version, threads, and exception handling are options. It makes it hard to inter-operate with other conan recipes, where these are settings, because the user has to define twice each of these parameters.
What is the rationale behind this implementation?
I migrated all these options to settings in my fork https://github.com/ericLemanissier/conan-mingw-installer/commit/40981c59a877b7fdf12fb5eee781a87e9c13b5ad and works properly. I have no idea what adaptation should be made to https://github.com/conan-io/conan-package-tools though.

That is a very good question. When I made this recipe the settings for MinGW was still not modeled in the conan settings.yml file. Now I think it makes perfectly sense to manage it with settings.
Could you open a pull request with your changes?


update toml file

Hi， Please review the toml file.
Thank you.

close this pr since it has been finished by @tangyl92