Root-level oneOf?

Say I have a helm chart with this values.yaml:
---
# @schema
# required: true
# type: string
# @schema
valueA: ""

# @schema
# required: false
# type: string
# @schema
valueB: ""

# @schema
# required: false
# type: string
# @schema
valueC: ""

And what I want is to have valueA always required, but then only one of valueB or valueC. They are mutually exclusive.
If I generate the schema, I get this:
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "global": {
      "description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
      "required": [],
      "title": "global",
      "type": "object"
    },
    "valueA": {
      "default": "",
      "required": [],
      "title": "valueA",
      "type": "string"
    },
    "valueB": {
      "default": "",
      "required": [],
      "title": "valueB",
      "type": "string"
    },
    "valueC": {
      "default": "",
      "required": [],
      "title": "valueC",
      "type": "string"
    }
  },
  "required": [
    "valueA"
  ],
  "type": "object"
}

Which is expected, and what I want essentially is to also include this block:
  "oneOf": [
    {
      "required": [
        "valueB"
      ]
    },
    {
      "required": [
        "valueC"
      ]
    }
  ],

To get this:
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "global": {
      "description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
      "required": [],
      "title": "global",
      "type": "object"
    },
    "valueA": {
      "default": "",
      "required": [],
      "title": "valueA",
      "type": "string"
    },
    "valueB": {
      "default": "",
      "required": [],
      "title": "valueB",
      "type": "string"
    },
    "valueC": {
      "default": "",
      "required": [],
      "title": "valueC",
      "type": "string"
    }
  },
  "required": [
    "valueA"
  ],
  "oneOf": [
    {
      "required": [
        "valueB"
      ]
    },
    {
      "required": [
        "valueC"
      ]
    }
  ],
  "type": "object"
}

It is not clear to me how to do this with the current comment-annotations

Currently not possible

Leaving it here for others running into the same limitation.
I was able to work around this by adding a validation in my templates:
{{- if .Values.valueB }}
   {{- if .Values.valueC }}
   {{- fail "Value B and C are mutually exclusive!" }}
   {{- end }}
 {{- end }}

Granted, this is not an ideal solution as it will fail at apply-time, but it ultimately achieves the same goal... Mostly


limit min layer length in manifest to one

Spec declares The array MUST have the base image at index 0.
So that we should limit it in JSON shcema, and add test case.
Signed-off-by: xiekeyang<EMAIL_ADDRESS>

I hope we can lift that restriction in the future (#407), but 419b76f8
looks good to me as an encoding of the current spec.

@opencontainers/image-spec-maintainers I think this PR is ready to be merged, PTAL.
cc @stevvooe @vbatts

LGTM

lgtm


[bug] Presets with $env{} are not checked for circular references.

Brief Issue Summary
This issue is related to the topic I posted in CMake Discourse.
In short, it should FAIL to configure the project when using $env{} like the following example:
"environment": {
  "PATH": "C:/msys64/mingw64/bin;$env{PATH}"
},

And it failed as I expected when operating in Terminal.
F:\Git-Repo\cmake-project-template-conan>cmake --preset win32-gcc-x64-mingw-debug
CMake Error: Could not read presets from F:/Git-Repo/cmake-project-template-conan: Invalid macro expansion

However, it somehow could work with CMake Tools in Visual Studio Code. According to what Kyle Edwards said:

The $env{...} macro is supposed to reference other environment variables within the environment map, or the environment inherited from the parent process if the corresponding variable doesn’t exist. The problem is that if PATH contains $env{PATH}, then it’s referencing itself, creating a circular dependency. The purpose of $penv{...} is to break this cycle by only using the environment inherited from the parent process. If "PATH": "$env{PATH}" works in VSCode then it sounds like they didn’t implement their preset support properly.

Environments and Versions

Visual Studio Code: 1.71.2
CMake Tools: 1.13.11

Screenshots

CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

It looks like we marked it as a warning instead of an error.

Related to #2934


Trying to get render to work with plugin

Hi, I am trying to get {{render} to work with the "todoist" plugin.
Specifically I am running into two issues:

I cannot figure out what the actual command is, the "display name" is "todoist - pull tasks" but using that in a render statement doesnt appear to work
It appears that "<%randomUUID%> just becomes "randuuid" in my resulting template

{{renderer :"todoist - pull tasks"_randUUID}}
Any help on what I am doing incorrectly would be very welcome.

The renderer is incorrect. Try creating the smart block using the create smartblock slash command
On 16 Nov 2022 at 2:16 AM +0400, willhowell-okta @.***>, wrote:

Hi, I am trying to get {{render} to work with the "todoist" plugin.
Specifically I am running into two issues:

I cannot figure out what the actual command is, the "display name" is "todoist - pull tasks" but using that in a render statement doesnt appear to work
It appears that "<%randomUUID%> just becomes "randuuid" in my resulting template

{{renderer :"todoist - pull tasks"_randUUID}}
Any help on what I am doing incorrectly would be very welcome.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


A blank space or group of black spaces in Text-fields(From & To) generate error

When a blank space or group of blank spaces is used in the text-fields (From and To) the error http://localhost:6833/search/ 404 (Not Found) is generate.

This error is actually generated because the blank space is not an address. That is the backend expects a url with lparameter ike http://localhost:6833/search/monaco
A way to solve this will be to interactively, block (don't allow) the first character in a text-field to be a space, or group of spaces. Since no address starts with blank space(s)

@lemetice As of now only one route(that is mentioned in readme) is working.

This issue can be resolved by encoding string as a Uniform Resource Identifier component. When a user inputs the address, the string will get encoded and the corresponding search request will be sent.


Decoupling Markdown and Twig

Have uou ever thought about decoupling Markdown and Twig from the core, providing them as plugin? This way one could use other template engines and html formatting languages. And why dont you use a proper YAML parser?

The project has changed quite a bit since #116 / I started collaborating, would you be interested in implementing any of these suggestions and submitting a new PR?

Sure, I'll do it over the weekend.

I did it, but I don't know if it is worth. In my opinion Pico needs a complete rewrite.

Not sure if I am right here, but I would like to second the request:
I wrote a small plugin to render content files with Jade template syntax (using this: https://github.com/Talesoft/tale-jade)
Unfortunately Jade's is choking on the YAML block and I can't use the raw content and jades internal caching mechanism.
My Plugin is a little bit of a crutch but for a small site, it works.
So I would love to see an easier way to choose the rendering engine for content files.
It could be determined by the contents file extension
blog-2016-03-14.md => Parsedown
plain.html => No processing
complex. jade => jade renderer
blog-2016-04-05.textile => textile renderer
content.wiki => wikimarkup

This would make it easy to choose the right markup for whatever the content is.

As far as I understand this issue right, it is about replacing Markdown, YAML and/or Twig with something different. There are no plannings to completely replace these core parts of Pico, neither in the near, nor the distant future (i.e. Pico 3.0 and later, #317).
However, Pico already allows one to achieve most things people are trying to do (like using pure Twig instead of Markdown to represent contents; see https://github.com/picocms/Pico/pull/110#issuecomment-301251348), but we definitely won't support things which are against Pico's basic idea (Markdown + YAML + Twig + 🎉 = Pico - in the simplest, but still most powerful way possible). Adding more and more abstraction contradicts Pico's demand for simplicity (what also applies to the source code).
Please refer to https://github.com/picocms/Pico/pull/110#issuecomment-301251348 for a more detailed answer why this isn't going to happen, and some explanations on how to still achieve things like this.
Thank you for your feedback anyway! 👍


Make the search bar clear button click target bigger

It's a bit difficult to click on. Also to make it clearer, please use a finger pointer when the mouse is over the button

I think that the clear button is provided by your browser. On Firefox on Linux, there's no clear button:

It should be styleable with the ::-webkit-search-cancel-button selector.
As this is the default button provided by the web-browser, we have some options:

Create a custom "clear" button that is shown on all browsers.
Restyle the clear button on just the browsers that have one.

I see, I guess it's because it has "type=search" so this clear button is added on macOS. In that case, let's leave it as it is


Escape model values to mitigate/prevent XSS

Context

Escape model values within to_dict method for various models.

Codecov Report
Base: 53.83% // Head: 53.85% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (716f0c1) compared to base (00c6f02).
Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head 716f0c1 differs from pull request most recent head db3546e. Consider uploading reports for the commit db3546e to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #332      +/-   ##
===========================================
+ Coverage    53.83%   53.85%   +0.01%
===========================================
  Files          204      204
  Lines        11631    11636       +5
  Branches      1505     1506       +1
===========================================
+ Hits          6262     6267       +5
  Misses        5369     5369

Impacted Files
Coverage Δ

trade_remedies_api/core/base.py
67.39% <100.00%> (+0.54%)
:arrow_up:

trade_remedies_api/core/models.py
69.75% <100.00%> (+0.03%)
:arrow_up:

trade_remedies_api/core/services/api.py
26.71% <100.00%> (ø)

trade_remedies_api/organisations/models.py
57.30% <100.00%> (+0.12%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[MXNET-1377] Add static-dependencies licenses

Description
This PR is to add licences for all static-dependencies. These licenese are not applicable to user who chose to build from source with all depdendencies dynamically-linked. But static-linking are required to place it under the generated package (e.g pip wheel, maven jars).
@zachgk @szha
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Can you also clean up the license stuff in build_lib.sh?


Thread becomes invisible after Octo thread resolve

Issue Description
Type: bug report
Describe what happened (or what feature you want)
When resolve thread on PR overview dashboard, thread becomes invisible.
Before resolution

After resolution

Describe what you expected to happen
Thread becomes collapsed, marks as resolved stays visible

How to reproduce it (as minimally and precisely as possible)

Octo pr list
Open PR with not resolved comments/threads
On PR view try to resolve thread by typing Octo thread resolve

Tell us your environment
iTerm2
nvim 0.8.0
MacOs
octo plugin latest
tried with EdenEast/nightfox.nvim and projekt0n/github-nvim-theme themes.
Anything else we need to know?

Also experiencing this behaviour, as a temporary work around I've been reloading the PR with :e! so it shows the resolved thread collapsed as expected.


Really excited about Sekund, but having problems with metadata

I have been trying out Sekund, and it's clearly got a lot of potential… at least until Obsidian gets selective and multi-party syncing working, for genuine collaboration.
One problem is that if a note already has metadata, that seems to get overridden by Sekund. This has the effect, for example, of making it impossible to share kanban boards using the Kanban plugin.  Is there any chance you could just add the Sekund metadata at the top, and leave the rest in place?

Thank you for this. I am actually not using that metadata, so just removed the code that overrode it.


cppcheck: Change to C++ style pointer casting in Thread.cc

[iocore/eventsystem/Thread.cc:53]: (style) C-style pointer casting
[iocore/eventsystem/Thread.cc:59]: (style) C-style pointer casting
[iocore/eventsystem/Thread.cc:68]: (style) C-style pointer casting

[approve ci]


TIMEOUT error reported by data_service_request_bidirectional call (no flip, no restarts, pure I/O)

After running I/O for awhile, TIMEOUT error can be reported by data_service_request_bidirectional while fetching data, this is not expected as there is no flip, no restarts involved in any replica, just pure I/O:
This is seen with real drives, not file.
[05/15/24 13:38:29-07:00] [E] [test_raft_repl_dev_replica_2] [1574] [raft_repl_dev.cpp:515] [rd=rdev1] Not able to fetching data from originator=1251922335, error=-2, probably originator is down. Will retry when new leader start appending log entries
[05/15/24 13:38:35-07:00] [E] [test_raft_repl_dev_replica_2] [1626] [raft_repl_dev.cpp:692] [rd=rdev1] Raft Channel: Error in processing rreq=[repl_key=[server=1251922335, term=1, dsn=64118], lsn=-1 state=[BLK_ALLOCATED | ] m_headersize=0 m_keysize=0 is_proposer=false local_blkid=[{blk#=917505 count=2 chunk=181},] remote_blkid=[{blk#=737284 count=2 chunk=619},]] error=TIMEOUT
[05/15/24 13:38:35-07:00] [E] [test_raft_repl_dev_replica_2] [1626] [raft_repl_dev.cpp:692] [rd=rdev1] Raft Channel: Error in processing rreq=[repl_key=[server=1251922335, term=1, dsn=64119], lsn=-1 state=[BLK_ALLOCATED | ] m_headersize=0 m_keysize=0 is_proposer=false local_blkid=[{blk#=425986 count=2 chunk=182},] remote_blkid=[{blk#=1032193 count=2 chunk=620},]] error=TIMEOUT
[05/15/24 13:38:35-07:00] [E] [test_raft_repl_dev_replica_2] [1626] [raft_repl_dev.cpp:692] [rd=rdev1] Raft Channel: Error in processing rreq=[repl_key=[server=1251922335, term=1, dsn=64120], lsn=-1 state=[BLK_ALLOCATED | ] m_headersize=0 m_keysize=0 is_proposer=false local_blkid=[{blk#=671751 count=4 chunk=183},] remote_blkid=[{blk#=737281 count=4 chunk=621},]] error=TIMEOUT
[05/15/24 13:38:35-07:00] [E] [test_raft_repl_dev_replica_2] [1626] [raft_repl_dev.cpp:692] [rd=rdev1] Raft Channel: Error in processing rreq=[repl_key=[server=1251922335, term=1, dsn=64123], lsn=-1 state=[BLK_ALLOCATED | ] m_headersize=0 m_keysize=0 is_proposer=false local_blkid=[{blk#=327683 count=1 chunk=184},] remote_blkid=[{blk#=753666 count=1 chunk=624},]] error=TIMEOUT
[05/15/24 13:38:35-07:00] [E] [test_raft_repl_dev_replica_2] [1626] [raft_repl_dev.cpp:692] [rd=rdev1] Raft Channel: Error in processing rreq=[repl_key=[server=1251922335, term=1, dsn=64121], lsn=-1 state=[BLK_ALLOCATED | ] m_headersize=0 m_keysize=0 is_proposer=false local_blkid=[{blk#=704515 count=5 chunk=185},] remote_blkid=[{blk#=376838 count=5 chunk=622},]] error=TIMEOUT

Why is this opened in the nuraft_mesg project and not homestore which is where the issue seems to be according to the logs? If there's some raft issue; then we need raft logs...not homestore logs which would indicate a bug on the library user, not the library itself. Not saying it is, but that's the only thing left here to look at...

It is return immediately at line:506. And we need to look into why mesg_factory::data_service_request_bidirectional is returning -2 when there is no reboot in between. We don't know where the root cause is yet without deeper investigation. It could be in upper layer or lower layer caused this problem.
 505     group_msg_service()
 506         ->data_service_request_bidirectional(
 507             originator, FETCH_DATA,
 508             sisl::io_blob_list_t{
 509                 sisl::io_blob{builder->GetBufferPointer(), builder->GetSize(), false /* is_aligned */}})
 510         .via(&folly::InlineExecutor::instance())
 511         .thenValue([this, builder, rreqs = std::move(rreqs)](auto response) {
 512             if (!response) {
 513                 // if we are here, it means the original who sent the log entries are down.
 514                 // we need to handle error and when the other member becomes leader, it will resend the log entries;
 515                 RD_LOG(ERROR,
 516                        "Not able to fetching data from originator={}, error={}, probably originator is down. Will "


Feature: on-the-fly rasterization of grid like data

For shapes, we should add a check that detects if the data is "grid-like" and big, and performs an on-the-fly rasterization.

This could also be an approach to take: https://github.com/napari/napari/issues/6148.


Heart Rate example

The existing Range Chart is capable of displaying Apple's heart rate chart in the Health app. Included is an example of a semi-complete version of it.

Apple's:

Great job, was halfway doing this one myself. I have some sample data for a daily bpm, will share.
I would also make the heartrate data a comparable object so you can easily do min max etc.

I was also looking into this one. Not sure if the heart rate should be represented by a BarMark between a high and low. My approach was to use a scatter graph with single dots. The interval in which your heart rate get's measured is so often that all single dots grouped on an hour or so get turned into a bar.
So if it skips out or couldn't measure one of your heart rates in between it will show up as a gap. Most of the time it will be a solid line but I think the current data set doesn't reflect a heart rate.

I was also looking into this one. Not sure if the heart rate should be represented by a BarMark between a high and low. My approach was to use a scatter graph with single dots. The interval in which your heart rate get's measured is so often that all single dots grouped on an hour or so get turned into a bar.
So if it skips out or couldn't measure one of your heart rates in between it will show up as a gap. Most of the time it will be a solid line but I think the current data set doesn't reflect a heart rate.
So a very buggy heart rate measurement would turn into a lot of single dots. You can see this on the mobile watch on the 4th measurement.

Yeah the data I used was just random data that isn't even related to actual bpm, which probably wasn't the best idea. I just wanted to see if I could replicate what it looked like from a glance. I think you are right about using a scatter graph, however I haven't tried it out myself.


Add publishers endpoints

Is your feature request related to a problem? Please describe.
Issue https://github.com/ag-gipp/NLP-Land-frontend/issues/20 requires some things to be implemented in the backend.
Describe the solution you'd like
Implement the following endpoints:

[x] Publishers as list (paged if necessary)
[x] Publishers aggregated and counted by year
[x] Top publishers and their amount of published papers
[x] Stats like median, whiskers, etc. for the boxplot
[x] All endpoints should support filters

Describe alternatives you've considered
All endpoints might be dropped depending on the amount of data we have on publishers.

Added in #58


Create hash-data-using-tiger.yml

Adding support for the tiger hashing algo that is available in libgcrypt -> https://github.com/gpg/libgcrypt/blob/master/cipher/tiger.c
Tiger contains large sbox entries, so they have been truncated to best fit the capa rule.
In addition to the sbox constants, I included a small basic block method to catch on the key schedule.

thank you!


[FLINK-31366][filesystem][s3] Fix NoSuchMethodError when s3a and s3p plugins are used together

What is the purpose of the change
When s3a and s3p plugins exist at the same time, an exception will be thrown as below:
Caused by:java.lang.NoSuchMethodError: org.apache.flink.fs.s3.common.AbstractS3FileSystemFactory.<init> (Ljava/lang/String;Lorg/apache/flink/fs/s3presto/common/HadoopConfigLoader;)
Brief change log

shade AbstractS3FileSystemFactory in s3a and s3p

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework  without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: yes

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

@wangyang0918 @Myasuka Could you help to take a review?


Balance : Adjust pollution values for consistency (feel free to add)

Mod source
PyAE Beta
Which mod are you having an issue with?

[ ] pyalienlife
[ ] pyalternativeenergy
[X] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Crystal Mine MK 01 -> 0.06/sec
Soil Extractor MK 01 -> 0.06/sec
Destructive Distillation Column  -> 0.06/sec
Steps to reproduce
Use your favorite tool to read pollution values
Additional context
No response
Log file
No response

I came to report this same issue. I think the gardens (or any negative pollution source) would need a corresponding nerf, as in my game, the Fastwood Forestry is -910 pollution/min with 25 Tree MK 1's.
0.06 per tick would be 3.6 / minute, which is a more reasonable value, at least. I feel the gardens should be balanced at full module packing, -10 to -50 isn't out of the question. The balance needs to apply to probably everything with negative pollution, but from a coding standpoint, it'd be relatively easy to target a pollution goal and work backwards from module modifiers.

pY is NOT recommended to be played with biters. In fact, the pY preset will disable pollution.


ServiceMonitor with endpoint.interval uses wrong type for Prometheus

What happened?
ServiceMonitor object doesn't pass validation when loaded with endpoint.interval as an integer (requires string type), but string type fails to load into Prometheus v2.7.1
How to reproduce it (as minimally and precisely as possible):
kubectl apply -f - <<EOF
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    app: scrape-exporter
  name: 'testing'
  namespace: 'testing'
spec:
  endpoints:
    - interval: "10"
      metricRelabelings:
        - action: labeldrop
          regex: pod
          sourceLabels: []
        - action: labeldrop
          regex: namespace
          sourceLabels: []
        - action: labeldrop
          regex: instance
          sourceLabels: []
        - action: labeldrop
          regex: job
          sourceLabels: []
      port: prom-http
  selector:
    matchLabels:
      app: scrape-exporter
EOF

This will result in Prometheus failing to load the configuration:
level=error ts=2020-06-11T19:34:38.614820096Z caller=main.go:688 err="error loading config from \"/etc/prometheus/config_out/prometheus.env.yaml\": couldn't load configuration (--config.file=\"/etc/prometheus/config_out/prometheus.env.yaml\"): parsing YAML file /etc/prometheus/config_out/prometheus.env.yaml: not a valid duration string: \"10\""

Environment
minikube

Prometheus Operator version: quay.io/coreos/prometheus-operator@sha256:ed3ec0597c2d5b7102a7f62c661a23d8e4b34d910693fc23fd40bfb1d9404dcf

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.0-4-g38212b5", GitCommit:"2576e482bf003e34e67ba3d69edcf5d411cfd6f3", GitTreeState:"clean", BuildDate:"2020-05-12T06:26:08Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind: minikube

You probably intended to set "10s" for 10 seconds here?

Ah duh. That is probably it. I will reopen if that's not the case. Thanks!


Leagues aren't loading

Hi! Something wrong...

I've same problem

This is two separate issues,

Leagues not loading
Items not found

Items not found will take some time, see currently not working features. This is similar to a new league and having to wait for the update, but this will take longer since it's the whole game
Leagues not working I will investigate further tonight

I have same issue

so, how to fix that, I download the setup [Awakened-PoE2-Trade2-Setup-0.0.1.exe]. Open, try to price check any item and have same problem. We need guide to what we need to do

Fixed in latest release


Listing actors results in Internal Server Error Response

As the title says: Running the actors command results in a 500 Internal Sever Error Response when trying to get the temperature? Note that the temperature displays ok in the Webinterface. FritzOS is on version 7.20. Stacktrace:
> python -m fritzhome --host fritz.box --username xyz --password xyz actors
Keller (AVM FRITZ!DECT 200; AIN 11630 0205972 )
Temp: act 26 target 0.0; battery (low): True
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/stephan/projects/fritzbox-smarthome/fritzhome/__main__.py", line 242, in <module>
    cli()
  File "/usr/lib/python2.7/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/stephan/projects/fritzbox-smarthome/fritzhome/__main__.py", line 61, in actors
    actor.get_target_temperature(),
  File "fritzhome/actor.py", line 130, in get_target_temperature
    value = self.box.homeautoswitch("gethkrtsoll", self.actor_id)
  File "fritzhome/fritz.py", line 137, in homeautoswitch
    response.raise_for_status()
  File "/usr/lib/python2.7/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://fritz.box/webservices/homeautoswitch.lua?ain=11630+0205972&switchcmd=gethkrtsoll&sid=af7f0e2f8b01cc6c

Hi Stephan,
I think the best place to report a "500 Internal Server Error" would normally be AVM, as this is an issue inside the FritzOS.
In this case I assume the problem is that the AIN contains a space, I guess that was added in a later version of FritzOs. A possible fix for this is added in commit 5dbe523. You can install the latest git version using:
pip install git+https://github.com/DerMitch/fritzbox-smarthome.git@master

As I do no longer own any FRITZ!Box, I am not able to test it by myself.

It seems this did not help. The URL changed accordingly though:
[...]
  File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://fritz.box/webservices/homeautoswitch.lua?switchcmd=gethkrtsoll&sid=1bef10cedea056c1&ain=116300205972

I get this with the github Version.
Traceback (most recent call last):
  File "/usr/local/bin/fritzhome", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/fritzhome/__main__.py", line 78, in energy
    (actor.get_power() or 0.0) / 1000,
  File "/usr/local/lib/python3.6/dist-packages/fritzhome/actor.py", line 88, in get_power
    value = self.box.homeautoswitch("getswitchpower", self.actor_id)
  File "/usr/local/lib/python3.6/dist-packages/fritzhome/fritz.py", line 138, in homeautoswitch
    response.raise_for_status()
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://fritz.box/webservices/homeautoswitch.lua?switchcmd=getswitchpower&sid=d52b8ae3e75f8cd8&ain=099950534716

Hope it will be working again in the Future?
Thanks,


Tags for PyPI releases?

Last tag is 0.0.4 from 2012; current PyPI release is 0.0.6 from a month ago (2015-04-27).
Could you restart tagging releases, including 0.0.5 and 0.0.6 retroactively? It would make comparing states against source a bit easier.

We have an active fork at zulumarketing/html2pdf; would you mind opening an issue over there too?
We haven't made any releases yet, but we have made a lot of progress modernizing the codebase (in particular, we've managed to get it working on Py3k), and we would love to hear what broken bits the community would like to help us fix, and what y'all would like to see us fix.
I've opened an issue specifically to discuss where this library needs to change and what the roadmap will look like.

@tokyo-jesus Are there any plans to merge the fork?

This has been investigated and tags have been added: https://github.com/xhtml2pdf/xhtml2pdf/releases


Qform and sform warning improvements

Re Issue #361. Do not warn if qform doesn't change because the sform cannot be exactly represented in the qform fields. If there is a slight difference, report the translation and total angle of rotation of the difference between the two.

Thank you for the checks! I'm not sure if the Travis CI build fail has to do with how I added transforms3d. Happy to fix something.

The Travis failure is related to https://github.com/PyCQA/pyflakes/pull/80, but I haven't figured out why. We can ignore it for now.

The CircleCI issue comes from the FS license, for which we had thumbs-up to fix the easy way. Correct, @effigies ?

My apologies for the incredible delay--been traveling/at workshops since Rome and just got back into lab! I had some of these staged on my personal computer, which I now realize I need to get back on to work on the test in test_images.py, but that'll be a separate thing. Since I'm here, I'm looking at this now--also learning a lot, thank you for your patience. Was wondering about the need to "Resolve conflicts," though, thanks for explaining @effigies.

I was trying to figure out what was still causing the Travis build failure, given that imports were moved to the right spot...I deduced it was the comment without two spaces before it, and I believe I've fixed it.

Yeah, there are a lot of little style gotchas. You can pip install flake8 locally and run flake8 niworkflows to check, if waiting on Travis feedback feels too slow.

Sorry it took so long! Quick question--what happened to codecov? I was using it to see that my tests covered the code I added, but it seems to have disappeared since last time I was looking at this?

It will show up once all of the other tests are done. It uses the output of those tests to calculate coverage.

Agreed, outstanding work @utooley. Thanks so very much!

Awesome. Thanks so much. I don't think there's any need to put the CI through another round...

Oh, please feel free to add yourself to the .zenodo.json if you would like to be listed as an author on niworkflows releases. And, since this is intended for inclusion in fMRIPrep, consider adding yourself to that .zenodo.json file, too.

Thanks! I don't know if this warrants adding myself to the .zenodo? It doesn't seem like that much--perhaps I'll wait for a more substantial future contribution, honestly, I don't know the etiquette around these things yet.

This is absolutely a credit-worthy contribution. New functionality that will help reduce user confusion, and tests that cover the entire contribution and then some...  We won't add you if you don't want, but this was pretty significant.


Remove the duplicated openapi-validator jar in distribution

Description:
Openapi-validator jar is packed in both distribution and the BCentral available package. This is currently used as a package provided compiler plugin. We need to check whether this can be removed from the distribution.
Describe your task(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The one packed with the package is not required, we only need it in the compiler plugin. So removed it in here: https://github.com/ballerina-platform/openapi-tools/pull/1752


Coverage for missing modules should cause a failure

fixes #376, connected to #376

Coverage increased (+1.08%) to 71.836% when pulling fe3535e4de588af2f8023e66a43125aca894b831 on arcivanov:issue_376 into c37f3ed6cef806bcdab40dbcd1279cd3b445d50b on pybuilder:master.

@mriehl I can't see the build results on Travis. Am I the only one?

No, I was looking too but the build frame doesn't seem to load.

On 08 Aug 2016, at 15:35, Arcadiy Ivanov<EMAIL_ADDRESS>wrote:
@mriehl I can't see the build results on Travis. Am I the only one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mriehl It's worse than that - they can't detect JS in Chrome, lol.

Hey there!

Looks like you have JavaScript disabled.

The Travis CI webclient needs JavaScript to work properly.

Please enable JavaScript to get the best Travis CI experience.

Thank you!

Coverage decreased (-0.5%) to 70.268% when pulling 1e84db4725d39ad433f3592840c8d2ad12bda415 on arcivanov:issue_376 into c37f3ed6cef806bcdab40dbcd1279cd3b445d50b on pybuilder:master.


font.css

Hello @MohammedCoding, could you provide PR description & a link for github page (setting -> pages in your repo) to check the result?

@sezruby, @imback82: I think this is some sort of bot or hacking some sort. I've seen that @MohammedCoding put similar PRs on other repositories too. Those got closed. Can we close this?

@andrei-ionescu Thanks!


combine existing content with cookiecutter result

https://github.com/nlesc/python-template lays out a standard python package with additional tools and checks
We should use it and combine what we have now with its output.

Fixed in 410fc6ba9f6f12e50a3aaf923426b76b291ed57f, closing this issue.


Export utility functions for providers

On that note, perhaps we want to think about how to have these verifiers provide utility functions as well. For instance the identity verifiers can provide a function that returns the resolved identities. Can create an issue to track it instead of doing it in this PR.
Originally posted by @yehjxraymond in https://github.com/Open-Attestation/oa-verify/pull/74

closed until it's needed


Error only when these addons are used:  Arkinventory, Pawn, Reagent Recipe Classic, Rotation Master

I'm not sure what to think of this, only when these addons are enabled (Arkinventory, Pawn, Reagent Recipe Classic, & Rotation Master)  and using the Arkinventory search shortcut does this error appear.  If any one of these 4 are disabled, the error doesn't show up.  It reappears after relogging or after reload.
Strange that is only points toward the Rotation Master addon.
The problem DOES go away when Rotation Master 1.3.9 is used instead.
79x RotationMaster\main.lua:1622: attempt to call method 'UpdateSpell' (a nil value)
[string "@RotationMaster\main.lua"]:1622: in function ?' [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119> [string "=[C]"]: ? [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function Fire'
[string "@DataStore\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
The versions are:
Arkinventory (3.09.67)
Pawn (2.5.38)
Reagent Recipe Classic (2.0.3)
Rotation Master (1.4.1)

Thanks for the report - this should be fixed with 1.4.1a (which is updated for just this fix)

Works just fine, thanks!


assumes remote shell is OpenSSH

Original issue: https://charm.cs.illinois.edu/redmine/issues/1332

In response to issues #709 and #710 hard-wired OpenSSH options are passed to ssh.
Since we let the user change the ssh command with ++remote-shell it would be nice to allow the user to disable these somehow, as they are annoying someone who is using rsh.
There is a work-around by pointing ++remote-shell at a wrapper script.

Original date: 2016-12-21 19:51:40

The way through this may be by shifting setting of those options so that they are bound directly to our default usage of ssh, rather than bolted on independently.

Original date: 2016-12-21 20:33:53

The most common ++remote-shell setting may be a specific ssh client, so maybe don't completely disable them just because ++remote-shell is non-default.  Perhaps ++remote-shell-not-openssh as an additional flag?

Original date: 2018-01-23 21:57:42

"++remote-shell-not-openssh" sounds cumbersome. Would it be sufficient to test the string passed to ++remote-shell against "rsh" and "*/rsh" and skip "KbdInteractiveAuthentication=no,PasswordAuthentication=no,NoHostAuthenticationForLocalhost=yes" if it matches?

Original date: 2018-01-26 20:42:20

Ping.

Original date: 2018-02-07 20:55:40

Removing version tag because of the minor nature of this issue. Waiting on feedback before proceeding with implementation.

Original date: 2018-05-10 22:58:45

Bump.

Original date: 2018-07-06 18:43:28

Awaiting feedback.

Original date: 2018-12-19 19:23:49

I don't think this is worth trying to fix as it's easy enough to do a wrapper script or use ++mpiexec if the user insists on being weird.

Original date: 2018-12-19 19:51:08

That works for me.


script is unifying tags like "forge:ingots" into only one type when they should be all ingots

1.18, noticed this issue with tinker's construct casting plates, although kubejs and tcon is kinda finnicky so you might be able to see this better on a different mod

Can you be a bit more specific, and provide something like a video or images? The #forge:ingots item tag is supposed to have only ingots in it, if tinkers construct is putting non-ingots into in it, it's not my fault...

UnifyTags by design unifies all the items in a tag. You can edit what tags UnifyTags chooses to unify in the script itself, and add your own. This is base functionality of the script.

I'm going to close this issue as I have no way of knowing if there's an issue here or if you're just using the script incorrectly. If you can provide more information on this issue in the future, feel free to reopen this.


Move utility functions from source/50_python.sh and 99_path.sh into bin/dotfiles

I'd like to adopt a "self-documenting" style for my Bash functions, much like Emacs/Python functions with docstrings.  I already worked out a nice way to do that in my python source script, but it will need to go into bin/dotfiles to be able to use it across the whole project.

error and usage functions from source/50_python.sh
path manip functions from source/99_path.sh
check for more, maybe in source/50_misc.sh? or source/90_work.sh?

Moved usage and error in commit b9c7a32

reviewed source/50_misc.sh and  source/90_work.sh:

no functions in 50_misc. There's some aliases and stuff that maybe could be moved to 50_env
only Squiz stuff in source/90_work.sh as appropriate.  Nothing for dotfiles main.

reviewed the other files -- nothing else that is useful cross-project: they're all specific to the function of the file they're in.


[SR-13591] REPL is not working on swift-5.3-RELEASE (Windows)

Previous ID
SR-13591

Radar
None

Original Reporter
gazsiazasz (JIRA User)

Type
Bug

Environment
Windows 10 - swift-5.3-RELEASE

Additional Detail from JIRA

Votes
3

Component/s

Labels
Bug, Windows

Assignee
@compnerd

Priority
Medium

md5: 34aed1a92808f2bdb31c9273d970f787

is blocked by:

SR-13596 The swift repl does not start on Windows 5.3 release

is duplicated by:

SR-13804 REPL crashes on Windows

Issue Description:
When I issue the command swift it should launch the REPL. But instead of that it gives back the prompt immediately.
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.7.4
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>swift
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>swift --version
compnerd.org Swift version 5.3 (swift-5.3-RELEASE)
Target: x86_64-unknown-windows-msvc
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>

I could use a bit of help testing this, I think that we are in a slightly better position now with the REPL, though it still needs further work.  In the meantime, if someone else can test and verify that that this seems to work better with the 2023-04-11-a snapshot it would be useful.  In order to get this to actually work the REPL needs to be invoked with some additional parameters, namely -L... where the value is the location of the installed runtime (defaults to %Program Files%\swift\runtime-development\usr\bin).  This is slightly confusing and will need to be resolved, but getting some preliminary testing on this would be helpful to ensure that the various issues are identified.
S:\>swift repl "-LS:\Program\ Files\swift\runtime-development\usr\bin"
Welcome to Swift version 5.9-dev (LLVM 91080e65df791d6, Swift a35e5ab3295f464).
Type :help for assistance.
1> import Foundation
2> ProcessInfo.processInfo
$R0: Foundation.ProcessInfo = {
  Foundation.NSObject = {}
  processName = "repl_swift.exe"
  $__lazy_storage_$__operatingSystemVersionString = nil
  _processorCount = 1
  _activeProcessorCount = 20
  _physicalMemory = 0
}
3>

You will need to ensure that python is in your path of course but that has always been a requirement.

It works with 2023-04-11 snapthot (LLVM 8277d73ee656251, Swift 4de53fc2e7cee4d). Thanks for note about extra slash in Program \Files).
Tried ProcessInfo.processInfo and RunLoop.current and got a valid output.

https://github.com/apple/llvm-project/pull/6927 should be the last bit that I think that is missing.  With that in place, I can now launch the REPL without any additional parameters (swift repl).

The changes have been merged and should be part of the next snapshot.

Should this be working in 5.9? If I try to run swift repl, I just get an error saying python39.dll is missing.
I have Python 3.10 installed, as per the instructions on https://www.swift.org/install/windows/#installation-via-windows-package-manager

I just got the REPL working with [https://github.com/pwsacademy/swift-setup/blob/main/platforms/windows/README.md](These instructions). It can evaluate 2+2, for example. Running files with swift h.swift now fail with errors about JIT session: symbols not found and then abunch of mangled symbol names.
I'm using the Swift installer from https://github.com/thebrowsercompany/swift-build/releases, which may work better than the default.

swift h.swift is going to fail for now. You might be able to use swift -O h.swift for the time being. There is still more work that needs to be done on the interpreter.

Adding -O allows a simple hprint("hello world!") to compile, but anything that tries to import foundation still can't materialize symbols. I'll just compile. When is the REPL going to not require python39.dll? This seems like the main blocker and means I need 2 installations of Python on my Windows computer.


Session Warnings

All pages loaded in the browser have two session related warnings at the bottom. From looking through the ci_sessions directory, the files indicated ARE being created.
A PHP Error was encountered
Severity: Warning
Message: touch(): Unable to create file ci_sessions/ci_sessionpn3gtlusf57knpga9oo0avgvuq22mb29 because No such file or directory
Filename: drivers/Session_files_driver.php
Line Number: 248
Backtrace:

A PHP Error was encountered
Severity: Warning
Message: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: ci_sessions)
Filename: Unknown
Line Number: 0
Backtrace:

Hmm, this looks like a CodeIgniter error. I might need to do a little homework to see what might be the culprit (will let you know if I find anything).

I figured this one out - since I'm using SQLite3, I needed to set an absolute path to the sessions directory in config.php, like this:
$config['sess_save_path'] = BASEPATH . 'ci_sessions';

Glad that it could be resolved, I'll take note of the extra requirement for SCLite3.


improve  packaging

Description of changes

jarowinkler-cpp is no longer a dependency.
Setting the preCheck should help to test that the binaries are importable and it does not just fall back to the working implementation

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

ping @dotlambda

Please, can you name the commits and the PR title properly? Thank you!

The commit messages also need to be prefixed with python3Packages.rapidfuzz:

Yes I will force push when I get home. For some unknown reason github refuses to let me push to the fork from my laptop ...

@RaitoBezarius @risicle for some reason I am completely unable to push to my nix os package for from local.
So either you simply squash and merge and set an appropriate commit message when squashing the commits together, or I can open a new PR with a fixed commit.

Thank you @maxbachmann! I included your changes in https://github.com/NixOS/nixpkgs/pull/205527.


Add the ability to define a custom orbit using just the orbital elements and epoch.

Description
This is so that the ephemeris functionality can be used without going through the whole fragile stuff with the orbital elements.

There is a fix for this upon the merging of the GUI branch.


Port to 2.0.1: Injecting IViewLocalizer into Razor Page causing IndexOutOfRangeException.

Original bug: https://github.com/aspnet/Mvc/issues/6694

This patch bug is approved for the 2.0.x patch. Please send a PR to the feature/2.0.1 branch and get it reviewed and merged. When we have the rel/2.0.1 branches ready please port the commit to that branch.

Moving to @ajaybhargavb because @pranavkm is OOF.

c13cef6a7417cd30732881196773aff220ae16b8 on branch feature/2.0.1.

Hi, we have a public test feed that you can use to try out the ASP.NET/EF Core 2.0.3 patch!
To try out the pre-release patch, please refer to the following guide:

https://github.com/aspnet/Announcements/issues/274 (info)
https://github.com/aspnet/Home/issues/2254 (discussions and questions)

We are looking for feedback on this patch. We'd like to know if you have any issues with this patch by updating your apps and libraries to the latest packages and seeing if it fixes the issues you've had, or if it introduces any new issues. If you have any issues or questions, please reply on this issue to let us know as soon as possible.
Thanks,
Eilon


Add context diagram

This PR adds the context diagram suggested by Pooja as the very first thing in the README.
Preview: https://github.com/ipfs/pinning-services-api-spec/blob/docs/context-diagram/README.md#pinning-service-api-spec
Ref. https://www.figma.com/file/nTnNpsj68kT1dI7WXyQ2QS/Pinning-Service-Core
cc @pooja @eshon @jessicaschilling

I've updated the diagram in Readme:

and added one to docs to highlight the fact that original Pin object is reused in PinStatus responses:

Awesome. I'm copy-editing the docs right now but I don't think we will collide.


Modification of _to/_from on edge doesn't throw error

Hi, I was trying in my code to modify _to edge property (to switch edge from one vertex to another). It took me some time to find that it doesn't change it value. Then I found in documentation that these properties are immutable. So then modification query should throw error and not just silently do nothing.
Btw. it would be good if these properties could be modified, code logic would be easier with less db operations (one property update vs edge delete and create).

Confirmed, it doesn't even set a warning flag.

Seems to be true for all system fields, you can't change a vertex document _key either:
for doc in test
update doc with {_key: random_token(32)} in test

duplicate of #1080

this will become possible with ArangoDB 3.
Download & try via https://www.arangodb.com/download-preview/


Add userinfo.email to default scopes in gcp auth provider

I was attempting to use kubeclient to connect to a GKE cluster by leveraging the gcp auth provider.
I had granted the service account access to certain resources through RBAC policies in the destination cluster yet I kept getting this error:
User "10345xxxxxxxxx" cannot patch resource "xxxxxxx" in API group "xxxxx"
in the namespace "xxxxx": Required "container.thirdPartyObjects.update" permission.

After digging into the issue, we realized the default scope for the gcp auth provider is missing https://www.googleapis.com/auth/userinfo.email.
Here's an excerpt of client-go's gcp auth provider:
	// defaultScopes:
	// - cloud-platform is the base scope to authenticate to GCP.
	// - userinfo.email is used to authenticate to GKE APIs with gserviceaccount
	//   email instead of numeric uniqueID.
	defaultScopes = []string{
		"https://www.googleapis.com/auth/cloud-platform",
		"https://www.googleapis.com/auth/userinfo.email"}

There's also some clarification about this in GCP's docs:

All GKE clusters are configured to accept Google Cloud user and service account identities, by validating the credentials presented by kubectl and retrieving the email address associated with the user or service account identity. As a result, the credentials for those accounts must include the userinfo.email OAuth scope in order to successfully authenticate.

@cben as a follow-up to this PR, it might make sense to pass config to GoogleApplicationDefaultCredentials.token such that users can customize the scopes. Here's an example from client-go:
// {
//   'auth-provider': {
//     # Required
//     "name": "gcp",
//
//     'config': {
//       # Authentication options
//       # These options are used while getting a token.
//
//       # comma-separated list of GCP API scopes. default value of this field
//       # is "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/userinfo.email".
// 		 # to override the API scopes, specify this field explicitly.
//       "scopes": "https://www.googleapis.com/auth/cloud-platform"

👋😄Hi @cben! Just a gentle nudge. I was wondering if you had time to take a look at this.

Hi, thanks for the nudge, these days I definitely need it :)
I know almost nothing about GCP.  Thanks for the references, this makes sense.
Do you have an idea whether this is a new requirement?  I'm assuming when GCP support was added, it worked for the author?
Anyway, merging.  It might take me some time to release this, please do nag me!
Do you think this counts as bugfix or enhancement from SemVer perspective?

Sorry for the radio silence @cben. I completely missed this notification. 😢

Do you have an idea whether this is a new requirement? I'm assuming when GCP support was added, it worked for the author?

My understanding is that there's seemingly two ways of setting up user permissions for a GKE cluster.
The original code worked fine if you wanted to use IAM permissions to grant users access to GKE clusters. For example, you could create a Google service account and grant it access to different Kubernetes resource types like container.pods.list to grant it access to list Pod resources:

Where this system breaks down is for custom resources. The granularity of IAM permissions for custom resources is basically: "The user can read/write/update/delete all custom resources.". The IAM permissions don't let you pick what kind of custom resources the user can edit. It's all or nothing. For example, you cannot say "Grant user read access to kind: A but not kind: B.
This screenshot of IAM permissions might better explain the above example:

This is where RBAC policies come into play. They do support that level of granularity.
This brings us back to this PR. In order to define permissions using RBAC policies and authenticate with a Google service account, we need the client to request the https://www.googleapis.com/auth/userinfo.email permissions. Behind the scenes, this seems to be  required in order to map Google service account id to an email. I'm a bit fuzzy on the exact details here.
To go back to your original question, my guess is that the original author was only using IAM permissions and not RBAC policies. For that use case, the client worked fine. 😄

Do you think this counts as bugfix or enhancement from SemVer perspective?

I suppose it could go either way. I don't have strong opinions on this.
Maybe it's safer to treat it as an enhancement and say something like GCP provider now supports authenticating with GCP and leveraging RBAC policies to define permissions?

Released in https://rubygems.org/gems/kubeclient/versions/4.7.0 (#446)


Add support for testing with multiple Draft.js versions

This updates the project’s test suite to run both with Draft.js 0.10.5 and 0.11.2. It should make it easy to improve support for new versions and address deprecations without compromising support for 0.10.5 for now.
This uses npm 6.9.0+’s support for module aliases:
npm install --save-dev draft-js-11<EMAIL_ADDRESS>

:tada: This pull request is included in v2.3.0, available on npm<EMAIL_ADDRESS>
Generated by :package::rocket: semantic-release


fix: dep update

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix iteritems -> items, for Python 3.

Landing a fix that Jody and I made a couple weeks ago on the deploy branch, which I just noticed never made it into master - in the pipelines module, there was an .iteritems() call on a dictionary, which breaks in Python 3, where it's just .items().
This is the last unmerged change on deploy, which I'll get rid of. Going forward let's just deploy from master.

@davidmcclure This fix is actually unnecessary: the problem was that item['headers'] is usually of dict-like type scrapy.http.headers.Headers, whereas in an old version of the FileDownloader (what we were invoking when we ran into the bug), item['headers'] was set to a regular Python dict.  The scrapy.http.headers.Headers class has a .iteritems() method, while in Python 3 dict does not have a .iteritems() method.  An update to FileDownloader fixed the issue.
Thankfully, I don't think using .items() for this segment of pipeline code changes the behavior significantly.

Ah, sorry @jodizzle, didn't realize item['headers'] had changed. In scrapy.http.headers.Headers, looks like items() just converts the tuple that comes out of iteritems() into a list.
Since iteritems() is the method that's actually doing the work, here - and I can't think of a reason to prefer a list to a tuple? - maybe we should revert this and stick with iteritems(), just to match the Scrapy API as straightforwardly as possible?

@davidmcclure Sure, we could revert it if you'd like.  Only situation where .items() would be helpful or  necessary is if we ever wanted the headers to be of type dict, but I'm not sure when that would be the case.  Using .iteritems() is technically more efficient also.  Overall, though, the difference is pretty minor.


IB-1280 added sum aggregation

added a sum aggregation because I needed it and maybe others might need it to.
added reference to sum aggregation in readme

cheers!

Thanks!


how to get sandbox at runtime?

It would be great if this article also explained how to detect which sandbox the title is running in at runtime. This is useful for things like automatically changing matchmaking groups based on dev/cert/retail sandbox, or changing which server to connect to for an online title etc.
Platform:: String^ Microsoft::Xbox::Services::XboxLiveAppConfiguration::Sandbox

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

ID: b71e6c19-d933-324c-bf23-09fcc63c3800
Version Independent ID: 5404fed5-02a6-0a2a-1802-68ba3b97f328
Content: Advanced Xbox Live sandboxes - UWP app developer
Content Source: windows-apps-src/xbox-live/advanced-xbox-live-sandboxes.md
Product: windows
GitHub Login: @KevinAsgari
Microsoft Alias: kevinasg

This is an excellent point.  I will investigate adding a section on programmatically determining the sandbox during runtime.


Add use_cudnn flag to BatchNormalization link

batch_normalization and fixed_batch_normalization functions support the use_cudnn argument, while BatchNormalization link does not have a corresponding attribute, which is added by this PR.

LGTM


Turbolinks + customevents polyfill causes fails

Error: DuplicateDefinitionError: a type with name 'relative-time' is already registered
This may only be happening when a link from the admin layout transitions to the standard layout.

It looks like this might be because the request returns a  401 status, which Turbolinks doesn't handle well.

I'm pretty sure it's due to this upstream problem: https://github.com/turbolinks/turbolinks/issues/179


Handle Restart Dependencies

Summary of the new feature / enhancement
Relating to #50, as a user I want to know any dependencies of my process/service that needs restarting so that I'm fully aware of the impacts/overhead of restarting.
Proposed technical implementation details (optional)
No response

From the meeting, I think two different aspects should be covered:

dependents that are affected
other things that need to be restarted for configuration to take effect

Perhaps we can have two additional optional top level properties to _restartRequired:
_restartRequired:
  service:
    name: sshd
    id: 1234
  dependentsAffected:
    service:
      name: foo
      id: 1234
    process:
      name: bar
      id: 1234
  restartRequired:
    service:
      name: hello
    process:
      name: world

Where both are arrays.  Still would need a real world scenario for restartRequired that would not include dependents that auto-restart if the top service/process is restarted.


Add documentation for using Desse with enums

Closing in favour of https://github.com/devashishdxt/desse/pull/10


Upgrade component versions for 4.3.0 Alpha2

This PR upgrades the component versions for APIM 4.3.0 Alpha2.
Related PR : https://github.com/wso2/carbon-apimgt/pull/12326

Closing as this is addressed by https://github.com/wso2/product-apim/pull/13434


e2e: Print the node name after it is set

This PR will print the node name after it being set.

/lgtm


artifacts folder does not exist automatically

New version of deployed files:<PHONE_NUMBER>
 [Mwltr\Robo\Magento2\Task\SetupStaticContentDeployTask] Done in 40.898s
➜
➜                                  GENERATE ARTIFACTS
➜
 [Progress] cleanup old packages
 [Filesystem\FilesystemStack] remove ["artifacts\/var_di.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/var_generation.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/pub_static.tar.gz"]
 [Filesystem\FilesystemStack] remove ["artifacts\/shop.tar.gz"]
 [Progress] creating packages
 [Exec] Running /usr/bin/tar  -czf ../artifacts/var_di.tar.gz var/di in shop
tar: Failed to open '../artifacts/var_di.tar.gz'
 [Exec]  Exit code 1  Time 0.017s
 [notice] Stopping on fail. Exiting....
 [error]  Exit Code: 1
 [error]    in task Robo\Task\Base\Exec

The folder artifacts isn't created automatically, so I had to manually create it to avoid this warning.

OK, thanks for the hint. That's something that should be easy to fix.

Just created a new release containing a fix for this.
artifacts-dir will now be created if it is missing.
Version is 1.3.0, should come in with composer update


URL detection

This tool can detect any kind of URLs in text: https://github.com/Andrew-Kang-G/pattern-dreamer/blob/master/README.md

moved https://github.com/CRJI/EIC/issues/783


Configuration - Could not retrieve or read configuration Synology NAS

I've installed speedtest-tracker in docker on my Synology 918+. (I've used this tutorial: https://mariushosting.com/how-to-install-speedtest-tracker-on-your-synology-nas/)
Installation went well and looked good.
Unfortunately the speedtest is not working, If I view the results I get the following message:
{"type":"log","timestamp":"2023-01-25T09:00:36Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
I tried also to use a specific server id near me, but it does not work at the moment. The webinterface is running fine.
Any ideas?

I had the same problem and eventually resolved it by starting over with these steps: https://docs.speedtest-tracker.dev/getting-started/installation#install-on-synology
The only difference I noticed is it's using the 'bridge' network in the last screenshot.
And if you haven't already, be sure to configure the bridge firewall settings. The lower half of this should help: https://drfrankenstein.co.uk/step-3-setting-up-a-docker-bridge-network/

Please also follow #343 for other possible solutions.

I tried now everything. I dont get it to work. I dont know what to do else. I still get this error:
{"type":"log","timestamp":"2023-02-01T11:24:31Z","message":"Configuration - Could not retrieve or read configuration (ConfigurationError)","level":"error"}
But if I look at the docker container log, this error isn't there. I've installed it many times new, but nothing worked so far.


Duplication of automation levels

In the current version of auto-dev automation levels are modelled both as classes and as named individuals, e.g., the level of high driving automation is modelled as:

as class in AutonomousVehicles.rdf <owl:Class rdf:about="&auto-de-av;HighDrivingAutomation">
as named individual in TrafficCrashes.rdf <owl:NamedIndividual rdf:about="&auto-de-tc;HighDrivingAutomation">
As a result their definitions, explanatory notes, etc. are duplicated, which makes the ontology wet.

I think that either invididuals or classes must be removed.

I have some doubts here. On the ideological level some people defend humidity.
As for this particular issue we have now in the ontology Automation levels as subclasses of Activity, more precisely the activity of 'Operate Motor Vehicle'. That alows us to define the relation between those levels and 'Dynamic Driving Task Subtasks'.
On the other hand I expect the need for labeling cars with their capacity for autonomous driving. It seems to me that it would be quite complex to use Activities for that purpose. Thus maybe a bunch of individuals or a subclasses of vehicles (possibly defined by activities) would be useful.

Fair enough, you want it wet, you will have it wet.
What about this duplication then?
https://spec.edmcouncil.org/auto/ontology/DE/AutonomousVehicles/NoAutomation
https://spec.edmcouncil.org/auto/ontology/DE/TrafficCrashes/NoAutomation
These two have almost the same metadata, so perhaps they are genuine duplicates that need to be dried.
And there are more cases like this.


Moving Uptime Kuma from sever to server

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hey all I am moving this container around and been cleaning up corrupted and HUGE databases.  I know it says not to export and import but I would prefer not to re-make all of my monitors it kinda sucks.
so now I cleaned up the database because i had HUGE error.log files (like 1.5 gigs).  I resolved that issue but I notice when I started up I still got:
[2024-11-29 19:30:10] [Error: SELECT value FROM setting WHERE key = 'database_version'  limit 1 - SQLITE_ERROR: no such table: setting] {
errno: 1,
code: 'SQLITE_ERROR'
}
Is this something to be concerned about? Is there a good back up and restore method for the latest version out there? Thanks!
📝 Error Message(s) or Log
[2024-11-29 19:30:10] [Error: SELECT value FROM setting WHERE key = 'database_version'  limit 1 - SQLITE_ERROR: no such table: setting] {
errno: 1,
code: 'SQLITE_ERROR'
}
🐻 Uptime-Kuma Version
1.23.15
💻 Operating System and Arch
Ubuntu 20.4
🌐 Browser
Chrome
🖥 Deployment Environment

Runtime: docker compose
Database: sqllite
Filesystem used to store the database on: ext4
number of monitors: ~50

So its completely dead after the clean up of the database.  I rolled back to the backup which has other errors:

SQLITE_CORRUPT: database disk image is malformed] {

What do you mean when you say you cleaned up the database?

it was what I sent over and over again on the second post.
SQLITE_CORRUPT: database disk image is malformed] {
I found this post here and used this:
Hi, I had this as well and did the following:
docker exec -it Uptime-Kuma /bin/bash
sqlite3 /app/data/new.db "PRAGMA integrity_check"
rm /app/data/kuma.db
mv /app/data/new.db /app/data/kuma.db

After that I restarted my Container an it worked well.```

i am using some corrupt database so this is what I am seeing along with the above errors.  Its growing pretty quick.
[2024-11-29 16:53:58] [Error: select * from `heartbeat` where  monitor_id = 54 ORDER BY time DESC limit 1 - SQLITE_CORRUPT: database disk image is malf>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:53:58] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:00] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:01] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:02] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:03] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:03] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,
  code: 'SQLITE_CORRUPT'
}
[2024-11-29 16:54:06] [Error: insert into `heartbeat` (`down_count`, `duration`, `important`, `monitor_id`, `msg`, `ping`, `status`, `time`) values (0,>
  errno: 11,

commenting to come back later, I will need to move mine at some stage later down the track.. thanks for the question and some tips here already !

FYI I dumped it and used a older backup - but there was some real corruption there.


Cannot upload svg files for page icons

Description of bug
Pages support a small and a large icon, however there is no way using the UI to upload an svg file.
Steps to reproduce
List the precise steps to reproduce the bug:

Go to any page
Try to upload an svg image for the page icon

Current behavior
Nothing happens, the file appears to be uploading but then it does not show in the UI or in the database, no error is present either in the browser console.
Expected behavior
Should upload and show up right away in the UI and be saved in the database.
Additional context

Setting the icon manually in the database does make it appear both in the pages UI and where it renders in menu systems that support it.
.svg is in the allowed files extensions everywhere and there is no issue uploading the same file using the file manager.
uploading first the file in the file manager and then trying to select it in the pages UI also does not work, it does not show svg files in the selection list, jpg and gif do show.

Affected version

[?] 10.00.00 alpha build (in development)
[x] 09.06.02 release candidate
[x] 09.06.01 latest supported release (Well there where more problems there with this feature)

Actually it is more than just svg files, the uploader is broken all together. It looks like we need the same fix as in #3769 in here


How to enable checkout UI extensions on existing production store (documentation clarity)

Please list the related package(s)
checkout-ui-extensions
Documentation confusion
Hello, I have installed my ui app extension via the single install link to a merchant and have:

run npm run build
run npm run deploy
Supplied a version.
Published the change

The merchant setup a staging and production store last year but I can't see any options within the store, e.g. /admin/settings/checkout to enable UI extensions. If someone could point me to some documentation on the process that would be great.

@Jay-Plumb I believe you have to talk to your MSM. Only Shopify can make a store eligible for extensions. Ask them to enable Checkout Extensibility as part of early access.

@gil-- I'll do that, thanks for the response

@cdarland Hey, my team reached out but the MSM switched on the checkout feature for the production store rather than the staging one. Be very careful if you go down the same route because it took a couple attempts to revert back to using the checkout.liquid file.
What I ended up setting up was a custom app that allows a plus merchant to install on all of their stores given the single signon approach was too restrictive for a standard deployment workflow. We also have a third store with our plus merchant that is running the ui extension logic for checkout for development purposes.


Displaying the application (or logo) in the stream

We know the process, enable an option to show the process icon on the message

We totally did this in #90


Deeplink modals are landing only on Home page.

-Now the keeper request modal or any other req modal is landing only on Home page,if I'm on any other tab like more etc then I'll have to go back to the home page.
deeplink modal.zip

This is happening because More is now its own route -- separate from Home, and the deep-link handler is located on Home.
@antuz123 @AliMeer I think we're at a point where properly handling all of these cases is going to require some significant refactoring to our deep-linking architecture, as we've been discussing on several recent occassions.

@AliMeer @CypherPoet - this needs to go with the 're-login' piece which we had and took it away as it was not working properly.
Re-login is what happens when the app goes into the background and is recalled. The user is needed to put the passcode again.

In that case Login and ReLogin can have the deep link handler and then let the following screens know via navigation properties.

One option here could be to move the app back to the Home Screen every time it goes to the background. I know this can be done and maybe a quick fix for this scenario.

In that case Login and ReLogin can have the deep link handler and then let the following screens know via navigation properties.

Yes correct, but that is a longer piece so see my previous comment.

One option here could be to move the app back to the Home Screen every time it goes to the background. I know this can be done and maybe a quick fix for this scenario.

Yes I was considering this option as well. When app goes in background it should start with re login and go back to home screen.

One option here could be to move the app back to the Home Screen every time it goes to the background. I know this can be done and maybe a quick fix for this scenario.

Yes I was considering this option as well. When app goes in background it should start with re login and go back to home screen.

No, ignore re-login for now, it has its own set of issues. Just make the Home Screen active/ 'in-focus' every time it goes in the background.

No, ignore re-login for now, it has its own set of issues. Just make the Home Screen active/ 'in-focus' every time it goes in the background.

@antuz123 I think this is doable, but have we considered the consequences this might have on the UX for various screens?
For example, let's say a user is deep inside of some Account Management screen where they're re-assigning transactions. But then they get a text message... background the app while they respond to it real quick... and then come back. All of a sudden, they're at the Home screen, and all of their progress has been lost. I not certain this is ideal.

Yes certainly not ideal but a fix for now?
The ideal solution would be to have a re-login handler as soon as the app goes in the background. There are many other pieces this handler can do. Example - locking the app if coming from background after x secs. Performing some of the login functions if coming in after y mins. Etc. But this may not go in with the next release.
So the fix would be to just use the HS? Is the issue also when the user is inside other screens? Like account screen? Or only when the new bottom screens on the HS are open?

@antuz123  At the moment in the current build. When an app is open on any screen or modal, a deep link is detected and the user is taken to the deep link modal. This works for Account screens, both send receive as well as for manage backups and modals as well. This is not happening only for "more" screen. Please asses the priority based on this behaviour.
@CypherPoet its worth trying to replicate this behaviour for "more" screen for the current release.

Verified this issue on Dev app varsion 1.3.0(148)

@cakesoft-swati - is this still happening. Please state the details.

-Right now this is not happening on 'More ' screens and on Notifications modal.

So where is it happening? this is not clear.

Internal pages of More screen like F&F,Funding sources etc.

Suppose we are on the funding source page and we click on any deeplink, then the funding source page goes to more screen and we are not able see the deeplink modal, for that we have to go to the home page itself.

-Verified this issue on Dev app version 1.3.0(155)


Use multi search api for ms v1.1.0

Replace the usage of client.index().search with client.multiSearch() when performing searches.

TODO:
[x] Replace search requests made with client.index.search with client.multiSearch

Pagination
Caching

[x] Use multi-search also when performing the initial facet distribution
[x] Rename searchResponse with searchResult when it is not the whole response of the multi search API

bors merge


OkHttp Fails to set TLS V1.1 and v1.2 on IBM JDK 8

Extremely similar to https://github.com/square/okhttp/issues/4086 but applicable IBM JDK8
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build <IP_ADDRESS> - pxa6480sr5fp20ifix-20180809_01(SR5 FP20+IJ08001))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20180809_394103 (JIT enabled, AOT enabled)
OpenJ9   - cce432b
OMR      - 7ce4228
IBM      - 98805ca)
JCL - 20180719_01 based on Oracle jdk8u181-b12
We compile in 7 because half of our environments are in 7 and the other half are in 8 so we use the 3.12.3 library but noticed the issues is there in the latest 4.1 as well, just doesn't seem to work in IBM JDK8 given what's happening in the internal/platform package
There's some logic in there that handles the JDK7 route but still leaves IBM JDK broken because the response differs from openjdk when calling SSLContext.getInstance("TLS")
  public SSLContext getSSLContext() {
    String jvmVersion = System.getProperty("java.specification.version");
    if ("1.7".equals(jvmVersion)) {
      try {
        // JDK 1.7 (public version) only support > TLSv1 with named protocols
        return SSLContext.getInstance("TLSv1.2");
      } catch (NoSuchAlgorithmException e) {
        // fallback to TLS
      }
    }

    try {
      return SSLContext.getInstance("TLS");
    } catch (NoSuchAlgorithmException e) {
      throw new IllegalStateException("No TLS provider", e);
    }
  }

After some remote debugging/troubleshooting discovered when it's establishing the connections is where the issue begins to arise the supported protocols is set to TLSv1 because of the above query to the JRE for supported/preferred TLS Setting
Unable to find acceptable protocols. isFallback=false, modes=[ConnectionSpec(cipherSuites=[TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA], tlsVersions=[TLS_1_3, TLS_1_2], supportsTlsExtensions=true), ConnectionSpec()], supported protocols=[TLSv1]

Can you use this workaround https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/matchsslcontext_tls.html
com.ibm.jsse2.overrideDefaultTLS =[true|false]

What would you expect the logic on IBM JDKs to be?

https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/protocols.html
We can special case "SSL" on IBM JDKs or just require users set the system property.  Going to assume we ask users to set the system property for now.


[feat][jdbc] Add keyUtil to handle special columns

…estoreColumn and splitPk

Purpose of this pull request

1.Separate the relationship between incrementColumn with RestoreColumn and splitPk
2.Use keyUtil to handle data conversion between incrementColumn/splitPk/restoreColumn and StartLocation/EndLocation/state
Which issue you fix
Fixes # (issue).
Checklist:

[ ] I have executed the 'mvn spotless:apply' command to format my code.
[ ] I have a meaningful commit message (including the issue id, the template of commit message is '[label-type-#issue-id][fixed-module] a meaningful commit message.')
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have checked my code and corrected any misspellings.
[ ] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)

LGTM.


Looking for reviewers

The Relm4 team is currently looking for people that want to help with reviewing pull requests. Reviews are crucial to prevent bugs and to keep our code maintainable.
Reviews also help you to learn more about Rust, GTK, Relm4 and writing good code in general. We mark pull requests with labels to indicate the difficulty of a review to help you to find a pull request that suits you.
If you're interested, please comment below. We're happy to welcome you to our team :rocket: :relaxed:

I'm definitely interested in helping out with reviews if need be. I'm really starting to invest my applications into using Relm4, so it's beneficial to me for Relm4 to have a successful future.
If you're still looking for reviewers, are there any PRs you'd want me to look at first?

@hwittenborn thanks!
You can filter PRs by label, for example waiting-for-review-easy. There's not much to do now because I got used to merge my PRs without review, but I'd be awesome to have a reviewer for future PRs :)
Btw. you could consider joining the developer chat room of Relm4

Looks good @AaronErhardt! I'll try to give that open PR a look soon, and I'll be be interested in getting future PRs looked over :)
Looking forward to helping out!

I'd be interested in helping out, too.  I've contributed on other rust-based projects, am good on CI and development lifecycle, but am just learning GTK via Relm4.


Fixing build breaks against latest llvm.org (that can go into master).

There were changes due to the StringRef to std::string conversion, and a drop in the using for PointerUnion4 since PointerUnion is now a variadic template and will do in its place.
These changes can go straight into master, and were pulled out of https://github.com/apple/swift/pull/29799

@compnerd @JDevlieghere @smeenai

@swift-ci please test

Wrong branch, please rebase against apple/stable/20200108

What? Is it still wrong?

@JDevlieghere @compnerd Can I get a merge?


Design 'TokenCreation' Policy that guides token creation by SecurityTokenHandlers

Api's on this object would allow users to set standard items in tokens that don't change per token, modify claims, etc. A SecruityTokenHandler would have a ctor that takes such an object.

Expiration, NotBefore, IssuedAt parameters
Issuer
JWTHeader
ClaimsMapping
SecurityKeys, Algorithms

After discussion, lets forget about 5 as users can manage using the same keys per issuer.
Since we cache the JWTHeader, let's not pass it.
Defer ClaimsMapping until we work with ClaimsIdentity and Claims.

We decided to have a new base class TokenHandler that has properties:
MaximumTokenSize, TokenLifetimeInMinutes, SetDefaultTimesOnTokenCreation


core: Replace fold in @go.printf

While starting to work on #59, and thinking about #79, I thought about whether I could dispense with the fold command altogether and whether it would have an impact on Windows performance in particular.
The upshot is, the difference isn't dramatic, but since there's definitely a big performance hit and I'd prefer depending on as few external commands and subshells in general, I'm going to go ahead and commit the change. The nice feature is that the output will always be folded to the terminal width, since it no longer depends on the presence of fold.
After implementing the folding algorithm first on macOS 10.12.2, I ran the following command (with /bin for Bash 3.2, and /usr/local/bin for Bash 4.4.5) to produce a timing comparison, since ./go help builtins produces a fair amount of text printed with @go.printf:
  $ time PATH="/bin:$PATH" bash ./go help builtins

The running times didn't appear impacted at all when COLUMNS == 161. When COLUMNS == 40, the new version was very very marginally slower, O(0.004s):
  Bash 3.2.57(1)-release, new implementation without `fold`
  real    0m0.062s
  user    0m0.046s
  sys     0m0.014s

  Bash 3.2.57(1)-release, new implementation without `fold`
  real    0m0.066s
  user    0m0.051s
  sys     0m0.013s

  Bash 4.4.5(1)-release, old implementation with `fold`
  real    0m0.058s
  user    0m0.041s
  sys     0m0.013s

  Bash 4.4.5(1)-release, new implementation without `fold`
  real    0m0.062s
  user    0m0.045s
  sys     0m0.013s

On Windows 10, the results weren't super dramatic, but were generally an improvement for most Bash environments:
  Bash 4.3.46(2)-release, Git Bash from Command Prompt,
  old implementation with `fold`, COLUMNS=161
  real    0m0.156s
  user    0m0.030s
  sys     0m0.106s

  Bash 4.3.46(2)-release, Git Bash from Command Prompt,
  new implementation with `fold`, COLUMNS=161
  real    0m0.156s
  user    0m0.030s
  sys     0m0.075s

  Bash 4.3.46(2)-release, Git Bash from Command Prompt,
  old implementation with `fold`, COLUMNS=40
  real    0m0.236s
  user    0m0.045s
  sys     0m0.090s

  Bash 4.3.46(2)-release, Git Bash from Command Prompt,
  new implementation with `fold`, COLUMNS=40
  real    0m0.231s
  user    0m0.046s
  sys     0m0.153s

  Bash 4.3.46(2)-release, Git Bash,
  old implementation with `fold`, COLUMNS=161
  real    0m0.148s
  user    0m0.030s
  sys     0m0.075s

  Bash 4.3.46(2)-release, Git Bash,
  new implementation with `fold`, COLUMNS=161
  real    0m0.164s
  user    0m0.046s
  sys     0m0.107s

  Bash 4.3.46(2)-release, Git Bash,
  old implementation with `fold`, COLUMNS=40
  real    0m0.202s
  user    0m0.030s
  sys     0m0.137s

  Bash 4.3.46(2)-release, Git Bash,
  new implementation with `fold`, COLUMNS=40
  real    0m0.194s
  user    0m0.045s
  sys     0m0.091s

  Bash 4.3.48(8)-release, Cygwin Bash,
  old implementation with `fold`, COLUMNS=161
  real    0m0.135s
  user    0m0.030s
  sys     0m0.030s

  Bash 4.3.48(8)-release, Cygwin Bash,
  new implementation without `fold`, COLUMNS=161
  real    0m0.123s
  user    0m0.060s
  sys     0m0.015s

  Bash 4.3.48(8)-release, Cygwin Bash,
  old implementation with `fold`, COLUMNS=40
  real    0m0.189s
  user    0m0.076s
  sys     0m0.091s

  Bash 4.3.48(8)-release, Cygwin Bash,
  new implementation without `fold`, COLUMNS=40
  real    0m0.181s
  user    0m0.076s
  sys     0m0.046s

  Bash 4.3.11(1)-release, Windows Subsystem for Linux,
  old implementation with `fold`, COLUMNS=161
  real    0m0.093s
  user    0m0.031s
  sys     0m0.063s

  Bash 4.3.11(1)-release, Windows Subsystem for Linux,
  new implementation without `fold`, COLUMNS=161
  real    0m0.078s
  user    0m0.016s
  sys     0m0.063s

  Bash 4.3.11(1)-release, Windows Subsystem for Linux,
  old implementation with `fold`, COLUMNS=40
  real    0m0.155s
  user    0m0.016s
  sys     0m0.125s

  Bash 4.3.11(1)-release, Windows Subsystem for Linux,
  new implementation without `fold`, COLUMNS=40
  real    0m0.141s
  user    0m0.016s
  sys     0m0.109s

Coverage increased (+0.03%) to 94.284% when pulling 8dbc5ed2833bd31b8118b8fc07e33cec1f544a85 on printf-fold into b12fcb474e5a67a6517017aafd9791f77775b4f9 on master.

Coverage increased (+0.03%) to 94.284% when pulling 8dbc5ed2833bd31b8118b8fc07e33cec1f544a85 on printf-fold into b12fcb474e5a67a6517017aafd9791f77775b4f9 on master.

Coverage increased (+0.04%) to 94.293% when pulling 62057616e390fad28960c4f27421ccf3f48d0249 on printf-fold into b12fcb474e5a67a6517017aafd9791f77775b4f9 on master.

Coverage increased (+0.04%) to 94.293% when pulling 62057616e390fad28960c4f27421ccf3f48d0249 on printf-fold into b12fcb474e5a67a6517017aafd9791f77775b4f9 on master.


BZ1275325: WAS: indexing fails with ContextNotActiveException

See https://bugzilla.redhat.com/show_bug.cgi?id=1275325
Implementation of EJB was flawed; it was neither an "no interface" bean, nor a "local interface" bean.

just one comment we could add logger.debug into catch block here https://github.com/uberfire/uberfire/pull/204/files#diff-e9984cfa6dafef19bee2a91c5a06723cR67 to know the reason why it failed. As we might have some misconfiguration/library conflicts or so that will fail it on app servers while it should not be. Not a must to have but will simplify troubleshooting.
besides that looks good to me - +1

@mswiderski Logging added.

thank you

Thanks.
0.7.x: 71edcdf4462489c8bb676d745baf80f8d52b982e


Remove RewriteRules

One could simply dump pdns 1.0 into some webserver directory and it worked. Now it can only run standalone, as the only site on that webserver, because of that rewrite-stuff and aliases.
This change has made pdns manager unuseable in most cases. Who runs pdns as the only site on their webserver? No one.

I'm a bit confused by this issue. It currently requires its own domain, but not its own complete webserver. Here it's running just fine on a subdomain. A subfolder would require changes to at least the RewriteRules to include the subfolder, and perhaps /api* stuff is hardcoded and then that might yield issues, but I don't expect any problems on subdomains, just subfolders.


Remove n_samples attribute from QulacsSimulator.

I do question why the coverage dropped. Based on the report, get_exact_expectation_values is no longer tested. I assume this is dependent on the way expectation values are calculated under the hood during the interface tests. Perhaps we should add tests for this method to the QuantumSimulatorTests in z-quantum-core.
Approving anyway since this is not directly impacted by this PR, but would make sense to incorporate these tests at some point.


Reverse DNS Resolution Processor

Would a DNS resolution processor be a good fit for Benthos?
Specifically IP Address -> Hostname resolution
This is a common use case for a few tools I've used in the past to provide quick enrichment of plain IP addresses addresses in logs. Ideally, it would be able to take advantage of a configurable local caching mechanism to reduce outbound DNS requests for successful and failed requests for a specified duration/cache size.
This is a telegraf example that accomplishes the same: https://github.com/influxdata/telegraf/tree/master/plugins/processors/reverse_dns

Hey @newlandk, that sounds like a reasonable addition. It would be cool to add this to bloblang so that you could easy do assignments, but we don't have any existing methods/functions that do network calls so we'd need to think about how that might impact mappings.
Error handling should be fine as we can easy add parameters for various aspects of it, it'd look something like this:
root.foo = this.bar.reverse_dns(timeout: "2s").catch("UNKNOWN")

That would make assignments a lot simpler... 😄
After thinking about this a little bit more I find myself trying to explain a way that would use existing cache capabilities... and could be completely crazy, but here's a configuration that explains something I was pondering.
---
cache_resources:
  - label: dns_leveled_cache
    multilevel: [hot_cache, redis_cache]

  - label: hot_cache
    memory:
      ttl: 3600s

  - label: redis_cache
    redis:
      url: redis://localhost:6379
      kind: cluster
      expiration: 3600s
      retries: 3
      retry_period: 500ms

processors:
  - branch:
      processors:
        - dns_lookup:
            cache_resource: dns_leveled_cache
            servers:
              - <IP_ADDRESS>
              - <IP_ADDRESS>
            lookup_type: ptr
            key: '${! json("ip_address.v4") }'
      result_map: 'root.hostname = content().string()'

I'm still trying to get more familiar with the tool and code, so I'm not sure how feasible or if this is the right way to use cache resources. I am thinking from the perspective of future extensibility of a DNS lookup tool to provide other resources, like hostname to IP, was what I was thinking with regards to the processor vs. bloblang.
Thoughts?


Also allow config parameters to pass as args for real-time extraction and png-extraction

Follow approach similar to #38.

The frontend module is likely going to avoid the need for this.


Property 'opening' does not exist on type 'typeof ChannelState'.

Getting this when running serve:
ERROR in /Users/taleldayekh/Desktop/lc-test/light-client/raiden-dapp/src/components/navigation/Channels.vue(115,40):
115:40 Property 'opening' does not exist on type 'typeof ChannelState'.
    113 |       channel =>
    114 |         channel.state === ChannelState.open ||
  > 115 |         channel.state === ChannelState.opening
        |                                        ^
    116 |     );
    117 |   }
    118 |
Version: typescript 3.8.3
Time: 14592ms

Originally posted by @taleldayekh in https://github.com/raiden-network/light-client/pull/1469#issuecomment-624129563

@taleldayekh Is this reproducible?

The branch where this occurred was not synced with master, and the branch didn't touch anything related with ChannelState
I would assume it should be fine on staging

I didn't experience this on staging. Closing.


Is it possible to work with POINT structure?

I have a point column in my PostgreSQL database. Is it possible map this column to mapped class property?

Well, I used workaround with jsonb.


Add LLVMGPU transform to rewrite scf.foreach_thread to gpu.thread + translation_info attr.

(Please use more descriptive PR titles when pushing to the main repo - everyone sees these :)

Yep - everything in the repo will show on discord and on github dashboard for anyone subscribed to the repo:

(this showed up, but got renamed when you mentioned me)
IOW, all shame is public when pushed to the repo, so best to treat everything you do as fully visible unless it's in your fork :)

I see, thanks @benvanik !


Add Kanboard integration

Adds Kanboard integration for the Toggl button. Tested on the latest versions of Google Chrome and Kanboard.
Related: #329

Hi @islamelnabarawy and thanks for your work. I tried with Chrome, and it loads on my kanboard page (enabled access in options) but I don't see any button.
It would be awesome to have this integration. Wouldn't it better to integrate in Kanboard directly? This way it would work also in Firefox.
See:
https://github.com/kanboard/kanboard/issues/1663
https://github.com/kanboard/kanboard/issues/1260

@SergiArias : Thank you for your comment. Please see the examples below for where the button should show up:
On the task page:

On task lists:

On the dashboard:

I haven't tested it on Firefox, but it should still work on the FF version of the plugin. I didn't like the way the plugin inside Kanboard works because you need to use Kanboard itself to log the time and then upload the entries to Toggl, but I prefer the way Toggl works for logging time more and it integrates well with the rest of my workflow.

P.S. I've installed this plugin on multiple systems now and it works equally well. Tested on both Windows and Ubuntu Linux.

Thanks @islamelnabarawy!! It worked, but there is a bug. If the start date has already started the button doesn't show:

Regarding Firefox, it doesn't allow unsigned plugins to be enabled :(
I prefer the simplicity of Toggl as well, but I would love to use the task statistics and estimation in KB that's why an integration would be awesome. Do you think it's worth? Do you know how to do it? Maybe I can help in some way?

Thanks @SergiArias. I fixed the issue when the task start date is set, it should work now.
Although the repo was deleted, you can still download the zip file or the plugin from your first link: https://github.com/kanboard/kanboard/issues/1663. You can use that as a starting point and add any additional functionality if you wish. I personally don't have experience working with kanboard plugins, and the Toggl button integration is enough for my needs.

Any updates about this PR? Has anyone from Toggl had a chance to review this yet?


MAINT: prepare LTS branch for SciPy 1.2.3

Hopefully we never need a 1.2.3 LTS, but just in case.

Thanks Tyler.