GTK Inspector

Project description
Window inspector for GTK applications.
Metadata

homepage URL: https://wiki.gnome.org/action/show/Projects/GTK/Inspector
source URL: -
license: -
platforms: linux

As above saying, already works on NixOS, no need to make another package.


PostLogoutRedirectUri

Hi,
Are there any examples showing how to redirect straight back to PostLogoutRedirectUri from /account/logout ?
I see if referenced here but the link is dead
https://github.com/IdentityServer/IdentityServer4/issues/481#issuecomment-261166362

is this correct?
        [AllowAnonymous]
        [HttpGet]
        public async Task<IActionResult> Logout(string logoutId)
        {
            await _signInManager.SignOutAsync();

            var context = await _interaction.GetLogoutContextAsync(logoutId);

            return Redirect(context.PostLogoutRedirectUri);
        }

You don't want to do that, as you will prevent the SLO (single logout) from working.

Yeah, we're not implementing SLO just yet as we only have 1 relying party
Do you have an example showing SLO for future use?

our samples already have SLO


BarPlot: allow bars to be individually customized

Feature Suggestion
Feature description: Add an option so bars in bar plots can be individually colored. Similar color customizations motivated the creation of bubble plots recently (#960, #984). This idea started as a discussion by @gemlrm in #1069
I recognize this could become a bit of a black hole of complexity though. Why not also allow customization of border colors, border sizes, and hatch colors? Probably implementation should involve a BarStyle class somewhere, perhaps with its own Render() too.
Code example:
double values = { 1, 2, 3 };
Color[] colors = { Color.Red, Color.Green, Color.Blue };

var plt = new ScottPlot.Plot();
var bar = plt.AddBar(values);
bar.FillColors = colors;

Eventually we should create a Bar object and allow a new plot type to plot Bar[] or List<Bar>.
This issue is on the triage list #1028 and I'm closing it now so I can focus on #1036


[Aqara] add new feature to K100

Check all that apply
Type of Change

[ ] WWST Certification Request

If this is your first time contributing code:

[ ] I have reviewed the README.md file
[ ] I have reviewed the CODE_OF_CONDUCT.md file
[ ] I have signed the CLA

[ ] I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com

[ ] Bug fix
[x] New feature
[ ] Refactor

Checklist

[ ] I have performed a self-review of my code
[ ] I have commented my code in hard-to-understand areas
[ ] I have verified my changes by testing with a device or have communicated a plan for testing
[ ] I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change
Summary of Completed Tests

Hi, @lelandblue
Please refer STSE-3341 for details. Thank you.

LGTM, but would like to get confirmation of a manual test with the device before approval.

Yes, SVT, QA test has done. please check the test result from STSE-3341 ticket.


Unpredictable HMR loading

Describe the bug
HMR , hot module reloading is amazing but I find myself spending a lot of time worried about the way a page loads locally vs how it loads when deployed on a server. Locally with HMR there appears to be a lot of css / style loading artifacts that aren’t there for a standard build and deploy. Is there a way to make HMR load a page more similarly to a build and deploy?
Reproduction
N/A
Logs
No response
System Info
N/A

Severity
annoyance
Additional Information
No response

Moving to discussion


Upgrade neat and bourbon dependencies

The latest release for:

bourbon is v4.3.4
neat is v2.1.0

I thought the addon wasn't working because neat mixins were not being pulled in, it was actually due  to the older library being used.

Is this inactive? Docs still say install with bower, which has long been deprecated. Is there a pure npm install of neat/bourbon?


Added Bradley Rappa to Contributors list

Hi  @konsoul, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

It was great, all the hard work put in to help those that are confused and don't know where to even start. I actually found out about this browsing reddit and it's exactly what I have been looking for. I will continue to work with it and learn as it helps everyone involved. Thank you so much.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Investigate a simple way to implement distributed sampling

one way to get ranges:

get N% representation samples from the dataset (small enough to fit in memory)
sort it
use quantiles as boundaries of the ranges, -inf, +inf for the borders of the left and right partition

So just remain to implement the sample

https://github.com/apache/spark/blob/515dfc166a95ecc8decce0f0cd99e06fe395f94f/python/pyspark/rddsampler.py#L63

spark uses a poisson sampler to compute how many items to skip
main question remaining is how "skip" is implemented. With arrow format it's simple, but can't really be done with parquet

let's start by implementing this + the partitioners

https://docs.ray.io/en/latest/_modules/ray/data/dataset.html#Dataset.random_sample


support access control using additional claims in id_token

in some OIDC provider such as Azure Active Directory it's possible to configure the client application to emit groups claim (or roles claim). For instance, this and that.
With these claims, we can implement access control so that only ones in the selected group can access the sensitive resources protected by Ambassador API gateway.
Since I have already implemented this feature in my fork, I'm happy to send a PR if you think it's useful.

Hello @weinong would you be wiling to share a URL to this fork?


chore: update troubleshooting docs

Description
Add documentation about immutable field error to troubleshooting section.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Refactor/improvement

How Has This Been Tested?
N/A
Checklist
N/A

Codecov Report

Merging #796 (2881fce) into develop (7b73063) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 2881fce differs from pull request most recent head ea98ecb. Consider uploading reports for the commit ea98ecb to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##           develop     #796   +/-   ##
========================================
  Coverage    87.43%   87.43%
========================================
  Files           27       27
  Lines         1815     1815
========================================
  Hits          1587     1587
  Misses         228      228

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


Release/v1.3.2

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


[incubator/mysqlha] According to replica count to create services for every pod

Signed-off-by: Aisuko<EMAIL_ADDRESS>
What this PR does / why we need it:
This feature achieved that when the Service Kind  is NodePort. User can via every pod's service to connect to the pod and would single get metric container's log on every pod. And the services are the same ordering with the pods.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/assign @prydonius

/assign @prydonius

Could I get any  👀 on this? It has been more than a month with no feedback here.   @prydonius
cc: @maorfr You approve the last PR into this chart, any feedback that you can give would be helpful.

/unassign @prydonius
/assign @jpoon
this may not work until @jpoon accepts his invite to be a trusted collaborator.
but feel free to collaborate on this chart from now on! ;)

/assign @jpoon

@jpoon Thanks a lot for your time to help me review, but I think maybe I had a wrong way to understand the service, and I want to make more sense of the service. 😃


Polymorphic forms

As in JSON https://sake92.github.io/tupson/reference/sum-types.html

Added in c9a1a68983702b3523a85f602d5bcd8b0f635290


Update Action to node 16

Update Action to node 16

@ts-graphviz ?

@sammcj I missed your comment.
I will check later.

@all-contributors please add @sammcj  for maintenance


Dedicated Comment block

As a Program Manipulator user, I would like to be able to more easily understand what sections of the blocks programs are doing.
A dedicated comment block with visible text within the block stack would more easily allow users to inspect what areas of block code stacks are doing without outside assistance.

Predicted issues/Questions with solution:

Adding large blocks of text to the block stack would further increase the size of block stacks tremendously making scrolling more dificult
Do comment blocks need to produce comments within the code, or is this not useful to the user?
Does this comment block match into any of the existing categories ( Text? )

Sample of dedicated comment block.
Obvious issue here is readability. By default the text field will add an elipsis after a 50 character limit meaning the text isnt readable without clicking and scrolling into the text editor, ruining the streamline efforts of the comment block. Looking to the existing comment function may reveal a better way of stacking text into a paragraph format for more digestible sizing.
@codestar12 @hgclose


Fix animejs based samples and AnimeUtils to be compatible with new Animejs bindings

The animejs base samples were not on par with the latest Animejs bindings from Fable-import. Hence this update.

Just merged this one since it did not affect very important things after all

The title of this PR was a little bit misleading. Sorry.


Add an Azure Portal Form UI

Description
Adds a stepped wizard Azure Portal form with input validation and adds the Deploy to Azure buttons to the relevant READMEs.
To demo this (these buttons launch the Custom Portal Blade experience from this branch, /glenn/formUi, the READMEs in this branch are linked to their eventual destination, /main after these changes are merged):

This change introduces a form that:

uses ArmApiControls to query for the user's subscriptions
uses ArmApiControls to query for a list of locations available to the user and trim the list to a specific subset we control
uses regex validation to ensure the virtual network and subnet address pairs are valid
allows for opt-in of Azure Policy and policy set selection
allows for opt-in of Azure Security Center and validation of security contact e-mail address
allows for opt-in of Azure Sentinel
allows for opt-in of Azure Bastion Host and validation of virtual machine usernames and credentials
captures user provided custom tags

Issue reference
The issue this PR will close: #482
Checklist
Please make sure you've completed the relevant tasks for this PR out of the following list:

[x] All acceptance criteria in the backlog item are met
[x] The documentation is updated to cover any new or changed features
[x] Manual tests have passed
[x] Relevant issues are linked to this PR

Putting custom buttons in the PR description was clever because it was not possible to test the buttons from the branch due to the branch path in the template URI. 🥲

It's a tricky dance!


New command: spo web roleinheritance reset. Closes #3548

New command: spo web roleinheritance reset.
the aim of this PR is to add a new command which allows to restore role inheritance on subsite
Linked Issue
Closes #3548

setting this to draft as I want to align this to the last changes done for commands


PR for #251 - Convert JavaScript to Kotlin

#251
For Traces:
Converted:

displayTraces()
displayTraceStack()

Pending:

displayInnerTraces() (to be merged)
displaySpanInfo()

Others:

Check todos

@BFergerson What is the type of log.data? In TraceSpanLogEntry log.data is a string, but in js it is an object. Should a new object be created also for this?
        if (log.data.event === 'error') {
            rowHtml += log.data.stack.replace(/(?:\r\n|\r|\n)/g, '
');
        } else {
            rowHtml += log.data;
        }

https://github.com/chess-equality/SourceMarker/blob/feature/issue-251/convert-js-to-kotlin/portal/backend/src/main/resources/webroot/js/views/traces_view.js#L153-L157

@BFergerson What is the type of log.data? In TraceSpanLogEntry log.data is a string, but in js it is an object. Should a new object be created also for this?
        if (log.data.event === 'error') {
            rowHtml += log.data.stack.replace(/(?:\r\n|\r|\n)/g, '
');
        } else {
            rowHtml += log.data;
        }

https://github.com/chess-equality/SourceMarker/blob/feature/issue-251/convert-js-to-kotlin/portal/backend/src/main/resources/webroot/js/views/traces_view.js#L153-L157

It's an object but it's not currently being handled correctly internally (see https://github.com/sourceplusplus/SourceMarker/blob/49149ca3e4de7aa6439addd532bfda07b4fec248/monitor/skywalking/src/main/kotlin/com/sourceplusplus/monitor/skywalking/SkywalkingExtensions.kt#L67). You can create a new object or skip it all together.

@BFergerson I moved below back to the method from setupUI, the tab doesn't change on click when the block is not on the method.
jq("#span_info_panel").css("display", "none")
        jq("#latest_traces_header").addClass("active_sub_tab")
            .removeClass("inactive_tab")
        jq("#top_trace_table").css("display", "")
        jq("#trace_stack_table").css("visibility", "hidden")
        jq("#traces_span").css("display", "unset")
        jq("#trace_stack_span").css("display", "none")
        jq("#segment_id_span").css("display", "none")

        jq("#trace_stack_header").addClass("inactive_tab")
            .removeClass("active_sub_tab")
            .css("visibility", "hidden")

        jq("#span_info_header").addClass("inactive_tab")
            .removeClass("active_sub_tab")
            .css("visibility", "hidden")

https://github.com/chess-equality/SourceMarker/blob/feature/issue-251/convert-js-to-kotlin/portal/frontend/src/main/kotlin/com/sourceplusplus/portal/page/TracesPage.kt#L205-L220

@BFergerson Also if I enable below, I get a JavaScript error.
`// portalLog(JSON.parse(JSON.stringify(spanInfo)))
https://github.com/chess-equality/SourceMarker/blob/feature/issue-251/convert-js-to-kotlin/portal/frontend/src/main/kotlin/com/sourceplusplus/portal/page/TracesPage.kt#L438

@BFergerson This is ready for review.

This is mostly good to go. As I was cleaning this up I stumbled upon the more correct way of working with KotlinJS that allows you to debug inside IntelliJ like normal code. Going to push those changes in this branch and merge and give you updated instructions on how to work with the portal module.
Till then feel free to start converting configuration. It's the easiest of the pages.


Test discovery fails with ValueError: I/O operation on closed file.

OS: Windows
VS Code: 1.76.0
Python: venv created using Poetry and pyenv-win
Running the relevant test discovery command from CLI (PowerShell 7.2.1):
.\.venv\Scripts\python.exe C:\Users\LeimgruberF\.vscode\extensions\ms-python.python-2023.4.0\pythonFiles\testing_tools\run_adapter.py discover pytest -- --rootdir . -s --cache-clear tests

shows this error:
cwd: .
[ERROR 2023-2-9 17:9:52.58]: Error discovering pytest tests:
 [n [Error]: --- Logging error ---
Traceback (most recent call last):
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\logging\__init__.py", line 1086, in emit
    stream.write(msg + self.terminator)
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
ValueError: I/O operation on closed file.
Call stack:
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 332, in _exit_function
    info('process shutting down')
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 54, in info
    _logger.log(INFO, msg, *args)
Message: 'process shutting down'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\logging\__init__.py", line 1086, in emit
    stream.write(msg + self.terminator)
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
ValueError: I/O operation on closed file.
Call stack:
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 333, in _exit_function
    debug('running all "atexit" finalizers with priority >= 0')
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 50, in debug
    _logger.log(DEBUG, msg, *args)
Message: 'running all "atexit" finalizers with priority >= 0'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\logging\__init__.py", line 1086, in emit
    stream.write(msg + self.terminator)
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\tempfile.py", line 478, in func_wrapper
    return func(*args, **kwargs)
ValueError: I/O operation on closed file.
Call stack:
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 359, in _exit_function
    debug('running the remaining "atexit" finalizers')
  File "C:\Users\LeimgruberF\scoop\apps\pyenv\current\pyenv-win\versions\3.9.12\lib\multiprocessing\util.py", line 50, in debug
    _logger.log(DEBUG, msg, *args)
Message: 'running the remaining "atexit" finalizers'
Arguments: ()

	at ChildProcess.<anonymous> (c:\Users\LeimgruberF\.vscode\extensions\ms-python.python-2023.4.0\out\client\extension.js:2:244860)
	at Object.onceWrapper (node:events:646:26)
	at ChildProcess.emit (node:events:526:28)
	at maybeClose (node:internal/child_process:1092:16)
	at ChildProcess._handle.onexit (node:internal/child_process:302:5)]

Hello! Could you try running pytest discovery in the terminal and see the result?

Hi @eleanorjboyd, thanks for the support.

Could you try running pytest discovery in the terminal and see the result?

I ran the command in the terminal - please see the updated report.

@eleanorjboyd or did you mean to run it in the VS Code terminal? Happy to support in any other way.

Getting the same error as in https://github.com/microsoft/vscode-python/issues/20826#issuecomment-1463427660 from the VS Code terminal (which is a PowerShell).

Hi @fleimgruber, if pytest is unable to discover the tests correctly than we cannot parse that output and display it in our UI therefore you should look into getting the pytest error fixed and our discovery will be fix as well. Thanks!

closing as this is a pytest error not vscode- please reopen if you think that is not the case.

For reference, this is the related upstream pytest issue: https://github.com/pytest-dev/pytest/issues/5502.
What was causing the error for me was test code that imported from a module that imported a lot of dagster - which apparently does some offending (according to pytest authors) stdio handling in it's code at import time. I did not dig further into it, just removed the related tests.


special characters in podcast title still trip up the card

i posted this issue to the component-github already but i think it belongs here now.
i also see that i am not the only one looking at the closed issues. but the fix there apparently does not work?
if i add for example "Ö1 digital leben" podcast in gpodder.net the card shows it but does not list the podcasts. apparently it hates the "ö".
if i add "skeptics' guide to the universe" podcast the card breaks entirely. it really hates the "' ' "
does anyone have an idea where to look for that in the code? should be simple to fix and would make this everything i ever dreamed of...

apparently with "Ö" the issue is somewhere here on line 2594:
const list = this.shadowRoot.querySelector(#${target.podcast.replace(/[ )(]/g, "-").replace(/[^\w\s]/gi, '')});
the corresponding error in console:
`
podcast-card.js?v=0:2594 Uncaught DOMException: Failed to execute 'querySelector' on 'DocumentFragment': '#1Wissenaktuell' is not a valid selector.
at HTMLElement._togglePodcastEpisodes (http://<IP_ADDRESS>:8123/local/podcast-card.js?v=0:2594:38)
at EventPart.handleEvent (http://<IP_ADDRESS>:8123/local/podcast-card.js?v=0:855:24)
at HTMLElement.EventPart._boundHandleEvent (http://<IP_ADDRESS>:8123/local/podcast-card.js?v=0:821:46)
`
i dont think i can interpret the regex well enough to make sense of this. but maybe its something with that part that goes wrong since complex regex always seems like voodo... to me at least :)

Forgot about this one. I'll take a look

Give this a try: https://gist.github.com/iantrich/d243d08d48c37d6ed05207ef16cb0bac

Should be fixed in https://github.com/custom-cards/podcast-card/releases/tag/1.0.4


Fix WORK_DIR for docker (root) image

Fix #25726
#17846 chose an incorrect WORK_DIR path for docker root image.
Gitea's work-path was already used as the base path for various paths (like AppDataPath), so, the work-path should be mounted to a volume in a docker image.
Now, for docker root image, it's unavoidable to mix the WorkPath/CustomPath/AppDataPath in the same directory ("/data/gitea"), because some of them have already been mixed.
Some directories in the screenshot are for "CustomPath" , while others are for "AppDataPath", due to the technical debts in old code:
CUSTOM_PATH="/data/gitea"
APP_DATA_PATH = /data/gitea

This PR is breaking but this is the only way at the moment to avoid users losing their data accidently

Actually, I don't think it's really breaking. It's for docker only, and it's almost impossible for anyone to mount /app/gitea because of GITEA="/app/gitea/gitea". So

If there is any data in /app/gitea, this PR will lose it.
Even without this PR, the data will be lost because it's not mounted.

Thank you for your reviewing.
Let's wait for enough days before merging, to see whether there are more ideas/concerns about this problem.
🙏

"Breaking" section is missing

"Breaking" section is missing

Nothing need to do. https://github.com/go-gitea/gitea/pull/25738#issuecomment-1624789284

Ok then let's remove the label.


System.IO.FileNotFoundExceptionCould not load file or assembly 'Microsoft.Threading.Tasks, Version=<IP_ADDRESS>,

Hi,
Just came across this project, looks great!
However I just ran the sample from README to list containers but when it calls this
 var containers = await client.Containers.ListContainersAsync(
                new ListContainersParameters()
                {
                    Limit = 10,
                });

I get an error like this:
System.IO.FileNotFoundExceptionCould not load file or assembly 'Microsoft.Threading.Tasks, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Any ideas?

Hi Jonathan,
Do you have a reference added for Microsoft.Bcl.Async?  If not, you'll want
to do that as it handles the async/await goods.  If you do already have
that added to your project just let me know.
Josh
On Mon, May 18, 2015 at 6:08 AM, Jonathan Channon<EMAIL_ADDRESS>wrote:

Hi,
Just came across this project, looks great!
However I just ran the sample from README to list containers but when it
calls this
var containers = await client.Containers.ListContainersAsync(
new ListContainersParameters()
{
Limit = 10,
});
I get an error like this:
System.IO.FileNotFoundExceptionCould not load file or assembly 'Microsoft.Threading.Tasks, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23.

Shouldnt that be a dependency in the nuspec then?
On 18 May 2015 at 14:30, Josh Garverick<EMAIL_ADDRESS>wrote:

Hi Jonathan,
Do you have a reference added for Microsoft.Bcl.Async? If not, you'll want
to do that as it handles the async/await goods. If you do already have
that added to your project just let me know.
Josh
On Mon, May 18, 2015 at 6:08 AM, Jonathan Channon <
<EMAIL_ADDRESS>wrote:

Hi,
Just came across this project, looks great!
However I just ran the sample from README to list containers but when it
calls this
var containers = await client.Containers.ListContainersAsync(
new ListContainersParameters()
{
Limit = 10,
});
I get an error like this:
System.IO.FileNotFoundExceptionCould not load file or assembly
'Microsoft.Threading.Tasks, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system
cannot find the file specified.
Any ideas?
--
Reply to this email directly or view it on GitHub
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23.

--
Reply to this email directly or view it on GitHub
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23#issuecomment-103060708
.

It will be for the next release, yes.
On Mon, May 18, 2015 at 9:34 AM, Jonathan Channon<EMAIL_ADDRESS>wrote:

Shouldnt that be a dependency in the nuspec then?
On 18 May 2015 at 14:30, Josh Garverick<EMAIL_ADDRESS>wrote:

Hi Jonathan,
Do you have a reference added for Microsoft.Bcl.Async? If not, you'll
want
to do that as it handles the async/await goods. If you do already have
that added to your project just let me know.
Josh
On Mon, May 18, 2015 at 6:08 AM, Jonathan Channon <
<EMAIL_ADDRESS>wrote:

Hi,
Just came across this project, looks great!
However I just ran the sample from README to list containers but when
it
calls this
var containers = await client.Containers.ListContainersAsync(
new ListContainersParameters()
{
Limit = 10,
});
I get an error like this:
System.IO.FileNotFoundExceptionCould not load file or assembly
'Microsoft.Threading.Tasks, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system
cannot find the file specified.
Any ideas?
--
Reply to this email directly or view it on GitHub
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23.

--
Reply to this email directly or view it on GitHub
<
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23#issuecomment-103060708

.

—
Reply to this email directly or view it on GitHub
https://github.com/ahmetalpbalkan/Docker.DotNet/issues/23#issuecomment-103061626
.

:+1:


DCOS-38944 (2/2): remove remnants of sidebar header

Removes sidebar header, account dropdowns and hook for authenticated dropdown
Closes DCOS-38944
Testing

The user account dropdown on the sidebar should be removed

Dependencies
Hold merge until #3084 is merged

@tnguyen0 I would be super happy if you could use the PR template. It would help me doing the review.

Does the dependency mean I can not test it individually or that I need to rebase onto that branch?

Upon inspection. nope. I can add some 👀

@tnguyen0 We have some conflicts here :)

integrated into #3084


Deleting Monitor - Doesn’t Delete - DB Connection Errors

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

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

🛡 Security Policy

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

Description
Anyone seeing issues with the latest version where deleting an existing monitor does not delete but instead causes the db to enter a state where connections are not accepted anymore?
Then I see errors like -
Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
Or DB timeout errors
Only way to recover is to recreate the Docker image. Everything comes back fine.
👟 Reproduction steps
Delete an existing monitor!
👀 Expected behavior
Should just delete without causing DB connection and pooling issues.
😓 Actual Behavior
Does not delete. Sits waiting - error messages show DB connection issues and all monitors then start failing.
🐻 Uptime-Kuma Version
1.20
💻 Operating System and Arch
Docker - RPI Arc64
🌐 Browser
Cheers me
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

Yes, it is a known issue, usually due to deleting a lot of heartbeat data. Unfortunately, Uptime Kuma is using SQLite which allows one connection only at the moment.
I think it could be fixed by 2.0.0 with MariaDB/MySQL support
https://github.com/louislam/uptime-kuma/pull/2720

Is there a workaround until 2.0 is released? Maybe by stopping the container, connecting into it and manually removing the data? Could you maybe provide the necessary DELETE statements?

DELETE FROM monitor WHERE id=1, will it delete everything that's needed?

It should be OK. Of course, always backup first.

Unfortunately it did not:
sqlite> select count(*) from heartbeat where monitor_id=3;
90834
sqlite> delete from monitor where id=3;
sqlite> select count(*) from heartbeat where monitor_id=3;
90834

For prosperity, if you are using the SQLite cli, foreign keys are not enforced by default. You have to enable it with:
PRAGMA foreign_keys = ON

I encountered (I'm not sure if related) an issue today when trying to delete a monitor. Nothing happens when I click on delete and confirm. It just keeps loading and nothing works after that. I need to restart the docker each time.

@Jiriteach
This will be resolved after the 1.23 release given that https://github.com/louislam/uptime-kuma/pull/2800 and https://github.com/louislam/uptime-kuma/pull/3380 were merged.
=> Could you close this issue? (we forgot to do so in the above PRs)


What is the annotations_cache in step 5?

What is the annotations_cache in step 5? Is it the Annotaions file in the VOC2007?

It contains the bounding boxes, the labels and other information about what the associated image really contains


Full text search

As a Consumer looking for data I want to get a dataset on topic X so that I can use it for my work
As a Consumer looking for data I want to be able to search with relevant terms and see if there are datasets available that are related

I want best matches in terms of topic
I prefer better quality data (e.g. core datasets) to less good (or less reputable people)

What's the situation now:

Have search page
But just searching dataset titles - and should search README too (but higher weighting for title)

keywords??

core datasets come last after alternatives ...

Acceptance Criteria

[ ] Search for finance brings up vix? Search for climate brings up co2-ppm

[ ] Searching for terms in the README works

[ ] Search for a username should bring up their datasets (?:)
[ ] core datasets get preference ... (so top of the list by default e.g. with empty query)

Tasks

[x] Do elasticsearch analysis [2.5h]

[x] Take a look at existing code and understand how it works [1h]
[x] Install run Elastic search [0.5h]
[x] Play around with elastic search and put there stuff (Taken from metastore API) [1h]

[ ] Do techincal analysis [1.5h]

[ ] How does keywords work with elasticsearch [0.5h]
[ ] Find out how may core datasets get preference[1h]

[ ] Propose solution in the analysis solution
[x] Write failing tests [1h]
[x] make changes and pass the failing test [4h]

Analysis
Repos to work with:

Search logic:  https://github.com/datahq/metastore/blob/master/metastore/models.py
Indexing the ElasticSearch: https://github.com/datahq/assembler/blob/master/datapackage_pipelines_assembler/processors/dump_to_s3.py

@svetozarstojkovic please assign to yourself, estimate an add to the Jan1st milestone

Python tests for readme search are passing

Acceptance Criteria

[ ] Search for finance brings up vix? Search for climate brings up co2-ppm

[ ] Searching for terms in the README works

[ ] Search for a username should bring up their datasets (?:)
[ ] core datasets get preference ... (so top of the list by default e.g. with empty query)

Tasks

[ ] Run elasticsearch on local server [0.5d]
[ ] Check frontend for errors in search [2d]

[ ] Frontend analysis [0.5d]
[ ] Deploy frontend on localhost [1d]
[ ] Make search hit local elasticsearch [0.5d]

[ ] Title carries more weight when searching [1d]
[ ] Core datasets have bigger score [2d]

[ ] ES analyze how some field having specific value gain higher score  [1d]
[ ] make changes to code [1d]

Analysis
metastore: https://github.com/datahq/metastore
frontend: https://github.com/datahq/frontend
For searching in python exact instance of random dataset is used and readme search works.
Next thing to test is frontend, and follow whole path between frontend input field to elasticsearch service, to find exactly what is not working.


Library Chart support?

Plugin shows "Template not found" when using Library Charts. Are they not supported?
e.g.
{{- include "library.deployment" (list . "local.deployment") -}}

puts red squiggly line under library.deployment with "Template not definedHelm-Intellisense"

Library charts are not currently supported by the extension, though I agree that that would be a great feature to implement in a future release.

Support for Library Charts is a crucial feature - without that it’s useless. (no offense - this is a very cool extension for Helm supported by VS Code! I appreciate your effort - thank you at least for the actual state.)
I would like to contribute, but my experience with the development of VS Code Extensions is zero. 😏🤷🏻 No time to learn new things... 🥺

+1 :)

Or at list, provide customTemplateFolder like for customValueFileNames, so we can store .tpl in folder and provide the path to the extension

+1 too

+1

1

+1

+1

FYI helm-ls supports Library charts and also provides a VS Code extension.


Fix service parameter fetch order

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

Checklist

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

Codecov Report

Merging #8385 (882eff2) into 3.0 (6c8046a) will decrease coverage by 0.20%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##                3.0    #8385      +/-   ##
============================================
- Coverage     63.23%   63.02%   -0.21%
+ Complexity      311      310       -1
============================================
  Files          1099     1099
  Lines         46054    46009      -45
  Branches       6955     6922      -33
============================================
- Hits          29122    28999     -123
- Misses        13680    13751      +71
- Partials       3252     3259       +7

Impacted Files
Coverage Δ

...ache/dubbo/registry/client/InstanceAddressURL.java
41.02% <80.00%> (-0.91%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-20.69%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
43.47% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

.../remoting/transport/netty4/NettyServerHandler.java
61.36% <0.00%> (-9.10%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
61.01% <0.00%> (-6.78%)
:arrow_down:

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

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

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

... and 45 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 6c8046a...882eff2. Read the comment docs.


Handle retries correctly

See https://github.com/ONSdigital/rm-sample-service/pull/68

Can you add some instructions of how to test this is fixing the issue?

 TBL 116: Identify and correct invalid retry across all Java microservices (8)

@damien-lloyd here is an example of a integration test for a queue https://github.com/ONSdigital/rm-case-service/pull/66/files#diff-6c1b5a183ab3b8eaa2f125ad8a29def4R62. This might help you write a test to simulate the retries. I am thinking that you could use WireMock to check that it hits a WireMock endpoint X times with the retry?


WIP: Add confidence intervals

Following the Xfit manual I think the implementation might be correct. Still need to:

[ ] Add tests by cross-checking with Xfit.
[ ] Figure out how to write the confidence intervals to disk.
[ ] Add χ^2 and nfree like in the C code (might as well since I/O needs to be fixed/adjusted).
[ ] Add I/O tests for confidence intervals, χ^2, nfree.

Codecov Report

Merging #4355 into master will decrease coverage by 2%.
The diff coverage is 94.84%.

@@            Coverage Diff             @@
##           master    #4355      +/-   ##
==========================================
- Coverage   86.07%   84.06%   -2.01%
==========================================
  Files         346      346
  Lines       63059    63119      +60
  Branches     9691     9698       +7
==========================================
- Hits        54275    53059    -1216
- Misses       6115     7357    +1242
- Partials     2669     2703      +34

Ready for review/merge from my end.

did you compare with xfit results?

Yes, the tests in the code compare to an xfit file

That's rebase error, I'll need to fix it

Okay, rebase error fixed

+1 for MRG when CIs are happy
we'll find a way to visualize these in a subsequent PR

can you just update http://martinos.org/mne/dev/auto_tutorials/plot_dipole_fit.html to demo this new feature?

@agramfort done

I don't see it

Argh, silly OSX ssh-agent grumble grumble. Now I've actually pushed the commit.

cool
merge when CIs are green


connection pool w/ jvm dns cache

We use a proximity / round-robin dns for our database servers.
If our application servers have a 10s DNS cache, and each server has a pool w/ a jdbc url to our dns. Is it possible that the pool could fill up w/ connections to a single DB server? I know that there is some delay between when the pool harvests and enters a new connection, but is it at a greater interval than the 10s dns cache?
Just a question as i am wondering whether we should be dropping the dns cache ttl to avoid a homogenous pool.

Yes, entirely possible.  Retired connections are likely to be replaced almost immediately.  A round robin DNS is not going to do a very good job of spreading load.

good to know, would you ever recommend disabling dns caching at jvm layer entirely to get around this?

That would depend how frequently other components resolve hosts.  In HikariCP 's case, resolution is infrequent, but you would want to ensure that other libraries aren't affected.


Create ofppt-edu.txt

Link to the organization and to the PDF proof from the official website

https://www.ofppt.ma/en/
https://www.ofppt.ma/sites/default/files/documents/formation_stagiaires.pdf

@MERZAK-X Thank you for making the request! Could you please tell me an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you!

@philipto read under "Organisation de formation" in the first link

https://www.ofppt.ma/index.php/fr/filieres-de-formations/techniques-de-developpement-informatique
https://www.ofppt.ma/index.php/en/branches/it-development-techniques

@MERZAK-X Thanks a lot for the clarification. Pull request merged.

@philipto the pleasure is mine :D

(I wanted to ask please, how/where can those domains be added as they benefice from the GitHub Education pack ?


Wrong detections in multi-arch Dockerfiles

Expected Behavior
KICS should properly recognize multi-arch Dockerfiles and only report vulnerabilities in actual stages of multi-stage Dockerfiles.
Actual Behavior
KICS seems to wrongly detect a multi-stage Dockerfile when there is a variable used to produce a multi-architecture Dockerfile.
It's probably easier with an example ! My Dockerfile starts like this :
ARG ARCH=
FROM ${ARCH}alpine:3.15

RUN apk add --no-cache unbound==1.13.2-r2 ca-certificates==20191127-r7

And KICS detects vulnerabilities on line -1. I guess it's because of the first ARG ARCH=.
Note that KICS succcesfully detects all vulnerabilities on the part after the FROM....
Steps to Reproduce the Problem
I used the latest kics docker image with following flags :
docker run --pull always --rm \
                --workdir="/project" \
                --entrypoint "" \
                -v /home/amael/Tresors/workspace/rpi-unbound:/project/:rw \
                checkmarx/kics:latest \
                kics scan -q /app/bin/assets/queries \
                -p /project/ \
                --ignore-on-exit all \
                --log-level=DEBUG \
                --log-path /dev/stdout \
                --report-formats glsast \
                -o /project/output/ \
                --output-name kics-results

My Dockerfile :
ARG ARCH=
FROM ${ARCH}alpine:3.15

RUN apk add --no-cache unbound==1.13.2-r2 ca-certificates==20191127-r7

# Copy main configuration file
COPY unbound.conf root.hints /etc/unbound/

# Copy contents of conf to image
COPY conf /etc/unbound/unbound.conf.d/

COPY docker-entrypoint.sh /usr/local/bin/

RUN chmod a+x /usr/local/bin/docker-entrypoint.sh ; unbound-anchor -v ; chown -R unbound:unbound /usr/share/dnssec-root/

# Create a low-privileged user for runnning
RUN addgroup -S container && adduser -S container -G container
# Set SUID to unbound binaries
RUN chmod 4755 /usr/sbin/unbound-checkconf /usr/sbin/unbound
# Switch to the new user
USER container

EXPOSE 53/udp

CMD ["/usr/local/bin/docker-entrypoint.sh"]

HEALTHCHECK --interval=1m --retries=1 --start-period=5s CMD nslookup www.google.fr

The result :
Files scanned: 2
Parsed files: 2
Queries loaded: 327
Queries failed to execute: 2

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

Healthcheck Instruction Missing, Severity: LOW, Results: 1
Description: Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working
Platform: Dockerfile

        [1]: Dockerfile:-1

Missing User Instruction, Severity: HIGH, Results: 1
Description: A user should be specified in the dockerfile, otherwise the image will run as root
Platform: Dockerfile

        [1]: Dockerfile:-1

Results Summary:
HIGH: 1
MEDIUM: 0
LOW: 1
INFO: 0
TOTAL: 2
[kics-debug.log](https://github.com/Checkmarx/kics/files/7710134/kics-debug.log)

Note that I had the same findings in the actual stage of my Dockerfile and corrected them by adding a user and a healthcheck instruction. These findings disappeared after correction, but the ones on line -1 are staying.
Please find attached full log file in debug mode.
Specifications

Version: Keeping Infrastructure as Code Secure v1.4.8
Platform: Linux-amd64
Subsystem: ?

Hi @Amaelh, Thank you for reporting this issue,
It seems this is a bug with our Dockerfile parser as it creates a structure just for the args returning the vulnerabilities on that structure, I will create a PR fixing this issue and it should be available on the next release.


ARROW-6650: [Rust] [Integration] Compare integration JSON with schema & batch

This creates the ability to compare a schema and batch against the JSON rep used in integration testing.
The PR:

fixes and aligns the JSON fns in datatypes to align to the Arrow spec
adds fns to partially read an integration JSON file
compares record batches with the JSON data, leveraging JSON equality checks

After this PR, it should be possible to add Rust to integration tests

I meant to make this a [WIP], but seems I can't change the status after creating the PR.
@andygrove @liurenjie1024 please review when you get a chance. Your work on JSON equality Renjie made this less painful than it could have been, so thanks, I really appreciate it.
NB: I haven't added temporal arrays yet, I'll get to them before the end of the weekend

@andygrove I've now added temporal support (behaves same way as int{32|64}). The CI failure is an odd one because the line that got changed was over 90 chars. If I revert it back, the Release Audit Tool githook doesn't let me commit.
I can change the file directly on GH, but that might be passing the problem down to the next person.


Adding Content to the pages about products

The pages seem to be empty let me add the products and their details.

sure. go ahead @sshivangi882 .

Assign this issue to me under GSSoc'24 so that i can work on it

@Gokilp go ahead 👍

please assigned me to add product details

assigned

I want to add products to this section. Can i make changes?

Hello, I am eager to work on this project, could you please assign me @sshivangi882


How do I connect to a Bluetooth cube on the web version of TPS cube?

I'm seeing claims on this web page that tpscube supports connections to Bluetooth cubes, but I'm not seeing an option to connect to any such cube when I visit the main web page at https://tpscube.xyz/
I am seeing an old commit suggesting that this feature is only available in the native version of the application. Is that still true? If so, what blockers are stopping this from being a reality in the web app, OR is it possible to use a GitHub Actions pipeline to create releases of the native applications so that potential users such as myself don't have to install Rust and build the app to be able to start using it?
I have zero experience with Rust, but I am a sub 15 solver working on several other cubing projects myself and happy to help with permissively licensed projects like this one as best I can.

Yes, it's still true that this is only available in native builds. iirc it's because of limitations in the BTLE stack being used.
But I agree it would be really nice to have it fixed.
(Also, nice on the sub-15!)


⚠ Bofrost.be has degraded performance

In 4d0e9f9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 6428 ms

Resolved: Bofrost.be performance has improved in 6630f6f.


self test fails (with newer compilers?) under redhat (RHEL7)

I tried to run the self tests under RHEL7 as part of evaluating this library and I got the following error:
>mkdir build
>cd build
>cmake ../Projects/CMake
>make
[  2%] Building CXX object CMakeFiles/SelfTest.dir/home/brucea/Downloads/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp.o
In file included from /home/brucea/Downloads/Catch/include/internal/catch_stream.h:12:0,
                 from /home/brucea/Downloads/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp:3:
/home/brucea/Downloads/Catch/include/internal/catch_compiler_capabilities.h:250:32: error: ‘auto_ptr’ in namespace ‘std’ does not name a type
 #   define CATCH_AUTO_PTR( T ) std::auto_ptr<T>
                                ^
/home/brucea/Downloads/Catch/include/internal/catch_stream.h:52:9: note: in expansion of macro ‘CATCH_AUTO_PTR’
         CATCH_AUTO_PTR( StreamBufBase ) m_streamBuf;
         ^
make[2]: *** [CMakeFiles/SelfTest.dir/home/brucea/Downloads/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp.o] Error 1
make[1]: *** [CMakeFiles/SelfTest.dir/all] Error 2
make: *** [all] Error 2

>gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)

Also fails if I use gcc 4.9.3 (installed to /opt)
>gcc --version
gcc (GCC) 4.9.3
>CC=`which gcc` CXX=`which g++` cmake ../Projects/CMake
>make

Seems to work just fine on RHEL5 using an older compiler however.
rhel5>gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)

Also failed under gcc
gcc --version
gcc (GCC) 6.2.1 20160830

here the detailed error:
In file included from /home/kai/apps/Catch-master/include/internal/catch_stream.h:12:0,
                 from /home/kai/apps/Catch-master/projects/SelfTest/SurrogateCpps/catch_stream.cpp:3:
/home/kai/apps/Catch-master/include/internal/catch_compiler_capabilities.h:248:37: Fehler: »unique_ptr« in namespace »std« does not name a template type
 #   define CATCH_AUTO_PTR( T ) std::unique_ptr<T>
                                     ^
/home/kai/apps/Catch-master/include/internal/catch_stream.h:52:9: Anmerkung: bei Substitution des Makros »CATCH_AUTO_PTR«
         CATCH_AUTO_PTR( StreamBufBase ) m_streamBuf;
         ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/SelfTest.dir/build.make:855: CMakeFiles/SelfTest.dir/home/kai/apps/Catch-master/projects/SelfTest/SurrogateCpps/catch_stream.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/SelfTest.dir/all] Fehler 2
make: *** [Makefile:95: all] Fehler 2

catch_stream.h (which uses CATCH_AUTO_PTR) forgot to #include <memory>

Is there a reason not to have single point #include <memory> when deciding whether to use unique_ptr or auto_ptr? Then it would be impossible to forget including <memory> when using CATCH_AUTO_PTR macro.
#include <memory>
#ifdef CATCH_CONFIG_CPP11_UNIQUE_PTR
#   define CATCH_AUTO_PTR( T ) std::unique_ptr<T>
#else
#   define CATCH_AUTO_PTR( T ) std::auto_ptr<T>
#endif

This has been fixed a while back already, closing.


Bump to v3.5.0

  Expected
      <*url.Error | 0xc0006aa030>: {
          Op: "Post",
          URL: "http://<IP_ADDRESS>:42875/api/newuser",
          Err: <*errors.errorString | 0xc00006c130>{s: "EOF"},
      }
  to be nil
  In [It] at: /go/odo_1/tests/e2escenarios/e2e_test.go:290
------------------------------
Summarizing 1 Failure:
  [FAIL] E2E Test starting with non-empty Directory add Binding [It] should verify developer workflow of using binding as env in innerloop
  /go/odo_1/tests/e2escenarios/e2e_test.go:290

Ran 7 of 7 Specs in 212.068 seconds
FAIL! -- 6 Passed | 1 Failed | 0 Pending | 0 Skipped

Looking into this issue with E2E tests..
/override OpenShift-Integration-tests/OpenShift-Integration-tests


Manually include a license

Is there a way to hard-code a license so that it always shows up? For example, with copied code that is not in a separate package.

Sure. You can use the additionalFiles option to override the original file:
const LicensePlugin = require(https://github.com/codepunkt/webpack-license-plugin)

const addHardcodedLicense = (packages) => {
  return packages.concat([
    // append any custom data here
    "my": "data"
  ])
}

module.exports = {
  plugins: [
    new LicensePlugin({
      additionalFiles: {
        'oss-licenses.json': addHardcodedLicense
      }
    }),
  ],
}


.Net: Add support for custom endpoints with Bearer token authentication

I am trying to add a service from a provider that has OpenAI compatible API. Here is my code snippet:
kernelBuilder.AddOpenAIChatCompletion(
    serviceId: "llama-3-8b",
    modelId: config.GetValue<string>("MY_MODEL_LLAMA-3-8B")!,
    openAIClient: new OpenAIClient(
        endpoint: new Uri(config.GetValue<string>("MY_ENDPOINT")!),
        tokenCredential: new BearerTokenCredential(
            config.GetValue<string>("MY_SECRET_KEY")!
        ),
        options: new OpenAIClientOptions
        {
            Transport = new HttpClientTransport(httpClient),
        }
    )
);

There is no constructor that can accept bearer token and a custom endpoint, if I use the one that accepts apiKey then it puts this key to custom header api-key: xxx instead of Authorization: Bearer xxx.
So I tried this one by providing an instance of OpenAIClient, but in this case it uses Azure related endpoints. There is a PR on Azure SDK (https://github.com/Azure/azure-sdk-for-net/pull/44179) that suggests to add new constructors that would fix this issue but it seems that that code is refactored  on the main branch and they removed OpenAIClient definition and started to use the new version of the official one from OpenAI (https://github.com/openai/openai-dotnet/blob/OpenAI_2.0.0-beta.3/src/Custom/OpenAIClient.cs).
My suggestion is that Semantic Kernel should also separate Azure's OpenAIClient and official OpenAIClient, allowing custom endpoints and bearer token auth.
Any suggestions for this use-case? Do I understand the problem correctly?
Thanks!

There is no constructor that can accept bearer token and a custom endpoint

@koteus There is a method that accepts custom endpoint, but apiKey probably won't be used as Authorization header:
https://github.com/microsoft/semantic-kernel/blob/01e826ddc1a35ae53a7134e46642297919ed79aa/dotnet/src/Connectors/Connectors.OpenAI/OpenAIServiceCollectionExtensions.cs#L1115-L1134
While we are investigating this, as quick suggestion, AddOpenAIChatCompletion method also accepts custom HttpClient, did you try to use it? In theory, it should be possible to set default Authorization header with your key on HttpClient level (as well as endpoint), but I'm not sure if it won't be ignored by Azure SDK. If you could try to check this approach on your side, that would be very helpful. Thanks a lot!

@dmytrostruk It sets the header if I do it in a custom HttpClient and the header is preserved — it is not stripped away by Azure SDK. But in my case I have another issue, I also need to provide Content-Type: application/json with every request, otherwise the custom endpoint that I am using is not recognizing the request body. Here is curl example
curl -s -k -X POST \
  -H "Authorization: Bearer xxx" \
  -H "Content-Type: application/json" \
  --url "https://custom-server.dev/v1/chat/completions" \
  --data '{"model": "meta/llama-3-8b", "messages": [{"role": "system", "content": "You are a helpful, respectful and honest assistant."},{"role": "user", "content": "How can I use large language models to improve my customer service?"}], "max_tokens": 200, "temperature": 0.7, "stream": false}'

this works and when I remove -H "Content-Type: application/json" \ it fails with error saying that request body is missing some required keys like model and messages. And no matter how I try to add default Content-Type it seems to be always stripped away by Azure SDK. I suppose it is meant to only be set on per-request level. Maybe it is a good idea to add it when we call GetStreamingChatMessageContentsAsync of completion service?

@koteus curl which you provided above, is it returning any results? You can also try to send a request directly from your HttpClient just to make sure that it's not a problem on server side.
We have an example of different OpenAI compatible API providers, do you use some of these or you use something different?
https://github.com/microsoft/semantic-kernel/blob/dd7236e9599bdfe26a867430410917051cb20a03/dotnet/samples/Concepts/LocalModels/MultipleProviders_ChatCompletion.cs#L34-L37
There could be a case that this API is not OpenAI compatible after all. We are working on separating OpenAI and Azure OpenAI functionality, but this won't fix such problems for custom/local models. If you see that there are some differences between OpenAI and custom API, you can implement your custom IChatCompletionService with correct communication logic and use it for your purposes. Here is an example with custom ITextGenerationService implementation, but the same can be done with IChatCompletionService:
https://github.com/microsoft/semantic-kernel/blob/dd7236e9599bdfe26a867430410917051cb20a03/dotnet/samples/Concepts/TextGeneration/Custom_TextGenerationService.cs

Hi @dmytrostruk thanks for your response! We are using Scaleway service they claim that they have openai compatibility https://www.scaleway.com/en/docs/ai-data/managed-inference/reference-content/openai-compatibility/
I will try to make a test request to /v1/chat/completions like you suggested using my instance of HttpClient and I will let you know

It works with this simple script
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;

public class Prog
{
    static async Task Main(string[] args)
    {
        var myHttpClient = new HttpClient(new MyHttpMessageHandler(new HttpClientHandler()));

        // Example request
        var request = new HttpRequestMessage(HttpMethod.Post, new Uri("https://my-server.scw.cloud/v1/chat/completions"));

        request.Headers.Add("Authorization", $"Bearer xxx");

        request.Content = new StringContent(
            """
                {"model": "meta/llama-3-8b-instruct:bf16", "messages": [{"role": "system", "content": "You are a helpful, respectful and honest assistant."},{"role": "user", "content": "How can I use large language models to improve my customer service?"}], "max_tokens": 200, "temperature": 0.7, "stream": false}
                """,
            Encoding.UTF8, "application/json");

        request.Content!.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/json");

        var response = await myHttpClient.SendAsync(request);
        Console.WriteLine($"Response: {response.StatusCode}");

        if (response.IsSuccessStatusCode)
        {
            await ReadSseStreamAsync(response, logger);
        }
        else
        {
            logger.LogError($"Request failed with status code: {response.StatusCode}");
        }
    }

    private static readonly ILogger<Prog> logger = LoggerFactory.Create(builder =>
    {
        builder.AddConsole();
    }).CreateLogger<Prog>();

    private static async Task ReadSseStreamAsync(HttpResponseMessage response, ILogger logger)
    {
        using var stream = await response.Content.ReadAsStreamAsync();
        using var reader = new StreamReader(stream);

        while (!reader.EndOfStream)
        {
            var line = await reader.ReadLineAsync();

            if (!string.IsNullOrWhiteSpace(line))
            {
                logger.LogInformation($"Received SSE event: {line}");
                ProcessSseEvent(line, logger);
            }
        }
    }

    private static void ProcessSseEvent(string sseEvent, ILogger logger)
    {
        // Process the SSE event (e.g., parse data, handle event types, etc.)
        // This is a simple example, adjust according to your SSE event structure
        logger.LogInformation($"Processing SSE event: {sseEvent}");
    }
}

I can see SSE events in the logged in the terminal:
base ❯ dotnet run
Building...
Sending HTTP request to https://my-server.scw.cloud/v1/chat/completions, headers: Authorization: Bearer xxx
, contentHeaders: Content-Type: application/json
, body: System.Net.Http.StringContent
Response: OK
info: Prog[0]
      Received SSE event: {"id":"6fec41e4-6ecf-40d4-91f5-7d39fcda3686","choices":[{"index":0,"message":{"content":"Large language models can be a game-changer for customer service. Here are some ways to leverage them:\n\n1. **Chatbots**: Integrate a chatbot into your website or application. The chatbot can respond to basic customer queries, freeing up human agents to focus on more complex issues.\n2. **Conversational AI**: Use conversational AI to enhance the customer experience. For example, you can use AI-powered chatbots to offer personalized product recommendations or to provide customers with information about their orders.\n3. **Language Understanding**: Leverage large language models to improve language understanding in customer service. For example, you can use AI-powered language understanding to automatically categorize customer inquiries or to provide customers with information about their orders.\n4. **Sentiment Analysis**: Use large language models to analyze customer sentiment and identify areas for improvement. For example, you can use AI-powered sentiment analysis to automatically categorize customer feedback as positive, negative, or neutral.\n5. **Integrate with CRM**:","role":"assistant","name":""},"finish_reason":"length"}],"created":1718128288,"model":"meta/llama-3-8b-instruct:bf16","system_fingerprint":"fp-0a1b2c3d4e","object":"chat.completion","usage":{"prompt_tokens":0,"completion_tokens":200,"total_tokens":200}}
info: Prog[0]
      Processing SSE event: {"id":"6fec41e4-6ecf-40d4-91f5-7d39fcda3686","choices":[{"index":0,"message":{"content":"Large language models can be a game-changer for customer service. Here are some ways to leverage them:\n\n1. **Chatbots**: Integrate a chatbot into your website or application. The chatbot can respond to basic customer queries, freeing up human agents to focus on more complex issues.\n2. **Conversational AI**: Use conversational AI to enhance the customer experience. For example, you can use AI-powered chatbots to offer personalized product recommendations or to provide customers with information about their orders.\n3. **Language Understanding**: Leverage large language models to improve language understanding in customer service. For example, you can use AI-powered language understanding to automatically categorize customer inquiries or to provide customers with information about their orders.\n4. **Sentiment Analysis**: Use large language models to analyze customer sentiment and identify areas for improvement. For example, you can use AI-powered sentiment analysis to automatically categorize customer feedback as positive, negative, or neutral.\n5. **Integrate with CRM**:","role":"assistant","name":""},"finish_reason":"length"}],"created":1718128288,"model":"meta/llama-3-8b-instruct:bf16","system_fingerprint":"fp-0a1b2c3d4e","object":"chat.completion","usage":{"prompt_tokens":0,"completion_tokens":200,"total_tokens":200}}

The url subdomain and bearer token are different of course, and MyHttpMessageHandler is the same as before.

@koteus In this case, I'm not sure we can do anything else on our side. Maybe it's worth to contact Scaleway service team and check with them if they will be compatible with existing Azure OpenAI SDK or new OpenAI SDK. Meanwhile, you can use your code and implement custom IChatCompletionService, which will work exactly like already existing OpenAIChatCompletionService, but with your modifications. Let me know what you think about it.

I did more investigation putting more logs and using debugger with "breakpoint on all exceptions" checked. I found that the error is when I enumerate on response stream:
Exception thrown: 'System.ArgumentOutOfRangeException' in System.Private.CoreLib.dll: 'Specified argument was out of the range of valid values.'
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument)
   at System.MemoryExtensions.AsMemory(String text, Int32 start, Int32 length)
   at Azure.Core.Sse.SseLine.get_FieldName()
   at Azure.Core.Sse.SseAsyncEnumerator`1.<EnumerateFromSseStream>d__0.MoveNext()
   at Azure.Core.Sse.SseAsyncEnumerator`1.<EnumerateFromSseStream>d__0.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)
   at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<GetStreamingChatMessageContentsAsync>d__36.MoveNext()
   at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<GetStreamingChatMessageContentsAsync>d__36.MoveNext()
   at Microsoft.SemanticKernel.Connectors.OpenAI.ClientCore.<GetStreamingChatMessageContentsAsync>d__36.System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult(Int16 token)

the last chunk of SSE from Scaleway is [DONE] and from Azure OpenAI it is data: [DONE] so it looks like SSE parser fails to read field name at Azure.Core.Sse.SseLine.get_FieldName(). So it is indeed the issue of Scaleway because just [DONE] is not a valid SSE.
Moreover, it looks like this configuration just works, it adds bearer token and json content type headers correctly:
kernelBuilder.AddOpenAIChatCompletion(
    serviceId: "llama-3-8b",
    endpoint: new Uri(config.GetValue<string>("SCALEWAY_ENDPOINT")!),
    modelId: config.GetValue<string>("SCALEWAY_MODEL_LLAMA-3-8B")!,
    apiKey: config.GetValue<string>("SCALEWAY_SECRET_KEY")!
);

So when providing apiKey it is added as bearer token. And the reason why I did not see "Content-Type: application/json" in the logs is because I was logging request.Headers but it exists on request.Content.Headers.
I will try to contact Scaleway to ask to fix this issue with SSE, but meanwhile if you have any idea how I could monley-patch this issue I would really appreciate it :)
Thanks for your help @dmytrostruk !

@koteus Thanks for all the information, good to know the root cause of this problem.

I will try to contact Scaleway to ask to fix this issue with SSE, but meanwhile if you have any idea how I could monkey patch this issue I would really appreciate it :)

I'm thinking about updating SSE content on the fly using DelegatingHandler, something like this:
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
    var response = await base.SendAsync(request, cancellationToken);

    var originalContent = await response.Content.ReadAsStreamAsync();
    var modifiedContent = new MemoryStream();

    using (var reader = new StreamReader(originalContent))
    using (var writer = new StreamWriter(modifiedContent))
    {
        string line;
        while ((line = await reader.ReadLineAsync()) != null)
        {
            if (line == "[DONE]")
            {
                line = "data: [DONE]";
            }
            await writer.WriteLineAsync(line);
            await writer.FlushAsync();
        }
    }

    modifiedContent.Seek(0, SeekOrigin.Begin);

    response.Content = new StreamContent(modifiedContent);

    return response;
}

But keep in mind that it's just an example, I'm not sure it's the best solution in terms of performance. It looks like you are using streaming methods, I'm wondering whether you considered non-streaming methods? At least until this issue will be handled by responsible team. Thanks again!

You patch works with some modifications. In case it will be useful for someone I will provide the source code

public class ScalewaySsePatchHandler : DelegatingHandler
{
    private readonly ILogger<DelegatingHandler> _logger;

    public ScalewaySsePatchHandler(ILogger<DelegatingHandler> logger)
    {
        _logger = logger;
        InnerHandler = new HttpClientHandler();
    }

    protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        _logger.LogInformation($"Sending HTTP request to {request.RequestUri}");

        var response = await base.SendAsync(request, cancellationToken);

        using var originalContent = await response.Content.ReadAsStreamAsync(cancellationToken);
        var modifiedContent = new MemoryStream();

        using var reader = new StreamReader(originalContent);
        var writer = new StreamWriter(modifiedContent);

        string? line;
        while ((line = await reader.ReadLineAsync()) != null)
        {
            if (line == "[DONE]")
            {
                line = "data: [DONE]";
            }
            await writer.WriteLineAsync(line);
            await writer.FlushAsync();
        }

        modifiedContent.Seek(0, SeekOrigin.Begin);

        // Create a new StreamContent to replace the original content
        var newContent = new StreamContent(modifiedContent);

        // Copy headers from the original content to the new content
        foreach (var header in response.Content.Headers)
        {
            newContent.Headers.TryAddWithoutValidation(header.Key, header.Value);
        }

        response.Content = newContent;

        return response;
    }
}

The Scaleway team responded that they will fix this issue in the next release.
I will close this issue, thanks again for great support! 🚀


Kubeflow Slack invite expired.

I want to join Kubeflow Slack but the invite on the website has expired.
https://www.kubeflow.org/docs/about/community/

@limotkl thanks for raising it, since a few issues were created, let's continue the discussion on: https://github.com/kubeflow/website/issues/3252
/close


Minor Issue - Tooltips are not Reactivating Correctly Upon Hover Over new Items in the Tree Control (Node and Filesystem Panes)

Godot version
v4.1.1.stable.official [bd6af8e0e]
System information
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>11) - Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 Threads)
Issue description
In the Inspector tab the tooltip continuously tracks the mouse position and resets once it is no longer over the rect for the control that a tooltip is currently being shown for, and awaits a new hover event to be shown again for a new control.  This also behaves similarly in the History tab.
However, in the Node tab, the tooltip is not reset once the mouse leaves the rect of the underlying tree item and will continue to show the old/incorrect content even though the user has moved to something else.  You have to move the mouse outside of the Node tab's tree control's rect and then back in again in order to get a new, refreshed tooltip.
This might be an issue with the tree control being used if it is not generating hover events correctly (or however it works internally) because the tree control used on the Filesystem tab has similar behavior.
The tooltip should respond to new hover events as they are generated from the tree control (or respond to the mouse being moved over the rect of a new item) and refresh with new content without having to leave the client area of the entire tree control.
This should be possible because the tree control used on the Scene pane kinda-sorta-almost works as expected: if you move to another item, the tooltop does not immediately update, but seems to wait for a new hover event and then is updated.  Not perfect, but definitely better than how the Node pane's tree behaves.
N.b. - although this issue talks about multiple panes, and the recreation scenario also uses multiple panes to demonstrate the differing behaviors, I believe the problem is with the underlying tree control itself, which I believe qualifies as the one bug discussed in this issue: Tooltips do not work correctly in the tree control.
Steps to reproduce
In Godot, select any Node in the Scene pane and go to the Node tab.  Hover over an item in the Node pane's tree control and them move the mouse to another item and hover.  The tooltip will not update to reflect the new item being hovered over.
Now activate the Inspector pane and try again.  On this pane, the tooltip updates as you move to different items on that pane.
Try those steps again with the tree on the Filesystem pane and again with the tree on the Scene pane and notice the different behaviors.
Minimal reproduction project
N/A

exactly same issue here. this problem will cause the review of asset info in FileSystem quite hard and tedious.


0.5.0 compliant?

https://github.com/toml-lang/toml/blob/master/CHANGELOG.md#050--2018-07-11

A 0.5.0 compliant package was pushed to NuGet.


CI fails to start instances

Likely a domain XML problem because of the cow-for-resize change?

Confirmed.
# virsh start sf:3e2e2d50-e8b9-4722-b942-6b585dfe775b
error: Failed to start domain sf:3e2e2d50-e8b9-4722-b942-6b585dfe775b
error: internal error: process exited while connecting to monitor: 2020-10-25T00:26:07.380518Z qemu-system-x86_64: -drive file=/srv/shakenfist/instances/3e2e2d50-e8b9-4722-b942-6b585dfe775b/vda,format=qcow2,if=none,id=drive-virtio-disk0: Could not open backing file: Could not open backing file: Could not open '/srv/shakenfist/image_cache/aca4103de7b5636cd857b54cb0dd3770e7dd98500b6d4f1cefa18b052074e092.v001.qcow2': Permission denied


Add flake8-logging linting

This PR adds flake8-logging to the pre-commit CI pipeline. This makes sure logging is more performant and better detectable by Sentry, which we optionally provide for error reporting and deploy on the demo server to find errors/performance issues in the development version.

@matmair why remove all the f-string notation?

@SchrodingersGat to improve the detection of similar errors in Sentry, which is currently sometimes a problem. This is also a bit more performant.


Release a new version to crates.io

Hi everybody,
Great work on this project.
We found that the code contains some changes that will make this crate work in our vcpkg manifest mode scenario.
We have a blocker because we can't publish a package to a registry because for these features we have to reference the crate from git instead of crates.io
What would be necessary to release a new version to crates.io containing the latest changes? Is there any way I can assist?

I second this.  I am using vcpkg manifest mode to build FFmpeg.  That part was easy.  Now it's proving unreasonably difficult to tell ffmpeg-next (which uses vcpkg) how to find the resulting libraries.   Apparently the master branch has better support for vcpkg manifest mode?  It would be nice for that to be available on crates.io...


Question and/or suggestion: support for WEBKIT_AUTOPLAY_ALLOW

I see that webkit can compiled with the flag WEBKIT_AUTOPLAY_ALLOW which results in a Kiosk mode capable browser, like this one:
https://github.com/Nikhiladiga/webkitgtk-kiosk-app/blob/main/main.cc#L42-L44
I also see support for some flags here:
https://github.com/webview/webview/blob/c752fe37dfed9c44b56d64769a7f5a61131b7eb4/webview.h#L82-L84
And I assume that this would be the line to be changed, accordingly.
https://github.com/webview/webview/blob/f540d88dde4ebb2108833cf0a413742941ce4eca/webview.h#L460
I would like to use this from golang and I am missing the steps to make WebView so that this change would make it into the go package.
So, how would I re-compile webview with this flag?
Also, I would assume that other people are interested in this, too, so maybe this could be introduced into the core.

somewhere is a cmake file which makes recompilation easy


No tooltips

You can hover over a function and get the signature and comment.

This is not the case. VSCode 0.10.6, latest vscode-elm.

error's in console when trying to get hover info

I also can't get the tooltips to pop up.  I debugged and it looks like oracle.GetOracleResults in elmInfo.ts is returning null every time I hover over something, causing result.length to fail.

This is (partially) caused by some weird code in elmOracle.ts:
p = cp.exec('node ' + oracle, { cwd: cwd }, (err: Error, stdout: Buffer, stderr: Buffer) => {
  try {
    if (err) {
      return resolve(null);
    }
    let result: IOracleResult[] = JSON.parse(stdout.toString());
    resolve(result);
  } catch (e) {
    reject(e);
  }
});

The try-catch is weirdly placed, and if an error occurs calling Oracle, the promise is resolved with null passed on, instead of rejecting. The next handler then chokes on the null.
I think I'd like to write a single wrapper for calling external processes, to fix this and a couple of other issues.


Update license

@mfox22 : can @adrianlucy and @RAShaw-sci be given write access to this repo? That way, they'll be able to review this PR


Add legacy link warning

Fixes #5137

@thaJeztah are you OK with this wording?

Oh, you just opened a can of worms :joy:

In the default bridge network, --link creates an actual, uni-directional link between two containers, and has all the problems described (including restarting the target container breaking the link, and no option to re-attach) - this is the "legacy" functionality
When using custom networks (irregardless the driver, could be bridge, overlay), the --link option is not creating an actual "link", but creates a container-scoped DNS alias for the linked container  (i.e. container-a --link foo:container-b; now container-a can access container-b both through its name (container-b), and through the alias foo. That alias is only known to container-a, whereas setting docker run --network=mynetwork --network-alias=foo --name=container-a myimage does the same, but makes the foo alias known to all containers connected to the my-network network. this usage of --link is not deprecated/legacy

LGTM now, don't think we need to go into the level of detail but thanks for reiterating the background, @thaJeztah


Prevent REINDEX TABLE partitioned table statement in transaction block

As different from upstream, we support REINDEX TABLE on partitioned
table which will expand the partitioned table and start new transaction
to do the reindex for each table. This has side effects that cannot be
rolled back if it gets called in PL language and may crash, so we need
to make sure it must not run inside a transaction block.
This fix is related to issue https://github.com/greenplum-db/gpdb/issues/11948.
Also remove tests which try to test the reindex in transaction block
with sepcific isolation level.
(cherry picked from commit 191f5df0d196a2278fee0c4983fcda008201d658)
From this PR.

@InnerLife0 I have opened a discussion in the original PR about the reasons to reindex each partition in a separate transaction. I think we should continue a discussion in the original PR (the current one is a backport). If you know the answer to my question, please share your thooughts in the original PR.


interactive_marker_twist_server: 2.1.1-1 in 'jazzy/distribution.yaml' [bloom]

Increasing version of package(s) in repository interactive_marker_twist_server to 2.1.1-1:

upstream repository: https://github.com/ros-visualization/interactive_marker_twist_server.git
release repository: https://github.com/ros2-gbp/interactive_marker_twist_server-release.git
distro file: jazzy/distribution.yaml
bloom version: 0.12.0
previous version for package: 2.1.0-3

interactive_marker_twist_server
* Fixed linting.
* Updated CI for Humble and Jazzy.
* Add the use_stamped_msgs param to allow support for publishing TwistStamped messages instead of Twist
* Contributors: Chris Iverach-Brereton, Tony Baltovski

Holding for Jazzy sync

Curious bystander here. Interesting that this package is still experimental: https://wiki.ros.org/interactive_marker_twist_server
Despite it being around since ROS melodic :smile:


Create ER Board View

Description
Resolves the following user stories:

As a nurse or provider I would like to know the average queue wait for each priority value or queue so that I can see how busy the ER is.

Acceptance Criteria:

Current patient queue is displayed to users with 'acl' permissions of 'triage' and 'provider'
Tapping or clicking on a patients row navigates to patients information.

Stretch Goals:

Drag and drop queue / placement editing.
Drop down in row to edit priority.

closed: #28, #29, #32


5% Higher Than What?!??!

http://puu.sh/vHAhi/e8e46e0132.png  I thought this was a pretty funny "bug".  Maybe add a special case to avoid this? :p

Not really a bug. You can make multiple z238 maps with different loot values. I agree that it sounds weird, though.

I get that you can have multiple z238 maps, but if you were to make a z238 map with better loot, running it in D formation wouldn't suddenly be better than running it in S.  I put "bug" in quotation marks because it's presumably not wrong that running a higher loot z238 map in D would be better than running a lower loot z238 map in S, but it's kinda silly for it to say that when there's no situation (in this instance) in which being in D formation in a z238 map would give higher loot than being in S.
Either way, not a particularly important thing and I got a nice laugh out of it giving me that advice

It is a wording issue. The best map-formation combination gives this much, the second-best map-formation combination is only 5% behind.

So here's my proposal: It still tells you the ideal map level to farm at. But its secondary suggestion should be "If you don't have enough fragments to make a max loot map at this level, the best you can do is x% or more below max loot, but you do have enough for a max loot map at this lower level, do it." Or something similar anyway. It should never suggest a map at the same or higher level as an alternate, because there's no way to increase the loot.

If you don't have enough fragments to make a max loot map at this level, the best you can do is x% or more below max loot, but you do have enough for a max loot map at this lower level, do it.

That’s way too wordy, and also inaccurate (lack of fragments isn’t the only reason why you wouldn’t want to make a max loot map). I like the current formulation better. Sure, it sounds silly when the top two options are the same zone, but that’s an extremely rare case (the optimal S zone is usually 3 below the optimal D zone).

It should never suggest a map at the same or higher level as an alternate

I get the reasonning behind “at the same level”, but what about higher levels? It’s completely possible to have a higher level map with higher loot; this happens to me almost every run.


Project should be created in directory

Doing mkdir before is duplicit to entering project name, and leads to unexpected pollution of the pardir.
I'd add option to work in curdir, but wouldn't do it as default.

The tool is meant to be used in curdir. Could you point me to where docs or code suggests elsewhere? Also, which mkdir do you mean?

The tool is meant to be used in curdir.

Could that be documented, please?


GEODE-1703: Fix PersistentRecoveryOrderDUnitTest time based flakiness

Fix all future await times to use GeodeAwaitility timeout
Fix testRevokeAHostBeforeInitialization dependency on etc hosts
Fix testCrashDuringPreparePersistentId flakiness caused by using
wrong await timeouts

Co-authored-by: Michael Oleske<EMAIL_ADDRESS>

DistributedTestOpenJDK11 failed in flaky test Tomcat6Test which is unrelated.


Scroll Position Bug in Examples.

Hi,
In the official examples (on any platform) when scrolling the main list, viewing an example and returning back, the scroll position is forgotten all the time (so one returns to the top of the list all the time :( ) .
Those examples are the main reason one would decide to use the library.
Is it possible to fix it?
Thank you.

Konsta is a components library, what you mention is not its reponsibility


Update Linux testing and prereqs

Add 18.04 as a supported platform
Remove note about OpenSSL 1.1 as we do now support it

Thanks @helenmasters @ddunn2 I've updated the new docs as well. Please review and merge if you're happy.

Looks good to me.


Alpha Scroll with ion-infinite-scroll

I am having issue with Alpha scroll when used with ion-infinite-scroll. Please provide a example if possible

Can it be used with ion-infinite-scroll? Wasn't sure you could do that because of the virtual rendering and locating a position with that. Could be possible though I don't know.

I haven't tried it with ion-infinite-scroll but I did plan to add that ability (if possible, or hack a solution for it).  I haven't had as much time recently outside of my day job, sorry.

Hello,
I have tried and it works, but 1st time it works perfect and 2nd time it works when scroll up and then down.
And also leaves white space at end of page.
If you can with try 3-4 pages to load you can replicate the issue.
If possible help me.
Thank you.
Pratik Maniar
On 02-Mar-2017, at 8:28 AM, Ross Martin <notifications<EMAIL_ADDRESS>wrote:
I haven't tried it with ion-infinite-scroll but I did plan to add that ability (if possible, or hack a solution for it). I haven't had as much time recently outside of my day job, sorry.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/rossmartin/ionic2-alpha-scroll/issues/14#issuecomment-283541706, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV04EzTzyiSC4fJospYWveNNqdwjmb5Cks5rhjBXgaJpZM4MPzQC.

I am facing given error,please help to resolve
core.js:6014 ERROR Error: Uncaught (in promise): Error: Template parse errors:
No provider for Content ("

  [ERROR ->]<ion-alpha-scroll
    [listData]="breeds"
    key="name"
"): ng:///DashboardModule/CountrywiseUniversityComponent.html@8:2


Forced to use unsafe-inline CSP header

Feature Request
We would like to remove the 'unsafe-inline' CSP header for security reasons. However, when we remove the 'unsafe-inline' header, we get the following error in the client.

sheet.browser.esm.js is used in the Emotion package, which is a dependency in botframework-webchat. This issue mentions a solution for this problem. Would it be possible to implement this?

any updates? @everyone

problem solved. code level issue


[Feature] Damage History

Hey,
I would like to request a new feature to be added to the "tracker" tool. It would be great if you could incorporate the "damage history" that was introduced with 1.12 into the tracker.
This feature would enable users to view and track damage history for any given item, providing valuable insights into the health and Damage of every round.
Thanks!

I will look into it, I'm not sure if that's possible though, the only data we have access to is what's seen in the post-match screen...so I don't think the damage history is recorded locally. But I will find out!


.Net8

Use Net8 reported an error. May I ask if there is support Is there a plan for Net8

@xuzeyu91 RulesEngine is currently exported as netstandard2.0 and net6.0 both of which is compatible with net8.0
But we are planning to add 8.0 targeted nuget as well

When I use At Net 8, there will be an error message. I have checked the source code and only Net6

this project is no longer being maintained but...my for is and it supports netstandard2.1 which is just fine with Net8. i have a demo project that is Net8, works fine.  check out my fork, most of the current issues have been resolved


setting up for doing external release on github

This PR sets up blueflood project so we can do release builds on Travis and publish them to github releases page:
https://github.com/rackerlabs/blueflood/releases
The instructions to cut a release will approximately be like this:
https://one.rackspace.com/display/cloudmetrics/Release+Process#ReleaseProcess-CuttingaRelease
The above will be more refined once the Release Notes are figured out and I had one chance to run them through Travis.

@usnavi @ChandraAddala @VinnyQ @izrik @drenalin23 pls review

Coverage decreased (-0.02%) to 76.103% when pulling 488f179abcc772621324f1f59110fbd0514057c8 on shintasmith:ext_release into 674bd0a7b66a500c98b05ff31b7a3fc4dfd77a1d on rackerlabs:master.

Coverage decreased (-0.07%) to 76.057% when pulling 6029aa7350d32d1cb28dca8ca0e65c7db430c92c on shintasmith:ext_release into 674bd0a7b66a500c98b05ff31b7a3fc4dfd77a1d on rackerlabs:master.

Coverage decreased (-0.07%) to 76.057% when pulling 47a2d7b42e9117175adcf278d6483990bfe67a28 on shintasmith:ext_release into 674bd0a7b66a500c98b05ff31b7a3fc4dfd77a1d on rackerlabs:master.


"Out of Memory" error when opening large html files created by using Out-HtmlView

I'm encountering an 'Out of Memory' error when trying to open sizable HTML files produced using Out-HtmlView. These files surpass 25MB in size. Is there a solution to prevent this issue? Despite testing with both Internet Explorer and Google Chrome, the problem remains consistent. In contrast, smaller files open without any trouble.

It worked. I have used "Out-HtmlView -DataStore Javascript". Thank you very much.


AMP errors in Google Search Console

Hi,
Just recently started to explore amp, and using your plugin in our site, however the search console gives errors about a facebook tag...
Details:
The tag 'fb:like' is disallowed.
The tag 'fb:comments' is disallowed.
AMP URL:
http://www.pfx.nl/maandag-tot-maandag/?amp
Canonical URL:
http://www.pfx.nl/category/geen-categorie/page/2
Is this something that can be stripped by the plugin, it's just a facebook like button.
Regards,
Richard

Hey Richard,
Thank you so much for reporting the bug, it allows us to help you and help the community.
We will fix this bug and release an update very soon.
Regards,
Ahmed

@rooie1971 are you using any plugins to add the facebook comments in the single post?

Yes I'm using sider facebook to add the facebok buttons.

Hey @rooie1971  Please update to the new version 0.7.7 - It should fix this issue.
If you like the plugin then please help us by leaving a review in the plugin reviews section.
Regards,
Ahmed

Thank you, seems ok as far as i can see.


enable ASAN's -fsanitize=address in debug builds

I assume the crash in assimp is no longer a concern?

yeah, I haven't seen that crash while testing.


Updated npm dependencies

This change is

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

Comments from Reviewable


[Feature Request]: Letting the user upload their content as well as feedback for the website

How would you like to enhance the existing project.
Enhancement:
Adding a form according to the theme of the website for users to enter their details, course, subject, and content in pdf/ jpg format. It will enhance the usability of the website and will add a wide range of content available for any subject/course.
Describe breifly how would you implement the same.
Solution_steps

Adding a button in Navbar saying "Add content"
Will be redirected to a form that will take the input of the user for, details, course, subject, and content in pdf/ jpg format.
Will be stored in the database.

Please assign this issue to me under the GSSoC'23 label :)
Are you contributing for a program?
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

please create new

please create new


PacReq: gitui

Types
-bin (Binary release of the package), -git (Compiled off of the latest commit of the package)
URL
https://github.com/extrawurst/gitui
Building guide
https://github.com/extrawurst/gitui#7--build-top-
Additional context
No response

Hey there, I'm working on the -git version of the package currently, will be done in a hour or so

done, took little longer than I wanted.

Just for future reference, the pull request that implemented this was: https://github.com/pacstall/pacstall-programs/pull/6128


&& too eagerly lifted to /\

The following code fails to typecheck:
module Test

let test () =
  let x = alloc 0 in
  (read x = 1) && (read x = 1)

It gives Expected a ghost expression; got an expression "(Prims.op_Equality (FStar.ST.read x) 1)" with effect "FStar.ST.STATE"
After some testing, it seems that it is seen by F* as if the boolean expression was actually read x = 1 /\ read x = 1 or b2t(read x = 1 && read x = 1).
In the stratified branch it worked.
And the following also works as a workaround (but one does not get precedence):
module Test

let op_Amp_Amp = Prims.op_AmpAmp

let test () =
  let x = alloc 0 in
  (read x = 1) && (read x = 1)

This is a known limitation, arguably by design. See Section 5 of the wiki page here: https://github.com/FStarLang/FStar/wiki/Migrating-code-to-use-the---universes-mode-(particularly,-as-related-to-mitls-fstar)

Your workaround is ok, but you will not get the expected short-circuiting semantics.

Sorry.
I have now read that wiki page thoroughly so that I can stop complaining about documented things. Closing for now.


Add an init function

If you're building an SPA or using something like Turbo Drive, you may often re-write all or parts of your <body> without re-running scripts from your <head>. If you do so, the <canvas> that party.js adds on initialisation is lost.
This PR adds a public init function you can call to re-attach a canvas and re-set the context. It gets called by default on script load, so there should be no noticable changes for current users.
If you're using Turbo Drive, then you would now do something like this:
window.party = require("party-js")
document.documentElement.addEventListener("turbo:load", () => window.party.init())

Note: I didn't rebuild party.min.js as I'm not sure what minifier you're using to generate it and couldn't find anything in the readme/package.json.

Great PR! 🚀
I apologise that the documentation on how to contribute is this sparse. I'm currently rewriting some stuff and am planning to include an improved contribution workflow once everything is ready.
You're making a really good point here though, I didn't think of that. I'll minify the source and release a new version. Thanks for contributing!

Great PR! 🚀
I apologise that the documentation on how to contribute is this sparse. I'm currently rewriting some stuff and am planning to include an improved contribution workflow once everything is ready.
You're making a really good point here though, I didn't think of that. I'll minify the source and release a new version. Thanks for contributing!

Thanks for the quick response and for merging!
No worries on the docs. If I could make a suggestion: remove the minified file from this repo / your npm package. Anyone using npm will probably also use a minifier; let them do the minification for you. Shipping non-minified code will also enable users to debug the code more easily during development.

Thanks for the quick response and for merging!
No worries on the docs. If I could make a suggestion: remove the minified file from this repo / your npm package. Anyone using npm will probably also use a minifier; let them do the minification for you. Shipping non-minified code will also enable users to debug the code more easily during development.

That's the plan!
The rewrite will hopefully result in a better and more extendible structure, as well as an automated build process for both browsers and NodeJS.

That's the plan!
The rewrite will hopefully result in a better and more extendible structure, as well as an automated build process for both browsers and NodeJS.


Problems getting HID libraries functioning in Python 3 on Raspberry Pi OS

V1.3 firmware has the facility to manipulate registers in the AIOC CPU. The manipulation requires the use of HID libraries, in this case using a Python script.
Raspberry Pi OS produces errors when attempting run the python script.  For example:
admin@raspberrypi:~ $ sudo python3 aioc.py
Traceback (most recent call last):
  File "/home/admin/aioc.py", line 43, in <module>
    aioc = hid.Device(vid=0x1209, pid=0x7388)
AttributeError: module 'hid' has no attribute 'Device'

Both the 'hid' and 'hidapi' libraries are loaded (tried singularly and in combination).
Replicating the issue:

Load Raspbian (Bookworm or Bullseye) to a fresh SD card, boot into a Raspberry Pi (V3b or later)
Have an AIOC plugged in the USB
Create the pyhton script 'aioc.py' from issue  https://github.com/skuep/AIOC/issues/61#issuecomment-2041084242
load HID libraries -

sudo apt install python3-hid
sudo apt install python3-hidapi

Run the script

sudo python3 aioc.py
I've tried many combinations of 32 and 64 bit OS and on Pi 3 and 4 hardware.

The solution is to install just these libraries for the hid function:
sudo pip install hid
sudo apt install libfuse2 libhidapi-hidraw0 libhidapi-libusb0

Then run the script
Tested on 32 bit bullseye

I've been following the instructions but the python script, aioc.py, gives me errors. I flashed the firmware fine with flash1.3.sh, and the light is on and it appear fine.
Running sudo python3 aioc.py first gives the error:
Traceback (most recent call last):
  File "/home/alex/aioc/aioc.py", line 43, in <module>
    aioc = hid.Device(vid=0x1209, pid=0x7388)
           ^^^^^^^^^^
AttributeError: module 'hid' has no attribute 'Device'. Did you mean: 'device'?

So I changed lined 43 to aioc = hid.device(vid=0x1209, pid=0x7388)
However, I then get the following error:
Traceback (most recent call last):
  File "/home/alex/aioc/aioc.py", line 45, in <module>
    magic = Struct("<L").pack(read(aioc, Register.MAGIC))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alex/aioc/aioc.py", line 34, in read
    data = device.get_feature_report(int(address), 5)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "hid.pyx", line 187, in hid.device.get_feature_report
ValueError: not open

My device shows up as ID 1209:7388 Generic All-In-One-Cable with lsusb.
All these packages are installed:
sudo pip install hid
sudo apt install libfuse2 libhidapi-hidraw0 libhidapi-libusb0

I am running on a laptop with Debian 12 to do the flashing...

Hi,
just received an AIOC frmo N6AD.
With all packages installed, and lsusb showing
$ lsusb
Bus 001 Device 004: ID 1209:7388 Generic All-In-One-Cable
I also get Broken pipe:
$ sudo python3 aioc.py
Traceback (most recent call last):
File "/home/pi/g1lro/aioc.py", line 45, in
magic = Struct("<L").pack(read(aioc, Register.MAGIC))
File "/home/pi/g1lro/aioc.py", line 34, in read
data = device.get_feature_report(int(address), 5)
File "/usr/local/lib/python3.9/dist-packages/hid/init.py", line 232, in get_feature_report
size = self.__hidcall(
File "/usr/local/lib/python3.9/dist-packages/hid/init.py", line 190, in __hidcall
raise HIDException(err)
hid.HIDException: ioctl (GFEATURE): Broken pipe
Any suggestions ?

Well, I flashed it with the v1.3.0 firmware,  now it's working:
Manufacturer: AIOC
Product: All-In-One-Cable
Serial No: b53bed37
Magic: b'AIOC'
Loading Defaults...
Now USBID: 000c0d8c
Now VCOS_TIMCTRL: 00005dc0
Storing...

The USB interface has changed recently, due to issues with windows on the old one. You need to use the correct python script for the according firmware version.
Where is the script from,  that you are running?