Probe back off settings

While using a liveness probe on a pod that must initialize itself with multiple configuration files we found that the liveness probe delay was not always sufficient without making it a large value.  https://github.com/openshift/origin/issues/1504#issuecomment-87824041
It seems likely that we may run in to a scenario where the initial delay is unpredictable but a probe is still desired.  The use cases I can think of are:

An application that must perform N amount of work before initializing.  For example, an application that must read in configuration before starting the processes that will enable the probe to complete.  The configuration may be a single, variable sized file, multiple files, retrieving and writing data from master, etc.
At scale in a prod environment, resource jitter may delay what was a good probe initial delay setting in dev/test environments.

An initial delay with a back off for failures seems appropriate in these use cases in order to give an adequate amount of time between probes before killing and restarting the container.

/cc @jimmidyson @sdodson

Another option suggested was to backoff the initial liveness probe on subsequent restarts

Attempt 1, 10s delay.  No response, kill container
Attempt 2, 20s delay (because the container has not started).  No response, kill container
Attempt 3, 30s delay (because the container has not started).  Responded, mark live
Attempt 4, 10s delay (normal). Responded, keep container.

@pweil- does the absence of this feature make liveness probes unpredictable to end users in a way that makes them unusable? Or is it merely the cause of some flakiness?

@smarterclayton - just flaky IMO.  The delay setting can be used to work around it for now.


Additional /auditLog methods for selecting log entries

PR adds the following features for the /auditLog endpoint:

Retrieve log entries from server for a period of time starting from now.  Resolution can be from from Months to Seconds specified as duration (PT1H)
Filter Log entries by the following:

Action Performed
Principal
Client IP
Resource Operated on.

Looks good. Update the docs please to note the new endpoint behavior.


postgres:9 database doesn't work on restart

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
DDEV version:  ITEM             VALUE
 DDEV version     vHEAD-cc46a7d
 architecture     amd64
 db               drud/ddev-dbserver-mariadb-10.4:v1.20.0
 dba              phpmyadmin:5
 ddev-ssh-agent   drud/ddev-ssh-agent:v1.20.0
 docker           20.10.11
 docker-compose   v2.10.2
 docker-platform  colima
 mutagen          0.16.0-beta1
 os               darwin
 router           drud/ddev-router:v1.20.0
 web              drud/ddev-webserver:20220921_php_8.2

docker version:
Client: Docker Engine - Community
 Version:           20.10.15
 API version:       1.41
 Go version:        go1.18.1
 Git commit:        fd82621d35
 Built:             Thu Apr 21 14:44:35 2022
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       847da184ad5048b27f5bdf9d53d070f731b43180
  Built:            Wed Apr 13 23:41:08 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.5.8
  GitCommit:        1e5ef943eb76627a6d3b6de8cd1ef6537f393a71
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:

Expected Behavior
Should be able to start a project with postgres:9 and restart it.
Actual Behavior
When restarting (or starting again if it failed to start), get the following error:
Failed to restart XXXX: Unable to start project XXXX because the configured database type does not match the current actual database. Please change your database type back to mariadb:9.6 and start again, export, delete, and then change configuration and start. To get back to existing type use 'ddev config --database=mariadb:9.6' and then you might want to try 'ddev debug migrate-database postgres:9', see docs at https://ddev.readthedocs.io/en/latest/users/extend/database_types/

Steps To Reproduce

Was reproduced by @rfay in a clean environment
Start a project with postgres:9
restart it

Anything else?
This does not happen with postgres >=10. It seems to be specific to 9.
Also tried ddev delete before starting too; this helped it start the first time as the environment was "clean".

@njt1982 please take a look and test

https://github.com/drud/ddev/pull/4241#issuecomment-1263786979


Update Composer dependencies (2022-01-29-00-07)

Visual regression test passed!
View the visual regression test report


Processing (Display) null values of location data on the result page

Reason (Why?)
The rendered DOM of the location data on the result page does not always fit the current layout yet. Null values result in " ," which makes the result look faulty.
Example

Solution (What?)
Null values should not result in " ," and instead be ignored. This should be implemented for the result selection (left side) and the detail view (right side).
Out of scope
/
Relation to other Issues
/
Acceptance criteria
The rendered page/DOM does not contain unnecessary " ," Strings for the location data and instead only shows the available information. (e. g. Berlin)

This will already be done in the backend. This is a bug which will be fixed while redoing the data model of gute-tat.

These are the original HTML tables on https://www.gute-tat.de/helfen/ehrenamtliches-engagement/projekte-berlin/
Exactly these HMTL tables should be displayed in einander-helfen.de: the first one under Location (Einsatzort), the second one under Contact (Ansprechpartner)
No interpretation by the backend!

Von: MaiThiD<EMAIL_ADDRESS>Gesendet: Freitag, 27. November 2020 12:14
An: hochschule-darmstadt/einander-helfen<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Betreff: [hochschule-darmstadt/einander-helfen] Processing (Display) null values of location data on the result page (#187)
Reason (Why?)
The rendered DOM of the location data on the result page does not always fit the current layout yet. Null values result in " ," which makes the result look faulty.
Example
https://user-images.githubusercontent.com/64202398/100398063-44cf8d80-304d-11eb-8316-b19a885ed89a.png
Solution (What?)
Null values should not result in " ," and instead be ignored. This should be implemented for the result selection (left side) and the detail view (right side).
Out of scope
/
Relation to other Issues
/
Acceptance criteria
The rendered page/DOM does not contain unnecessary " ," Strings for the location data and instead only shows the available information. (e. g. Berlin)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/hochschule-darmstadt/einander-helfen/issues/187 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYWHS6FEN5ET4ROXFE7HWDSR6CXZANCNFSM4UEY4Y5A .  https://github.com/notifications/beacon/ABYWHS3HLCXVRMRBA2D2BYLSR6CXZA5CNFSM4UEY4Y5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LGVJT2Q.gif


Cherry-pick "[SuperEditor][SuperTextField] Implement performSelector (Resolves #836, Resolves #1274) (#1339)" to stable

This PR cherry-picks "[SuperEditor][SuperTextField] Implement performSelector (Resolves #836, Resolves #1274) (#1339)" to stable.

@angelosilvestre looks like we have failing tests

@matthew-carroll It seems that, on Flutter stable, the selectors aren't being generated during tests. I'll need to take a look.

@matthew-carroll The first failed tests were cause because on stable branch, DeltaTextInputClientDecorator wasn't forwarding the performSelector call to the inner client.

Given that we rebase on stable, rather than squash, can you squash your new commits on this branch down to a single adjustment commit?

@matthew-carroll Done.

Now it's gone too far. It looks like you've altered the original commit.

I don't think the original commit hash will be preserved, as the parent commit is included in the hash computation. In any case, I will update it.

When we cherry-pick a commit, it doesn't retain the hash?

Nope. For example, my latest PR merged:
main branch: 4437be334b749a014c5447ebb74dcacf48852353
stable branch: 1da7c9556c511b8e22d55d5ff787219169782abd
When we cherry-pick a commit, the parent commit changes (the latest commit of the branch) and the parent commit is considered to compute the final hash.

That's annoying. Makes it more difficult to maintain two parallel branches.

@matthew-carroll Updated


NPM commands to hot-server throws errors

Hello,
Im currently trying to install this project and get started.I followed the instruction in the README.md:

Cloned Rep
CD into repo and npm install

Then when I was attempting to start the project using the two commands you have listed:
$ npm run hot-server throws the error below:

$ npm run start-hot runs as it should the electron window opens with the following error:

I open up the code to main.js on line 74 and its just the closing array. Same thing happens if I try to run
$ npm run dev
Is there something I may be doing wrong here?

$ npm run hot-server throws the error below

It looks port 3000 is occupied.

$ npm run start-hot runs as it should the electron window opens with the following error

I cannot reproduce this, and main.js error should not appear in the Electron DevTools?

@jhen0409 that solved it, I had an old project running on port 3000 and I hadn't realized it. Thank you!


Help with installation

Hi Gregory,
Great work, thanks!
Today I tried to install the Dreamscreen service in my Hassbian environment but it won't work 😞
Maybe you could add a step-by-step plan to install the HASS Dreamscreen service.
I have gone through the following steps:

git clone git@github.com:GregoryDosh/Home-Assistant-DreamScreen-Service.git dreamscreen in the custom_component directory
pip3 install PyDreamScreen with the homeassistant user on the Hassbian rpi.
Added the following code to configuration.yaml:

dreamscreen:
  ip_address: <IP_ADDRESS>

The dreamscreen services are available but I don't have a Dreamscreen entity.
Am I doing something wrong?
Thanks!

I'm looking into making this a bit more robust and less finicky, along with better documentation soon.  I'm in the middle of a housing project that has left me without internet or a lot of normal resources so I've not been able to get anything done yet, and I apologize.
What you've got there seems like it should be working.  Do the logs reveal anything about the startup of the dreamscreen service?

Hello Gregory,
is the installation procedure still the same as by Rido post?
Thanks

@yashijoe yes, but you don't have to install pydreamscreen (on hassio at least - not sure about others)
checkout Readme


Auto-update libsdl to 2.26.5

This is an automatic pull request created following a detected new version in a package

cross seems broken, maybe because of recent cmake tool changes? (as it worked before and I don't think this could be caused by this new version)

I have fixed it.


JMeter Marketplace

Can this be uploaded to the marketplace so component plugin manager can grab it automatically?

What is the marketplace?
What is "component plugin pmanaer"?
Is it jmeter-plugins.org?

Yes, so jmeter-plugins.org is the plugin centre of Apache Jmeter. It's
important upload ready to use plugins to there.
One of the most common plugins is the plugin manager. It will automatically
add a plug-in to your Jmeter environment if you open a jmeter script that
uses a plugin you don't have installed on your instance. It makes sharing
jmeter scripts much easier.
On Sun, May 21, 2023 at 3:59 PM Kuniteru Asami @.***>
wrote:

What is the marketplace?
What is "component plugin pmanaer"?
Is it jmeter-plugins.org?
—
Reply to this email directly, view it on GitHub
https://github.com/pnopjp/jmeter-plugins/issues/15#issuecomment-1556200730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A76XCNF54JD2PLQKETIH43DXHIUWBANCNFSM6AAAAAAYHPORKM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks,
As you say, the automatic addition of plugins by the plugin manager is very useful.
I have looked into it and it looks like I can incorporate this plugin into the plugin manager, so I will try.

@kuniteru many thanks for this plugin firstly. Would you be able to incorporate this into the JMeter plugins repository.
I am using maven (java) to manage plugins and would like maven to grab it automatically.
thanks

Hi @kuniteru, I am unable to find this awesome plugin in the jmeter-plugins.org marketplace. Any luck uploading it? I am trying to incorporate this plugin into an Azure Devops Load Test Pipeline and the only way is to run the JMeter plugin manager command line script to download your plugin

Here are some instructions for doing this: https://jmeter-plugins.org/wiki/DeveloperGuide/

I would also like to list these plugins in the Plugins Manager.
To install this plugins from there, I know that I should register the information for this plugin below.
https://github.com/undera/jmeter-plugins/blob/master/site/dat/repo/various.json
But, I am hesitant to implement it due to the following issues.

The Developers Guidline at jmeter-plugins.org says to include Unit Tests, but this plugin does not include them.
These plugins have separate jar files for each Azure service, but I believe they should be combined into one for distribution in Marketplace.
It would be difficult to match versions of dependent libraries to achieve this.
I'm not sure how to test that what I have registered in verious.json is correctly distributed.

I would be happy to have someone write the Unit Tests code.


Added maintenance page, added pagination, and user roles

check my changes compadre

Did jobs 4 through 7

Excellent job, first m8


WSL (potential bug) with DBUS and vnc

Im using wsl2 btw, ubuntu mate
Following this tutorial: https://ywjheart.wordpress.com/2019/01/09/install-mate-desktop-on-wsluse-linux-desktop-on-windows-10/
message_7.txt
^ so im having a issue with getting the mate-session to work, this is a issue with wsl itself since it does not always create a bus folder in the directory where it listens on BUS.
My dbus-1 configuration:
< busconfig >

unix:path=/run/user/0/bus

< policy group="power" >
< allow send_destination="org.freedesktop.PowerManagement"/ >
< allow send_interface="org.freedesktop.PowerManagement"/ >
< /policy >

< /busconfig >
Tldr: Im trying to set up a desktop GUI (see the Ubuntu distro in mate) on a separate application, im trying to use xlserver (i dont expect any assistance in that regard) or ill try and use ssh. basically, i can see the apps and use it like a regular linux distro.
I don't think i put all the needed information so if you'd like any info like logs im happy to oblige. (when i run dpkg-reconfigure dbus && service dbus restart and restart it, the results are slightly promising but ultimately fail, regardless the vnc is glitchy and id like it to work normally)

WSL 1.3.10 fixed an issue with  /run/user not being writable by users, does upgrading to 1.3.10  solve the issue ?


tensorflow lite performance slower than regular tensorflow model

i converted object detection model into tensorflow lite and i am trying to run it in raspberry pi but the performance of tensorflow lite is slower in desktop. How can i increase the performance speed of the tensorflow lite?

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Request you to provide simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

OS: Windows 10

TensorFlow installed from (source or binary): source

TensorFlow version (use command below): 1.12

Python version: 3.6

Bazel version (if compiling from source): 0.15.2

CUDA/cuDNN version: 9.0
def init(self, model_path='TFLite_model/detect.tflite'):
self.car_boxes = []
# define lite graph and load tensorflow
self.interpreter = Interpreter(model_path=model_path)
self.interpreter.allocate_tensors()
self.input_details = self.interpreter.get_input_details()
self.output_details = self.interpreter.get_output_details()
Helper function to convert image into numpy array
"""def load_image_into_numpy_array(self, image):
(im_width, im_height) = image.size
return np.array(image.getdata()).reshape(
(im_height, im_width, 3)).astype(np.uint8)
# Helper function to convert normalized box coordinates to pixels"""
def box_normal_to_pixel(self, box, dim):
height, width = dim[0], dim[1]
box_pixel = [int(box[0] * height), int(box[1] * width), int(box[2] * height), int(box[3] * width)]
return np.array(box_pixel)
def get_localization(self, image):
# Resize and normalize image for network input
frame = cv2.resize(image, (300, 300))
frame = np.expand_dims(frame, axis=0)
frame = (2.0 / 255.0) * frame - 1.0
frame = frame.astype('float32')
  category_index = {1: {'id': 1, 'name': u'pothole'}}

  # run model
  self.interpreter.set_tensor(self.input_details[0]['index'], frame)
  self.interpreter.invoke()

  # get results
  boxes = self.interpreter.get_tensor(self.output_details[0]['index'])
  classes = self.interpreter.get_tensor(self.output_details[1]['index'])
  scores = self.interpreter.get_tensor(self.output_details[2]['index'])
  num = self.interpreter.get_tensor(self.output_details[3]['index'])

  visualization_utils.visualize_boxes_and_labels_on_image_array(image,
                                                                np.squeeze(boxes[0]),
                                                                np.squeeze(classes[0]+1).astype(np.int32),
                                                                np.squeeze(scores[0]),
                                                                category_index,
                                                                use_normalized_coordinates=True,
                                                                min_score_thresh=.4,
                                                                line_thickness=3)

  # plt.figure(figsize=(9, 6))
  # plt.imshow(image)
  # plt.show()

  boxes = np.squeeze(boxes[0])
  classes = np.squeeze(classes[0]+1)
  scores = np.squeeze(scores[0])

This is the code I have been running but it is quite slow. Can you please tell me why its performance speed is so slow?

Hey, @Red025  I will suggest you for optimizing your tf.lite model. You can look here for Model optimization.
https://www.tensorflow.org/lite/performance/model_optimization
I hope this is what you're looking for.

Hi,
Not all kernels are optimized to run on desktop. What is the model you're trying to run ? can you share it ?
Thanks

i have used ssd_mobilenet to train the model

Assigning to T.J who looks in work related to desktop.
T.J can you please have a look.

Duplicate of https://github.com/tensorflow/tensorflow/issues/21698.
https://stackoverflow.com/questions/54093424/why-is-tensorflow-lite-slower-than-tensorflow-on-desktop
Tensorflow Lite is optimized for ARM neon, and is slower running on your x86_64 desktop.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

I am running it on TF2.0/Windows Desktop with GPU. ITs extremely slow
Can someone help me?

I am running it on TF2.0/Windows Desktop with GPU. ITs extremely slow Can someone help me?

me too..


IntelliJ Idea 2022.2 cannot resolve compose imports.

Idea 2022.2 doesn't resolve compose imports with latest compose dev release.
Steps to reproduce:

Use Idea 2022.2 to create Compose Multiplatform multiple platforms project
Observe that compose imports are correctly resolved.
Change gradle.properties versions to the following:

kotlin.version=1.7.10
agp.version=7.2.0
compose.version=1.2.0-alpha01-dev753

Observe that the imports are not correctly resolved

Additional notes:

Compose imports are resolved correctly in Idea 2022.1.4
Gradle builds are successful

Also reported on JetBrains bug tracker https://youtrack.jetbrains.com/issue/KTIJ-22349/IntelliJ-Idea-20222-cannot-resolve-multiplatform-compose-imports

I had something similar and it was resolved by using Idea 2022.2.1 Preview.

@serandel 2022.2.1 RC solved it for me as well. Thanks for giving me this hint I wasn't aware there were preview builds outside of EAP. I'll close this issue!

I've already updated the issue on JetBrains' tracker (with a screenshot), but I'll just also note here that 2022.2.1 RC did not fix the issue for me. Though since the OP mentioned Gradle builds are still successful I just noticed that trying a normal ./gradlew :android:assemble comes back with the error:
e: This version (1.2.0) of the Compose Compiler requires Kotlin version 1.7.0 but you appear to be using Kotlin version 1.7.10 which is not known to be compatible.  Please fix your configuration (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

(I'm aware that this is more of a warning, because the Compose plugin could still be compatible, technically, but it did fail the build for me.)
I've only followed the reproduction steps given above, so it sounds like there's something else going on.

Hey @EddieRingle, that's not a warning it's an actual error that will fail your build. You can suppress it, but in my experience it never worked when there was  a Compose Compiler/Kotlin version mismatch.

Yes, it is technically an error for Gradle. This should disable the check:
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
    kotlinOptions {
        freeCompilerArgs += listOf(
                "-P", "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
        )
    }
}

It works with 1.7.10, because we are lucky that there weren't incompatible changes.
Better to use the new compiler that officially supports the new Kotlin:
allprojects {
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute(module("org.jetbrains.compose.compiler:compiler")).apply {
                using(module("androidx.compose.compiler:compiler:1.2.1-dev-k1.7.10-27cf0868d10"))
            }
        }
    }
}

It is still unofficial, but it works. We are working on the official way to use different Kotlin. It will be similar to Jetpack Compose way

@igordmn Thanks, yes, that's basically what I do in my projects. I was just pointing out that the original issue as described isn't properly reproducible because Gradle cannot build successfully without that additional step. There is still some sort of issue somewhere, however, as 2022.2.1 didn't necessarily fix anything (because I still see the issue with imports, for example).

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


checking if pull request is made.

added auto scroll feature to references. Edits were made on the description html page and the js.

LGTM !


TEP-0090: Resolve PipelineTask with Custom Task

Changes

TEP-0090: Matrix proposed executing a PipelineTask in parallel TaskRuns and Runs with substitutions from combinations of Parameters in a Matrix.
This change resolves a PipelineTask with a matrixed Custom Task.
/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[n/a] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Release notes block below has been filled in (if there are no user facing changes, use release note "NONE")

Release Notes

NONE

@abayer @dibyom @lbernick please take a look

Unit test failure seems legit.

@abayer ah was a last minute change before pushing, fixed it 👍🏾

/approve

level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
/test pull-tekton-pipeline-build-tests

/lgtm
since andrew already approved


NoSuchMethodError on Amazon AFTT ()

Version
Media3 1.3.1
More version details
No response
Devices that reproduce the issue
Amazon AFTT (Fire OS <IP_ADDRESS>)
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
Start Playback
Expected result
Stream is playing
Actual result
App crashes
Media

Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Hello,
i got a Problem as shown in the Image above. This Problem does not occur with all Forms of Media.
We are Playing Movies in our App which i can not provide because of legal reasons.
Seems that this Function is only usable from Android 7 and upwards.
Is there anything i can do about this?

Duplicate of #1312.


Truncated keysend=true transaction messages

On http://server:8889/keysends/, for transactions with keysend=true, messages with larger than 255 characters are truncated. I can't find a documented max keysend length, however I'd like to propose it is increased.
This seems to be the only place in the source that would need updating.
https://github.com/cryptosharks131/lndg/blob/f3ba04df988d9654b6383b1afc24b3282ddd80ed/gui/models.py#L44

This should not be an issue to implement in an upcoming version.  It looks like the max payload size for a payment would be 1300 bytes and message lengths depend on what characters the user puts in the message. Increasing the max size to somewhere in the 500 or 1000 character limit may be more fitting.
We would also need to update here, when saving the message to the database.
https://github.com/cryptosharks131/lndg/blob/f3ba04df988d9654b6383b1afc24b3282ddd80ed/jobs.py#L98

Resolved in #40


Default job arguments

Is there some way to specify default arguments to jobs? For example, if I want to have every job have retry_backoff on by default, how would I do that?

https://github.com/tobymao/saq/issues/30


readthedocs points to master

Point to stable version after bug fix update.

Pointing to v0.1.1 now.


NameError: name 'np' is not defined in logistic_regr.py

Thank you for your wonderful repo! I am learning how to use your Logistic Model Trees, but I find an error in the impelement of Logistic Regression.
In dvanced_ML/model_tree/models/logistic_regr.py, the functionlogistic_regr.prediction() is trying to call np.ones(), but package numpy didn't be imported inlogistic_regr.py. It seems we should add import numpy as np in this script.

I would like to add numpy to the file.


require! broke when module name contains dot

Hi,
require! {
  koa: 'koa.io'
}

compiles to
// Generated by LiveScript 1.3.1
var koa;
koa = require('koa');

:(
I use below code temporarily
koa = require \koa.io

However, I am glad when this problem is fixed.
Thanks

whoops order is opposite...


Unable to add plugins through the CLI

Describe the bug
When attempting to add a plugin using the CLI, the output is received :
[INFO] Adding: sed: -e expression #1, char 0: no previous regular expression
Steps to reproduce
Add a plugin using the CLI, e.g.: asdf-plugin-manager add shellcheck
Expected behavior
The plugin is added to the internal list of plugins
Screenshots

Additional context
All pre-reqs are installed.

I get a different error on my system (mac os 14.7.1)
asdf-plugin-manager add helm-docs
[INFO] Adding:
sed: first RE may not be empty

Keep in mind, Mac OS ships their own version of sed, that has some differences from, say, ubuntu or rhel versions of sed.

Wow I can't believe I forgot to add that. 🤦🏻  I am running Ubuntu Noble.

@jacrys @CafeLungo, thanks for reporting that 🙌
Please mention all versions (OS, asdf, asdf-plugin-manager) and the steps to reproduce the issue.


Error when trying to run ImageOptim, JPEG Mini, and Image Alpha from the pre-commit hook

I was looking to take the pre-commit hook a bit farther and run it through all the optimizers, and I can't seem to figure it out.
Here's the version you provided (which works):
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || echo $images | imageoptim && git add $images

Here's one example of a modified version I made. I've tried a lot of combinations and all result in roughly the same type of failure.
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || echo $images | imageoptim -a -j && git add $images

This error is probably a result of my inexperience with this.
Ignored as neither file or directory:
Development/Demo/test-a-11.jpg
Development/Demo/test-b-11.png
sort: open failed: /var/folders/yf/fp9rgqlx39x0r8svf6c605tr0000gp/T//imageoptim-cli/index.txt: No such file or directory
Running ImageAlpha...
find: /var/folders/yf/fp9rgqlx39x0r8svf6c605tr0000gp/T//imageoptim-cli/png: No such file or directory
Running JPEGmini...
Running ImageOptim...
Runtime error (func=(main), adr=9): Divide by zero
(standard_in) 2: parse error
TOTAL was: 0kb now: 0kb saving: 0kb (%) quality: %

I am running the latest version (1.11.6) √
If this wasn't intended to be used like this, then it's all good!

Hi @SPJPGRD,
I'm sending this without having run it, so it may not help, but not quoting variable names containing paths is a common gotcha which will result in failures if any of the paths contain spaces;
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || echo "$images" | imageoptim -a -j && git add "$images"

It's a bit of a pot shot, but I hope this helps a little.
Thanks,
Jamie

Hi @SPJPGRD,
Thanks for raising this, the issue could be with my original script in that the $images variable is not quoted, which will cause issues if any of the file paths contain spaces.
Please could you try the following?
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg')
$(exit $?) || echo "$images" | imageoptim -a -j && git add "$images"

Hey @JamieMason •
That did the trick.
Thanks for the quick response!


Set TCP_KEEPALIVE sockets options for better long-lived connection behavior

See: https://github.com/elastic/elasticsearch-py/issues/966#issuecomment-818617726

Are there any plans to implement this fix?

Did you guys fix that ?


Device list is not updated after a device is removed

environment: docker-compose
preconditions:

populate the database
restarting dojot

Steps to reproduce the problem:

Remove the device

Device remains in the list of devices

Remove the device again.

View device details

After F5, device remains in the list of devices

Select another menu item.

Return to the list of devices. The device has been removed from the list.

Affected baseline v0.4.3-rc.1

Note: the problem only happens if the volumes are mapped

Test OK.

device-manager_1              | [30/07/21 - 18:13:30] |TemplateHandler| INFO: Getting template with id: 2
device-manager_1              | [30/07/21 - 18:13:35] |DeviceHandler| INFO:  Removing the device with id 41d208.
device-manager_1              | [30/07/21 - 18:13:36] |BackendHandler| INFO:  Publishing remove event to Kafka
device-manager_1              | [30/07/21 - 18:13:36] |DeviceHandler| INFO:  Getting latest added device(s).

Tested in v0.7.0-rc-2


Bug in AzureKeyVaultConfigurationProvider.cs

In the project Azure.Extensions.AspNetCore.Configuration.Secrets the class KeyVaultSecretManager is converting the secret name to the configuration key in the GetKey method. This method could be overridden.
This means that it is possible to have several secrets names that maps to the same configuration key. The code in AzureKeyVaultConfigurationProvider does not seems to have taken this into account and it might crash when the dictionary is generated in the SetData method.
This PR fix this problem. When collisions like this occurs, the latest updated value will be used.

Hi @pekspro.  Thank you for your contribution and interest in helping to improve the Azure SDK experience.  I've added some tags and routed to the team member best able to offer feedback.

@heaths appreciate you taking a look!


ZkApp Limit Unit Testing

Unit tests to check the Soft Limit ZkApp Commands per block work.

The tests are not running in the way expected. It looks like the tests are getting stuck somewhere but not actually erroring.


[3.2.12] consider renaming "Reload Project" to "Refresh from Disk"

Reload project sounds like a heavy operation that should be done rarely.  However, it's also expected to be done regularly as part of a workflow involving git. Making this sound a little more common would improve workflow.
This is open for discussion.

Fixed per suggestion


% Desync

Description
There seems to be a sync problem where TDM thinks it has mined a larger % than what the drops inventory shows.
To Reproduce
Mine any drop I guess.
Expected behavior
Show a similar percentage to twitch drops inventory page (browser).
Observed behavior
I have noticed the percentage deviating for up to 4% from what the inventory page shows (having seen what TDM shows, reloading the twitch inventory page on my browser and seeing what it shows there). It eventually catches up, however this causes problems when a stage is close to 100% since TDM says there are 0 seconds left but of course it cant claim the drop since on twitch's end there is 1% or more left. This is quite annoying when it happens to very time limited drops like the Warframe ones.
Screenshots
No response
Logs
No response
OS
Windows 10 (64-bit)
Build
.exe
Version/Commit
Both latest dev build and stable release
Additional context
Could be related with the "Cannot connect to Twitch, retrying" error

Are you using v15.9.0?

Yep and it still exists unfortunately..

Maybe having other non-drop livestreams open affects it?

New Error code
22:32:17: ERROR: Exception in task
22:32:17: Traceback (most recent call last):
22:32:17:   File "aiohttp\client_proto.py", line 94, in connection_lost
22:32:17:   File "aiohttp\_http_parser.pyx", line 513, in aiohttp._http_parser.HttpParser.feed_eof
22:32:17: aiohttp.http_exceptions.TransferEncodingError: 400, message:
22:32:17:   Not enough data for satisfy transfer length header.
22:32:17:
22:32:17: The above exception was the direct cause of the following exception:
22:32:17:
22:32:17: Traceback (most recent call last):
22:32:17:   File "utils.py", line 139, in wrapper
22:32:17:   File "twitch.py", line 1049, in _watch_loop
22:32:17:   File "channel.py", line 419, in send_watch
22:32:17:   File "contextlib.py", line 199, in aenter
22:32:17:   File "twitch.py", line 1513, in request
22:32:17:   File "aiohttp\client_reqrep.py", line 1134, in read
22:32:17:   File "aiohttp\streams.py", line 383, in read
22:32:17:   File "aiohttp\streams.py", line 405, in readany
22:32:17:   File "aiohttp\streams.py", line 312, in _wait
22:32:17: aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>. ConnectionResetError(22, 'The specified network name is no longer available', None, 64, None)

That looks like you have problems with your ISP. I'll leave it open if more people report this.

I have a % desync too, but i didn't have the error code of T4bletopG4mes.
Mine is jumping, for example from 77/120 to 68/120 or like in that screenshot.

This problem is since today. I haven't had this problem in the last few days.

The error could be unrelated but desync seems to happen, although its probably more Twitch's than TDM's fault.


Master

@snowysandro what are you trying to do here?

sorry misclicked
br
Sandro Kollreider
<EMAIL_ADDRESS>kollreider.net

Am 25.04.2017 um 18:54 schrieb Alex Jordan<EMAIL_ADDRESS>@snowysandro what are you trying to do here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

In that case you may want to close this then :)

Thanks!


Beginning of login authentication API

This set up a servlet running at the /login path that allows the user to access a login url!

@travis-miller I'd love a review on this :)


Clear Expired Function

Coverage increased (+0.04%) to 86.33% when pulling 36687ad0d4381c441928afcf3fd45d1a3440453d on Li-Shicheng:master into 976e11aeba054a0ab65b8c46eb0df6cd58780319 on CS2103JUN2017-T4:master.


Cannot read properties of undefined getMeterProvider

What happened?
Provided setup code.
Based on the documentation available, I expect this code to work, but instead it is throwing an error.
OpenTelemetry Setup Code
// tracing.js

import { TraceExporter } from '@google-cloud/opentelemetry-cloud-trace-exporter';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import { NodeSDK } from '@opentelemetry/sdk-node';

const traceExporter = new TraceExporter();

const sdk = new NodeSDK({
  instrumentations: [getNodeAutoInstrumentations()],
  traceExporter,
});

void sdk.start();

package.json
"@google-cloud/opentelemetry-cloud-trace-exporter": "^1.1.0",
"@opentelemetry/auto-instrumentations-node": "^0.34.0",
"@opentelemetry/sdk-node": "^0.34.0",

Relevant log output
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading 'getMeterProvider')
    at registerInstrumentations (/srv/node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/instrumentation/build/src/autoLoader.js:30:66)
    at NodeSDK.start (/srv/node_modules/@opentelemetry/sdk-node/build/src/sdk.js:140:56)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Do you get this when using a console trace exporter? I can't reproduce it that way, so maybe it has something to do with the google cloud exporter?

You are right. Only happens with Google exporter. Cross-posted to https://github.com/GoogleCloudPlatform/opentelemetry-operations-js/issues/444

I guess this is because they depend on @opentelemetry/sdk-metrics-base ^0.27.0. This likely results in duplicated packages installed like a new api and an outdated api-metrics.

Seems the zipkin exporter also impacted.

Seems the zipkin exporter also impacted.

which version?


feat(core): KEEP_PREVIOUS_RECORD, KEEP_PREVIOUS_RECORD_DATA

KEEP_PREVIOUS_RECORD: time does not change
KEEP_PREVIOUS_RECORD_DATA: time is renewed

Not going to add them. The cli option --dry-run is the alternative.


v22.0 patches

The v22.0rc1 Bitcoin Core mirror node runs with the following patches:

https://github.com/bitcoin/bitcoin/pull/20295
https://github.com/bitcoin/bitcoin/pull/22260 (RPC part)

We now also run v23.0 which no longer requires any patches


feat(gmail): init

🎉 Theme for gmail🎉
A webmail client
💬 Additional Comments 💬
This is going to be hard to maintain as the code is js generated
https://github.com/catppuccin/catppuccin/discussions/1853
🗒 Checklist 🗒

[x] I have read and followed Catppuccin's submission guidelines.
[x] I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.

[x] I have ensured that the new directory is in lower-kebab-case.
[x] I have followed the template and kept the preprocessor as LESS.

[x] I have made sure to update the
userstyles.yml
file with information about the new userstyle.
[x] I have included the following files:

catppuccin.user.css - all the CSS for the userstyle, based on the
template.
assets/mocha.webp, assets/macchiato.webp, assets/frappe.webp and
assets/latte.webp - individual screenshots of the themed website, in all 4
Catppuccin flavors.
catwalk.webp - image of all individual screenshots stitched together,
generated via catwalk.

These colors doesn't look OK, you could change them.

Theme doesn't apply in actual email

Theme doesn't apply in actual email

In relation to this, that was on purpose. Due to difficult for some to read an email that is themed and coloring could be highly inconsistent between emails. But some emails also have html and CSS making it even harder to theme each and every email, just making it harder for the end user to read an email.


Completely unusable on mobile devices

I could not believe it, but select2 is completely broken on mobile devices, while https://github.com/select2/select2/issues/1541 is marked as closed.
Please, either fix it or announce you're not going to do anything about it, so we can stop waiting and hoping, and switch to Chosen instead.
Please, provide us with an estimated date!
Thank you very much!

??? Just tested it now on both an Android phone (running 5.0.1 android) on both chrome and firefox, works perfectly fine for both.
Fired up the iPad and that works like a charm too.
So, you're going to have to be more specific about your setup and exactly how its not working, since without being able to repeat the issue, it can't be fixed.

So, you're going to have to be more specific about your setup and exactly how its not working, since without being able to repeat the issue, it can't be fixed.

This gets to the point much faster than what you're about to read.

Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
Can you reproduce this issue on the examples page?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it.  The creation of an isolated test case would also be useful.

After clicking on a field, virtual keyboard appears covering displayed list of options (well, most of it). I have to scroll down a bit to even see it. Even a standard select would be better than this.
I'm using Android 4 and multiply select.

The virtual keyboard kicks in because you've got the searching enabled and thus needs text entering. There's a couple of ways around this.

Hide the search box as shown here

$('select').select2({
  minimumResultsForSearch: Infinity
});

Prevent focus on select like this;

$('select').on('select2:open', function(e) {
    $('.select2-search input').prop('focus',false);
})

Read more - Like this issue thats been raised along time ago and has a number of different ideas and options listed.

Finally, don't kick and scream like a spoilt child with threats of no longer use a free and open sourced plugin that has a vibrant and knowledgeable community that has probably encountered your problem before and can be found with a couple of minutes of searching.

@SgtOddball I have similar problem on Android. Unfortunate I don't have a device so I'm using VM.
I've disabled the search focus as you suggested but when I'm clicking on this search the search closes.
Problem occurs on Android 6.

Pinning this so we can add @SgtOddball's solution for mobile views to the documentation.


Defullscreening ignores previous maximizing

Everything tested on 589046ecf74965a8e22a9891290f4b289c60a334
Steps to reproduce

Maximize application (e.g. firefox)
Send a fullscreen request through the application (e.g. fullscreening a video)
Send a defullscreen request through the application (e.g. exiting the video)

Outcome:
The application window is now back to its normal, unmaximized state.
This behavior feels a bit off to me, since I expect the window to return to its state before the fullscreen was requested (i.e. maximized), and not always to the normal state.
If you also think this is unwanted behavior, I can open a PR with the fixes I made in my fork, if you want.

you can make a PR to that but it is expected behavior, although maybe not the most intuitive.


Minimum number for peptides for LFQ

Hi @ammarcsj ,
I am back with an additional question :)
Is there a way to specify the minimum number of peptides a protein should have to get a LFQ value?
Neither in the GUI nor in the code I don't see a filter on this, am I wrong?
It would also be nice to get in the output table which are the peptides that were used for the LFQ calculation.

Hi @pisistrato :)
indeed there is no filter for number of peptides, only for number of intensities with the following switch (I copy from the Github):
-min_nonan: Min number of ion intensities necessary in order to derive a protein intensity. Increasing the number results in more reliable protein quantification at the cost of losing IDs.
So if you have DIA data and use all fragment intensities, you will have quite a few intensities already if you detect a peptide. If you use precursor or peptide intensities as input, you will have only as many as there are charge states, or even only one. However I found you can tune it quite easily for your dataset and its a bit more general than peptides (which would indeed be nice to have)
Does this already help?
Concerning the output table: indeed this would make sense. What you can only do currently, is look into the .ion_intensities.tsv table, where all the underlying data is stored. If a protein intensity is reported we currently always use all the data listed in the table.
Best
Constantin


TypeError: 'NoneType' object is not subscriptable

When I run the code，there were errors occured
File "/home/cjq/EDA/AutoDMP-main/hpbandster/optimizers/config_generators/mobohb.py", line 293, in new_result
    "Error": job.result["loss"][0],
TypeError: 'NoneType' object is not subscriptab

and
 File "/home/cjq/EDA/AutoDMP-main/dreamplace/NonLinearPlace.py", line 426, in one_descent_step
   cur_metric.objective = optimizer.param_groups[0]["obj_k_1"][
IndexError: list index out of range

For the first one, because job.result in AutoDMP-main/hpbandster/optimizers/config_generators/mobohb.py was None, this will cause an error when using job.result["loss"][0]. But I don't know how to modify

I have found the reason. When the optimizer selected by the program is adam, an error will occur. If sgd is selected, it will not. I further suspect that it is a version issue with pytorch


'liquibase status' is broken for Oracle

Environment
Liquibase Version: 4.18.0 (but at least 4.16.1 was already affected too)
Liquibase Integration & Version: None, we just use a batch-script
Database Vendor & Version: Oracle Database 19c Enterprise Edition
Operating System Type & Version: We use Microsoft Infrastructure, Win10 equivalents on DB-Server and Client
Infrastructure Type/Provider: DB-Server runs on a VMWare-VM, Client is a physical machine
Description
The status command reports 100% of changelogs inside a file as not executed, although they have been executed prior.
Steps To Reproduce

provide a DB and a list of changesets in a file (XML in our case)
employ Liquibase's update command to update the DB
try executing status and observe the result

For details, see console commands in the next section.
Actual Behavior
Here is a sequence of console commands with all private and personal information redacted/replaced. The output has been slightly formatted for clarity (see the ;;;;;-sections).
It shows that the behavior of the status command is incorrect, as it continues to report 34 changesets as not executed.
;;;EXECUTE HISTORY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" history
Starte Liquibase am 11:20:18 (Version 4.18.0 #5864, kompiliert am 2022-12-02 18:02+0000)
Liquibase Version: 4.18.0
Liquibase Community 4.18.0 by Liquibase
Liquibase History for jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB

- Database updated at 14.12.22, 16:12. Applied 33 changeset(s) in 17.406s, DeploymentId:<PHONE_NUMBER>
  file001::0::personA
  file001::1::personB
  file001::2::personB
  file001::3::personB
  file001::4::personB
  file001::5::personB
  file001::6::personA
  file001::7::personA
  file001::8::personA
  file001::pre-9::personA
  file001::9::personB
  file001::10::personA
  file001::11::personA
  file001::12::personB
  file001::13::personA
  file001::14::personA
  file001::15::personA
  file001::16::personA
  file001::17::personA
  file001::18::personA
  file001::19::personA
  file001::20::personA
  file001::21::personA
  file001::22::personA
  file001::23::personA
  file001::post-23::personA
  file001::24::personA
  file001::25a::personB
  file001::25b::personB
  file001::26::personA
  file001::27::personA
  file001::28::personA
  file001::29::personA

- Database updated at 15.12.22, 11:26. Applied 1 changeset(s), DeploymentId:<PHONE_NUMBER>
  file001::30::personC

Liquibase command 'history' was executed successfully.

;;;EXECUTE UNEXPECTED-CHANGESETS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" unexpected-changesets
Starte Liquibase am 11:20:33 (Version 4.18.0 #5864, kompiliert am 2022-12-02 18:02+0000)
Liquibase Version: 4.18.0
Liquibase Community 4.18.0 by Liquibase
our-thingy@jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB contains no unexpected changes!
Liquibase command 'unexpected-changesets' was executed successfully.

;;;EXECUTE STATUS, SHOULD REPORT NO PENDING CHANGESETS AT THIS POINT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" status
Starte Liquibase am 11:20:44 (Version 4.18.0 #5864, kompiliert am 2022-12-02 18:02+0000)
Liquibase Version: 4.18.0
Liquibase Community 4.18.0 by Liquibase
34 changesets have not been applied to our-thingy@jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB
Liquibase command 'status' was executed successfully.

;;;EXECUTE UPDATE, FOR CLARIFICATION ONLY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" update
Starte Liquibase am 11:20:52 (Version 4.18.0 #5864, kompiliert am 2022-12-02 18:02+0000)
Liquibase Version: 4.18.0
Liquibase Community 4.18.0 by Liquibase
Liquibase command 'update' was executed successfully.

;;;EXECUTE STATUS AGAIN, PROVING THE BEHAVIOR IS INDEED INCORRECT (BECAUSE WE UPDATED ABOVE);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.\liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" status
Starte Liquibase am 11:21:03 (Version 4.18.0 #5864, kompiliert am 2022-12-02 18:02+0000)
Liquibase Version: 4.18.0
Liquibase Community 4.18.0 by Liquibase
34 changesets have not been applied to our-thingy@jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB
Liquibase command 'status' was executed successfully.

Neither content of changesets.xml nor the actual DB-Content was modified between the statements (aside from what Liquibase does).
Expected/Desired Behavior
status command should correctly report only those changesets which have not yet been executed and thus behave consistently to other types of DBMS. As stated in the doc, it shall _generate a list of pending changesets.
Context
We do not have these problems when using the exact same changesets and console commands on MSSQL and PostgreSQL databases.
Obviously, this is a pretty major issue for us 😉, a quick fix would be appreciated.

Hello! Thanks for submitting this issue. I followed the instructions but couldnt reproduce the behavior, maybe its a little more complicated than expected  and its not just liquibase status not working correctly. Can you provide us with the changelog that has this problem or trying creating a test changelog that has that behavior for you? I cant promise a quick fix, so if you want the fix to be ready as soon as possible, I recommend submiting a PR with a fix for this issue, we will help you through the process too. Thanks again

I cannot give you the files and DB contents in question but I can write something for you that produces the issue as well. All of the following was produced exclusively for this issue and since we used a dedicated, freshly created empty Oracle DB for it, no more *** placeholders in the log 😉 .
Note: We used Liquibase v4.16.1 in this execution log, which is the version we have in production. As noted earlier, v4.18.0 is affected too and I originally reported the issue for that version.
I have uploaded a ZIP containing:

a file called what-we-executed.txt that shows the error and how Liquibase was called
the changesets.xml that was used to do the above ↗
a file aptly named how-we-created-the-empty-oracle-db.txt documenting exactly that

repro_helpers.zip

We have been investigating this on our own a bit, nothing conclusive yet.
We did notice the following (written with respect the original post in this issue):
As mentioned, this does not work and always reports 100% of changesets as not run:
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" status

However, this actually does work, reporting only those changes which actually need to be executed.
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" status

In the majority of Oracle-DBs, the "user" and the "schema" are the same from a naming convention standpoint and the default schema for this type of authentication then saves us and ensures Liquibase is looking for its tables in the right place.
However, it should actually not make a difference here. But it does, given our testing, which suggests these parameters being misinterpreted in some way. Note that, for this test, we were making updates as follows:
liquibase.bat --url="jdbc:oracle:thin:@ORA19SAS:1521/ORCL19SASPDB" --liquibase-schema-name="our-thingy" --default-schema-name="our-thingy" --username="our-thingy" --password="***" --changelog-file="changesets.xml" --headless=true --file-encoding="UTF-8" update

After update, status with explicit schema was reporting 36 of 36 as unrun while  status without was reporting 19 out of 36 as unrun, which was the correct number in our test (as deliberately broke a changeset in the middle 😉 ). Looking at the code, we have not yet found an obvious cause of this and the problem remains.


Move tuple and list expr collection to lowering pass

What was wrong?
Another salsa-inspired change. The analyzer collects a bunch of stuff for the later passes, but those passes can collect the stuff just as easily.
How was it fixed?
To-Do

[ ] a bit o' cleanup
[ ] rebase on master when #458 is merged
[ ] add test for lowering of nested tuples

Codecov Report

Merging #459 (730fcc6) into ast-item-structs (678ae28) will decrease coverage by 0.30%.
The diff coverage is 87.61%.

@@                 Coverage Diff                  @@
##           ast-item-structs     #459      +/-   ##
====================================================
- Coverage             87.35%   87.04%   -0.31%
====================================================
  Files                    72       73       +1
  Lines                  4973     5018      +45
====================================================
+ Hits                   4344     4368      +24
- Misses                  629      650      +21

Impacted Files
Coverage Δ

analyzer/src/context.rs
89.39% <ø> (-2.11%)
:arrow_down:

analyzer/src/namespace/scopes.rs
95.16% <ø> (-0.11%)
:arrow_down:

analyzer/src/traversal/expressions.rs
91.30% <ø> (-0.09%)
:arrow_down:

analyzer/src/traversal/types.rs
100.00% <ø> (ø)

parser/src/ast.rs
48.88% <ø> (ø)

analyzer/src/namespace/types.rs
81.18% <60.00%> (-1.89%)
:arrow_down:

compiler/src/lowering/mappers/module.rs
79.48% <72.00%> (-16.17%)
:arrow_down:

compiler/src/lowering/context.rs
94.11% <94.11%> (ø)

compiler/src/lib.rs
70.00% <100.00%> (ø)

compiler/src/lowering/mappers/contracts.rs
100.00% <100.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Add a secondary content (e.g. languages, skills, character, etc.)

Add a secondary content (e.g. languages, skills, character, etc.):

Skills block
Experience block template
Experiences
Additional info

https://github.com/SkyKeyUA/homepage


Unable to check folder comments

As shown, I created a folder structure like 123 and created 1234note
But using the plug-in check, only 4 is listed
And 23 was ignored
But there should be 2 in 1, 3 in 2, 4 in 3
Layer by layer down
None of the options in the current plug-in can achieve this effect

hi, it seems to work as expected
Plugin will check the presence of links to files (notes) only, cause you can't reference a folder itself in obsidian.
Also an Index file (named as a pattern specifies) must be present in a each folder you want to maintain index on the first place, so plugin knows it should check this folder at all.

As shown in the figure, I set up such a folder/file structure
But when I check, the red marks are the links I should get
But the documents 1, 2, 2a are empty
That is, if I just open 1, I have no way of knowing that there are 2 and 2a in his subordinate file, because I will never check that the link is missing
I hope we can check on them. Thank you

i'm afraid i can't replicate your bug, works as it should for me.

Are you sure you have options set correctly (like 'all nested' and 'added to index file'?

Like this picture you have here

The link that should be in 1 is 2
The link that should be in 2 is 3
The link in 3 should be 4
And the link that should be in 4 is note
So I can find 2 in 1, 3 in 2, and note in 4
Because my 1234 is also an important note, they need to be linked, but now only the note can be linked

If you can support such a way, it will make the plugin even better, now all my files with the same name as the folder can only be manually checked to see if the file is linked to a higher level

right, got you now. You're saying plugin should not ignore index files themselfes when they are nested. We can do that. Do you think it should be the case for -smart-nested only, or for -all-nested mode too?

I'm supposed to use only -smart-nested myself, but I think other people might want it to work in -all-nested
Thank you for supporting this usage, it is very kind of you

did it! For smart nested only. You can update the plugin. Thanks for your feedback


Fixed #24121 - Added BoundField repr() method

@alex hai

@Edald123 Thanks for this patch, however BoundField is not listed in the ticket-24121 and I don't think we should increase the scope of this ticket.

I understand, I didn't notice it wasn't there. I will be working on the ones that are listed thank you!


Tickets/DM-38058

Sorry for the delay on this -- it got stuck behind some other work. I'm working on getting it merged now for the upcoming 9.1.0 release.

I've refactored this a bit and added tests and documentation. Doing some research, it looks like OpenIDM was a failed open-core attempt, and now the only version of this software that exists and is maintained is ForgeRock Identity Management (that's what all their documentation calls it). "idm" is a very generic term (everything Gafaelfawr queries is an identity management system), so I renamed the configuration setting to forgerock and changed the fields to match our normal convention.
If you want to test in advance, there's a new Docker image available as the tickets-DM-38058 tag. I'm going to work on the Phalanx integration shortly.

BTW, refactoring work is in #712.

Thanks @rra I will give a try asap. CC-IN2P3 is also moving from openIDM to Apache Syncope, so probably in the next months I will be forced to add a new component in gafaelfawr.

I asked many time for this, hopefully one day...

Equivalent code has now been merged in #712 and is in the 9.1.0 release. I also updated Phalanx with this configuration for your environment, although did not include the other nublado change in the code merged into Phalanx. If you rebase your Phalanx branch, you should hopefully get a working deployment with this support. If you run into any problems, let me know, and I can do a quick bug fix release.


Fixes  #1750 - Export the target screenshot image location as environment variable

Tested using Wercker run

Will be implemented a bit differently as per comments here


[NG] Datagrid: offer two-way binding on the selected state of a row

Select one ...  (check one with "x")
[ ] bug
[x] feature request
[ ] enhancement

Expected behavior

We want two-way binding offered on the <clr-dg-row> component for its selected state. This would allow users to select items programmatically more easily, or keep up-to date with the current selection status:
<clr-dg-row *clrDgItems="let item of users" [clrDgItem]="item"
    [(clrDgSelected)]="item.selected">
    ...
</clr-dg-row>

Actual behavior

Currently, the only way to do this is to grab the DatagridRow instance through template variables or ViewChildren.
Environment details

Angular version: 2.0.X

Clarity version: 0.7.1

OS and version: all

Browser: all

Can we reuse 'clrDgSelected' directive offered in  to select items programmatically?
<clr-datagrid [(clrDgSelected)]="selected">
currently the selected property will get updated with the list of items selected. can we make this variable two way? so that any changes to that variable will reflect in the datagrid selection.

Push a record to selected to make the row selected programmatically.
this.selected.push(items[0]);
Delete a record from selected to make the row the unselected programmatically.
this.selected.splice(2, 0)

@sivaah: This is already the case, 2-way biding on [(clrDgSelected)] on the datagrid component itself works just like you described.

@youdz, The selected state works fine once the grid is rendered / displayed data. If i add some records to "selected" to make one/some record selected initially that It doesn't work.
In the following example, I'm pushing the first record to selected as soon as the data is fetched, to make the first record selected by default but it doesn't work.
<clr-datagrid [(clrDgSelected)]="selected">
    ...
    <clr-dg-row *clrDgItems="let user of users" [clrDgItem]="user">
     ...
this.users = [...];
this.selected.push(this.users[0]);

I will try to create plunkr and update this thread

No need to create the plunker, I understand where the issue comes from. I'll see what we can do to fix this. 👍

Hello !
Same problem for me. No way to select items in the datagrid programmatically.
Edit the array bound to the clrDgSelected directive does not change anything in the grid.
Please help !


Lums/sc 32552/nn descent

This PR includes the implementation of two graph-based indexing algorithms: nn-descent and vamana.  The cpp_api branch was also merged into this one, so there is also code in this PR from that branch.
CPP API
For C++ library API

api.h - Type-erased interface between Python and C++, including Vector, FeatureVector, and Index.  The type-erased classes take a URI and read in the corresponding TileDB array.  The underlying type of the Vector, FeatureVector, or Index class is determined by the data type of the TileDB array.
concepts.h - Initial introduction of C++20 concepts.  A collection of concepts for defining the API to the vector search library.  This allows us to abstract away the format of the data storage (e.g., we don't need to worry about row-major or column-major).
Use concepts for template parameters in function templates.  Replace type-specific calls in the library (e.g., in query functions, matrix classes) with CPOs.  There will be many small diffs due to this replacement.  The two most important concepts are

A feature_vector is a contiguous random_access_range with the addition of operator[] on the container. Moreover, the expression dimension(v) must be valid for a type to meet the requirements of feature_vector (which can be implemented with a customization point object, or CPO).
A feature_vector_range is a container of feature_vector. The ith feature_vector is obtained via operator[]. The expressions dimension(r) and num_vectors(r) must be valid.  feature_vector_range is not actually a range (in the sense of std::ranges, since we don't provide the required iterators) so we will need to change the name at some point. Or we could consider requiring feature_vector_range actually meet the requirements of std::range -- in which case it would need to have all the iterator plumbing, etc.  Providing this capability is not too difficult, requiring only a fairly straightforward facade.

cpos.h - Customization point objects to work in conjunction with the concepts, including

num_vectors(), dimension() to provide abstract size data for set of vectors (rather than num_rows(), num_cols())
load() - abstracts away loading data into a matrix.  Is a nop for a Matrix, will load data into a tdbMatrix

Further descriptions about the CPP_API PR can be found in PR 131.
Graph-Based Indexing and Search

Graph classes

adj_list.h - Two adjacency list classes, one that just stores indices and one that stores indices and scores
nn-graph.h - An adjacency list class nn_graph that keeps the neighbors in a fixed_min_heap in order to store only the neighbors with the top-n scores

Graph creation and search algorithms

nn-descent.h - Implements the nn-descent algorithm, using an nn_graph
vamana.h - Implements a vamana_index class that builds an index according to the vamana algorithm as described in the "filtered fresh DiskANN" paper (not either the original DiskANN paper nor the fresh DiskANN paper).

The index is built by iterating over the vectors in the data set and processing each vector as an insert into the index.
When a vector is added, a best-first path from the medoid (the vector closest to the middle of the vector data set) is computed.
The path is then pruned to keep the degree of the vertexes on that path below a given threshold.
The functions for performing the best-first search and the pruning are greedy_search and robust_prune (which are the names given in the original DiskANN paper).

Utility and helper functions

diskann.h - functions for reading DiskANN memory index files

Demo applications

The demo_* programs in the test subdirectory are essentially integration tests that output qualitative data for assessing proper functioning of key algorithms in building the graph-based indexes (such as dumping graph information to disk so that the graphs can be read and plotted by networkx).  Two notebooks are provided for examining data dumped by unit_vamana and vamana: plot_unit_vamana.ipynb and plot_vamana.ipynb.

Unit tests

Unit tests for the new classes and functions are provided in include/test.

CLI drivers

Two CLI drivers are provided for vamana indexing: src/vamana/index.cc which builds a vamana-based index for a specified TileDB set of vector data, and src/vamana/query.cc that queries a vamana-based index.  As with previous C++ CLI programs, these print extensive logging data.

Benchmark scripts

src/benchmarks/vamana - diskann.bash and vamana.bash respectively run indexing and querying programs from DiskANN and TileDB on some small-ish datasets (datasets that will fit in memory) and report timings (etc).  DiskANN is only configured to compile and run on x86 Linux, so these scripts need to be run on an appropriate platform.

Cleanup of unused files
NB  A number of the unit tests read and write arrays from the local file system.  These are hard-coded to my personal development environment since we are not currently pulling those into a uniform location (this should be fixed at some point so that test arrays are pulled in manually by running a script or automatically as part of cmake).

#162, #173+


iss: Update dotnetcli domain

Related: https://github.com/dotnet/core/issues/9671

Thanks a lot! Really appreciated again :)


Add dynamic entity layer

Description
PR to add a new Kotlin sample "Add Dynamic Entity Layer" in Layers category.
Links and Data
Sample Epic: runtime/kotlin/issues/2927
What To Review

Review the code to make sure it is easy to follow like other samples on Android
README.md and README.metadata.json files

How to Test
Run the sample on the sample viewer or the repo.

@shubham7109 thanks for the detailed review. Applied you suggestions and added couple comments with my thoughts. Please re-review and let me know if the changes look good to be approved?

Thanks @rchintapalli for suggestions! good catch
Please re-review?

Thanks @shubham7109 @rchintapalli for reviews! Merged.


add Depth method. credits to @avdva

@avdva: We may benefit all to actually do pull requests to the main repo. Here, some parts of your work.

LGTM
Can you also add a test case?


[#4558] Cleanup

Codecov Report

Merging #5505 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #5505   +/-   ##
=======================================
  Coverage   40.79%   40.79%
=======================================
  Files        2820     2820
  Lines       84799    84799
  Branches    11300    11298    -2
=======================================
  Hits        34592    34592
- Misses      47181    47183    +2
+ Partials     3026     3024    -2

Impacted Files
Coverage Δ

...m/navercorp/pinpoint/web/service/DotExtractor.java
74.19% <100%> (+10.55%)
:arrow_up:

...p/pinpoint/web/service/map/FilteredMapBuilder.java
70.08% <100%> (+0.52%)
:arrow_up:

...pc/server/LoggingServerMessageListenerFactory.java
90% <0%> (-10%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70% <0%> (-3.34%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75% <0%> (-3.13%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

...cluster/zookeeper/ZookeeperClusterDataManager.java
64.7% <0%> (+2.2%)
:arrow_up:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
69.23% <0%> (+2.56%)
:arrow_up:

Continue to review full report at Codecov.

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


fix(f5): Support "crit" as severity

:tada: This PR is included in version 1.49.0-develop.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.49.0-develop.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.50.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.50.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.50.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix typo

- What I did
fixed grammar
- How I did it
- How to verify it
Please let it be reviewed by a native English speaker :)
- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:schmunk42/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM

@schmunk42 it looks good but please sign your commit.
git commit -s --amend --no-edit
and then repush.

Is there no way to do this via the GitHub web-interface? It's a bit annoying that I need to clone 100s of MBs for changing 2 characters - and even writing this here. But hey :)
Clone is downloading at 100 KB/sec :( ..... stay tuned.

@schmunk42 I'm confused - how did you push your change w/o cloning in the first place?

@duglin I just clicked the edit button in GitHub's Web-UI, this forks the repo in the background and let's you instantly create a PR from your changes.
You don't need to work locally, that is nice workflow for a little typos in docs like above.

Is there no way to do this via the GitHub web-interface? It's a bit annoying that I need to clone 100s of MBs for changing 2 characters - and even writing this here. But hey :)

Unfortunately, no, I think there's a feature request somewhere, and a "rant" from Linus Torvalds on this subject https://github.com/torvalds/linux/pull/17#issuecomment-5654674
We know it's a PITA, so thanks for fixing it 👍
LGTM


Error during installation on Raspberry PI

Seem to be an issue in conjunction with raspberry pi model b (rev2).
Please see attached log.
Thanks!
https://gist.githubusercontent.com/ademcaliskan/8654672dac377ef4d422/raw/npm-debug.log

Hm, maybe sudo npm install -g node-inspector --unsafe-perm will be helpfull?

Thanks, works like a charm. Remote debugging on Pi is possible now. Woohaa.


Only run a small set of performance tests per commit

Context
There's a huge size of performance test set run per commit. Let's keep only core set of performance tests running in ReadyForMerge and ReadyForNightly phase to improve feedback time.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFR

OK, I've already triggered ReadyForRelease build for you.

@bot-gradle test RFR

OK, I've already triggered ReadyForRelease build for you.

@bot-gradle test RFR

OK, I've already cancelled the old build and triggered a new ReadyForRelease build for you.

@bot-gradle test RFR

OK, I've already cancelled the old build and triggered a new ReadyForRelease build for you.

@bot-gradle test RFR

OK, I've already triggered ReadyForRelease build for you.

@bot-gradle test RFR

OK, I've already triggered ReadyForRelease build for you.


General updates

I am getting this note when running devtools::check(). Not an error or warning and functions works perfectly fine (plus I couldn't figure out how to fix whatever is "wrong"), these variables are not global but are used within mutat so....
There are ways to shut down this message but I think its worth keeping just in case it rises issues moving forward
  mean_variance_plot: no visible binding for global variable ‘.data’
  mean_variance_plot: no visible binding for global variable ‘mean_count’
  mean_variance_plot: no visible binding for global variable ‘variance’
  mean_variance_plot: no visible binding for global variable ‘log10_mean’
  mean_variance_plot: no visible binding for global variable
    ‘log10_variance’
  Undefined global functions or variables:
    .data log10_mean log10_variance mean_count variance

0 errors ✓ | 0 warnings ✓ | 1 note x


turn off auto-save?

Well, I've done it. I'm on a laptop, but I use a wireless mouse. While I was mousing around, my hand brushed my touchpad (I use both sometimes), accidentally highlighting a whole lot of text. One "f" later and most of my homebrew is gone, and of course Homebrewery saved almost immediately.
It's my fault, I'm aware, and I suppose I should be backing up in other places, but the easier solution for me (by far) is turning off the auto save. I've never had a problem saving on my own, even in the midst of late-night RPG games.
Is there a way to do this?

Auto-save is a very handy thing, but ideally it should be paired with version-history. Which we don't have. And probably won't until someone pays for the massive inflation of storage space requirements =(
Since it's not always obvious when something like this happen (e.g. cats sits on kbd while user away getting cawfee) then having an option to turn off auto-save isn't totally unreasonable.
It could be a simple toggle thing in the Editor UI, next to the save button.
Tagging as complicated as any solution should be more than simply "turn off auto-save".
If this implemented, it should also throw a reminder every now and then (or even a non-modal titchy dropdown warning notification "You haven't saved for a while. Save now, or continue living dangerously?" — not unlike the titchy dropdown warning for "gdrive is borking, try logging in again")

Or if auto-save is off, have a prompt to save when window/tab is closed, or brew is otherwise navigated away from.

That too.


Add Final/Coarse Grained Api,change the version number of Common to 1.0.14.

Add Final/Coarse Grained Api,change the version number of Common to 1.0.14.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Seg Fault when evaluating custom GPU op

System information

OS Platform and Distribution: Linux Ubuntu 16.04 but using tensorflow/tensorflow:custom-op-ubuntu16 docker image.
TensorFlow version (use command below): 1.14.0 (from tensorflow/tensorflow:custom-op-ubuntu16 docker image)
Python version:  2.7.12 (from tensorflow/tensorflow:custom-op-ubuntu16 docker image)
CUDA/cuDNN version:  10.0 (from tensorflow/tensorflow:custom-op-ubuntu16 docker image)
GPU model and memory:  GeForce GTX 980M

Describe the problem
I am using the tensorflow/tensorflow:custom-op-ubuntu16 docker image and within the container I took the following steps from the instructions.

ran configure.sh

build with bazel build tensorflow_time_two:python/ops/_time_two_ops.so which is successful

Navigated to the directory of the resulting shared object and attempted to load and evaluate the op with

import tensorflow as tf
time_two_module = tf.load_op_library('./_time_two_ops.so')
with tf.Session(''):
  time_two_module.time_two([[1, 2], [3, 4]]).eval()

and I get a seg fault with the following output
2019-08-24 17:27:36.880958: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-08-24 17:27:36.894117: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:36.894651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 980M major: 5 minor: 2 memoryClockRate(GHz): 1.1265
pciBusID: 0000:01:00.0
2019-08-24 17:27:36.894677: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-24 17:27:36.895645: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-24 17:27:36.896448: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-08-24 17:27:36.896671: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-08-24 17:27:36.897767: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-08-24 17:27:36.907920: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-08-24 17:27:36.911424: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-08-24 17:27:36.911531: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:36.912194: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:36.912787: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-08-24 17:27:36.913094: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-08-24 17:27:36.987692: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:36.988139: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x60162f0 executing computations on platform CUDA. Devices:
2019-08-24 17:27:36.988156: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): GeForce GTX 980M, Compute Capability 5.2
2019-08-24 17:27:37.008712: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-24 17:27:37.008995: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6088260 executing computations on platform Host. Devices:
2019-08-24 17:27:37.009010: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): <undefined>, <undefined>
2019-08-24 17:27:37.009185: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:37.009568: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 980M major: 5 minor: 2 memoryClockRate(GHz): 1.1265
pciBusID: 0000:01:00.0
2019-08-24 17:27:37.009601: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-24 17:27:37.009616: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-24 17:27:37.009630: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-08-24 17:27:37.009642: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-08-24 17:27:37.009656: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-08-24 17:27:37.009667: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-08-24 17:27:37.009679: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-08-24 17:27:37.009730: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:37.010112: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:37.010474: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-08-24 17:27:37.040655: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-08-24 17:27:37.040677: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2019-08-24 17:27:37.040683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2019-08-24 17:27:37.040899: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:37.041315: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-24 17:27:37.041705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7201 MB memory) -> physical GPU (device: 0, name: GeForce GTX 980M, pci bus id: 0000:01:00.0, compute capability: 5.2)
Segmentation fault (core dumped)

Thanks @yifeif, but I think that tensorflow/tensorflow:custom-op-ubuntu14 is CPU only.  Is there any working GPU docker image?

Yea we do have tensorflow/tensorflow:custom-op-gpu-ubuntu14 as well :). Please see https://github.com/tensorflow/custom-op/blob/master/README.md for more info.

Hi @alexminnaar . I am having a similair issue. Did you solve the problem?

Hi @yifeif
Is there a command line for the g++/gcc I can use for TF 1.14? I'm not using the docker and trying to compile the custom op by myself using the tensorflow_time_two example and the command lines.

@berryweinst which ubuntu version are you building on? If you are using ubuntu 14.04, you might be able to do this without the docker image for TF 1.14.

I'm on ubuntu 16.04, python 3.6 TF 1.14.
These are the commands I'm running:

nvcc -std=c++11 -c -o tensorflow_time_two/python/ops/_time_two_ops.cu.o tensorflow_time_two/cc/kernels/time_two_kernels.cu.cc ${TF_CFLAGS[@]} -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -DNDEBUG --expt-relaxed-constexpr

g++ -std=c++11 -shared -o tensorflow_time_two/python/ops/_time_two_ops.so tensorflow_time_two/cc/kernels/time_two_kernels.cc tensorflow_time_two/cc/kernels/time_two.h tensorflow_time_two/cc/ops/time_two_ops.cc tensorflow_time_two/python/ops/_time_two_ops.cu.o ${TF_CFLAGS[@]} -fPIC -lcudart ${TF_LFLAGS[@]} -L /usr/local/cuda/lib64/


Add BERT support

My inspection is based on the ONNX model of huggingface's bert-base-german-cased, converted using the python -m transformers.onnx --model=bert-base-german-cased onnx/ command as described in https://huggingface.co/docs/transformers/serialization.
After decoding the model from the protobuf file, I tried the conversion:
iex(6)> AxonOnnx.Deserialize.graph_to_axon(g, %{"batch" => 32, "sequence" => 512})
** (RuntimeError) unsupported Slice op in graph
    (axon_onnx 0.1.0) lib/axon_onnx/deserialize.ex:419: anonymous fn/3 in AxonOnnx.Deserialize.get_nodes/4
    (elixir 1.13.2) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
    (axon_onnx 0.1.0) lib/axon_onnx/deserialize.ex:64: AxonOnnx.Deserialize.graph_to_axon/2

I checked if other operations are missing against the ones found in get_nodes
g.node |> Enum.map(fn %{op_type: op} -> op end) |> Enum.uniq
["Unsqueeze", "Cast", "Constant", "Sub", "Mul", "Shape", "Gather", "Add",
 "Slice", "ReduceMean", "Pow", "Sqrt", "Div", "MatMul", "Concat", "Reshape",
 "Transpose", "Softmax", "Erf", "Gemm", "Tanh"]

and Slice is the only operation that is missing (apparently).

I'm checking out if I'm able to implement it myself!

This is an Slice node example I have under my hands
%Onnx.NodeProto{
  __uf__: [],
  attribute: [],
  doc_string: "",
  domain: "",
  input: ["embeddings.position_ids", "1610", "218", "1611", "220"],
  name: "Slice_14",
  op_type: "Slice",
  output: ["221"]
}

Stuck at https://github.com/elixir-nx/nx/issues/511 for now, I could not run the tests.

@seanmor5 I successfully executed the tests do I'm now able to contribute. How would you proceed? Do you have any feedback on this regard?

@seanmor5 I understood test generation and added a failing slice test. What Axon operation would be a candidate for implementing Slice?

@dmorn Axon has a Nx layer where you can invoke any Nx function. Maybe that's the way to go here?

I think Slice will be harder because the slice sizes can be runtime values which is not supported right now by Nx, you can try though and use the constant! helper in deserialize to force the sizes to be constant

@josevalim and @seanmor5, thanks for joining! Here is what I'm doing
  # https://github.com/onnx/onnx/blob/5cf5feef5ec3fd5527b2fdb6c29780e3b705059f/docs/Operators.md#slice
  defp to_axon_slice(node = %Node{op_type: "Slice"}, axon, params, used_params) do
    parent = Enum.map(node.input, &axon!(&1, axon))
    [output_name] = node.output

    op = fn data, starts, ends, axes, steps ->
      mapping =
        [axes, starts, ends] # no step for now
        |> Enum.map(&Nx.to_flat_list/1)
	|> Enum.zip()
      # Eventually Nx.slice_axis/5
    end

    # At this point I don't know the output shape yet
    layer = Axon.layer(parent, op, {}, %{}, output_name)
    updated_axon = Map.put(axon, output_name, layer)
    {updated_axon, used_params}
  end

@seanmor5 are you referring to the output shape thing with the usage of constant! ? What does it mean to avoid specifying the output_shape like I'm doing?

The above was the idea but I bet I cannot use whatever I want within op right? 😆
** (Axon.CompilerError) error while building prediction for #Function<17.30279046/5 in AxonOnnx.Deserialize.to_axon_slice/4> layer with name y:

     ** (ArgumentError) cannot invoke to_binary/2 on Nx.Defn.Expr.

     This typically means you are invoking an unsupported Nx function
     inside `defn` or inside JIT compiled code

OK but I bet I can translate this thing into Nx only operations. Is the big picture correct though?

@dmorn i think you're going down the right path! The problem is that ONNX is more flexible with shapes whereas Nx is not, but I think we can still make this work

Is there any way to convert a tensor to a List within op?

A tensor of what to a list of what? :) Do you have an example?
Btw, we do have a Slack channel where we hang, in case you want to join. You just need to create an account on the ErlEF website (it is free) and once you login you can request an invite in your settings page.

If you have a tensor t of type s64[4] and you want to use those as the indexes positions, you can do this:
Nx.slice(other_tensor, [t[0], t[1], t[2], t[3]], [2, 2, 2, 2])

The lengths cannot be dynamic though.

I'll do it asap, thanks @josevalim 😊

See #22


Correct prop type

Summary

Correct prop type

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

npm package (@release-1.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


will rust-analyzer goes util top Cargo.toml?

I have such directory structure:
- home/
  - Cargo.toml # didn't use it but put it here
  - cargo-project/

when I do vim home/cargo-project/src/main.rs, it actually uses home/Cargo.toml, is this expected?

this seems correct behaviour if we use workspace


[Request] Universal Docker Container

I don't post here very often so excuse my formatting.
I wanted to know if you could either make a universal docker container and possibly add it to unraid if you could.
A universal docker container as in without Sonarr or Radarr and just what is needed to run the SMA script so that it could be called on when needed.
I have custom setup running that regularly polls the media folders for anything that needs converted using a script and then calls your script to convert. Its not ideal but changing everything would be a pain and I am not quite ready to do that.
Adding an Unraid template is not needed as I can do that for myself if I had the docker container or at least a dockerfile.
Thanks for the script! Love it and been using it for years.

Like these?
https://github.com/mdhiggins/sonarr-sma
https://github.com/mdhiggins/radarr-sma
Or the docker-mod that can be applied to other containers
https://github.com/mdhiggins/sma-mod (see https://github.com/linuxserver/docker-mods)

Also @RandomNinjaAtk has some well maintained unraid containers that apply SMA

Hmm I didn't see these. Can I build a container using just the sma-mod? It looks like I could but just making sure.

Its meant to be applied to one of the other linuxserver containers but you could use any of them as a base with the sma-mod applied, you could use one of their base images as the foundation

https://github.com/linuxserver/docker-baseimage-ubuntu

Ah cool! Thanks for the help!


Security Issues with this solution.

[Enter feedback here]
The required permissions are to extensive to be able to run this on a properly secured enterprise environment.
It does not provide any least privilege guidelines. Can the solution and the page be improved regarding security.

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

ID: 3f619bbe-9303-8583-2cb9-a287811cec13
Version Independent ID: 8e256e0c-38fa-f2ca-58db-550bb6e9802a
Content: Set up the CoE Starter Kit - Power Platform
Content Source: power-platform/guidance/coe/setup.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Thanks for your comment, @lsousa-code. This issue has been assigned to the doc author for review.

The CoE Starter Kit is a reference implementation of a tooling approach for how to admin and governance Power Platform, it's built on top of the platform and as such relies on capabilities in the platform to work. As a reference implementation, it may not meet the needs of every customer and some customers will need to implement their own tooling approach for admin and governance vs using the CoE kit if the solution we provide doesn't meet their needs.
Here's how the kit works and some of the limitations:

The CoE kit works by using admin connectors in cloud flows (such as https://learn.microsoft.com/en-us/connectors/powerappsforadmins/) to crawl the tenant on a daily basis and check for Power Platform resources and inventory. These connectors require to be run by an account that has Power Platform Admin access to retrieve the inventory of the entire tenant - a role with lesser privileges would not see all resources in the inventory. Hence the requirement for permanent admin access.
The flows using these connectors run on a schedule, sometimes trigger each other or trigger when a specific activity happens - based on the number of resources in the tenant, they can take a long time to run as well. Therefore it's not possible to provide time based access via PIM, as if the account running the flows loses access whilst they run, again not all the inventory would be retrieved.
The MFA requirements of this solution are based on the MFA requirements for Power Automate, and not specific to the CoE kit, Conditional access and multi-factor authentication in Flow - Power Automate | Microsoft Learn

If the above means that you can't use the CoE kit, you need to evaluate other options for admin and governance tooling such as Managed Environments (out of the box feature), and self-serve analytics (Microsoft Power Platform self-service analytics export Power Platform inventory and usage data (preview) - Power Platform | Microsoft Learn for reporting.


changes how date paths are generated

Date routes are now generated using the path-toregexp library as requested in issue #224.

Thanks again for this contribution! I'll try this out on my machine later
Want to chat? https://matrix.to/#/!tuOLfhLLphPDUwtDmC:matrix.org?via=matrix.org&via=matrix.muensterhack.de&via=matrix.allmende.io
or send a mail to muenster at codefor . de
We would like to know you :)

Works :) thanks again!


feat: exposed .service and .relayService properties (#1254)

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for new/updated/fixed functionality.
[ ] I have updated/added dartdoc comments with ///.

Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Related Issues

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (334af33) 79.46% compared to head (0caf4a8) 84.35%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1256      +/-   ##
==========================================
+ Coverage   79.46%   84.35%   +4.88%
==========================================
  Files         359        5     -354
  Lines        4334      147    -4187
==========================================
- Hits         3444      124    -3320
+ Misses        890       23     -867

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


Upgrade to netcoreapp22

Need to rebase on dev

@dotnet-bot test Ubuntu 16.04 Release Build please