[stable/ghost] Add option for external database port number

Add option to stable/ghost for setting the port number of external database. Default is 3306. If MariaDB chart is enabled then port is also set to 3306._

a new comment :)

/assign @prydonius

@juan131 I've changed it so that MARIADB_PORT_NUMBER is only set when internal MariaDB is disabled and externalDatabase.port is set

Great thanks @flojon !

/ok-to-test

/lgtm

/ok-to-test

Thanks for the contribution, before continue, you should increment the chart version in the Chart.yml because during the review process a new version was merged.

@carrodher Ok, I bumped the version but now there is a merge conflict instead... :(

Hi @flojon
Could you simple rebase your branch from master and solve the conflicts?

/lgtm


Makes maybeLoadVCF private.

Related to discussion in #553.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/552/Build result: ABORTEDGitHub pull request #555 of commit c92d09e10cb4df860b2eb6c0e2e90dae50f937b7 automatically merged.[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/555/merge^{commit} # timeout=10Checking out Revision db2e7898c06ce479b330f430ebb368cfd21c25ef (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f db2e7898c06ce479b330f430ebb368cfd21c25ef > git rev-list d8e02d9f8f96c10595d575b7d0c5729f61cd8edc # timeout=10Triggering ADAM-prb ? 2.3.0,centosTriggering ADAM-prb ? 2.2.0,centosTriggering ADAM-prb ? 1.0.4,centosADAM-prb ? 2.3.0,centos completed with result SUCCESSADAM-prb ? 2.2.0,centos completed with result ABORTEDADAM-prb ? 1.0.4,centos completed with result SUCCESS
Test FAILed.

Jenkins, test this please.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/561/
Test PASSed.

Thanks, Frank!


Update free-courses-hi.md

What does this PR do?
Add resource(s)
For resources
Added C language lectures in Hindi.
Why is this valuable (or not)?
Yes, it is valuable.
How do we know it's really free?
It is available on YouTube.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

@eshellman Please merge my pull request.

@eshellman Please merge this pull request.

Thanks, and welcome to free-programming-books!


Setting KC too high locks up RuneLite for duration of calculation

Setting drop rate to 1/1000, KC to 3,000,000 and drops to 0 prevents any interaction with the client for approximately 5 seconds. Setting KC to 10,000,000 locks up the client for 30 seconds. This is on an AMD R5 5600.
If deprioritizing the calculation so it doesn't take precedence over the rest of the client functions is possible, that would be ideal. Otherwise, maybe you could put a cap on the KC input, or stop the calculation after reaching however many digits of precision.

fixed in next version


Setting cloud_RoleName

AI now has better support for differentiating different roles (application components, or microservices), e.g. in Application Map.
In web application, I can set it with TelemetryInitializer or directly on the TelemetryClient.Context.Cloud.RoleName. But for the logging adapters, I don't find a way to set it.

@qrli you still can use telemetry initializers. Initializer will apply to every telemetry item inclucluding trace collected by logging adaptor.

Please re-open if you need more details or clarifications


'unable to initialize sasl' exception when connects kerberized Kafka.

config.yaml:

kafka:
brokers: [<IP_ADDRESS>:21007]
clientId: "kminion"
rackId: ""
tls:
enabled: false
caFilepath: ""
certFilepath: ""
keyFilepath: ""
passphrase: ""
insecureSkipTlsVerify: false
sasl:
# Whether or not SASL authentication will be used for authentication
enabled: true
# Username to use for PLAIN or SCRAM mechanism
username: ""
# Password to use for PLAIN or SCRAM mechanism
password: ""
# Mechanism to use for SASL Authentication. Valid values are PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI
mechanism: "GSSAPI"
# GSSAPI / Kerberos config properties
gssapi:
authType: "KEYTAB_AUTH"
keyTabPath: "C:\user.keytab"
kerberosConfigPath: "C:\krb5.conf"
serviceName: "kafka"
username: "qdgakk"
password: ""
realm: "BOTECH.COM"

Debug Info:

{"level":"info","ts":"2021-06-02T14:54:33.297+0800","msg":"started kminion","version":""}
{"level":"info","ts":"2021-06-02T14:54:33.311+0800","msg":"connecting to Kafka seed brokers, trying to fetch cluster metadata","seed_brokers":"<IP_ADDRESS>:21007"}
{"level":"debug","ts":"2021-06-02T14:54:33.311+0800","msg":"opening connection to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.315+0800","msg":"kafka connection succeeded","source":"kafka_client_hooks","host":"<IP_ADDRESS>","dial_duration":0.0037961}
{"level":"debug","ts":"2021-06-02T14:54:33.315+0800","msg":"connection opened to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.316+0800","msg":"issuing api versions request","source":"kafka_client","broker":-2147483648,"version":3}
{"level":"debug","ts":"2021-06-02T14:54:33.317+0800","msg":"wrote ApiVersions v3","source":"kafka_client","broker":-2147483648,"bytes_written":33,"write_wait":0,"time_to_write":0.0005889,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.319+0800","msg":"read ApiVersions v3","source":"kafka_client","broker":-2147483648,"bytes_read":14,"read_wait":0,"time_to_read":0.0020606,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.319+0800","msg":"kafka does not know our ApiVersions version, downgrading to version 0 and retrying","source":"kafka_client","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.319+0800","msg":"issuing api versions request","source":"kafka_client","broker":-2147483648,"version":0}
{"level":"debug","ts":"2021-06-02T14:54:33.319+0800","msg":"wrote ApiVersions v0","source":"kafka_client","broker":-2147483648,"bytes_written":21,"write_wait":0,"time_to_write":0,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.325+0800","msg":"read ApiVersions v0","source":"kafka_client","broker":-2147483648,"bytes_read":218,"read_wait":0,"time_to_read":0.0050713,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.328+0800","msg":"beginning sasl authentication","source":"kafka_client","broker":-2147483648,"mechanism":"GSSAPI","authenticate":false}
{"level":"debug","ts":"2021-06-02T14:54:33.438+0800","msg":"issuing raw sasl authenticate","source":"kafka_client","broker":-2147483648,"step":0}
{"level":"error","ts":"2021-06-02T14:54:33.443+0800","msg":"unable to initialize sasl","source":"kafka_client","broker":-2147483648,"err":"EOF"}
{"level":"debug","ts":"2021-06-02T14:54:33.443+0800","msg":"connection initialization failed","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648,"err":"EOF"}
{"level":"debug","ts":"2021-06-02T14:54:33.444+0800","msg":"kafka broker disconnected","source":"kafka_client_hooks","host":"<IP_ADDRESS>"}
{"level":"debug","ts":"2021-06-02T14:54:33.530+0800","msg":"opening connection to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.534+0800","msg":"kafka connection succeeded","source":"kafka_client_hooks","host":"<IP_ADDRESS>","dial_duration":0.0025582}
{"level":"debug","ts":"2021-06-02T14:54:33.534+0800","msg":"connection opened to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.536+0800","msg":"issuing api versions request","source":"kafka_client","broker":-2147483648,"version":3}
{"level":"debug","ts":"2021-06-02T14:54:33.537+0800","msg":"wrote ApiVersions v3","source":"kafka_client","broker":-2147483648,"bytes_written":33,"write_wait":0,"time_to_write":0,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.541+0800","msg":"read ApiVersions v3","source":"kafka_client","broker":-2147483648,"bytes_read":14,"read_wait":0,"time_to_read":0.0041925,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.541+0800","msg":"kafka does not know our ApiVersions version, downgrading to version 0 and retrying","source":"kafka_client","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.541+0800","msg":"issuing api versions request","source":"kafka_client","broker":-2147483648,"version":0}
{"level":"debug","ts":"2021-06-02T14:54:33.542+0800","msg":"wrote ApiVersions v0","source":"kafka_client","broker":-2147483648,"bytes_written":21,"write_wait":0,"time_to_write":0,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.545+0800","msg":"read ApiVersions v0","source":"kafka_client","broker":-2147483648,"bytes_read":218,"read_wait":0,"time_to_read":0.0020165,"err":null}
{"level":"debug","ts":"2021-06-02T14:54:33.545+0800","msg":"beginning sasl authentication","source":"kafka_client","broker":-2147483648,"mechanism":"GSSAPI","authenticate":false}
{"level":"debug","ts":"2021-06-02T14:54:33.545+0800","msg":"issuing raw sasl authenticate","source":"kafka_client","broker":-2147483648,"step":0}
{"level":"error","ts":"2021-06-02T14:54:33.552+0800","msg":"unable to initialize sasl","source":"kafka_client","broker":-2147483648,"err":"EOF"}
{"level":"debug","ts":"2021-06-02T14:54:33.552+0800","msg":"connection initialization failed","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648,"err":"EOF"}
{"level":"debug","ts":"2021-06-02T14:54:33.552+0800","msg":"kafka broker disconnected","source":"kafka_client_hooks","host":"<IP_ADDRESS>"}
{"level":"info","ts":"2021-06-02T14:54:33.765+0800","msg":"received a signal, going to shut down KMinion"}
{"level":"debug","ts":"2021-06-02T14:54:33.765+0800","msg":"opening connection to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648}
{"level":"debug","ts":"2021-06-02T14:54:33.767+0800","msg":"kafka connection failed","source":"kafka_client_hooks","broker_host":"<IP_ADDRESS>","error":"dial tcp <IP_ADDRESS>:21007: operation was canceled"}
{"level":"warn","ts":"2021-06-02T14:54:33.768+0800","msg":"unable to open connection to broker","source":"kafka_client","addr":"<IP_ADDRESS>:21007","broker":-2147483648,"err":"dial tcp <IP_ADDRESS>:21007: operation was canceled"}
{"level":"fatal","ts":"2021-06-02T14:54:33.771+0800","msg":"failed to test connectivity to Kafka cluster","error":"failed to request metadata: unable to dial: dial tcp <IP_ADDRESS>:21007: operation was canceled"}

Do you know how I can avoid this exception? Appreciate

Hey @wangqinghuan , I noticed you created an issue in franz-go directly. I'll close this issue here and we'll track it in the franz-go repo instead.


Best way to capture rtsp stream, recognising with width

I'm trying to capture frames from a stream of an h264 camera, first reading into a Numpy array then just writing/showing the frame. ffprobe shows that the camera is 1920x1080, so put in the variables of width and height. This code doesn't write a 'single frame' but would write last part of one frame joined with the first part of the next frame.
import cv2
import numpy as np
import ffmpeg

packet_size = 4096
width = 1920
height = 1080
out_path = '/home/dev'
count = 0

cv2.namedWindow('frame', cv2.WINDOW_AUTOSIZE)

process1 = (
    ffmpeg
        .input('rtsp://uri:port/Channels/101')
        # .output('pipe:', format='h264')
        .output('pipe:', format='rawvideo', pix_fmt='rgb24')
        .run_async(pipe_stdout=True)
)

while process1.poll() is None:
    count += 1
    in_bytes = process1.stdout.read(width * height * 3)
    if not in_bytes:
        break
    in_frame = (
        np
            .frombuffer(in_bytes, np.uint8)
            .reshape([height, width, 3])
    )
    cv2.imwrite(f'{out_path}/{count}.jpg', in_frame)
    cv2.imshow('frame', in_frame)

    k = cv2.waitKey(0)

cv2.destroyAllWindows()

Right now, we have a python thread which captures camera through standard cv2 methods like this:
cap = cv2.VideoCapture('rtsp://url')
ret, frame = cap.read()

So, what is the best way to replace cv2 and use FFmpeg to capture the stream in real-time.

how can you capture the image for every 1 minute up until 24 hours?


no test for plot_raster

it also has some issues, like the docstring isn't properly formatted and there is a somewhat arbitrary selection of color palette from seaborn in the middle. i suggest adding an argument for colors.

Reorder input data dimensions to put the time dimension first. It is currently (n_trials, n_neurons, n_timebins) and should be (ntime, nchannel, ntrials).

Add an example figure in the docstring. View other functions in the visualization module for examples.

What should cue_bin be set to if plot_cue=False?


Fix a typo in r-base README

tiny typo

As part of a Chainguard effort to reduce code duplication and provide higher quality images, we have stopped accepting pull requests for changes to images in this repository. Due to this, we are closing all pull requests today in order to start fresh.
If you think this pull request was closed in error, please feel free to re-open this pull request or open an issue and we will try to help you out. Thank you!


feat: switch eu-de-1 to PER and update PER DC list to include sao04, wdc07, mad02, eu-de-1, eu-de-2 and mad04.

Description
switch eu-de-1 to PER and update PER DC list to include sao04, wdc07, mad02, eu-de-1, eu-de-2 and mad04.
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v1.6.0

Your semantic-release bot :package::rocket:


Style for CTA section

Fix #41
Test URLs:

Before: https://main--delta--hxsites.hlx.page/us/en/skymiles/how-to-earn-miles/overview
After: https://issue-41--delta--hlxsites.hlx.page/us/en/skymiles/how-to-earn-miles/overview

Note: This PR also has a fix for buttons "DISCOVER ALL CARDS" and "Benefits Terms"

It seems my work on the references have leaked into that button as I see a small tag being added. I'll have a look today and try to fix that.
I think we can probably style the button as "bold" in the doc and mark it as cta variant in the button decoration.
So we essentially have 3 button variants:

regular => .button
bold => .button.cta
italic => .button.secondary

@ramboz , I saw the main branch for this site, and seems the buttons are already in place based on your changes. Shall I close this PR?

@asthabh23 I styled the buttons alone, but haven't looked at the spacing/margin for the cta section (that david decorated with the eyebrow class already). There might be some adjustments needed.

@asthabh23 I took the liberty to update this PR during your sick leave with the changes I had already committed for the buttons, and also fixed the eyebrow decoration from David. Happy to discuss and revisit this once you are back


[C++][Parquet] an't read past first page in a column

Building the code as of 2/14/2015 and adding the obvious three lines of code to serialized-page.cc to enable the newly added CompressionCodec::GZIP:
     case parquet::CompressionCodec::GZIP:
       decompressor_.reset(new GZipCodec());
       break;

I try to run the parquet_reader example on the column I'm about to attach, which was created by Apache Spark 1.5.0. It works surprisingly well until it hits the end of the first page, where it dies with

Parquet error: Value was non-null, but has not been buffered

I realize you may be reluctant to look at this because (a) the GZip support is new and (b) I had to modify the code to enable it, but actually things seem to decompress just fine (congratulations: this is awesome!): looking at the problem in the debugger and tracing through a bit it seems to me like the buffering is a bit screwed up in general – some kind of confusion between the buffering at the Scanner and Reader levels. I can reproduce the problem by reading through just a single column too.
It fails after 128 rows, which is suspicious given this line in column/scanner.h:
    DEFAULT_SCANNER_BATCH_SIZE = 128;

Environment: Ubuntu Linux 14.04 (no obvious platform dependence), Parquet file created by Apache Spark 1.5.0 on the same platform.
Reporter: Spiro Michaylov
Assignee: Deepak Majeti](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mdeepak) / @majetideepak
Original Issue Attachments:

part-r-00031-e5d9a4ef-d73e-406c-8c2f-9ad1f20ebf8e.gz.parquet

Note: This issue was originally created as PARQUET-531. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Thanks [~spirom] for having a look! This is a pretty active construction site at the moment so bear with us – @majetideepak is working on the column reader/scanner code path with multiple data pages. We'll take a look at your data and make sure it can be scanned properly once this work is completed in the next several days

Wes McKinney / @wesm:
Do you have a time estimate for these patches (for my own planning)?

Wes McKinney / @wesm:
@majetideepak I just tried reading this file after PARQUET-515 and PARQUET-523 were applied and it appears the bug lies in the Scanner, so we can leave this open until we have a test case reproduction

Deepak Majeti / @majetideepak:
This will be resolved by the upcoming patches for PARQUET-526 and PARQUET-532

Spiro Michaylov:
This is a single shard of an HDFS/Parquet output from Apache Spark 1.5.0 – just hit it with parquet_reader after enabling GZip decompression.

Deepak Majeti / @majetideepak:
I will work with @asandryh and try to push them by tomorrow or this weekend.

Deepak Majeti / @majetideepak:
@wesm I will look into this once the PARQUET-499 patch is completed. Looks like some variables are not being re-initialized in the scanner.

Wes McKinney / @wesm:
This was fixed in https://github.com/apache/parquet-cpp/pull/62. I verified that invoking parquet_reader on the attached file now prints the contents without failing. Thank you!

Wes McKinney / @wesm:
See PARQUET-523 and PARQUET-515 for the relevant issues


Show user even when add new user is cancel

Expected behavior:
Should not show user when add user is cancel
Actual behavior:
User is being shown even if you cancel add user
Steps to reproduce:

Run HR locally with CouchDB v1.6.1
Log in as System Administrator
Go to Administrator > Users
Click + new user and cancel it
See a new user from User Listing

Screenshots (if applicable):

OS and Browser:
OS X 10.11.6
Chrome Version 53.0.2785.143 (64-bit)

Hi, I would like to take up this issue. @tangollama

@kartik95 It's yours.  Thanks for pitching in!

I have a doubt, siince documentation is not present in each file (which I would strongly recommend to have). In the 'edit-panel.hbs' component, what is the difference between cancelButtonText and cancel? Anyways, both are performing the same action 'cancel'.

Also, can anyone make me go through the workflow? It is kind of difficult to get it without the documentation.

@kartik95 Perhaps we could fix the problem in either of the two ways:

only displaying the persistent records in the index action, or
pruning unsaved records when leaving the new action.

My personal preference is the latter, which is removing the unsaved new records. But I can be wrong since I'm also new to Ember.

@kartik95 the reason for the two is that you can override what text appears for the cancel button on an edit screen by setting the cancelButtonText in your controller.  In the case of the edit controller for the user edit screen, it is extending app/controllers/abstract-edit-controller which defines cancelButtonText as a computed property that displays either Cancel or Return depending on the state of the data model.
As far as this issue is concerned, I took a look at it and it turns out it is an issue with a with edit-panel component.  I'll unpack it below.

@kartik95  So here is what is happening.  I'll try to go into some detail, so forgive me if some of this information is obvious.  The user edit route is defined here:
https://github.com/HospitalRun/hospitalrun-frontend/tree/master/app/users/edit
If you take a look at the template for this route:
https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/users/edit/template.hbs
You will see that the whole thing is wrapped in a component, edit-panel.  That component defines the buttons and corresponding actions to fire when clicking on those buttons.  So if we look at the code for the edit-panel component here: https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/components/edit-panel.js
Here is the code for the cancel action:
    cancel: function() {
      this.sendAction('editPanelProps.cancelAction');
    },

So what ends up happening is that editPanelProps.cancelAction fires - but what is that?
It turns out that the controller for the user edit/add extends:
https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/controllers/abstract-edit-controller.js
That controller includes a mixin:
https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/mixins/edit-panel-props.js
This mixin basically pulls attributes off of the controller and packages them up in an object to pass along to the edit-panel component.
The abstract-edit-controller defines cancelAction as cancelAction: 'allItems', and that is what ends up getting passed along to the edit-panel component.  allItems goes back to the index page, but the problem is a rollback on the model should happen before that action fires.  It turns out that the abstract-edit-controller has an action cancel that does this rollback and then calls the cancelAction, which is what should be called instead of allItems
https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/controllers/abstract-edit-controller.js#L85
At the root of the problem here is the overloading of cancelAction.  The edit-panel component really shouldn't pull in the cancelAction from editPanelProps and in fact editPanelProps shouldn't carry cancelAction in it at all.  I'll add another comment with the TLDR changes required.

@kartik95 Here is the TLDR of what needs to be fixed here:

In https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/components/edit-panel.js
a) Add the following here: https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/components/edit-panel.js#L3:

  cancelAction: 'cancel',

b) Change https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/components/edit-panel.js#L7 to:
this.sendAction('cancelAction');

In https://github.com/HospitalRun/hospitalrun-frontend/blob/master/app/mixins/edit-panel-props.js all references to cancelAction should be removed (lines 5, 17, 27).

Let me know if this makes sense

You pretty much explained the whole issue. Thanks a lot :smile:
I'll get to it. Also, will this issue carry a 'Hacktoberfest' label?

Fixed the bug. PR #729

@kartik95 thanks for contributing.  I added the hacktoberfest label.


Issue-706 Added port check to quickstart

Added ability to set listener bind port
Added tests for new port variable
Fixed bug in quickstart test
Fixed typo in quickstart test
fixed bug in quickstart env file test
closes #706

I would like to better understand the rules for committing go.mod and go.sum changes.


Menu bar not visible, toggling does nothing

Prerequisites

[x ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
There is no menu bar. Unable to toggle it on.
Tried:

Toggling menu bar with ALT key
checked keybindings for ALT. There are none. But that is normal, right?
CTRL-SHIFT-P, select "Window:Toggle menu bar". Says "Menu bar hidden. To toggle, press the Alt key or execute the window:toggle-menu-bar command". Again,  CTRL-SHIFT-P, select "Window:Toggle menu bar". Nothing happens.
Disabling "Auto hide menu bar"
Title Bar set to "native" and "hidden"
--safe mode
--clear-window-state
renaming .atom folder
checked for  incompatible-packages. there are none
--disable-gpu

Versions
Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1
Ubuntu 20.04.3 LTS 64 bit
Gnome 3.36.8 / X11

Nothing is logged in the console when toggling the menu bar.
Also, when "Title Bar" is set to "hidden" there are no window controls for closing, maximizing, or minimizing. Related?

Fortunately the menus are back. Unfortunately I have no idea what changed.
I stopped using Atom since the problem began.  Then I tried opening it again today and they were back,
I'll keep this open for a while in case the problem happens again.

Same issue here with Fedora35 and KDE. For other applications the key ALT works fine. Other hotkey for atom involving ALT are also working. Any help is welcome.


Prevent duplicate requests

Instantsearch sends multiple duplicate requests to fetch results when first loading the search page using instantMeilisearch and it seems to happen with this component using the more with the useRefinementList hook. Instantsearch with algolia has an option to deduplicate requests using request cache but I can't find similar functionality with Meilisearch.
I'm using the newest versions of react-instantsearch and instant-meilisearch.
Does anyone know how to fix this because I've tried just about everything. Thanks!!
function XRefinementList({
  attribute,
}: {
  attribute: string;
}) {
  const { items, refine } = useRefinementList({
    attribute: attribute,
    sortBy: ["count:desc", "name:asc"],
  });

  return (

      {items.map((item) => (

          <button
            type="button"
            onClick={() => {
              refine(item.value);
            }}
            disabled={item.count === 0}
          >
            {item.label}
          </button>

      ))}

  );
}

Hi @chrissshh thanks for the report!
Our time has been very compromised these last months, and we decided not to do support in the issues sections of our integrations repositories.
But you're not alone! We have a very active community on discord that you could ask, and I'm sure someone will help you out!
Thanks for your comprehension!
Cheers'


feat: Allow non hardcoded vault

What this PR changes/adds
Adds 2 settings to configure a custom azure vault.
Why it does that
For black-box testing.
Linked Issue(s)
Closes https://github.com/eclipse-edc/Technology-Azure/issues/16

Rebased on latest main.

@ununhexium can you please update the DEPENDENCIES file? the easiest way is to copy the output of the failing check, specifically the one between
=== Please copy the following content back to DEPENDENCIES ===

and
=== end of content ===

into the file. do not forget the newline at the end of the file though!


Multiple pipelines with xpack management not working

I have Logstash in Kuberenetes (abbreviated config shown):
      containers:
      - name: logstash
        image: docker.elastic.co/logstash/logstash:6.2.3
        env:
          - name: XPACK_MANAGEMENT_PIPELINE_ID
            value: "infosec-cloudtrail"
          - name: XPACK_MANAGEMENT_ENABLED
            value: "true"

When executing, this creates a logstash.yml with the following (observed with kubectl exec logstash ...):
xpack.management.pipeline.id: infosec-cloudtrail,beats

This seems incorrect, I think it should use a list in YAML syntax:
xpack.management.pipeline.id: [ "infosec-cloudtrail", "beats" ]

I don't know if we have any automated way of telling env2yaml that a given setting is an array.

I'm going to work around this by shipping my own logstash.yml (mainly because it'll be simpler in k8s because every ENV var in k8s is minimum 2 yaml lines (often 5 if using a secret).

It looks like it works if you pass a string that is a valid YAML array.
$ IMAGE=docker.elastic.co/logstash/logstash:6.2.3
$ CMD='cat /usr/share/logstash/config/logstash.yml'
$ docker run \
>   -e xpack.management.enabled=true \
>   -e xpack.management.pipeline.id='[custom,extra]' \
>   $IMAGE $CMD

2018/11/06 00:11:34 Setting 'xpack.management.enabled' from environment.
2018/11/06 00:11:34 Setting 'xpack.management.pipeline.id' from environment.
http.host: <IP_ADDRESS>
xpack.management.enabled: true
xpack.management.pipeline.id:
- custom
- extra
xpack.monitoring.elasticsearch.password: changeme
xpack.monitoring.elasticsearch.url: http://elasticsearch:9200
xpack.monitoring.elasticsearch.username: logstash_system

I'm still confused about where the beats pipeline ID came from, though.

docker-compose:
# grep -i pipeline.id docker-compose.override.yml
                        - XPACK_MANAGEMENT_PIPELINE_ID=["pipelineA","pipelineB","pipelineC","pipelineD","pipelineE","pipelineF"]
#


Update of the links for Angular Documentation

Previous link was "PAGE NOT FOUND"

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed this PR because user deleted their repo.


wrangler.s3.read_parquet() fails when parquet file contains � character

Describe the bug
I have a parquet file with a field value that contains the � character.  When I call wrangler.s3.read_parquet(), the following error is thrown:
pyarrow.lib.ArrowException: Unknown error: Wrapping CAPITAL � SERVICE failed
In tracing through this error, I see that it occurs in pandas core StringDtype.__from_arrow__, which pyarrow calls, which is called by wrangler.
Requesting guidance on how to read a file with this character inside it and if wrangler can make a change to fix this error.
How to Reproduce
Call wrangler.s3.read_parquet() on a parquet file containing the � character.
Expected behavior
The pandas data frame is populated with the full contents of the parquet file, including the � character.
Your project
No response
Screenshots
No response
OS
Linux/Windows
Python version
3.7.7
AWS DataWrangler version
2.14.0
Additional context
pyarrow v6.0.1
pandas v1.3.5

Something is off with character encoding in your parquet file. � usually means it's an unknown character when you attempt to decode with wrong encoding. Would be great if you would help to reproduce the issue i.e. -- when everything is UTF it works out just fine:
import awswrangler as wr
import pandas as pd

path = "s3://.../df.parquet"

df = pd.DataFrame({"i": [1, 2, 3], "j": ["a", "b", "�"]})
wr.s3.to_parquet(df, path)
df2 = wr.s3.read_parquet(path)
df2

Out[38]:
   i  j
0  1  a
1  2  b
2  3  �

Thanks for the response.  Can I send you a parquet file with the offending data?

Would you be able to reproduce it using pandas like above? I'm afraid due to security reasons I wouldn't be able to accept a file

Closing due to inactivity


uninitialized constant Rodauth::Rails::Feature (NameError)

Hi! @janko  I have rails 8.0.1, ruby 3.3.6 and SolidQueue
when trying to send an email (for example during registration) an error appears asynchronously
uninitialised constant Rodauth::Rails::Feature (NameError)
but for example if try the same thing through the rails console everything works fine
I tried both version 1 and 2 of rodauth-rails
do you have any idea what it could be? Thanks

I couldn't reproduce it in a fresh Rails 8 app with Solid Queue. Could you create a minimal Rails app reproducing the issue?

Also, could you provide a full backtrace of the error? I believe setting BACKTRACE=1 env variable when running the bin/jobs process should do it.

Unfortunately logs are not shown in console but they are shown in mission_control-jobs
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/inflector/methods.rb:290:in `constantize'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/string/inflections.rb:74:in `constantize'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/actionmailer-8.0.1/lib/action_mailer/mail_delivery_job.rb:36:in `mailer_class'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/actionmailer-8.0.1/lib/action_mailer/mail_delivery_job.rb:41:in `handle_exception_with_mailer_class'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/rescuable.rb:94:in `call'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/rescuable.rb:94:in `rescue_with_handler'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/rescuable.rb:167:in `rescue_with_handler'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:53:in `rescue in perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:45:in `perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/solid_queue-1.1.0/app/models/solid_queue/claimed_execution.rb:95:in `execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/solid_queue-1.1.0/app/models/solid_queue/claimed_execution.rb:61:in `perform'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/solid_queue-1.1.0/lib/solid_queue/pool.rb:23:in `block (2 levels) in post'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/solid_queue-1.1.0/lib/solid_queue/app_executor.rb:7:in `wrap_in_app_executor'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/solid_queue-1.1.0/lib/solid_queue/pool.rb:22:in `block in post'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/future.rb:55:in `block in execute'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/Users/user/.rbenv/versions/3.3.6/lib/ruby/gems/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'

So, it's erroring when it's trying to resolve the mailer class. This doesn't make sense to me, because loading the mailer class shouldn't attempt to load Rodauth, everything should be lazy-evaluated. Do you have a standard Rodauth mailer? Were you able to reproduce the error in fresh Rails app?

So, it's erroring when it's trying to resolve the mailer class. This doesn't make sense to me, because loading the mailer class shouldn't attempt to load Rodauth, that should only happen when a mailer method is called. Do you have a standard Rodauth mailer? Were you able to reproduce the error in fresh Rails app?

I tried repeating on a completely new rails 8 application, the error is the same

Could you share one and tell me the reproduction steps? Maybe I did something differently.

Could you share one and tell me the reproduction steps? Maybe I did something differently.

rails new test_app
bin/rails solid_queue:install
used Single database configuration for solidqueue
added config.active_job.queue_adapter = :solid_queue
rails generate rodauth:install
rails generate rodauth:views
rails s
bin/jobs

Thanks, I didn't realize this was happening with the default mailer, now the error makes sense 👍🏻 I will push a fix shortly.


Port tests for changes to types to expect tests

This PR is wip.
Closes #31

While running tests or building the following change is made in api-watch.opam file:
-  "ppx_expect" {>= "v0.14.2" & with-test}
+  "ppx_expect" {with-test}

Also to check whether I am moving in the right direction, I created only one signature for the following .mli file
type t = int

I am not able to make Ident.t identifier for the signature. I checked out Ident.ml but getting this error
File "tests/api-watch-diff/test.ml", line 14, characters 10-16:
14 |         ( Global "t",
               ^^^^^^
Error: Unbound constructor Global

@NathanReb tests for adding and removing are working fine, but the test for modifying type doesn't recognize any changes in the signature. Is something wrong with my signature?

@harshey1103 I noticed that you haven't implemented the value signature in your PR and since that was my job, you can refer to the implementation here.

Hello again!


Added my name into Readme.md file

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

When my changes will be reflected in the main repo??

When my changes will be reflected in the main repo??

After getting merged, it will be visible in the main repo.
It can be merged by tommorow.

If i want to create a new PR do I need to wait till the last one gets marged??

If i want to create a new PR do I need to wait till the last one gets marged??

no you don't need to wait this PR to get merged.
undo the changes again

and follow the above msg
if you need any help, let us know..

Now eveything seems fine white_check_mark
Don't touch this PR for now till it get merged

go to main
create new branch from main
start working on that branch
add that file to the git
commit those changes
create PR
done white_check_mark

Realy Thank you for being patient with me. Sorry to keep messing with the PR this is my first time.

Now eveything seems fine white_check_mark
Don't touch this PR for now till it get merged

go to main
create new branch from main
start working on that branch
add that file to the git
commit those changes
create PR
done white_check_mark

Realy Thank you for being patient with me. Sorry to keep messing with the PR this is my first time.

My Pleasure,
Nah, no need to be sorry, that was your first time, first timers sometimes do mistakes. and that's good, they learn and they improve their mistakes over the time.
Keep contributing 🚀


Fix typo in 0001_js_mse_eme_mvt.patch

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 6 files pending identification.


Revert "chore(dns-record): change accounts CNAME records targets to status.jenkins.io"

Reverts jenkins-infra/azure-net#98

Terraform will perform the following actions:

  # azurerm_dns_cname_record.jenkinsciorg_target_public_publick8s["accounts"] will be updated in-place
  # (moved from azurerm_dns_cname_record.jenkinsciorg_target_status_incident["accounts"])
  ~ resource "azurerm_dns_cname_record" "jenkinsciorg_target_public_publick8s" {
        id                  = "/subscriptions/dff2ec18-6a8e-405c-8e45-b7df7465acf0/resourceGroups/proddns_jenkinsci/providers/Microsoft.Network/dnsZones/jenkins-ci.org/CNAME/accounts"
        name                = "accounts"
      ~ record              = "status.jenkins.io" -> "accounts.jenkins.io"
      ~ tags                = {
          ~ "purpose"    = "accountapp for Jenkins users, redirected to status.jenkins.io while migrating LDAP, see https://github.com/jenkins-infra/helpdesk/issues/3351#issuecomment-1576741071" -> "accountapp for Jenkins users"
            # (2 unchanged elements hidden)
        }
        # (4 unchanged attributes hidden)
    }

  # azurerm_dns_cname_record.jenkinsio_target_public_publick8s["accounts"] will be updated in-place
  # (moved from azurerm_dns_cname_record.jenkinsio_target_status_incident["accounts"])
  ~ resource "azurerm_dns_cname_record" "jenkinsio_target_public_publick8s" {
        id                  = "/subscriptions/dff2ec18-6a8e-405c-8e45-b7df7465acf0/resourceGroups/proddns_jenkinsio/providers/Microsoft.Network/dnsZones/jenkins.io/CNAME/accounts"
        name                = "accounts"
      ~ record              = "status.jenkins.io" -> "public.publick8s.jenkins.io"
      ~ tags                = {
          ~ "purpose"    = "accountapp for Jenkins users, redirected to status.jenkins.io while migrating LDAP, see https://github.com/jenkins-infra/helpdesk/issues/3351#issuecomment-1576741071" -> "accountapp for Jenkins users"
            # (2 unchanged elements hidden)
        }
        # (4 unchanged attributes hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

✅

Self-merging as hotfix


Error in ColorPicker after deploy to IIS

There is nothing special. I use RadzenColorPicker in a way
 <RadzenColorPicker Name="Color" class="w-100" @bind-Value="_StallCode.Color" />
Everything works in debug. But after I deploy my project to IIS, I get flowing error.
System.TypeInitializationException: TypeInitialization_Type, Radzen.Blazor.Rendering.RGB  ---> System.PlatformNotSupportedException: PlatformNotSupported_HybridGlobalization, HashCode    at System.Globalization.CompareInfo.GetHashCodeOfStringCore(ReadOnlySpan1 , CompareOptions )
at System.Globalization.CompareInfo.GetHashCode(ReadOnlySpan1 , CompareOptions )    at System.Globalization.CompareInfo.GetHashCode(String , CompareOptions )    at System.CultureAwareComparer.GetHashCode(String )    at System.Collections.Generic.Dictionary2[[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryInsert(String , String , InsertionBehavior )
at System.Collections.Generic.Dictionary2[[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].set_Item(String , String )    at Radzen.Blazor.Rendering.RGB..cctor()    Exception_EndOfInnerExceptionStack    at Radzen.Blazor.RadzenColorPicker.SetInitialValue()    at Radzen.Blazor.RadzenColorPicker.OnInitialized()    at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()    at Radzen.RadzenComponent.SetParametersAsync(ParameterView parameters)    at Radzen.Blazor.RadzenColorPicker.SetParametersAsync(ParameterView parameters)

In my opinion this error is caused by wrong .NET version installed on your IIS server - definitely not related to our component . You need to install .NET 8 Windows Hosting Bundle:
https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-8.0.8-windows-hosting-bundle-installer

I have also encountered this problem after deploying the app on IIS (it worked fine on my PC).
The problem should be caused in the RGB class, when the dictionary is called with the StringComparer.InvariantCultureIgnoreCase.
In this link https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-hybrid-mode.md is mentioned that there is a breaking change with the GetHashCode method.
To solve this i have added these configurations
<PropertyGroup>
   <HybridGlobalization>false</HybridGlobalization>
   <InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>

to my .csproj and now I don't get the exception anymore.
Hope this is useful.

It doesn't work. I get error
System.Globalization.CultureNotFoundException: Only the invariant culture
is supported in globalization-invariant mode. See
https://aka.ms/GlobalizationInvariantMode for more information. (Parameter
'name')
en-us is an invalid culture identifier.
at System.Globalization.CultureInfo.GetCultureInfo(String name)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry, SqlConnectionOverrides overrides)    at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)    at Microsoft.Data.SqlClient.SqlConnection.Open()    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.OpenDbConnection(Boolean errorsExpected)    at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)    at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)    at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)    at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.InitializeReader(Enumerator
enumerator)
at
Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)    at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func3 operation, Func3 verifySucceeded)    at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.Enumerator.MoveNext()
V V sre., 30. okt. 2024 ob 12:22 je oseba nick @.***>
napisala:

I have also encountered this problem after deploying the app on IIS (it
worked fine on my PC).
The problem should be caused in the RGB class, when the dictionary is
called with the StringComparer.InvariantCultureIgnoreCase.
In this link
https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-hybrid-mode.md
is mentioned that there is a breaking change with the GetHashCode method.
To solve this i have added these configurations

false
true

to my .csproj and now I don't get the exception anymore.
Hope this is useful.
—
Reply to this email directly, view it on GitHub
https://github.com/radzenhq/radzen-blazor/issues/1705#issuecomment-2446693366,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOAT7HVDPQSJ6GSXE756WTZ6C6PDAVCNFSM6AAAAABOSWMEXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBWGY4TGMZWGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

We will try to not use new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase) with the next release. Hopefully it fixes the issue.

Cool, thanks for the heads up!
On Mon, 4 Nov 2024, 08:18 Atanas Korchev, @.***> wrote:

We will try to not use new Dictionary<string,
string>(StringComparer.InvariantCultureIgnoreCase) with the next release.
Hopefully it fixes the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/radzenhq/radzen-blazor/issues/1705#issuecomment-2453966988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOAT7ARKVOY6IAK4OQK3W3Z64NTLAVCNFSM6AAAAABOSWMEXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTHE3DMOJYHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm running 5.6.15 and I have the error PlatformNotSupported_HybridGlobalization
System.TypeInitializationException: TypeInitialization_Type, Radzen.Blazor.Rendering.RGB
---> System.PlatformNotSupportedException: PlatformNotSupported_HybridGlobalization

Please tell us how to reproduce the issue so we can fix it once and for all. What kind of app do you have (server, wasm, auto rendering, wasm standalone)? Which .NET version?

I am working on the same project that SOSHsbaker is:
To reproduce you have to create a project with both a color picker and a html field that displays a formatted currency string using ".ToString("C")" then add
<HybridGlobalization>false</HybridGlobalization>
<InvariantGlobalization>true</InvariantGlobalization>

Color picker will throw an error unless InvariantGlobalization is true but that then turns the currency symbol in the formatted string into a default currency symbol instead of one that relates to our location.
App Type: Server
.NET Version: 8.0.11

I think the currency formatting is expected to be a square with invariant culture. This is beyond our control. Please tell me how to reproduce the ColorPicker exception.

I created a test Blazor Server app which targets .NET 8.x and I can't reproduce this problem. Here is the test app.
ColorPickerApp.zip

The issue seems to be occuring upon converting hex codes to RGB and vice versa using  "Radzen.Blazor.Rendering.RGB.Parse(Value).ToCSS();"
or
"Radzen.Blazor.Rendering.RGB.Parse(Value).ToHex();"
We made a project and used HTML 5 color picker instead but still used those functions and the issue still remained.

The bug occurs on published versions only, so it is not repeatable on debugging. We found a solution to this issue by downgrading our visual studio from 17.12.x to 17.10.9 LTS, sorry for all the confusion

I also tested with a published version dotnet publish -c Release and then ran the app via dotnet ColorPickerApp.dll


Extend Encode Sink (parent class) to support software encoder for Jetson Orin Nano - DS 6.3 and DS 6.4

This issue has been superseded by #1273


OpenAPI/Swagger documentation

First off, thank you have having a swagger doc. It really helps with auto-generating client code to work with it. That being said.  I have noticed some inconsistencies.

PUT: /tenants/{tenantId}

You have a response type of 200 in the docs, however the actual response if 204

GET: /tenants/{tenantId}/memberships

The user object in the response is not defined as a schema.

There are others as well. I guess the ask is a review of the request payloads, response models, and status codes to ensure the API docs match the actual results.

Thank you for pointing out the discrepancies, @codecooper. I've updated the OpenAPI schema.


Getting cp: dest is not a directory (too many sources) on copying folders

Bug Report
Getting below error message when trying to upgrade cordova-browser to 7 version
cp: dest is not a directory (too many sources)
Problem
Hello Team,
Folder is not getting copied from plugin folder to platform www folder.
Below is the error I'm getting,
cp: dest is not a directory (too many sources) cp: dest is not a directory (too many sources) cp: dest is not a directory (too many sources) cp: dest is not a directory (too many sources) cp: dest is not a directory (too many sources) cp: dest is not a directory (too many sources)
Below are the node modules which needs to copy to the destination but its not working after the upgrade
<platform name="browser">         <js-module name="mfp" src="src/browser/bootstrap.js">             <runs />         </js-module>         <asset src="www/worklight" target="plugins/cordova-plugin-mfp/worklight" />         <asset src="src/browser/ibmmfpf.js" target="plugins/cordova-plugin-mfp/worklight/ibmmfpf.js" />         <asset src="typings" target="plugins/cordova-plugin-mfp/worklight/typings" />         <asset src="node_modules/express" target="plugins/cordova-plugin-mfp/worklight/node_modules/express" />         <asset src="node_modules/request" target="plugins/cordova-plugin-mfp/worklight/node_modules/request" />         <asset src="node_modules/jssha" target="plugins/cordova-plugin-mfp/worklight/node_modules/jssha" />         <asset src="node_modules/promiz" target="plugins/cordova-plugin-mfp/worklight/node_modules/promiz" />         <asset src="node_modules/sjcl" target="plugins/cordova-plugin-mfp/worklight/node_modules/sjcl" />         <asset src="src/browser/proxy.js" target="plugins/cordova-plugin-mfp/worklight/proxy.js" />     </platform>
What is expected to happen?
It should copy all the mentioned folders to destination folder
What does actually happen?
Its not copying the folders hence some functionalities are not working in latest browser platform
Information

This issue is probably happening because the cordova-browser 7 now has shelljs version 0.8.5.
Command or Code

Steps to reproduce the issue
cordova create helloworld
cd helloworld
cordova plugin add cordova-plugin-mfp
cordova platform add browser@7
Environment, Platform, Device

Installed platforms:
browser 7.0.0
Version information

Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

Any update on this ?


Inconsistent treatment of python.analysis.extraPaths between pylint and pylance

It appears that both pylance and the vscode pylint extension use the python.analysis.extraPaths setting when resolving imports, but that treat that setting differently with respect to relative paths and variable expansion. This is creating an issue for me in how to specify a path that is relative to the user's home directory.
In Unix-like systems (I'm on MacOS), the "~" character at the beginning of the path means the user's home directory. Pylance will treat a path that is prefixed with "~" correctly, and search the path relative to the user's home directory. Pylint, on the other hand, treats a path starting with "~" as a relative path, and specifically, a path relative to the workspace folder. That results in a search path that looks, for example, like /usr/src/project/~/anaconda3/envs/myenv/shared/package, which doesn't work, causing pylint to fail to resolve an import that pylance has no problem with.
On the other hand, pylint will recognize and expand the standard vscode settings variable ${userHome} when evaluating python.analysis.extraPaths and will successfully resolve the imports. In contrast, pylance does not recognize and expand these variables, and will choke on a path that starts with ${userHome}, and reports that imports in that path cannot be resolved.
I am currently working around this issue by including in the python.analysis.extraPaths the same path twice, once beginning with "~" and once beginning with ${userHome}.
I could just make them all absolute paths, starting with my home directory, but I don't like to include personal info like that in a settings file that will be public on GitHub, and even if I were ok with that, the settings file wouldn't work for anyone else who might clone my repo.
In any event, it seems like these two python-related parts of vscode that both use the same setting should treat it the same.

@couteau Thanks for reporting, this looks like something we can handle in the variable resolver.
Found here:
https://github.com/microsoft/vscode-pylint/blob/4fb723ba782a266fb81c06268ae10260f265b2e3/src/common/settings.ts#L35-L78

I have a fix for this, just working out the unit test changes. Will submit PR soon.


Update example link in the docs preprocessing section

The preprocessing logic has moved to cifar10_input.py. This tiny PR updates the docs link, as mentioned in #4358.

Can one of the admins verify this patch?

Skipping tests for md only change.


deployment on master fails

Describe the Bug
https://build.libelektra.org/blue/organizations/jenkins/PermaPlanT-Folder%2FPermaplanT/detail/master/304/pipeline
Steps to Reproduce the Problem
trigger master build
Expected Result
all green :green_circle:
Actual Result
+ sudo /usr/local/bin/permaplant-deploy.sh dev /home/jenkins/workspace/maPlanT-Folder_PermaplanT_master
+ INSTANCE_PATH=/opt/permaplant/dev
+ BACKEND_BINARY=/home/jenkins/workspace/maPlanT-Folder_PermaplanT_master/backend/target/release/backend
+ SERVICE=permaplant-dev
+ [[ ! -d /home/jenkins/workspace/maPlanT-Folder_PermaplanT_master ]]
+ [[ ! -d /opt/permaplant/dev ]]
+ cd /home/jenkins/workspace/maPlanT-Folder_PermaplanT_master/backend
+ LC_ALL=C
+ diesel --version
diesel 2.0.1
+ cd /home/jenkins/workspace/maPlanT-Folder_PermaplanT_master/backend
+ LC_ALL=C
+ diesel migration run --locked-schema
Running migration 2023-07-03-165000_heatmap
Failed to run 2023-07-03-165000_heatmap with: column "geometry" of relation "maps" contains null values
script returned exit code 1

PermaplanT version
master
Operating System
Linux
Browser
Firefox
Versions of other relevant software/extensions
No response
Additional info/logs
No response

I have seen this error in a PR that was probaly merged now.

This PR https://github.com/ElektraInitiative/PermaplanT/pull/622

Thx! Can you also add the link to the build log?
Btw. the PR must have some changes to migrations...

I agree.
My best guess it that the faulty one is: #595
We don't have yet the #134, so it slipped through (even though being successfully build).
If there are no other ideas, I would revert #595

I can try some commits out. Up to you.

I will checkout https://github.com/ElektraInitiative/PermaplanT/pull/595 and test it locally.

Yes its that branch.

Hm, I cant reproduce it anymore, what should be done after resetting the database to reproduce it?

You cannot reproduce it anymore after your have reset the database, this is in the nature of these migrations.
I created #666 to revert. Unfortunately, it cannot be tested on pr.libelektra.org, so I need to merge to master to see if it works.

Probably the better option is to merge #644 and reset the databases already for this release (and hope we can stay compatible). Let us see if it builds.

Also should we maybe rethrow the exception to make the pipeline fail or do we leave it like this?

Absolutely! I just noticed that https://build.libelektra.org/blue/organizations/jenkins/PermaPlanT-Folder%2FPermaplanT/detail/master/303/pipeline also already failed.
As #644 is not ready yet we will probably need to do the resetting of DBs twice.
I already resetted dev.permaplant.net, let us see if https://build.libelektra.org/blue/organizations/jenkins/PermaPlanT-Folder%2FPermaplanT/detail/master/305/pipeline will work.

Worked! Now release: https://build.libelektra.org/job/PermaPlanT-Folder/job/PermaplanT-Release/13/

Also worked, 0.2.3 is now released!


Cookies are lost in webview when activity is destroyed (session gone)

I am trying to make my webview remember the cookies across activities/sessions.
I have tried a lot of different things. Some of them are:

Using CookieManager to retrieve the cookies and adding them both throud loadUrl and CookieManager
CookieSyncManager (deprecated)

The webview is a part of a fragment and the cookies are not lost when only the fragment is destroyed, only when the activity is.
private void init() {
        if (url != null) {
            webview.setListener(getCustomActivity(), new AdvancedWebView.Listener() {
                @Override
                public void onPageStarted(String url, Bitmap favicon) {

                }

                @Override
                public void onPageFinished(String url) {
                }

                @Override
                public void onPageError(int errorCode, String description, String failingUrl) {

                }

                @Override
                public void onDownloadRequested(String url, String suggestedFilename, String mimeType, long contentLength, String contentDisposition, String userAgent) {

                }

                @Override
                public void onExternalPageRequest(String url) {

                }
            });

            webview.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
            webview.setCookiesEnabled(true);
            webview.loadUrl(url);
            urlLoaded = true;

}
It is probably me, doing something wrong, but I can't figure out how to preserve the cookies across activities

Feel free to share your solution if it may be helpful to others as well. Thanks!

I was too quick. I thought I got it to work, but I still have the problem. I will reopen and elaborate the issue.
I have posted a question on StackOverflow with this, so here it is, directly from StackOverflow:

I have been very confused with my implementation of webview in my android app. The problem is that cookies aren't stored or retrived correctly in my webview.
First, here is my code for the webview, which is pretty simple:
private AdvancedWebView         webview;

private void init(String url) {
        if (url != null) {
            webview.setWebViewClient(new WebViewClient() {
                @Override
                public boolean shouldOverrideUrlLoading(WebView view, String url) {
                    return false;
                }
            });

            if (Build.VERSION.SDK_INT == 21) {
                CookieManager.getInstance().setAcceptCookie(true);
            } else {
                CookieManager.getInstance().acceptThirdPartyCookies(webview);
            }

            webview.loadUrl(url);
        }
    }

My problem is best described like this:

I open the Activity and Fragment containing the webview.
I change something on the website, setting a cookie (a dialog is closed permanently).
I go back, killing the fragment and activity.
Then I open up the fragment with the webview again, seeing that the cookie is still set (Website is not showing the dialog based on the cookie set).
I repeat this procedure X amount of times until it the cookie is suddenly not set (website is showing the dialog again).

This happens after approximately 40 seconds, no matter if I open up the webview screen 2 or 10 times.
I can't seem to get this behaviour. So how do I get the webview to handle the cookies correctly.

First, setWebViewClient with a custom WebViewClient which always returns false from shouldOverrideUrlLoading should simply be the default. As far as I can see, you can remove it without any effects.
Second, the option
CookieManager.getInstance().setAcceptCookie(true);

should be the default as well. You can probably remove it, too. Apart from that, any reason why you're setting this on API level 21 only?
Third, the call
CookieManager.getInstance().acceptThirdPartyCookies(webview);

has no effect as it just reads the setting. You have to use
CookieManager.getInstance().setAcceptThirdPartyCookies(webview, true);

instead to set it. Again, any reason why you're calling this on API levels != 21 only? It should probably be >= 21.
That being said, cookies should actually work by default, out of the box. Can you just try removing all of your cookie-related code?

Thanks for the quick reply.
The reason for the "== 21" check, was that I read the this particular API level needed to be dealt with different,
I have tried and remove it all, but the same weird behaviour regarding cookies still remains. Could it have something to do with new sessions being created everytime the webview is inflated and thereby confusing the webview cookie handling?

Any behavior that you're seeing is not specific to this library and any problems will be due to the underlying WebView component and its API. So we won't really be able to help here. Sorry!
You should definitely try cookie support with a minimal example first and check if you have special requirements, e.g. cookies on a file:// scheme.


Connecting to LND by supplying raw certs and macaroons

Feature request
Add ability to supply raw certs and macaroons as []byte, instead of specifying a path.
Motivation
When working with nodes and services running in containers, we do not necessarily have (easy) access to the underlying file system used by a container. Instead, it is easier to read specific files (certs and macaroons) out of the container. Being able to supply these would simplify my work flow.

#35

Implemented by https://github.com/lightninglabs/lndclient/pull/51.


Add Service, Repository, Controller, and Module for Session entity

I added the following components for the Session entity:

Controller
Module
Repository
Service

Tested and everything works and looks good.


spirv-fuzz: Improve debugging facilities

Adds an option to run the validator on the SPIR-V binary after each
fuzzer pass has been applied, to help identify when the fuzzer has
made the module invalid.  Also adds a helper method to allow dumping
of the sequence of transformations that have been applied to a JSON
file.

Also adds a helper method to allow dumping
of the sequence of transformations that have been applied to a JSON
file.

FYI. SPIR-V 1.1 added OpModuleProcessed to record this kind of info in the module itself.  But I don't know that any tool added support for it.

Interesting regarding OpModuleProcessed @dneto0 - I'll take a look.


Client: Add option to manually set peer address

I'm pulling and testing this branch and my sample sketch worked very well.
https://github.com/wakwak-koba/NimBLE-Arduino/blob/master/examples/NimBLE_CatchNotifiesReConnect/NimBLE_CatchNotifiesReConnect.ino
Before this, the version of BLEClient::connect(false) you told me didn't work properly on my BLE device, so I'm refreshing it every time I reconnect.

Thanks for testing, I will merge it soon if you're happy with it.

Before this, the version of BLEClient::connect(false) you told me didn't work properly on my BLE device, so I'm refreshing it every time I reconnect.

You're example is making the first connection in loop, which will obviously need to get the services the first time, but is wasteful of the devices battery afterward. What you could do is use pClient->connect(false) and then test if you have the services already before calling getServices(true).
auto pServices = pClient->getServices();
if(pServices->size() == 0) {
    pClient->getServices(true);
}

Same thing for characteristics.

The method you taught me the other day (https://github.com/h2zero/NimBLE-Arduino/files/4977993/catchNotify_reconnect.ino.txt) is successful until reconnect and resist, but the actual Notify is It was in a state of not flying.
I'm sure it's because of the BLE device I use for testing.

Interesting, only thing I can think of, without seeing a log of the service handles to prove it, is the device you’re connecting to changes it’s service handles. If that’s the case, what you’re doing would be the correct action.
Do they disconnect often?

When it remains idle for about 30 seconds, it automatically disconnects and enters sleep mode to save power.

After looking at the instructions it seems to pair after connecting. You might consider enabling bonding in your setup to make reconnecting better, also may explain why you need to get the services again.
I think I have one of these somewhere that I took apart, got it from the dollar store for $1, If I can find it I'll play around.
Other than that, is this PR enough for your needs?

Yes, that's enough for me !


No "Download JSON" for credentials

This was brought up by @jononomo in #1.

README says the following:

Go to https://console.developers.google.com/project. Make a project for your app and then go to https://console.developers.google.com/project/your-app/apiui/credential.  Click Download JSON. Save the file as local/application-creds.json.

but… I don't see a “Download JSON” link or button to click

@jononomo You need to add OAuth credentials to the project. To do this:

Click add credentials
Select OAuth 2.0 client ID
Select Other
Give it any name, then click Create
When you return to the credentials screen, click the download icon on the far right of the row you just created, under OAuth 2.0 client IDs. The icon looks like
 and read Download JSON when you hover over.

I'll update the docs with this!

My apologies for not having updated the docs, I'll be releasing an update to this library in the next couple weeks that will address this among other changes.

I've updated the instructions for doing this and have moved them over to https://github.com/spanishdict/node-google-dfp-wrapper. Hope this helps!


Filter genuine email

Security Feature
In your application anyone can enter using temporary or disposable email.
I will add a feature so that no one could create an account using temporary or disposable email.
It will allow only genuine users in your database.
It will help to avoid any bot.
Assign me this work under GSSoC24, I will implement it.

We dont create any account!


WIP nodeport revdnat local

<!-- Enter the release note text here if needed or remove this section! -->

/test

@brb FYI - if we let to-netdev handle the revDNAT for local pod backends, this doesn't sit well with wireguard (-> ci-datapath). I assume we're hitting this case after all:
https://github.com/cilium/cilium/blob/11773bcb74a7ea4d1b2c40076d7ad6e8b055e35e/bpf/bpf_host.c#L1198-L1205
Haven't looked closer yet - it's all about hostPort, so maybe we're not populating the socket-LB with hostPorts on remote nodes? :thinking:

/test

/test

/test

/test

/test

/test


Add new openstack and network Ansible collections

Terraform Format and Style 🖌success
Terraform Initialization ⚙success
Terraform Validation 🤖success
Validation Output

Success! The configuration is valid.

Terraform Plan 📖success
Show Plan

undefined

Pusher: @markgoddard, Action: pull_request, Working Directory: ``, Workflow: Terraform GitHub


Need help/want to take over demilleTech's repo?

Hiya,
I was the one that forked linkyard's resource into the demilletech repo currently out there. I was trying out the resource (because hey, if I don't have to maintain something, all the more fun for me), and I was basically wondering: do you need any help, or do you want to take over DT's repo? I'm happy to transfer ownership, I made it as a stop-gap so I could get stuff running for myself. Or, alternatively, I can just put in the README that everyone should be using your repo :P
Hope I can be of some help

Hi, same applies to me, also.
I was just testing out concourse, and somehow the provided tutorial was not
working anymore. Not interested in maintaining stuff, sorry :)
On Mon, Mar 4, 2019 at 6:24 AM Eamonn Nugent<EMAIL_ADDRESS>wrote:

Hiya,
I was the one that forked linkyard's resource into the demilletech repo
currently out there. I was trying out the resource (because hey, if I don't
have to maintain something, all the more fun for me), and I was basically
wondering: do you need any help, or do you want to take over DT's repo? I'm
happy to transfer ownership, I made it as a stop-gap so I could get stuff
running for myself. Or, alternatively, I can just put in the README that
everyone should be using your repo :P
Hope I can be of some help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandruast/concourse-helm-gcp/issues/1, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALy6vLDSV4WbZtrHPace8nNf2EtC6HXMks5vTJ_5gaJpZM4bbhm-
.


Fix VP calculation bug and changing wait time calculation

the problem with 100% votes when the bot was in queuing-mode was caused by a missing multiplication by 100 for the voting_power argument to rshares_to_vote_pct - The bot voted like it's VP was 0.95% instead of like 95%.
minor fix on the categories: CAT_LIST was renamed to categories in a67ab5d602baacfeed55771516bd0fc30e0057d2 but not updated in sfrbot.py; duplicated comment removed
changed implementation of get_wait_time() from parsing the account history to using the last_post field in the Account information. This is done in the same way as Steem does: https://github.com/steemit/steem/blob/27db90b11ee031d3157f5e3ec9835a5938088daf/libraries/chain/steem_evaluator.cpp#L732

Wow that wait time calculation is so much prettier xD I wrote that function back when I barely know beem, so that's why it was that bad :P
Thanks a lot for this!


Multiple tiles should align edges

Height of last column and row should align to the next tile, if present in the same scene.

I finally solved this by suvdividing the mesh in 4 parts:
Left-upper: the major part of the mesh
Ritgh-side: is a single strip that redraws when next X tile is found under the same MapLoader node.
Bottom-side: same as above but redrawn when next Y tile is found.
Bottom right: it is a single square that is redrawn when next X,Y and XY are found... 😨... actually, I forgot to implement that!

This is going to change as I am implementing a subdivision of 8x8 grid of surfaces that will also be used as LOD.
This way I can start downloading the lowest zoom (i.e. 12), and then load smaller areas for higher zoom levels (like 4 tiles at zoom 13, or 16 at zoom 14 and finally 32 at zoom 15), but just where needed, and then again unload where not.
So in practice I'd probably need only one tile with this subdivision, where the player is we'll have zoom 15, and the surrounding at zoom 14, then further away at zoom 13 and 12.
Can't wait to finish this.. man.. I'm ralizing, I'm talking to myself, none's gonna read this.

Hi, I realized that when arranging some tiles during the project execution, I can see they are not perfectly aligned to each other (please check the screenshots ^^). Thus, I wonder if it is a mistake of mine or if it can be fixed at this project level. Any suggestions? Thanks.

Hello Jean, I remember working on that, but probably I never finished fixing that.
I'm not sure if I can solve this, I've abandoned the project long ago, so I barely remember this.
Anyhow, please let me know which version of Godot you're using, eventually I might look back at this project and fix this issue, in the end this is the most successful repo I have, I should care about it.


feat(app): experimental azure blob storage support

closes #1354
This can be merged and released. Azure blob support is disabled by default. We can simply enable it where we want it as long as the cluster already has the azure blob csi driver.
There is also some very light refactoring for the following:

Handle mounting more than one cloud storage type.
Use different classes for Jupyter servers on creation requests and on listing requests. This is useful because when creating a server we need to a bunch of checks that we do not really care about when simply listing an existing server.

/deploy #persist

You can access the deployment of this PR at https://renku-ci-nb-1374.dev.renku.ch


Minor Update: Popup closes if user clicks off it

Very minor update, I think it would be nice if in addition to the user clicking on the close button to get rid of the popup, they could also just click somewhere on the screen that's off the popup to close it.

@brad-lowe are you working on this ticket or the slideshow component one #30 ?

FYI I implemented a click-out feature for the sidebar menu. If you want to reference it, it's in Sidebar.tsx line 113.


[ Bookmark Search ] field does not show In Chromium

Chromium version 86.0.4240.183 (Official Build) snap (64-bit)
Ubuntu Linux 20.04 (latest),
acorn/twitter-bookmarks-search:  Version 5.

The [ Bookmark Search ] field
DOES show up occasionally,
but ... generaly
it does not show up at all
when I select "Bookmarks" in Twitter's left-side Menu.
NOTE:
If I REload the Twitter Bookmarks webpage ,
the [ Bookmark Search ] field
will show / flash at the top of the page for less than a second,
and then disappear!.
The very few times the [ Bookmark Search ] field
shows up, it works beautifully!! .
How to make the [ Bookmark Search ] field
ALWAYS show up
when I am in Twitter's Bookmarks page?:
https://twitter.com/i/bookmarks
Help!
SFd99
San Francisco

screenshot pls and browser log (f12)


Use github.com/google/go-querystring for POST/PUT data

What is the problem with the current approach, using url.Values? (not that I like it, I'm just curious)

payload := url.Values{}
payload.Set("name", opts.Name)
payload.Set("desc", opts.Desc)
payload.Set("pos", strconv.Itoa(opts.Pos))
payload.Set("due", opts.Due)
payload.Set("idList", opts.IdList)
payload.Set("idMembers", strings.Join(opts.IdMembers, ","))

vs.
payload, _ := query.Values(opts)

basically, github.com/google/go-querystring will serve as a "Marshaller" for payloads

But I just realized there are edge cases like strings.Join(opts.IdMembers, ",") -- I'm not sure Trello API understands standard URL arrays, like idMembers[]=1 etc.

Let's use JSON instead.


WDL 1.1 early support

Is your feature request related to a problem? Please describe.
Dockstore should have some support for Wdl 1.1 workflows.
Full support is covered by #4021, and is dependent on Cromwell/WOM supporting WDL 1.1.
Before Cromwell supports 1.1, we would ideally have a "use at your own risk" support for WDL 1.1. A message pops up warning the user, complete validation may not be possible, etc. But we don't want to block anybody from putting a 1.1 WDL workflow in Dockstore, even before we can fully support it.
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.11
┆Issue Number: DOCK-1728
┆Sprint: Sprint 57- Frilled shark
┆Issue Type: Story

Should also display this meme in the DAG tab
https://knowyourmeme.com/photos/200420-neil-degrasse-tyson-reaction

Working on dev. I was able to push a WDL 1.1 and see the warning.
Webservice - 580a271
UI - 2.7.3-72-gd167ef76
Compose Setup - 36c8ddc
Deploy - 1.10-56-gda5d5ab


⚠ Processors has degraded performance

In e637d24, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 74 ms

Resolved: Processors performance has improved in afc9c54.


[Feature Request] A way to ask for permission for notifications

I'm building a desktop ui with iced-rs and I was hoping I could find a way to ask for notifications. When the app is installed, I cannot send notifications with notify-rs on both macos and windows because I need to ask for said permission. Is there a guide on how I would implement this on first time running or is there an alternative package/technique I could use.
https://github.com/Daggy1234/discord-rpc-gui

For macOS, you don't currently need permissions. So if you're not seeing any notifications you should look at/post an issue on mac-notification-sys (which is what notify-rust uses under the hood).


any plans for the DPN107 backbone?

Recently we have no plan for supporting DPN. Pull requests are welcome.


"Scărișoara", "Plăviceni", "Rudari" are listed in the drop-down menu

Description:
When user writes "Scărișoara", "Plăviceni" and "Rudari" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Scărișoara"

Expected results
The location appears in the drop-down menu as "Sat Scărișoara, OLT (Scărișoara)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Plăviceni"

Expected results
The location appears in the drop-down menu as "Sat Plăviceni, OLT (Scărișoara)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Rudari"

Expected results
The location appears in the drop-down menu as "Sat Rudari, OLT (Scărișoara)".


Possible counterfeit/copyright violation

@blunden
Just an FYI, I noticed com.apkfreak.kodilauncher on the PlayStore and looks like an exact copy of your application without giving credit or a link to the source.

Thank you for the heads up. I'll look into this.

You are correct, it is a blatant ripoff with ads injected.
package com.apkfreak.kodilauncher;

import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends Activity {
    private static final String TAG = "KODILauncher";

    private void launch() {
        String xbmcActivity = getSharedPreferences("com.apkfreak.kodilauncher_preferences", 0).getString("xbmc_variant", getString(R.string.xbmc_activity_default));
        Intent activityIntent = new Intent("android.intent.action.MAIN");
        activityIntent.setComponent(ComponentName.unflattenFromString(xbmcActivity));
        activityIntent.addCategory("android.intent.category.HOME");
        try {
            startActivity(activityIntent);
        } catch (ActivityNotFoundException e) {
            Log.d(TAG, "Activity " + xbmcActivity + " not found. Launching settings activity...");
            launchSettings();
        } catch (Exception e2) {
            Log.d(TAG, "Unable to launch " + xbmcActivity + " due to an exception. Launching settings activity...");
            launchSettings();
        }
    }

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        launch();
        finish();
    }

    private void launchSettings() {
        startActivity(new Intent(this, LauncherSettingsActivity.class));
    }
}

While the Apache license I used allow for reditribution, I think it requires him/her to include my copyright message in the app.

** sigh ** I was hoping I was wrong.  It is one thing to take an open source project, put in considerable effort to expand on it and commercial distribute the new and improved application, to which the Apache 2.0 license was intended (I am mainly thinking of mobile providers distributing a stock ROM on devices that is based on AOSP).  Simply injecting ads and renaming an application is tantamount to theft.  Not to mention this is your awesome app, not theirs.
I am not a lawyer but a reading section 4 of the Apache 2.0 license
      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
           stating that You changed the files; and

Which ApkFreak does not seem to provide on the Google Play Store nor their website.
There is no mention of copyright in the software but the license does seem to give the copyright to you by default
      "Licensor" shall mean the copyright owner or entity authorized by
       the copyright owner that is granting the License.

If I could be bold enough to make a few suggestions on proceeding.  Add the word copyright, your name and the year to the ReadMe as well as the top of every Java similar to this.  Please research this as I am not a lawyer, but as you have written almost all of the code in this repo you could license it to a more restrictive copyleft license like GPL2.  After doing any of this, version the software.  I would then send a friendly request to ApkFreak saying they are not complying with the Apache 2.0 license and to voluntarily take it down.  This repo should have a number of suggestions on how to word that email.  If they do not, Google suspended XBMCLauncher for a policy violations before.  I am sure a blatant copy of the app did the same thing.

<string name="about">
  App based on the work of blunden.
  Many thanks to him for orginal concept.
  App is under the Apache License 2.0.
  The license can be found here:
  http://www.apache.org/licenses/LICENSE-2.0
</string>

"based on".....sure.  Still missing the part about stating significant changes made to software.
List of changes:

Added ads and gapps dependencies to otherwise completely open source source software whose author's github account name nor required Apache license were not mentioned until the fourth public release.  Future releases may have link to this repo.

Just checked, and the app appears to have been taken down sometime in the last few years so I'm closing this issue.


Question : Can I run esrun myself through node instead of calling esrun directly ?

With ts-node I can call node --require ts-node/register my-script.ts instead of ts-node my-script.ts.
Is there a similar option with esrun ?
It can be very usefull if I want to create a package with my own /bin scripts that directly run typescript files without the end user having to install esrun globally in order to use my package.
Example package (with ts-node) :
in /my-package/bin/task.ts :
#!/usr/bin/env -S node --require ts-node/register

import { task } from '../task';

task();

in /my-package/task.ts :
export function task() {
  // do something
}

and in the /my-package/package.json :
{
  "name": "my-package",
  "bin": {
    "task": "./bin/task.ts"
  },
  "dependencies": {
    "@digitak/esrun": "^1.2.4"
  }
}

So the end user that is installing my package can run the task just by calling npx task.
Would be great if I'm able to do the same with esrun.

Find out I can use #!/usr/bin/env -S npx esrun


Add case for major on statuspage

I noticed a StatusPage powered hosting service was down but showed up as "green / all OK" on out
See below:

Nice catch 🔥 Thank you!


dnsperf: fix linker errors

Homebrew/homebrew-core#54798

Alternatively there's the flag --with-extra-ldflags for ./configure:
"--with-extra-ldflags=-framework CoreFoundation -framework CoreServices -framework Security -framework GSS -framework Kerberos"

@SeekingMeaning I will cherry-pick your change into the json-c upgrade. Thanks for figuring out the solution!


[DNM][AST] Keep track of an "isDerivableFromSwiftType" bit for Clang types.

I wasn't sure what to name the type, so I've named it ClangTypeWrapper for now.
Probably clean up the PR a little bit tomorrow but I figured I should put it up sooner rather than later for feedback and testing.

Can one of the admins verify this patch?

The behavior for marking something "isDerivable" in this PR is not correct. Arguably, "isDerivable" is the wrong name altogether. We do not want the mangling for existing code to change. However, since multiple C types are mapped to the same Swift type, some function types like void (unsigned long) will get marked as "not derivable" because unsigned long -> Int -> long. We should instead check for something like "does this function type have additional attributes".

I've opened https://github.com/apple/swift/pull/34057 with a more recent version of these changes, so I'm closing this PR.


UWP not redirecting to login

I have got this working on Android. However on UWP I tap the connect button but then nothing happens other than an immediate null reference exception on this line...
var currentUserObject = await graphClient.Me.Request().GetAsync();
On Android I see that it opens the browser and redirects to the login URL. However, no browser opens in UWP. I am running on WIndows 10 (build 1803) and using Visual Studio 2017.
I did have to update all of the nuget packages because of other errors related to EmbeddedResouces not being supported etc.
Any ideas?

We're archiving this sample and redirecting folks to https://github.com/microsoftgraph/msgraph-training-xamarin (or the corresponding walkthrough at https://docs.microsoft.com/graph/tutorials/xamarin.


After integrating skywalking, arthas is not working properly.

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

After integrating skywalking, arthas is not working properly.
As I want use arthas trace to monitor my rest controller interface, but it prompts an execution error："Error during processing the command: null"
How can i monitor my interface correctly

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

I don't know what is the error means. If you have issues about arthas, I think you should ask them.
From my understanding, arthas is designed for process monitoring or debug, it is not for tracing. SkyWalking is designed for the production env monitoring APM system. They are different.


Enable to ignore manifests' fields from kubernetes' drift detection

What this PR does / why we need it:
In the previous implementation, panic occurred when ddCfg was nil. So, this problem is solved.
Which issue(s) this PR fixes:
Fixes #4202 #4241
Does this PR introduce a user-facing change?:
NONE

Could you use rebase to make the commits list clear?

OK. I'll try it.

@knanao
Please review this PR when you have time.

#4190


debug hover far away from target

see attached screen shots. the debug hover (showing large data) is very far away from the symbol I hover over. Compare background of the text with hover position.

Likely a regression from #5801

This is happening because the string is too large and the editor decides to place the hover as high as possible to show the most data. To solve this we need to introduce a max string length to show in the hover

max string length to show in the hover

which is probably not a bad idea considering the space you have the loads of data some strings, arrays, etc contain


Discussion: Introduce Directory.Packages.props?

With so many generated projects would it make sense to introduce a Directory.Packages.props file to manage all versions in a single place?

It does and we were already talking about adding support for this. I'm setting the target to version 2.0.0 since we do need to finish some refactoring before we add this. Thanks for the suggestion 👍

In the Dometrain course @ardalis mentioned against it...stating that every module should be able to pick it's version.
However, since it's all loaded in one AppDomain anyway, I think it does make sense to add it.
However (again) if you do decide to split the module into its own micro service at some point, that's a bit of work to figure that out.
Maybe a Directory.Packages.props per module?

Ooh, per module might be a decent trade off. And if you're really working on the thing as just one team anyway, it may well make sense to consolidate everything into one.


wording fix for issue #7089

Description
just updated the wording to the delete confirmation to reference a workspace instead of an environment.
Type of change
This pull request fixes a bug in Radius and has an approved issue.
https://github.com/radius-project/radius/issues/7089
Fixes: #7089

Thanks for your contribution @jhandel ! Pls sign the commit link and you probably need to pull the latest code.

Thanks for your contribution @jhandel ! Pls sign the commit link and you probably need to pull the latest code.

Thanks.. just getting setup to help so wanted to do something super painless to learn the process... Will pull latest and sign the updated PR

going to give you a nice clean pr and just delete this one..


Bump version from 0.1.0 to 0.1.0+build.1

Bumping the version so I can re-release, pulling in the code from cisagov/ansible-role-cloudwatch-agent#2.
I recreated this PR since I previously updated the patch number.  I realized that this wasn't the correct thing to do in this case, since no code in this project has changed.  Hence this redo with the build number incremented.

@dav3r created #10, so I will let the release resulting from that pick up the changes from cisagov/ansible-role-cloudwatch-agent#2.


css tutorial

it contains all from basic level to high level

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good @komallapalli, congratulations on your first contribution to freeCodeCamp!