Expose kubectl and helm

Through the preference UI, provide checkboxes to symlink kubectl and helm to /usr/local/bin on mac.
The goal of this is to provide the users with access to these tools. Eventually we will have other applications to expose here.

Please make sure not to overwrite an installed tool with a symlink; the user might already manage these commandline tools using a package manager like homebrew or MacPorts. So just toggling a checkbox should not overwrite a file without at least a confirmation dialog.

I would go do far as to say that if a user as something already installed the option should be greyed out and there should be a note saying the tool is already installed and managed elsewhere.

Alternate implementation idea: instead of symlinking the executables to /usr/local/bin create a file in /etc/paths.d that includes the path to the ./resources/darwin/bin directory.
These paths will be added automatically to the PATH via /etc/profile:
if [ -x /usr/libexec/path_helper ]; then
	eval `/usr/libexec/path_helper -s`
fi

For example VMware Fusion is using this approach:
$ cat /etc/paths.d/com.vmware.fusion.public
/Applications/VMware Fusion.app/Contents/Public

$ ls "$(cat /etc/paths.d/com.vmware.fusion.public)"
containerd               include                  open_source_licenses.txt vctl                     vmrun
containerd-shim-crx-v2   libvixAllProducts.dylib  swagger.zip              vmrest

If people have their own versions in /usr/local/bin, then they will shadow the versions from the default PATH automatically.
Thoughts?

@jandubois I've never used this method before. Three thoughts come to mind...

Writing to /etc will always require requesting user/pass. Putting in /usr/local/bin won't require user/pass for system if homebrew is installed. I just noticed this.
I wonder why VS Code does things the way it does. It does the /usr/local/bin location.
If we install something like kubectl using /etc/paths.d and they install an older version via another method... will the version mismatch cause confusion? Our version being shadowed but them opting in to use it might cause some questions. Should the version in use be explicit?

@ericpromislow The Rancher Dashboard has a checkbox component. It uses jQuery so I'd want to alter it for our use. But, the setup and styles would help us to keep the design in line with the Rancher Dashboard UI.

@mattfarina I agree that there are pros and cons to each method; I have no clear opinion on which one is preferable.

I think installation of the hyperkit machine driver requires root access anyways (if not already installed by Docker), but I might be wrong.

Yes, PATH shadowing can create confusion; not sure how to avoid it though. If Docker is already installed, there may be symlinks to the Docker version of the tools in /usr/local/bin; how would we deal with that?

So we'll get additional complexity when updating RD and there are still symlinks to the previous install in place. We need special logic to allow overriding symlinks to our own previous install, but not symlinks to others? I guess you can always allow replacing of dangling symlinks, but either way, it can get confusing.
Ideally the GUI will have logic to analyze the current setup and then provide assistance about conflicting configuration etc, but that should not be part of the initial implementation. A "Config Wizard" :)

I'll start off bringing over the dashboard component and vueifying it.  And I'll assume we'll implement the original symlinks story and then modify as we learn more.

So the linking only happens if there is no instance of the executable, linked or not, in /usr/local/bin
Unlinking is done only if the executable is a link pointing at the app's own executable. In other words, we created that link.

Closing as this has been implemented.

Closing as this has been implemented.


Mixnode gracefully shutdown

Add a MixnodeHandle struct to deal with gracefully shutdown logic in mix node. With this change, we can also access the actual address the mix node is listening.

Now that we use Overwatch for mixnode, can we close this PR? It seems nomos-node also doesn't have signal handling, if I understand correctly (I'm not 100% sure since I don't have much experience in Overwatch). What do you think about postponing this issue until we have a consistent way with Overwatch, if we don't have any critical issue?

Now that we use Overwatch for mixnode, can we close this PR? It seems nomos-node also doesn't have signal handling, if I understand correctly (I'm not 100% sure since I don't have much experience in Overwatch). What do you think about postponing this issue until we have a consistent way with Overwatch, if we don't have any critical issue?

Yeah, nomos-node does not have signal handling. This PR originally targets adding a Handle to get the correct port when the user gives a 0, so that we can use the criterion for the mixnet benchmark. If we do not need to handle that case anymore, I think we can close this one. Maybe it is better to add a graceful shutdown mechanism in Overwatch.

Now that we use Overwatch for mixnode, can we close this PR? It seems nomos-node also doesn't have signal handling, if I understand correctly (I'm not 100% sure since I don't have much experience in Overwatch). What do you think about postponing this issue until we have a consistent way with Overwatch, if we don't have any critical issue?

Yeah, nomos-node does not have signal handling. This PR originally targets adding a Handle to get the correct port when the user gives a 0, so that we can use the criterion for the mixnet benchmark. If we do not need to handle that case anymore, I think we can close this one. Maybe it is better to add a graceful shutdown mechanism in Overwatch.

Yes, it was one of the issues in Overwatch iirc. If not it was one of the main things that was left to be implemented. I would encourage to implement there so it would benefit every binary.

Yup. We can close this PR.


publish issue

dear author,
when i publish video stream into livekit room via video track, sometimes the livekit-react demo cant show the video ,only have audio , i captured some log like below,  how should i do to solve it?
rtc/participant.go:1416	mediaTrack published	{"room": "97302546", "roomID": "RM_oWbVXAx49kD9", "participant": "Phone<PHONE_NUMBER>55", "pID": "PA_gdFJEmAHbzzU", "remote": false, "kind": "video", "trackID": "TR_VC7r2sbDhDPWsX", "webrtcTrackID": "video", "rid": "", "SSRC":<PHONE_NUMBER>, "mime": "video/H264", "trackInfo": {"sid": "TR_VC7r2sbDhDPWsX", "type": 1, "name": "Phone<PHONE_NUMBER>55-track", "width": 320, "height": 180, "source": 1, "layers": [{"quality": 2, "width": 320, "height": 180}], "mimeType": "video/H264", "mid": "1", "codecs": [{"mimeType": "video/H264", "mid": "1", "cid": "video", "layers": [{"quality": 2, "width": 320, "height": 180}]}], "stream": "camera", "version": {"unixMicro":<PHONE_NUMBER>902103}}}

dear author,
sometimes when i published video mediatrack,it rendered very soon,some times it rendered need about 1m.   but the log of livekit is normal.

which client are you using to publish the video track? Does it respond to the PLI request to generate key frame?


How to make header "Host:" the first header in headers list

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Some video websites started to check headers sequence ... how can i modify the sequence from python ... here is an example of this problem:
=== Resolve perfectly ===
GET   https://dood.la/e/vvdiu7jlpo2o
Host: dood.la
User-Agent: Mozilla/5.0
=== Does not resolve and returns error 403 ===
GET   https://dood.la/e/vvdiu7jlpo2o
User-Agent: Mozilla/5.0
Host: dood.la

Headers are stored in dict (see std_headers in utils.py), and if the order is important, I think you should use Python 3.7+.

I actually found a workaround ... I can change the "User-Agent" and that will force the video server to expect the header "Host" in a different sequence.
I got that by testing CHROME Browser & EDGE Browser ... they both send "Host" as 1st header ... while MS IE Browser send it as 7th header and all the three browsers are resolving correctly ... which means that the video server "doodstream" is requesting the "Host" header location "sequence" based on the value of the "User-Agent" header.
I use a software named ... "Progress Telerik Fiddler Web Debugger v5.0" ... It allow me to send raw http requests and that was how i found this issue and how I debugged the three browsers.
I also tried the new version of "ResolveURL" v5.1.36  and it do resolve this video server "doodstream" correctly while v5.1.30 was unable to resolve it.

You may have found [this bug[(https://sansec.io/research/http-header-order-is-important).
RFC2616 4.2:

The order in which header fields with differing field names are received is not significant. However, it is "good practice" to send general-header fields first, followed by request-header or response- header fields, and ending with the entity-header fields.

@dirkf  ... yes you are right ... it is the issue that i am talking about.
I also noticed that if the "Host" header is at the end ... this will trigger cloudflare protection with error 403 ... while if the "Host" header is at the beginning then it will resolve the video link correctly ... here is an example:
=== Works & Resolve correctly ===
Host: dood.la
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515
Accept: text/html
Accept-Encoding: gzip
=== Cloudflare Protection with error 403 ===
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515
Accept: text/html
Accept-Encoding: gzip
Host: dood.la

It seems to be enough to leave the reference to Chrome out of the UA, eg --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36'.
The random_user_agent() function in utils.py could be changed to use a random WebKit version instead of a random Chrome version, possibly with a use_chrome parameter, default False, to restore the current behaviour.

Also the Connection header may be significant: see https://github.com/yt-dlp/yt-dlp/issues/3776#issuecomment-1131653463.


Dark mode editor, light mode preview?

I prefer the dark mode editor. I'm editing markdown pages that would normally be light mode. Does the Live Preview have a setting allow light mode preview and dark mode editor? Or allow light mode on markdown .md documents?

If this is for markdown previewing, that is not part of this extension. Please file this bug on the vscode repo.

I found I can accomplish this with Markdown Editor Enhanced, thanks!


Flutter is unable to create my project for me, leaving an empty folder using vs code.

Steps to Reproduce

...
...
...

Logs

Logs

, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\cheking_vsc_two\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.

Oops; flutter has exited unexpectedly: "FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\cheking_vsc_two\lib' (OS Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\cheking_vsc_two\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Unhandled exception:
ProcessExit: 1
#0      _handleToolError (package:flutter_tools/runner.dart:172:7)
<asynchronous suspension>
#1      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:86:7)
<asynchronous suspension>
exit code 255

Hi @MaxiFine, thanks for filing the issue.
Please provide the output of flutter doctor -v and flutter create <project_name> -v.
Thank you

FOR FLUTTER CREATE ERRORS.
[try_for_git1] flutter create --template app --overwrite .
Waiting for another flutter command to release the startup lock...
Creating project ....
lib\main.dart (created)
Oops; flutter has exited unexpectedly: "FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\lib' (OS Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Oops; flutter has exited unexpectedly: "FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\lib' (OS Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Unhandled exception:
ProcessExit: 1
#0      _handleToolError (package:flutter_tools/runner.dart:172:7)

#1      run.. (package:flutter_tools/runner.dart:86:7)

exit code 255

Please provide the log written to C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log.
Also, do you have this issue with just flutter create foo?

Yes please, when I use command pallet or the terminal to run flutter
create, it will give me the same error.
On Fri, Dec 31, 2021, 7:42 AM Daniel Agbemava @.***>
wrote:

Please provide the log written to C:\Users\gibbo\Documents\FLUTTER
PROJS\try_for_git1\flutter_01.log.
Also, do you have this issue with just flutter create foo?
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/95753#issuecomment-1003297854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT3FUKHJCZOVX52NDP7C5HTUTVNEPANCNFSM5KVYHUTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes please, when I use command pallet or the terminal to run flutter
create, it will give me the same error.
On Fri, Dec 31, 2021, 7:42 AM Daniel Agbemava @.***>
wrote:

Please provide the log written to C:\Users\gibbo\Documents\FLUTTER
PROJS\try_for_git1\flutter_01.log.
Also, do you have this issue with just flutter create foo?
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/95753#issuecomment-1003297854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT3FUKHJCZOVX52NDP7C5HTUTVNEPANCNFSM5KVYHUTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Please provide the logs written to C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log as well as the output of flutter doctor -v.
Thank you

Please provide the logs written to C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log as well as the output of flutter doctor -v.
Thank you

FOR flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19042.1415],
locale en-US)
• Flutter version 2.5.3 at C:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at C:\Users\gibbo\AppData\Local\Android\sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] VS Code (version 1.63.2)
• VS Code at C:\Users\gibbo\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.31.20211214
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
• Edge (web)   • edge   • web-javascript • Microsoft Edge 96.0.1054.62
• No issues found!

Please provide the logs written to C:\Users\gibbo\Documents\FLUTTER PROJS\try_for_git1\flutter_01.log as well as the output of flutter doctor -v.
Thank you

For the flutter create Output
PS C:\Users\gibbo\Documents\FLUTTER PROJS\try_check1> flutter create maxcheck_2
Creating project maxcheck_2...
FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER
PROJS\try_check1\maxcheck_2' (OS Error: The system cannot find the file specified.
, errno = 2)
Failed to flutter create at C:\Users\gibbo\Documents\FLUTTER
PROJS\try_check1\maxcheck_2.

Hi @MaxiFine, can you upgrade to the latest version of flutter stable to see whether or not you still experience this issue?
Thank you

Alright Thank you
On Fri, 7 Jan 2022 at 06:03, Daniel Agbemava @.***>
wrote:

Hi @MaxiFine https://github.com/MaxiFine, can you upgrade to the latest
version of flutter stable to see whether or not you still experience this
issue?
Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/95753#issuecomment-1007162781,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT3FUKFZ2ZNWZEWWSOPTODLUUZ63BANCNFSM5KVYHUTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @MaxiFine, can you upgrade to the latest version of flutter stable to see whether or not you still experience this issue?
Thank you

After the upgrade  ( this is the terminal output)
[working_now] flutter create --template app --overwrite .
Downloading package sky_engine...                                   4.4s
Downloading flutter_patched_sdk tools...                            8.3s
Downloading flutter_patched_sdk_product tools...                   10.4s
Downloading windows-x64 tools...                                   86.3s
Downloading windows-x64/font-subset tools...                        3.9s
Creating project ....
lib\main.dart (created)
Oops; flutter has exited unexpectedly: "FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\working_now\lib' (OS Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\working_now\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Oops; flutter has exited unexpectedly: "FileSystemException: Creation failed, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\working_now\lib' (OS Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error: FileSystemException: Cannot create file, path = 'C:\Users\gibbo\Documents\FLUTTER PROJS\working_now\flutter_01.log' (OS Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Unhandled exception:
ProcessExit: 1
#0      _handleToolError (package:flutter_tools/runner.dart:172:7)

#1      run.. (package:flutter_tools/runner.dart:85:7)

exit code 255

Hi @MaxiFine, can you try running flutter create <foo> -v again in a path that does not contain a space? Your FLUTTER PROJS directory has a space in the name. Please try again in a different path.
Where  is your project name.
Thank you

Hello Sir, please check ou this new error on the output.
[tryin_create] flutter create --template app --overwrite .
Waiting for another flutter command to release the startup lock...
Creating project ....
lib\main.dart (created)
Oops; flutter has exited unexpectedly: "FileSystemException: Creation
failed, path = 'C:\Users\gibbo\Documents\NotepadFiles\tryin_create\lib' (OS
Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error:
FileSystemException: Cannot create file, path =
'C:\Users\gibbo\Documents\NotepadFiles\tryin_create\flutter_01.log' (OS
Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Oops; flutter has exited unexpectedly: "FileSystemException: Creation
failed, path = 'C:\Users\gibbo\Documents\NotepadFiles\tryin_create\lib' (OS
Error: The system cannot find the file specified.
, errno = 2)".
Unable to generate crash report due to secondary error:
FileSystemException: Cannot create file, path =
'C:\Users\gibbo\Documents\NotepadFiles\tryin_create\flutter_01.log' (OS
Error: The system cannot find the file specified.
, errno = 2)
Please report a bug at https://github.com/flutter/flutter/issues.
Unhandled exception:
ProcessExit: 1
#0      _handleToolError (package:flutter_tools/runner.dart:172:7)

#1      run..
(package:flutter_tools/runner.dart:85:7)

exit code 255
On Mon, 10 Jan 2022 at 06:13, Daniel Agbemava @.***>
wrote:

Hi @MaxiFine https://github.com/MaxiFine, can you try running flutter
create  -v again in a path that does not contain a space? Your FLUTTER
PROJS directory has a space in the name. Please try again in a different
path.
Where is your project name.
Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/95753#issuecomment-1008569313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT3FUKACDXBEENNFUGRN7ZDUVJ2G3ANCNFSM5KVYHUTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @MaxiFine, kindly run
flutter create <foo> -v without the --overwrite flag and share the output.
Also, please provide the log in C:\Users\gibbo\Documents\NotepadFiles\tryin_create\flutter_01.log.
Thank you


how can I execute select  sum (money)  from Trade in  Sugar

Can you have a method similar to the rawQuery () in SQL.
I want to execute the select  sum (money)  from Trade , but I don't know what to use in sugar. Thank you。

log: SQLiteQuery: select sum(money) from trade
E/CursorWindow: Failed to read row 0, column -1 from a CursorWindow which has 1 rows, 1 columns.
when i use findWithQuery(),It will prompt this error

Unfortunately this feature has not been merged yet by the person that was working on it.

how about to make
private static SQLiteDatabase getSugarDataBase() {
        return getSugarContext().getSugarDb().getDB();
    }

to public  ,then i can get database to do some i want to do


Progressively enhance to use navigator.xr (WebXR) if available (instead of WebVR v1.1)

The new interfaces will hang off the navigator.xr namespace. The most significant change is navigator.getVRDisplays() -> navigator.xr.requestDevice(). Also, instead of the events firing off of window, they fire off of EventTarget-able interfaces (e.g., navigator.xr and XRDevice, XRSession instances). There's also the concept of sessions and different modes for presenting, etc.

Relevant links

https://github.com/immersive-web/webxr/blob/master/explainer.md
https://immersive-web.github.io/webxr/spec/latest/

at least for the current implementation of WebXR in Chrome Canary, the changeset is pretty minimal to get WebXR working. see: https://github.com/mrdoob/three.js/commits/dev/src/renderers/webvr/WebXRManager.js
I helped review the code, so let me know if you have questions.


OpenSSL installation

When I click on the link for these instructions, the page is blank. Can you point me to the instructions?

I give up!

why giving up?

I run Homebridge on a Windows 10 laptop and spent three days reading through your issues to try to get OpenSSL working. I installed OpenSSL per the instructions I found but nothing has worked.

Did you stumble across this comment at all?
https://github.com/bwp91/homebridge-govee/issues/405#issuecomment-1513506027


Mcmmo Power Level Tag and Health Bars

After installing ScoreboardStats, mcmmo's power level tag below user's name/above the skin vanish in a few seconds after connecting and never appears again. Same thing happens with HealthBar for players
" mcmmo config Power_Level_Tags: true"
Any solution to this?

If you are using the latest mcMMO. I recommend going back to a more stable build.

Did you enabled compatibilityMode?

@madtomic mcmmo runs fine for me, it's just that it's not compatible with scoreboard it seems.
@games647 how do i enable that?

compatible mode : true in the config.yml

I just read that you had HealthBar. Make sure show below name of turn off. You can't have both power level and player health at the same time.

Player bar and after name needs to be false

Unless you use the display style not using below name. This is shared with power level.

Im using it on the same line as the name, not below. Is compatible mode on the scoreboard's config? I might be using an older version or something, how do i download latest one?

http://dev.bukkit.org/bukkit-plugins/scoreboardstats/

The latest version had compatiable mode on already. Anyway, to be safe. Just turn off below name.

Okay, i made it to true. And when I join the server, the first 2 seconds i can see someone's power level, but then the scoreboard on the right appears and it vanishes

and i completly removed healthbars

Do you have ProtocolLib installed?

I do not, is it required?

Are you using the power level for anything? If not. Disable it in Mcmmo. That would not give you the glitch now. Scoreboard don't need the power level to be true to work.

@sbHango yes

You can have mcMMO, scoreboardstats, HealthBar all in the same server. Just make sure you have ProtocolLib

Thank you! I might have missed that protocollib is required

Another question, is it possible to disable scoreboard sorting from largest number to lowest? So if my config is
'&aOnline': '%online%'
'&bPower Level': '%powlvl%'
'&6Money': '%money%'
'&cMob kills': '%mob%'
'&cKills': '%kills%'
'&cDeaths': '%deaths%'
'&cKDR': '%kdr%'
'&cKillstreak': '%current_streak%'
it stays like that and is not sorted

No, you can't not. Try make another issue to request this feature. I'd love this feature too.


pyld 2.0.3, install/check with pip, update deps, add maintainer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Thanks for packaging this! Running into some issues downstream with this, would love to see it updated!
Notes:

use pip to install
adds pip check to test
update deps

have removed requests as it now supports either requests or aiohttp

adds self as maintainer :wave:

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

@conda-forge-admin please rerender

@conda-forge/pyld looking good... will probably ping gitter in a day or two, given the number of open PRs...

@conda-forge-admin please rerender

Much appreciated!


Test Databases is not equal to Build database.

Affected Version
phpunit/phpunit            5.7.27             The PHP Unit Testing framework.
silverstripe-themes/simple dev-master 4d546a4 The SilverStripe simple theme (defau...
silverstripe/recipe-cms    1.1.0              SilverStripe recipe for fully featur...
silverstripe/recipe-plugin 1.2.0              Helper plugin to install SilverStrip...
MySQL 5.7 with PDO connector.
Description
Generating a test database gives a different schema than the generated build database.
Steps to Reproduce

Create a model with a column that contains a backtick on it.
Generate your database with sake dev/build
Generate a test database with:

use SilverStripe\ORM\Connect\TempDatabase;

$test = new TempDatabase();
$test->build();

Compare the two tables, the column with the backtick should be missing from the test database.

Does this only happen when using a backtick in a column name?

Indexes are working correctly for me, so seems like it only happens with columns.

I just want to clarify here. When you write Create a model with a column that contains a backtick on it, do you mean creating a DB field with a backtick character in the name? For example, something like this.
<?php
use SilverStripe\ORM\DataObject;
class Dummy extends DataObject {
    private static $db = [
        '`Moola' => 'Varchar'
    ];
}

Yes, like that. I should have given a more complete example.

Well, I am not saying that backticks should be allowed on the names.
I just wanted to point out that the databases are generated differently, and (IMO) that should not happen.
The process of generating the Test DB and the Production DB should output the same exact result.

If the Test DB is not replicating the Production database, can I really trust it?

I can't replicate this:
MariaDB [(none)]> use ss_tmpdb_1531495473_8867054
Database changed
MariaDB [ss_tmpdb_1531495473_8867054]> describe Page;
+------------------------+--------------+------+-----+---------+----------------+
| Field                  | Type         | Null | Key | Default | Extra          |
+------------------------+--------------+------+-----+---------+----------------+
| ID                     | int(11)      | NO   | PRI | NULL    | auto_increment |
| `What is wrong with me | varchar(255) | YES  |     | NULL    |                |
+------------------------+--------------+------+-----+---------+----------------+
2 rows in set (0.00 sec)

MariaDB [(none)]> use vagrant
Database changed
MariaDB [vagrant]> DESCRIBE Page;
+------------------------+--------------+------+-----+---------+----------------+
| Field                  | Type         | Null | Key | Default | Extra          |
+------------------------+--------------+------+-----+---------+----------------+
| ID                     | int(11)      | NO   | PRI | NULL    | auto_increment |
| `What is wrong with me | varchar(255) | YES  |     | NULL    |                |
+------------------------+--------------+------+-----+---------+----------------+
2 rows in set (0.00 sec)

Couldn't replicate it either when I built my Dummy example.

First: thanks for taking the time to test this.👍🏽
Second: Some how now I am unable to replicate it😒. But I guess that is good news!


Dexie Cloud not syncing yet in a Tauri App on Windows

Hy there does anybody have some experience with Dexie-Cloud in a Tauri App.
I have installed a Tauri App on Windows.
Unfortunately it does not work with the Dexie-Cloud, beccause the Login is not showing up and it does not sync from the cloud.
I don't know if this is a mater of whitelisting, or some setting on the Tauri App side.
Thanks for Suggestions

npx dexie-cloud whitelist https://tauri.localhost/
this solves the issue :)


Feature/win adapt 5

windows adaptation;
wrapping the "makedirs" functions and changing the Wgit.

not relevant. a new, more updated one was created.


Improve built JS compatibility with CloudFlare's Auto Minify feature

refs TryGhost/Ghost#8815, TryGhost/Ghost#8840, TryGhost/Ghost#8842, TryGhost/Ghost#8849

ember-cli 2.14 introduced some new defaults for uglify-js that resulted in CloudFlare's Auto Minify feature mangling the JS files and causing syntax errors
revert the semicolons: false option to restore compatibility

Note: This does not mean it's recommended to use CloudFlare's Auto Minify feature. It's still recommended that all CloudFlare's performance settings are disabled for /ghost* URLs

Coverage remained the same at 72.403% when pulling 9d315d8db697c9b5fbbb00c5dc95d9f68ffb3065 on kevinansfield:fix-cloudflare-compatability into 94a2d3a870fd9f039d8e435cb64ef155f51dea00 on TryGhost:master.

I tested this and it worked, so figured I'd hit the button 😬


Formatting service

We should provide some user defined service to specify common formatting cross project.

date / dateTime format

Closing due to lack of interests from users (no one seems to want it at the moment) + code complexity on our side.


close X not visible if .alert-message.fade.in

With bootstrap 1.4
the issue is visible in the docs, http://twitter.github.com/bootstrap/javascript.html#alerts

Chrome only, FWICT. Looks ok on Firefox and Safari.

fixed -thanks!

@fat, can you point to a commit where this is fixed? i'm running into this issue as well.

It was fixed almost immediately after the release - the fix was removing preserve-3d property from the transitions class i believe.

ah yeah, sorry. i had some old janky code, i wasn't managing branches properly. thanks!


pre- and post- run hooks

these would run before and after all models are done running. There should be some information available about which models ran, how long they took, pass/fail, etc available for interpolation

vars:
- target
  - schema
  - user
  - name (dev/prod)
  - ...
  - exclude {{ pass }} field!

cc @andresrecalde


MM-34811 Add plugin oauth support

Summary
Add OAuth support for plugins by opening the links under the plugin in a webview.
Ticket Link
https://mattermost.atlassian.net/browse/MM-34811
Release Note
Add OAuth support for plugins and apps.

@larkox please resolve conflicts

Building app in separate branch.

@larkox this is working when testing with service now (on both Android and iOS).

Can you please clarify the scope of this change? Does this also apply to plugin behavior as well? Is there any regression risk to to authentication into Mattermost or would this be completely unrelated?
The UX is a bit subpar once the oAuth processes has been completed

- The typeface is unnecessarily small giving this a very unpolished look
- There is no actual window to close as instructed
- The back arrow the user must tap is a bit counterintuitive. Some type of confirmation button maybe bast
Is there a separate PR or UX task for this or can we add?

@DHaussermann
The scope is oAuth for plugins / Apps. Any other kind of OAuth should not be addressed, and should not have any regression risk.
The UX of the final screen is up to the Plugin / App. From the mobile app view, it is just showing a website.
Regarding having a button to close, not sure exactly what the logic would be. Having it always, or just when you finish? Also, the only place I can think about putting the button is at the top, on the navigation bar.

@larkox is there a way to detect that everything went ok and just pop the screen? Also now that I'm looking at the UI, perhaps would be best to open as a modal and not pushing the screen. Thoughts ?

Regarding detecting everything went OK... not really, because the mobile app is agnostic to whatever is happening, and should be like that. This should be as "a different tab".
Regarding opening as a modal or a screen, I am not 100% sure. You are opening a website, which might not be properly adapted to mobile, and you might need to scroll around and so on. Not sure if a modal is a better option than a screen for those situations. Keep in mind that what is shown in the screenshot is the "final step". Before we have gone to the provider, introduced our credentials, etc...

I would still want to see how this behaves within a modal 👀

Building app in separate branch.

@DHaussermann Ping on this.

@DHaussermann Friendly reminder on this.

Sorry @larkox not sure how this dropped out of the queue. I'll look today.

@larkox can we sync-up about this early next week?

I don't see any change in UX from the 1st round of testing.
I'm curious about what the last modal related commit does
There is a bit of an unhandled edge case if a user clicks the connection link a 2nd time. No info is shown and there is no way back.

@DHaussermann The main UX change, if I am not mistaken, is from where the screen comes (from the bottom or from the side). In order to go back, you should be able to use the android back button. Regarding the white site, should be a integration implementation problem. Can you reproduce the white site on desktop?

@DHaussermann Now it should work better (at least it does in my Android emulator). Please let me know if anything feels weird.
@enahum The solution I took I found it in Stack Overflow, and the idea is to add a new meta header to set the viewport. Not sure if you know of any better solution, but this seems to work.

Does it work for iOS?

@enahum I cannot test on iOS, so I would appreciate if @DHaussermann could take a look at it and see if it is working.

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/17932
https://circleci.com/gh/mattermost/mattermost-mobile/17931

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/17932
https://circleci.com/gh/mattermost/mattermost-mobile/17931

/update-branch

@larkox I think I have an iOS build I can use to take a look at this but, the Android build is failing. Are you able to look into this?

@DHaussermann Merging master created a small error. Fixed now.

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/18001
https://circleci.com/gh/mattermost/mattermost-mobile/18000

Artifact links:
https://18001-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.ipa
https://18000-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.apk

@DHaussermann The new builds are ready now.

@larkox I have done another round of testing here and the info on authentication screen seems a bit more readable without zooming.

Tested on iOS and Android
Tested working with Service Now and Zendesk
Tested with app running over http and AWS (though this likely has no impact)

A couple remaning points here:

Can we create a follow-up task to investigate if we can improve the size of the screen for Completed connecting your account. Please close this window. This is unchanged from the last commit.
I have noticed a usability issue that is not directly related to your change. The actual portion of the post that is link text link is quite small. it is very easy to tap just slightly beside the link. If the user does this - the post simply disappears as taping ephemeral posts on mobile seems to delete them.

Any thoughts on this? We could just side-step the issue by making the link text longer but, I'm curious if you have any other suggestions. For context when testing this - about 1/3 of the time I did not tap carefully enough and the post was removed.

Thanks @larkox
I have created https://mattermost.atlassian.net/browse/MM-38865 for 1. to be investigated and https://mattermost.atlassian.net/browse/MM-38866 to see if UX want's to review 2.


mapl 2.35.2 build errors on Narwhal

Describe the bug
<EMAIL_ADDRESS>builds fine on Narwhal (a Cray) with Intel, but 2.35.2 chokes with:
     784     Running Python2 import test on ShaveMantissa_
     785     cd /p/app/projects/NEPTUNE/spack-stack/spack-stack-1.3.0/cache/build_stage/heinzell/spack-stage-mapl-2.35.2-24y4r3s7yvhietdiewh2jv2o7c6lvnut/spack-build-24y4r3s/MAPL_cfio_r4 && /p/app/projects/NEPTUNE/spack-stack/spac
             k-stack-1.3.0/envs/unified-env-intel-2021.4.0/install/intel/2021.4.0/cmake-3.23.1-tfol62l/bin/cmake -E env LD_LIBRARY_PATH=/p/app/projects/NEPTUNE/spack-stack/spack-stack-1.3.0/cache/build_stage/heinzell/spack-stage-m
             apl-2.35.2-24y4r3s7yvhietdiewh2jv2o7c6lvnut/spack-build-24y4r3s/lib:/opt/cray/pe/libsci/<IP_ADDRESS>/INTEL/19.0/x86_64/lib:/opt/cray/pe/gcc/10.3.0/snos/lib:/opt/cray/pe/gcc/10.3.0/snos/lib64:/opt/intel/oneapi_2<IP_ADDRESS>
             22/mkl/2021.4.0/lib/intel64:/opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/linux/lib:/opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/linux/lib/x64:/opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/linux/lib/emu:/
             opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/linux/lib/oclfpga/host/linux64/lib:/opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/linux/lib/oclfpga/linux64/lib:/opt/intel/oneapi_2<IP_ADDRESS>22/compiler/2021.4.0/lin
             ux/compiler/lib/intel64_lin:/opt/cray/pe/papi/<IP_ADDRESS>/lib64:/opt/cray/libfabric/<IP_ADDRESS>.125/lib64 Python2_EXECUTABLE-NOTFOUND -c import\ ShaveMantissa_
     786     No such file or directory
  >> 787     make[2]: *** [MAPL_cfio_r4/CMakeFiles/ShaveMantissa_.dir/build.make:84: ShaveMantissa_] Error 1
     788     make[2]: Leaving directory '/p/app/projects/NEPTUNE/spack-stack/spack-stack-1.3.0/cache/build_stage/heinzell/spack-stage-mapl-2.35.2-24y4r3s7yvhietdiewh2jv2o7c6lvnut/spack-build-24y4r3s'
  >> 789     make[1]: *** [CMakeFiles/Makefile2:652: MAPL_cfio_r4/CMakeFiles/ShaveMantissa_.dir/all] Error 2
     790     make[1]: *** Waiting for unfinished jobs....

I don't know why it thinks that it needs to have Python 2. The spack package.py doesn't list Python as a dependency. And if it wants Python, then it needs to asl for Python 3 (and not 2) in the spack package recipe.
To Reproduce
Try to build<EMAIL_ADDRESS>on Narwhal with the existing Intel (or GNU) site config.
Expected behavior
It builds!
System:
Narwhal, Intel 2021.4.0
Additional context
n/a

@climbfuji Yeah, this is due to an outdated package.py. Per https://github.com/NOAA-EMC/spack/pull/241, you want to add a new variant:
    variant("f2py", default=False, description="Build with f2py support")

and it's partner:
            self.define_from_variant("USE_F2PY", "f2py"),

We had to add an f2py package to MAPL and I...I'm not sure "hate" is a strong enough word...hate f2py. It's the bane of my CMake existence.
But with that variant and it's default of False, you will no longer try to build it.
You will see I've been trying to warn users in the Release Notes:
https://github.com/GEOS-ESM/MAPL/releases/tag/v2.35.2

You'll also see in https://github.com/NOAA-EMC/spack/pull/241 that I did add python@3 as a dependency.

Oh, and all this f2py junk is the reason MAPL 2.36.0 triggered a new ESMA_cmake update:
https://github.com/GEOS-ESM/ESMA_cmake/pull/313
because of other craziness. Graaaaah!

Reopening this, since the problem persists even with<EMAIL_ADDRESS>as part of spack-stack-1.4.0.

As I said above, you'll most likely need to add an f2py variant like I have in https://github.com/JCSDA/spack/pull/241.
So you'd want to add:
    variant("f2py", default=False, description="Build with f2py support")

and then:
            self.define_from_variant("USE_F2PY", "f2py"),

There is no need for you to go near this code. I don't want to go near this code as f2py one of the banes of my existence. Fragile and not made for CMake.

Let's revisit this when we install spack-stack 1.5.0. The updated MAPL and ESMF versions hopefully build fine on Narhwal.

Note that in the latest mapl package, f2py variant is default off. It is sort of the one place I violate the @AlexanderRichert-NOAA rule of "spack variants echo cmake option defaults"...because I hate f2py. 😄

This problem is solved thanks to the latest updates of the mapl package. I was able to build<EMAIL_ADDRESS>with<EMAIL_ADDRESS>using the Intel compiler on Narwhal without issues. Thanks @mathomp4 !


UI: Color of selected row is too similar to link text color

At least in Google Chrome, clicking on a row in a projects table turns it blue - the same color as hyperlinked text - obscuring it from view.

This is an easy fix, I can make this change for the next push to production.


No support for at least PHP 5.4

Hi I am using this beautiful library and i though that this is just awesome but it would be better it this supports 5.4 as a minimum requirement.
Currently i ll be using php version to determine weather i ll use this or other classes for pp versions.
Thanks

PHP 5 is dead, I have no plans to support PHP 5 any more in any projects :-P
Sorry


Implement exp() method on mpf/mpc objects?

Some background: I'm working extensively with numpy arrays with an object dtype which contain mpmath numbers. I found this to be much more convenient and general than the rather limited vector/matrix support in mpmath itself, even though it requires workarounds in some cases.
There are some simple things which could be done to improve interoperability with numpy arrays, and this issue is one example of that.
Consider this:
n = 9
nodes = np.array([mp.mpc(2j) * k / n * pi) for k in range(0, n)])   # numpy array of mpmath complex numbers
np.exp(nodes)

This currently fails with an error on a missing callable exp() method on the mpc type. In fact, this is easy to fix: one would only need to add a method like
    def exp(self):
        return self.context.exp(self)

to mpc, and then the above numpy code does exactly what one would expect it to do. A bigger problem is in the mpf object, which already has an exp member, but it is not a function, but apparently a part of its core data structure.
So essentially there is a general and a concrete question here:

Is there interest at all in improving the numpy interoperability?
Is the exp member of mpf part of its public API, or could it be renamed to make space for an exp() method?

Note that, e.g., np.abs(nodes) already works as expected. Other features like np.sqrt(nodes) could be supported analogously to this suggestion.

I would not mind doing this to improve compatibility, but I think some kind of deprecation warning is needed when replacing the existing mpf.exp property.
There's maybe an issue with the Sage backend as well.

@oscarbenjamin I don't think it's practical to build an alternative implementation that can rival numpy arrays. Arbitrary dimension arrays, slicing in all its generality, broadcasting, hundreds of existing functions for array manipulation - all these things would take considerable effort to implement and make efficient. And you get all of that for free by simply using what is there in numpy. Frankly, I don't see the benefit of a package like mpmath implementing its own vectors and matrices.
It's true that there is no officialy defined protocol how to overload these functions, but by virtue of numpy existing, there is a de facto standard, which simply requires implementing these methods. Here's a partial list of methods that could be supported analogously: sqrt, exp, sin, cos, tan, sinh, cosh, tanh, arcsin, arccos, arcsinh, arccosh, arctan, arctanh.

#250 - for sqrt

I doubt it's a good idea.  As it was noted above, there is no established protocol for overloading functions like exp.
And you could use np.vectorize for arbitrary scalar functions:
>>> n = 3
>>> nodes = np.array([mp.mpc(2j) * k / n * np.pi for k in range(n)])
>>> np.vectorize(mp.exp)(nodes)
array([mpc(real='1.0', imag='0.0'),
       mpc(real='-0.49999999999999978', imag='0.86602540378443871'),
       mpc(real='-0.50000000000000044', imag='-0.86602540378443837')],
      dtype=object)

No compatibility breaks, no magic lists of "methods that could be supported", probably even slightly efficient approach.
I'm closing this issue.  Feel free to reopen if you have more arguments.


Import apparently stuck after owner note import complete

I tried to run ./haven --import but the process seems to be stuck after completing the import of owner notes and no other log is displayed.

The first part of the import took nearly 10 minutes (from 2022-06-01 just to be sure to be able to import all the notes, 06 is the month) and then I waited more than half an hour but nothing happened. I also tried to increase the log level but nothing is displayed.
I followed the standard non-docker setup.

what is your npub?

npub1hupmmajeu337x9t54lmknr8c8dxdsx430q5uytmatn8hd74vmw7s6unnm6

please try the upcoming version by doing
git checkout v0.4.0
it should solve it, let me know

Can confirm the v0.4.1 tag is working, thanks.


keycloak-backend plugin: Compromised token in the ErrorLog

Describe how is our service vulnerable
In the keycloak-backend plugin, when the KeycloakOrgEntityProvider is started and for some reason receives an error back from the Keycloak API, a logline is generated containing the Bearer Token.
Describe the solution you'd like
The Brearer Token should be redacted from the log.
Additional context
{"class":"KeycloakOrgEntityProvider","level":"info","message":"Reading Keycloak users and groups","plugin":"catalog","service":"backstage","taskId":"KeycloakOrgEntityProvider:default:refresh","taskInstanceId":"8309eee5-5658-48a6-9cd7-32305013af2b","type":"plugin"}

{"config":{"headers":{"Accept":"application/json, text/plain, */*","Authorization":"bearer COMPROMISED-TOKEN","User-Agent":"axios/0.26.1"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{"first":13200,"max":100},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"KEYCLOAK_URL/admin/realms/master/users","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","stack":"Error: Request failed with status code 500\n    at createError (/app/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/app/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/app/node_modules/axios/lib/adapters/http.js:322:11)\n    at IncomingMessage.emit (node:events:526:35)\n    at endReadableNT (node:internal/streams/readable:1359:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","status":500}

Any thoughts on that?

@tumido, @sabre1041 can you look into this?

I'm pretty sure the improper error logging comes from this line.

That's true @schultzp2020. Sorry for the delay, let me open a pr until tomorrow. I have the change prepared but was sick. But i feel good enough to do it this evening. :-/

@jerolimov What properties are you keeping when you log? On slack we thought the only important properties were message, status and stack. config looks like more like a security risk.


Make explanation of jumpToKey more specific

IMHO jumps to the specified registry key is not very specific, so rewording it might make clearer, that

jumping to a key means opening regedit to its path (not moving the cursor to its position in the code in vscode)
specified key means the reg file's path entry the cursor is currently on

The same goes for The key is identified by the text inside the square brackets [...] on the current line.

the key is the one to be jumped to
the current line is the one where the cursor is

I am not a native speaker though, so for the moment I do not make specific suggestions on how to reword it

Maybe it should also be mentioned that regjump is being used and maybe even that there is an EULA to agree to before first usage.


Consider add Listener support to database status connections

Hello.
Just curious if Hikari would consider to add Listener support when for example Hikari lost the connection with a local and mostly with a remote database (my case with MySQL).
For example with ActiveMQ I am able to create a custom javax.jms.ExceptionListener and do something. I have confirmed when the remote server is shutdown, automatically this listener triggers/detects that event. I need something through HikariCP it because works through a DataSource
I have read:

Bad Behavior: Handling Database Down

And well, keep busy the network each 2 seconds, I am not sure if is the best solution. I prefer the app reacts automatically.
I am "assuming" that other approach, than do queries to the server each N seconds, has been taken through ActiveMQ.
In some way my current request has been discussed here (year 2014):

Allow to listen for connection open/release events

Thank you.

Is there any update on this front?


Matcher

Add matcher to search input box

Use the typeahead module in vue-strap.

Wait until norch version 0.8.x is supported. Looks like a norch version 0.7.x (or matching search-index version) has a bug in the matcher, but won't investigate before supporting latest of norch and search-index.

typeahead can be included like this:
import alert from 'vue-strap/src/alert'
// or
import { alert } from 'vue-strap'

new Vue({
  components: {
    alert
  }
})

Typeahead now works in @wffranco's vue-strap-fork

Seems the Typeahead-module is too tightly connected to the services queried. Maybe check out how it was done in norch-angular-app and build something custom based on the original Typeahead. Check out remote and custom template.

I'll test switching from vue-strap to material-design-lite-module. Or more precisely, eKoopmans' fork

Maybe materialize.io and menus with menu labels could work?

Here's a Material design implementation with some sort of autocomplete. Seems to be a little flexible, so there is hope.

Never ending story. Here's Vuematerial.io take on autocomplete. Use async, and possibly custom template

https://github.com/material-components/material-components-web/issues/877#issuecomment-415911228


updating broken links

these notebooks are fantastic!

Thanks for the eyes! We're glad the notebooks are proving useful!


Initializing Kalm - 3/4 modules fails on Prometheus

Similar to #138 but prometheus is failing with the following error:
$ kubectl get pods -A -w
NAMESPACE            NAME                                         READY   STATUS              RESTARTS   AGE
cert-manager         cert-manager-7cb75cf6b4-gbmfz                1/1     Running             0          2m11s
cert-manager         cert-manager-cainjector-759496659c-76tm4     1/1     Running             0          2m11s
cert-manager         cert-manager-webhook-7c75b89bf6-hkvzb        1/1     Running             0          2m11s
istio-operator       istio-operator-7c96dd898b-9t9dz              1/1     Running             0          2m10s
istio-system         istio-ingressgateway-7bf98d4db8-54sbf        1/1     Running             0          56s
istio-system         istiod-d474486d7-7mvdg                       1/1     Running             0          76s
istio-system         prometheus-5767f54db5-hl57v                  0/2     ContainerCreating   0          55s
istio-system         prometheus-7dcd44bbcf-wr88t                  0/2     ContainerCreating   0          54s
kalm-operator        kalm-operator-559c67b785-87cnj               2/2     Running             0          2m39s
kube-system          coredns-66bff467f8-wsmdr                     1/1     Running             0          3m33s
kube-system          coredns-66bff467f8-xv4b6                     1/1     Running             0          3m33s
kube-system          etcd-kalm-control-plane                      1/1     Running             0          3m48s
kube-system          kindnet-82fn9                                1/1     Running             0          3m17s
kube-system          kindnet-ckbhx                                1/1     Running             0          3m33s
kube-system          kindnet-j5xfx                                1/1     Running             2          3m16s
kube-system          kindnet-srtzq                                1/1     Running             0          3m17s
kube-system          kube-apiserver-kalm-control-plane            1/1     Running             0          3m48s
kube-system          kube-controller-manager-kalm-control-plane   1/1     Running             0          3m48s
kube-system          kube-proxy-5k7lp                             1/1     Running             0          3m17s
kube-system          kube-proxy-fbhcb                             1/1     Running             0          3m33s
kube-system          kube-proxy-jtdmx                             1/1     Running             0          3m17s
kube-system          kube-proxy-jzkfb                             1/1     Running             0          3m16s
kube-system          kube-scheduler-kalm-control-plane            1/1     Running             0          3m48s
local-path-storage   local-path-provisioner-bd4bb6b75-znm7d       1/1     Running             0          3m33s

$ kubectl logs -f prometheus-5767f54db5-hl57v -n istio-system -c prometheus
level=warn ts=2020-09-09T15:09:52.183Z caller=main.go:283 deprecation_notice="'storage.tsdb.retention' flag is deprecated use 'storage.tsdb.retention.time' instead."
level=info ts=2020-09-09T15:09:52.183Z caller=main.go:330 msg="Starting Prometheus" version="(version=2.15.1, branch=HEAD, revision=8744510c6391d3ef46d8294a7e1f46e57407ab13)"
level=info ts=2020-09-09T15:09:52.183Z caller=main.go:331 build_context="(go=go1.13.5, user=root@4b1e33c71b9d, date=20191225-01:04:15)"
level=info ts=2020-09-09T15:09:52.183Z caller=main.go:332 host_details="(Linux 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 prometheus-5767f54db5-hl57v (none))"
level=info ts=2020-09-09T15:09:52.183Z caller=main.go:333 fd_limits="(soft=1048576, hard=1048576)"
level=info ts=2020-09-09T15:09:52.183Z caller=main.go:334 vm_limits="(soft=unlimited, hard=unlimited)"
level=error ts=2020-09-09T15:09:52.183Z caller=query_logger.go:107 component=activeQueryTracker msg="Failed to create directory for logging active queries"
level=error ts=2020-09-09T15:09:52.184Z caller=query_logger.go:85 component=activeQueryTracker msg="Error opening query log file" file=data/queries.active err="open data/queries.active: no such file or directory"
panic: Unable to create mmap-ed active query log

goroutine 1 [running]:
github.com/prometheus/prometheus/promql.NewActiveQueryTracker(0x24dda5b, 0x5, 0x14, 0x2c62100, 0xc0006bf890, 0x2c62100)
	/app/promql/query_logger.go:115 +0x48c
main.main()
	/app/cmd/prometheus/main.go:362 +0x5229

I'm using a Kind cluster to install Kalm with:
$ cat kind.yaml
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
  - role: control-plane
    kubeadmConfigPatches:
      - |
        kind: InitConfiguration
        nodeRegistration:
          kubeletExtraArgs:
            node-labels: "ingress-ready=true"
            authorization-mode: "AlwaysAllow"
    extraPortMappings:
      - containerPort: 80
        hostPort: 80
        protocol: TCP
      - containerPort: 443
        hostPort: 443
        protocol: TCP
  - role: worker
  - role: worker
  - role: worker

$ kind create cluster --name kalm --config kind.yaml
...

$ curl -sL https://get.kalm.dev | bash
Initializing Kalm - 3/4 modules ready:

✔ kalm-operator
✔ cert-manager
✔ istio-system

$ k describe po/prometheus-5767f54db5-hl57v -n istio-system
Name:         prometheus-5767f54db5-hl57v
Namespace:    istio-system
Priority:     0
Node:         kalm-worker/<IP_ADDRESS>
Start Time:   Wed, 09 Sep 2020 17:08:00 +0200
Labels:       app=prometheus
              pod-template-hash=5767f54db5
              release=istio
Annotations:  sidecar.istio.io/inject: false
Status:       Running
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/prometheus-5767f54db5
Containers:
  prometheus:
    Container ID:  containerd://bfab377de3c826edcee3bc0836f62b4a16495311bf63349763f253e9e36262c7
    Image:         docker.io/prom/prometheus:v2.15.1
    Image ID:      docker.io/prom/prometheus@sha256:169b743ceb4452266915272f9c3409d36972e41cb52f3f28644e6c0609fc54e6
    Port:          9090/TCP
    Host Port:     0/TCP
    Args:
      --storage.tsdb.retention=6h
      --config.file=/etc/prometheus/prometheus.yml
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    2
      Started:      Wed, 09 Sep 2020 17:12:40 +0200
      Finished:     Wed, 09 Sep 2020 17:12:41 +0200
    Ready:          False
    Restart Count:  5
    Requests:
      cpu:        10m
    Liveness:     http-get http://:9090/-/healthy delay=0s timeout=1s period=10s #success=1 #failure=3
    Readiness:    http-get http://:9090/-/ready delay=0s timeout=1s period=10s #success=1 #failure=3
    Environment:  <none>
    Mounts:
      /etc/istio-certs from istio-certs (rw)
      /etc/prometheus from config-volume (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-token-zjqjg (ro)
  istio-proxy:
    Container ID:  containerd://9bf16037197564172d2c6eeda7b52aae72a1b0404bb3afe090f87520ec2b2bfa
    Image:         docker.io/istio/proxyv2:1.6.1
    Image ID:      docker.io/istio/proxyv2@sha256:84e3afe9b4404ca94fd2e6e0277c642eb29b8b37ca46deff49dbe1f5e1b7fdc3
    Port:          15090/TCP
    Host Port:     0/TCP
    Args:
      proxy
      sidecar
      --domain
      $(POD_NAMESPACE).svc.cluster.local
      istio-proxy-prometheus
      --proxyLogLevel=warning
      --proxyComponentLogLevel=misc:error
      --controlPlaneAuthPolicy
      NONE
      --trust-domain=cluster.local
    State:          Running
      Started:      Wed, 09 Sep 2020 17:09:35 +0200
    Ready:          True
    Restart Count:  0
    Readiness:      http-get http://:15020/healthz/ready delay=1s timeout=1s period=2s #success=1 #failure=30
    Environment:
      OUTPUT_CERTS:           /etc/istio-certs
      JWT_POLICY:             first-party-jwt
      PILOT_CERT_PROVIDER:    istiod
      CA_ADDR:                istiod.istio-system.svc:15012
      POD_NAME:               prometheus-5767f54db5-hl57v (v1:metadata.name)
      POD_NAMESPACE:          istio-system (v1:metadata.namespace)
      INSTANCE_IP:             (v1:status.podIP)
      SERVICE_ACCOUNT:         (v1:spec.serviceAccountName)
      HOST_IP:                 (v1:status.hostIP)
      ISTIO_META_MESH_ID:     cluster.local
      ISTIO_META_CLUSTER_ID:  Kubernetes
    Mounts:
      /etc/istio-certs/ from istio-certs (rw)
      /etc/istio/config from istio-config-volume (rw)
      /etc/istio/proxy from istio-envoy (rw)
      /var/run/secrets/istio from istiod-ca-cert (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from prometheus-token-zjqjg (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  istio-config-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      istio
    Optional:  true
  config-volume:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      prometheus
    Optional:  false
  istio-certs:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     Memory
    SizeLimit:  <unset>
  istio-envoy:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     Memory
    SizeLimit:  <unset>
  istiod-ca-cert:
    Type:      ConfigMap (a volume populated by a ConfigMap)
    Name:      istio-ca-root-cert
    Optional:  false
  prometheus-token-zjqjg:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  prometheus-token-zjqjg
    Optional:    false
QoS Class:       Burstable
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason     Age                    From                  Message
  ----     ------     ----                   ----                  -------
  Normal   Scheduled  5m11s                  default-scheduler     Successfully assigned istio-system/prometheus-5767f54db5-hl57v to kalm-worker
  Normal   Pulling    5m11s                  kubelet, kalm-worker  Pulling image "docker.io/prom/prometheus:v2.15.1"
  Normal   Pulled     4m33s                  kubelet, kalm-worker  Successfully pulled image "docker.io/prom/prometheus:v2.15.1"
  Normal   Pulling    4m32s                  kubelet, kalm-worker  Pulling image "docker.io/istio/proxyv2:1.6.1"
  Normal   Pulled     3m36s                  kubelet, kalm-worker  Successfully pulled image "docker.io/istio/proxyv2:1.6.1"
  Normal   Created    3m36s                  kubelet, kalm-worker  Created container istio-proxy
  Normal   Started    3m36s                  kubelet, kalm-worker  Started container istio-proxy
  Normal   Created    2m48s (x4 over 4m33s)  kubelet, kalm-worker  Created container prometheus
  Normal   Pulled     2m48s (x3 over 3m35s)  kubelet, kalm-worker  Container image "docker.io/prom/prometheus:v2.15.1" already present on machine
  Normal   Started    2m47s (x4 over 4m32s)  kubelet, kalm-worker  Started container prometheus
  Warning  BackOff    8s (x21 over 3m34s)    kubelet, kalm-worker  Back-off restarting failed container

Seems promethus process can't create file in your fs. Can you try if this solution work in your situation? https://github.com/aws/eks-charts/issues/21#issuecomment-607031756

The data/ directory does not seem to be a mounted volume though (which is the case for the comment above) but I will try experiment a bit.
How would I go about adding these additional configurations to the Prometheus Deployment in the context of following the install guide (curl -sL https://get.kalm.dev | bash)?

The installation script actually helps you quickly apply some yamls. But there is no way to customize during this process yet. You can try to modify promethus after the prometheus is installed but running abnormally, via this command.
kubectl edit deploy -n istio-system prometheus

I added the following securityContext to the prometheus Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
...
  name: prometheus
  namespace: istio-system
spec:
  template:
...
    spec:
...
      securityContext:
        runAsGroup: 0
        runAsNonRoot: false
        runAsUser: 0
...

and the installation completed successfully.

Mac: Catalina 10.15.6
Docker for Mac: <IP_ADDRESS>
Kind: kind v0.8.1 go1.14.2 darwin/amd64
$ kind create cluster --name kalm --config kind.yaml
Creating cluster "kalm" ...
 ✓ Ensuring node image (kindest/node:v1.18.2)
...


Add 3 items to Browser's menu

As discussed.
Add three items to the menu:

My Bookmarks
History
Set as Home Page

if you set a new Home Page, show a navigation bar with a Home icon.
https://zpl.io/2ZwxJJ4
https://zpl.io/awvJ6lj

@colourfreak  after the user has set a homepage, what happens when they
A. taps on the Browser tab button?
B. when they tap on the new home button?

A and B take you to the same home page.

How do they get to the original “home” which was shown before the user sets their own homepage? Or does the user lose access to it after they do so?

Then you can open "My Bookmarks" and set it as your new home page. It's will not be the same, but you are not losing access to "History" because it's in the menu. But yes. You lose access to it unless we set it up as a custom URL.

Hmm. Ok. Thanks

Yes. ERC1155 first


TwitterKit Crash on query https://api.twitter.com/1.1/users/search.json

For requests through the TwitterKit client, most succeed just fine.  However, whenever it's necessary to query for Twitter Handles, the application crashes when trying to instantiate a url request.  Something seems to be wrong with the generation of Headers for the request.

Hi @clintonhbuie, I tried reproducing your issue with this code snippet:
        let client = TWTRAPIClient.withCurrentUser()

        let query = "q=@rajularora"
        let api = "https://api.twitter.com/1.1/users/search.json?\(query)"
        var clientError: NSError?
        let request = client.urlRequest(withMethod: "GET", urlString: api, parameters: nil, error: &clientError)
        let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
            if let error = error {
                debugPrint(error)
            } else if let data = data, let json = try? JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.allowFragments) {
                debugPrint(json)
            }
        }

        task.resume()
    }

I wasn't able to reproduce your issue, the only major difference between my test is the parameters you are encoding, which I cannot see given the code snippet you provided.
Although, when I look at the api variable in the code snippet you provided, it looks like you might have an extraneous = or you are missing a parameter there.


Virtualized + editable cause input to lose focus at every keystroke

Title. I guess it happens because of modifying the state with handleUpdate. If i remove virtualizedOptions from the table it keeps the focus as normal. Is this issue known?is there any workaround?

Wow, this issue is old. Bumping though


Serve JSON errors

This will allow to serve a proper JSON response for errcode.Error.
Currently, only two types of errors can be served:

auth.Challenge which is always an unauthorized response.

default which is always a bad request without a JSON response causing the client to break:

error parsing HTTP 400 response body: unexpected end of JSON input: ""

The concrete use case is being able to respond that the targeted repository doesn't exist or that access is forbidden. Likewise, it could inform suspended or unverified users of their status.
This addresses part of #1682.

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

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

@tt What errors get returned here? The auth errors should result in a specific return code. These are supposed to bubble up to the error handler.
I'm generally worried this will expose sensitive information from the auth stack.

I would like to use as many HTTP statuses as possible:

402 Payment Required if the user has been suspended due to an outstanding invoice.
403 Forbidden when the auth.AccessController is called with an auth.Access instance references a repository that the user isn't permitted to access.
404 Not Found if the provided auth.Access instance references a non-existing repository.
429 Too Many Requests if the user has been rate limited.

In my mind, any errcode.Error that maps to a 4XX response should be returned because that's always a user error which should never contain sensitive information.
The client only parses 4XX responses. I'm happy to enforce the same when serializing a response so nothing leaks.

@tt Is the authorization subsystem returning errcode.Error types? They're not really supposed to do that. errcode.Error types are meant to be returned at the handler layer. Only registry/handlers should import errcode and api/v2.
We should make error types that correspond to each of those conditions, similar to auth.Challenge that map these response codes. That keeps control in the hands of the registry handlers, as opposed to auth middleware.

@stevvooe, yes, we're returning that from our auth.AccessController implementation. Considering that's where we get the auth.Access structs, where else would we return relevant error messages?
I guess we could fake a successful authorization, keep the errors in the context and return them later but if we're not careful doing that, we essentially skip the authorization step.
The built-in access controllers do not return errcode.Error errors that would leak anything so I really think it would make sense to get this in to allow sending helpful error messages.
I'm also fine defining a new error type we can use.

@dmcgowan, @friism or @stevvooe, is there anything we can do to move this forward? The "unexpected end of JSON input" error message is a terrible user experience and I would really prefer being able to use this project instead of maintaining a fork.


Selfupdate

Super-Simple Selfupdater. PSE chk carefully!
can be invoked by pressing "Update" at git-section within debug-menue.
stashes everything, pulls HEAD of current branch and pops things afterwards.
diff best viewed with "ignore whitespaces"

Tested working in my test environment, and with cloning and adding commits!


Tooltip disappears after ~1 second even though the mouse is not moving

When hovering on the timeline, I would expect the tooltip to stay visible even when the mouse is not moving. A workaround is to click in the timeline window to lock the tooltip but I find that it's not ideal.
I'm using the released version 4.4.6.

Added a tool tip timer in v4.4.7, Qt doesn't respond to passed time out value for tool tip.


Sync Failure causes Brackets Key-bindings to stop working

Different errors essentially break key-bindings such as save or close window.
I was using Brackets to edit sightly templates for use in Sling (not AEM) and the sync fails on save; not expected, but different issue.
However i tried to use the keyboard bindings but none of them worked. If i disable the extension and reload, they all work. If i re-enable the extension and force the sync failure (disable auto-sync and force an export), keybindings no longer work.

It's an intermittent issue which i can't find specific steps to reproduce.


[Extensions] Create writeable implementations for parser

Signed-off-by: Frank Lou<EMAIL_ADDRESS>
Description
Create writeable implementations for parser that implement both Function<String, T> and Writeable interfaces for all existing setting implementations that use parsers.
Issues Resolved
Fixes https://github.com/opensearch-project/opensearch-sdk-java/issues/349
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5838 (6f08a1f) into main (d5a87af) will increase coverage by 0.06%.
The diff coverage is 73.51%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #5838      +/-   ##
============================================
+ Coverage     70.68%   70.74%   +0.06%
- Complexity    58700    58706       +6
============================================
  Files          4774     4775       +1
  Lines        280903   281216     +313
  Branches      40582    40631      +49
============================================
+ Hits         198564   198958     +394
+ Misses        65975    65901      -74
+ Partials      16364    16357       -7

Impacted Files
Coverage Δ

...in/cluster/health/ClusterHealthRequestBuilder.java
27.77% <0.00%> (-1.64%)
:arrow_down:

...g/opensearch/cluster/coordination/Coordinator.java
75.72% <ø> (-2.77%)
:arrow_down:

...ster/decommission/NodeDecommissionedException.java
40.00% <0.00%> (-10.00%)
:arrow_down:

...pensearch/common/settings/IndexScopedSettings.java
100.00% <ø> (ø)

...n/cluster/health/TransportClusterHealthAction.java
45.26% <20.00%> (-0.69%)
:arrow_down:

...g/opensearch/common/settings/WriteableSetting.java
87.82% <50.00%> (-2.83%)
:arrow_down:

...earch/common/util/concurrent/AsyncIOProcessor.java
92.98% <66.66%> (-1.02%)
:arrow_down:

...mmon/util/concurrent/BufferedAsyncIOProcessor.java
68.96% <68.96%> (ø)

...ion/admin/cluster/health/ClusterHealthRequest.java
77.68% <70.00%> (-1.60%)
:arrow_down:

...n/java/org/opensearch/common/settings/Setting.java
86.04% <75.77%> (-3.82%)
:arrow_down:

... and 483 more

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

Open another PR to keep the PR commit clean. Here is the link.


Error returned by Docker when running entrypoint.sh

When running the action, the Docker execution returns the following error:
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/entrypoint.sh\": permission denied": unknown.

The actual job execution can be found here, and the full logs have been attached to this issue

Issue has been resolved by setting the execute bit on the entrypoint.sh script, after it has been copied to the Docker container.
https://github.com/ShahradR/hello-world-docker-action/blob/ae2b0e37a25dd80db4b05654e5d428d6eecaa80c/Dockerfile#L4-L8


Pressing Create code templates does nothing

Thanks for working on this project.  So far everything is working fine except I have no code templates.  I clicked the button Create code templates, but nothing happens.  I go back to code templates in preferences and there are no new templates. I am using version <IP_ADDRESS> Build 063.0100 of Oracle Sql Developer.  Any assistance is appreciated.

Please try the following

Open Preferences and type template in the search bar and click on Code Templates. You should see a screen similar to this one:

Type utplsql in the search bar and click on utPLSQL and then on the Generate utPLSQL test tab. You should see a screen similar to this:

Amend the preferences, if necessary and then press on the button Create code templates and afterwards on the OK button as highlighted in the screenshot above.

Reopen preferences and type template in the search bar and click on Code Templates. You should see a screen similar to this one, highlighting the generated templates:

You can change the templates on this screen. However, they will be overwritten on regeneration. So maybe it's better to rename the templates.
To use the templates, you type the name of the template in a worksheet editor and press Ctrl-Tab.

You can then select the template via the cursor keys and the Return key. The next screenshot shows the result for the second entry:

Now you can navigate with the tab keys and change the highlighted package_name.
Does this help? If not could you please describe at which step you experience a different result? Thank you.

Thanks - that worked for me!
On Fri, Apr 21, 2023 at 2:44 AM Philipp Salvisberg @.***>
wrote:

Please try the following

Open Preferences and type template in the search bar and click on Code
Templates. You should see a screen similar to this one:

[image: image]
https://user-images.githubusercontent.com/3883171/233557161-acc89472-2012-4a0a-8e69-60615eb409f1.png

Type utplsql in the search bar and click on utPLSQL and then on the Generate
utPLSQL test tab. You should see a screen similar to this:

[image: image]
https://user-images.githubusercontent.com/3883171/233557957-4b29861d-02a1-458e-a281-08b98203503a.png

Amend the preferences, if necessary and then press on the button Create
code templates and afterwards on the OK button as highlighted in the
screenshot above.
2.
Reopen preferences and type template in the search bar and click on Code
Templates. You should see a screen similar to this one, highlighting
the generated templates:
[image: image]
https://user-images.githubusercontent.com/3883171/233558766-a6f00c25-291f-4a8c-b184-369c6664b2ae.png
You can change the templates on this screen. However, they will be
overwritten on regeneration. So maybe it's better to rename the templates.
To use the templates, you type the name of the template in a worksheet
editor and press Ctrl-Tab.
[image: image]
https://user-images.githubusercontent.com/3883171/233559848-c2b13f98-7a43-44ec-a562-e7d6e7ac5ea6.png
You can then select the template via the cursor keys and the Return key.
The next screenshot shows the result for the second entry:
[image: image]
https://user-images.githubusercontent.com/3883171/233560349-7bb0e21d-d46c-4d6c-8ce9-b977d1838400.png
Now you can navigate with the tab keys and change the highlighted
package_name.
Does this help? If not could you please describe at which step you
experience a different result? Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/166#issuecomment-1517344066,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGDCAITLYZ4ZIRPF2RVEEBDXCIUETANCNFSM6AAAAAAXECIJKM
.
You are receiving this because you authored the thread.Message ID:
@.***>


CLI: Improve overall experience for company reporting

Introduction
While improvements have been made to the company reporting some of the linking and usability needs to be updated.  Additionally, there are some generic improvements that should be considered for the CLI to enable a better overall experience.
Assumptions and Implementation Thoughts
Assumptions

TBD

Specific Implementation Thoughts
Add the following a per company compared to:

[ ] Ideally link of the document name or ID to a section containing the description, key metadata and abstract for each of the most/least similar documents
[x] Add a bubble chart to visualize the competition

Generic Implementation for all CLI elements

[x] Consider adding page numbers
[ ] Consider adding a table of contents
[x] Consider how to add a cover page

Closing as no longer relevant


Unit test - test_vmdkops_on_default_tenant_vm test fails

I am running into an issue where test_vmdkops_on_default_tenant_vm test fails as total volumes listed by admincli volume ls is not as expected. Test expects the output from admin cli volume ls to be two but assert fails as there are total of three volumes.  Volume named stale_volume is the third one.
https://github.com/vmware/docker-volume-vsphere/blob/master/esx_service/vmdk_ops_test.py#L813

If I try to run test-e2e individually, then all e2e tests pass and there are no left-over volumes. But when I run test-e2e and then start test-esx, test_vmdkops_on_default_tenant_vm test fails and at the end of run, there is one left-over volume.

I am able to hit this issue locally as well. Logs are attached at the end.

I spent lot of time debugging with Shahzeb and Nirdesh but we couldn't figure out why stale_volume is not getting cleaned-up. We are seeing this issue only with my code changes but the impact we are seeing is in some different unit test.

Logs have been attached at the end
CI run: https://ci.vmware.run/vmware/docker-volume-vsphere/717
Error:
======================================================================
FAIL: test_vmdkops_on_default_tenant_vm (__main__.VmdkTenantTestCase)
Test vmdk life cycle on a VM which belongs to DEFAULT tenant
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/vmdk_ops_unittest23218/vmdk_ops_test.py", line 814, in test_vmdkops_on_default_tenant_vm
    self.assertEqual(len(result), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------

Admin cli volume ls:
[root@sc-rdops-vm10-dhcp-39-239:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py volume ls
Volume        Datastore     VMGroup   Capacity  Used  Filesystem  Policy  Disk Format  Attached-to  Access      Attach-as               Created By     Created Date
------------  ------------  --------  --------  ----  ----------  ------  -----------  -----------  ----------  ----------------------  -------------  ------------------------
stale_volume  sharedVmfs-0  _DEFAULT  100MB     0     N/A         N/A     thin         detached     read-write  independent_persistent  test-vm_33467  Sat Jun 24 03:50:54 2017

[root@sc-rdops-vm10-dhcp-39-239:~]

Logs:
docker-volume-vsphere.txt
vmdk_ops.txt

/cc @shuklanirdesh82 @pshahzeb

fixed via #1381


E2E tests (run in CI) are not cleaning up server and project artifacts

What happened?
Servers created through E2E testing are not being deleted after the tests complete.
The project name is the same in each test so it is difficult to say which test triggered the project (and to identify if the devices were orphaned as a result of a failed run).
It is possible that an attempt was made to delete the servers and this failed (on the API side). This would block the deletion of the project.

How can we reproduce it?
Ensure that deletion is always carried out on the servers in the project and the project.
Create test servers with a deletion value so that they are automatically reaped.

CLI version (metal --version):

Here is how that is done in TF:

example: https://github.com/equinix/terraform-provider-equinix/blob/main/equinix/resource_metal_device_acc_test.go#L671
field use: https://github.com/equinix/terraform-provider-equinix/blob/4825cd259b01bff64074cd1bdf78b6ad04f7a8cb/equinix/resource_metal_device.go#L518-L524

Additionally:

Each project, device or any resource should have a random generated uuid append ex: metal-cli-project-xxxxx
Need to add t.Helper() in each test helper in helper.go
Use t.Cleanup() for declaring the cleanups of the resources created. Suggested here https://github.com/equinix/metal-cli/pull/376#discussion_r1395847583
Each resource created, should have a cleanup method called in the test

/assign @aayushrangwala

E2E test runs are still leaving resources behind, even after #405 was merged (and it should be noted that they're also taking far longer to complete).


[TACHYON-1489] Add unittests for BlockContainerIdGenerator

https://tachyon.atlassian.net/browse/TACHYON-1489

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7818/
Test PASSed.

For error handling, I created a JIRA to investigate how and where to handle the container id limit.
https://tachyon.atlassian.net/browse/TACHYON-1545

+1 LGTM


consumer: Only add host address once on connection.

When specifying nsqd addresses directly, upon reconnecting, the address was being duplicated in nsqdTCPAddrs

thanks!


Added strk_l1_gas_price to PyBlockInfo & BlockContext.

This change is

Codecov Report

Merging #868 (792caf2) into main (a75d3ed) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #868   +/-   ##
=======================================
  Coverage   69.25%   69.25%
=======================================
  Files          42       42
  Lines        5574     5575    +1
  Branches     5574     5575    +1
=======================================
+ Hits         3860     3861    +1
  Misses       1345     1345
  Partials      369      369

Files Changed
Coverage Δ

crates/blockifier/src/block_context.rs
0.00% <ø> (ø)

crates/native_blockifier/src/py_state_diff.rs
38.96% <ø> (ø)

crates/native_blockifier/src/py_block_executor.rs
40.93% <100.00%> (+0.34%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more