need authentication

user create
user login
token for rest api

https://jwt.io/introduction/ seems to be a nice way to do it.

Not sure how we going to release this w/o auth method

Using passport?

are you going to use oauth? if so how do you do ACLs? Say anyone with google account can login ?

ACLs is another scope I think.
I guess we need to support both oauth2 (API calls) and simple username/password.
Google, Github, LinkedIn etc..?

Okay sound good. passport looks good to me

limit the scope to google OAuth for now

I'm thinking to use API management software like https://github.com/Mashape/kong to manage the API authentication.
We can use google OAuth for GUI

Yes, This is for the GUI.
But once we have it for the GUI, we get it pretty cheap for API as well.


Fixed some translation errors

Made sure that the translation is not just literal but actually conveys the intended meaning of the technical terms.
Also tried to standardize the translation across the article.

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

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

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


feat: Remove img, jsonp, and xhrGet methods

Unused agent network methods have been removed. All data transmitted by the agent will now default to using XMLHttpRequest POST calls except for data transmitted during a visibility change or page unload. Visibility changes and page unloads will use sendBeacon with a fallback to fetch with keepalive. For browsers that do not support sendBeacon, the final data transmission will use XMLHttpRequest POST.

Overview

Removing the unused sendData methods jsonp, img', and xhrGet. All data will now be transmitted using XMLHttpRequestviaPOST. For browsers that support sendBeacon, the final harvest will fallback to fetchwithkeepalive: true`.
All tests for harvest.js and harvest-scheduler.js modules have been converted to Jest and WDIO. In doing so, I have created many auto-mock files in __mock__ directories. Using this style of mocking modules will let us manage the mock in a central location for each module and eventually enabled auto mocking globally for our jest unit tests.
Minor cleanup work was done with the util/global-scope.js and browser-version/*.js modules. Since these modules exported constants that were determined at runtime, I moved them into the common/constants folder into a single module. This will reduce import/require statements in the final bundle.
The pull request checks workflow has been updated to add the size check comment to PRs. The babel and ts configs have been updated so the test files and mocks do not get included in our /dist/ directory.
Related Issue(s)

NEWRELIC-8494

Functional test conversions:

NEWRELIC-9027 - functional/disable-harvest.test.js
NEWRELIC-9035 - functional/err/harvest.test.js
NEWRELIC-9043 - functional/final-harvest.test.js
NEWRELIC-9046 - functional/harvest.test.js
NEWRELIC-9079 - functional/spa/harvest.test.js
NEWRELIC-9095 - functional/stn/harvest.test.js
NEWRELIC-9106 - functional/xhr/harvest.test.js

Browser test conversions:

NEWRELIC-9252 - browser/harvest-scheduler.browser.js
NEWRELIC-9118 - browser/harvest.browser.js

Testing

Unit and integration tests have been updated.

To clarify since it wasn't explicitly stated elsewhere, this will remove the ability for IE11 (those still on it) to send out data on page unload events, yes?

Not entirely. For IE11, the img method was used before and now XHR will be used. Both methods are a best effort and we cannot guarantee that either will actually result in the data making it out of the browser before the browser kills the JS process.


Including nb2workflow metadata

I missed to push two commits from #50, my bad.

This needs to be merged

This needs to be merged

This needs to be reviewed and we need to confirm it does what we want, right?
You can show today what is the status!

is it blocking some other development?

This needs to be merged

This needs to be reviewed and we need to confirm it does what we want, right? You can show today what is the status!

This is kind a continuation of #50 , I just had to re-open it since I had forgotten to push two changes that I have already shown during the last smartsky meeting. The next development will be #56

Alright, could you please explain it when you make a request? It's not likely anything needs to be merged without some clarity and discussion.


[android] don't include .so files in class libraries

Fixes: https://github.com/xamarin/xamarin-android/issues/5776
Fixes: https://github.com/xamarin/xamarin-android/issues/6545
If you do:

File -> New Xamarin.Android class library
Add <PackageReference Include="SkiaSharp" Version="2.80.3" />

You end up with 13MB .dll file with C# code inside! The class
library is redistributing the SkiaSharp native libraries.
$(ShouldIncludeNativeSkiaSharp) should default to False for class
libraries.
To test this change, I manually edited:
%userprofile%\.nuget\packages\skiasharp\2.80.3\build\monoandroid1.0\SkiaSharp.targets
%userprofile%\.nuget\packages\skiasharp\2.80.3\buildTransitive\monoandroid1.0\SkiaSharp.targets

Now my class library is 76,800 bytes.
When consuming this class library in an Android application project,
everything should still work as expected. However, the application
will need to reference SkiaSharp -- which is actually ideal.
API Changes
None
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of main at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

/cc @mattleibow, looks like I don't have permission to add you as reviewer.

This is a good change because I basically did something like this for HarfBuzzSharp. Previously there was logic to include the native binaries, but was then updated to actually be a no-op - the .targets file is now empty.
In this case, we actually should have done the same and deleted the .targets file. However, we still need to preserve the functionality of the $(ShouldIncludeNativeSkiaSharp) property and make sure it is in the item group.


Compare results from ophyd and qxrd

Refer to:
Scan ID : 126
Detector | Value
em_ch1 [ 0.00915527]
em_ch2 [ 0.00944138]
em_ch3 [ 0.01058578]
em_ch4 [ 0.01058578]
pe1_acquire_period [ 5.]
pe1_acquire_time [ 0.2]
pe1_image_lightfield ['c9281f96-091c-4122-8860-d5af4a2ac887']
shctl1 [ 1.]
================================================================================

unclear what is going on here, closing unless @danielballan has some insight.


Update Web-GUI to release/3.1.0

See details: https://github.com/fzi-forschungszentrum-informatik/ros2_ros_bt_py_web_gui/tree/release/3.1.0

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.36%. Comparing base (774d531) to head (20456ff).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   33.36%   33.36%
=======================================
  Files          39       39
  Lines        5805     5805
  Branches     1329     1329
=======================================
  Hits         1937     1937
- Misses       3805     3811    +6
+ Partials       63       57    -6

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

@Oberacda if there are significant changes please add them to the changelog


DMA transfers longer than 255 bytes

AsSlice (used in the DMA interfaces) only defines N for N <= 255. I'd like to use the SPI interface on my Blue Pill to drive 64 addressable LEDs. To do this, each LED needs either 12 or 24 bytes, totalling 1536 bytes in the worst case.
How can I send all this data through the SPI DMA? I can't use the non-DMA interface as the timing needs to be tight.
I did try using .chunks(255):
const OFF_BYTE: u8 = 0b1100_0000;

// Set up the DMA device
let dma = dp.DMA1.split(&mut rcc.ahb);

// Connect the SPI device to the DMA
let spi_dma = spi.with_tx_dma(dma.5);

// 64 LEDs, 8 bits per LED plus one final stop bit to set the line low
let mut data: [u8; (64 * 8 * 3)] = [OFF_BYTE; (64 * 8 * 3) ];

for i in data.chunks(255) {
    let (spi_dma, _buffer) = spi_dma.write(&i).wait();
}

but that gave me this error:
error[E0597]: `data` does not live long enough
  --> src/main.rs:88:14
   |
88 |     for i in data.chunks(255) {
   |              ^^^^
   |              |
   |              borrowed value does not live long enough
   |              cast requires that `data` is borrowed for `'static`
...
96 | }
   | - `data` dropped here while still borrowed

error[E0382]: use of moved value: `spi_dma`
  --> src/main.rs:90:34
   |
66 |     let spi_dma = spi.with_tx_dma(dma.5);
   |         ------- move occurs because `spi_dma` has type `stm32f1xx_hal::dma::TxDma<stm32f1xx_hal::spi::SpiPayload<stm32f1::stm32f103::SPI2, stm32f1xx_hal::spi::Spi2NoRemap, (stm32f1xx_hal::gpio::gpiob::PB13<stm32f1xx_hal::gpio::Alternate<stm32f1xx_hal::gpio::PushPull>>, stm32f1xx_hal::gpio::gpiob::PB14<stm32f1xx_hal::gpio::Input<stm32f1xx_hal::gpio::Floating>>, stm32f1xx_hal::gpio::gpiob::PB15<stm32f1xx_hal::gpio::Alternate<stm32f1xx_hal::gpio::PushPull>>)>, stm32f1xx_hal::dma::dma1::C5>`, which does not implement the `Copy` trait
...
90 |         let (spi_dma, _buffer) = spi_dma.write(&i).wait();
   |                                  ^^^^^^^ value moved here, in previous iteration of loop

error[E0597]: `i` does not live long enough
  --> src/main.rs:90:48
   |
90 |         let (spi_dma, _buffer) = spi_dma.write(&i).wait();
   |                                  --------------^^-
   |                                  |             |
   |                                  |             borrowed value does not live long enough
   |                                  argument requires that `i` is borrowed for `'static`
91 |     }
   |     - `i` dropped here while still borrowed

error: aborting due to 3 previous errors

My lifetime-fu isn't good enough to figure this out yet :(

Have you try to use static mut instead of local data?
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fc05710bba55dfedc42989f03d32a1b3


[bug]: SD 2.1 text embeddings should not be padded with eos_token

Something that could explain some of the difficulty of prompting for 2.1:
I've heard that text embeddings should not be padded with <|endoftext|> for Stable Diffusion 2 as we do here: https://github.com/invoke-ai/InvokeAI/blob/7e8f364d8db4af04c745c3f324090d98712dd5bd/ldm/modules/prompt_to_embeddings_converter.py#L205-L206
and instead they should be padded with 0 —
or is it supposed to be that the vectors the token turns in to should be zeros?
Will attempt to find a citation for this.

This is an ample demonstration: https://gist.github.com/keturn/dec063e08151f900c860b5c41f4e5a73#file-sd-text-embedding-padding-ipynb
For "an astronaut riding a horse on Mars" padded to twelve tokens, we get
SD_1 = [49406, 550, 18376, 6765, 320, 4558, 525, 7496, 49407, 49407, 49407, 49407]
SD_2 = [49406, 550, 18376, 6765, 320, 4558, 525, 7496, 49407, 0, 0, 0]


chore(deps): update auto version

Fixes issue found here: https://github.com/intuit/auto/issues/2425

Only nit: isn't the label dependencies?

Only nit: isn't the label dependencies?

Yup! good catch


Specialize API on Object methods

To make the API more cohesive, I'd like to remove the iteration methods and focus on methods related to Object methods.

Iteration methods removed https://github.com/ryanve/blood/compare/v0.9.1...v0.10.0


landscape on iOS in full screen

It is still portrait after entering full screen, how to make it to landscape?
or add a listener on the event for enter/exit full screen?

The problem here is that currently in iOS you can't perform a device rotation without physical rotate the device by default.
After so many people had this problem, i published a basic package for that.
https://pub.dartlang.org/packages/auto_orientation
Maybe it's what you need, but i think you have override the _buildFullScreenVideo Method of Chewie with a Custom Scaffold like i did, described in the package.

@sfaujour is it possible to publish the source code for AutoOrientation to a Github repo and update the pub package to reference that Github repo? We'd like to potentially use it, but we prefer to review code we pull in prior to using it.

Sure i'll do that. Today for sure!

@localpcguy I've linked the package. It's really a simple package, because i just implement the basic things for simple rotating.

I've also did a PR for the possibility to override the page builder functionality.
There is also an example how you could override the fullscreen page builder  with a custom VideoScaffold

@Mil0R @brianegan I think this can be closed, or?

Sorry it's taken me so long, but I will be implementing this fix in our app early next week. Looks good to me but will report back if I run into any issues.

I implemented the solution and auto-rotation plugin described above, and it looks good so far.


Shorts algorithm

Assign score for each short based on interaction and playtime performance, then feed it to the algorithm for queue
Current score system for shorts: https://metabase.bcc.media/question/663-score-board-with-interaction-u18
Export json and feed into backend as mvp
Unleash- A/B test

Note: I updated the formulas so that shorts that have 0 interactions still get a score and not a NULL.

// getShort gets a list of paginated shorts
//
// The current logic is:
// * Get the shorts grouped by publishing week sorted DESC by `YEAR-WEEK`
// * Sort them by score (descending) within each group (week) <--- NEW
// * The shorts get shuffled (See ShuffleSegmentedArray)
// * Any watched shorts are removed
// * If there is a forced "Initial Short" it gets prepended
// * If we do not have enough shorts we clear the progress and repeat the process, appending on the end
// * Return a cursor with the data

@mulundapm @kkuepper See above for a rough description about the current algorithm
ShuffleSegmentedArray: https://github.com/bcc-code/bcc-media-platform/blob/d2fcafb3f75d1855ee0bc155a467e92a6e3adca0/backend/utils/shuffle.go#L22
Tests that maybe visualize it better: https://github.com/bcc-code/bcc-media-platform/blob/d2fcafb3f75d1855ee0bc155a467e92a6e3adca0/backend/utils/shuffle_test.go#L11

New shorts get 4 points, degrades by 0.5 pts per day. Stops at 0 "boost".

The unleash flag required to enable the new algorithm is shorts-with-scores.

Im 99% sure the cause is that you had the old query cached. The new query results in a different data type, so we can't use the same cache key. Fix: #1011

Fix deployed.

Average score of well performing shorts are at 4, if an addition of 4 is added as recency boost, it would only show recently published shorts basically for the first 4-5 days.
Noticed there is a disadvantage of having this, we create shorts in batches from a same assets. Within 10 new shorts, 3-4 shorts are from same film, which could seem very repetitive if they show up as first 10 shorts.
Could we add a randomize in recency boost? Would this help? @KillerX
e.g. for each short, score = engagement score + recency boost * random of 0.1-1


Add tutorials under "Using odo" section to docusaurus based site

/kind documentation
/kind task

What mistake did you find / what is missing in the documentation?
This is a child issue of spawned from https://github.com/openshift/odo/issues/4664#issuecomment-875511836.
What is the relevance of it?
"Using odo" section needs to be an end-to-end story where a user can follow every guide in a sequential order and achieve results using odo; OR they can pick up any guide from the middle and still be able to understand and follow the steps as long as they have followed the earlier guides in the sequence.
We will use odo quickstart project across these guides.
Acceptance Criteria
Sprint 206

[ ] Environment Variables
[ ] Continuous Development using odo watch
[ ] Create URL to access the project
[ ] Create and Link Services

Sprint 205

[x] Create a component and push it (#4982)
[ ] Environment Variables
[ ] Continuous Development using odo watch
[ ] Create URL to access the project
[ ] Create and Link Services

All these to be shown for both k8s (using minikube) and OCP (using CRC) clusters.
Past Acceptance Criteria
Sprint 204

NOTE: we might need to add something in the below sequence, or need to change order; it's not 100% complete or accurate.

[ ] Create Component
[ ] Environment Variables
[ ] Continuous Development
[ ] Create URL
[ ] Debug Applications
[ ] Lifecycle Events
[ ] Persistent Storage
[ ] Push Specific Files
[ ] Create and Link Services

"Using odo" section needs to be an end-to-end story where a user can follow every guide in a sequential order and achieve results using odo; OR they can pick up any guide from the middle and still be able to understand and follow the steps as long as they have followed the earlier guides in the sequence.

One more thing that we could aim for is to give the reader a way to pull a devfile.yaml in every tutorial. This devfile.yaml will help user set things up till the previous guide in the flow.

Unassinging myself since it's mostly Charlie carrying this effort forward.
/unassign @dharmit

/close
I think we have got this covered.
Feel free to reopen if you think otherwise.


Release v0.7.0

koalaman/shellcheck released v0.7.0. Can we, please, have the corresponding release in this repo?

done :)


[BUG] Players cannot drag/drop spells into items

Module Version: v1.3.2
Describe the bug
Players are unable to attach spells to items from the Compendiums or the Items section
To Reproduce
Steps to reproduce the behavior:

Log in as player
select/create an item and go to the Magic Item tab
Click is magiv item
Drag a spell into the "Drag spells/feats here' box
Nothing happens

Expected behavior
The above should add the spell to the item
Screenshots
If applicable, add screenshots to help explain your problem.
Browser:
Tested in both - Firefox, Chrome
Foundry Version:
11 Stable 315
Additional context
Was working in Magic Items in v10, since updating to v11 and changing to magic items 2 it no longer works, I have checked all permissions for players and still nothing aside from being the GM works

Reproducable - i'll fix it during this week.


Fix error in aad-starter-sample

Fix error in aad-starter-sample

The pipeline is passed, but the status can not update in this page.

/check-enforcer override


Upgrade GLM parser/loader to C++

This PR addresses ongoing work upgrading core to C++. This is the upgrade of the GLM parser to be a class.
Current issues
None
Code changes

[X] Restructure of loader so that it's a class named GldLoader.
[X] Integrate new loader into existing core implementation.
[X] Fix problem identified in https://github.com/gridlab-d/gridlab-d/issues/1228.

Documentation changes
None
Test and Validation Notes
Everything should validate exactly as before.

@aivanova5, do you know why the docker tests link leads to 404?


SIGSEGV  - thrown when  heroku 'worker' calls ffmpeg

--EDIT  this must be a heroku issue or a 'throng' issue...

I don't think that has anything to do with fluent-ffmpeg itself. We just build a command line and run it :)

thank you.
im still looking at it.
I dont know where the SIGSEGV was being thrown and could not get node to
provide more info.
But detailed ffmpeg logs show it running 2 passes ( due to the 'faststart'
in x264 i think )  and the SIGSEGV is being thrown before the 2nd pass
begins....
ffmpeg main() and the way the lib is unloaded and reloaded  in a multiple
pass scenario may get you into SIGSEGV territory.
since im using so many other libs in the heroku worker architecture, i
thought it was something else but now im back to ffmpeg as the culprit.
On Sun, Oct 11, 2015 at 12:59 AM, Nicolas Joyard<EMAIL_ADDRESS>wrote:

I don't think that has anything to do with fluent-ffmpeg itself. We just
build a command line and run it :)
—
Reply to this email directly or view it on GitHub
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/454#issuecomment-147170418
.


Weird behaviour with strings in versions parameter

Hey, I appreciate that versions is intended to be int as per docs but I am encountering some odd behaviour when I accidentally used strings.
example:
import hug

@hug.post('/echo', versions=str(1))
def echo(text):
    return text

curl -d'text=lala' -X POST http://localhost:8000/v1/echo
{
    "404": "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)",
    "documentation": {
        "version": "1",
        "versions": [
            "1"
        ],
        "handlers": {
            "/echo": {
                "POST": {
                    "outputs": {
                        "format": "JSON (Javascript Serialized Object Notation)",
                        "content_type": "application/json"
                    },
                    "inputs": {
                        "text": {
                            "type": "Basic text / string value"
                        }
                    }
                }
            }
        }
    }
}

with a log of:
<IP_ADDRESS> - - [17/Sep/2017 20:31:52] "POST /v1/echo HTTP/1.1" 404 721
if I try a GET though, I just get the expected Method Not Allowed:
<IP_ADDRESS> - - [17/Sep/2017 20:31:31] "GET /v1/echo HTTP/1.1" 405 0
Am I missing something and strings just end up on a different path ?
Same results with @hug.get etc.

Thanks for reporting! I've verified that this issue is indeed a bug in the current implementation, and I've resolved it here:
https://github.com/timothycrosley/hug/pull/557
Thanks!
~Timothy

A new version of hug 2.3.2 has been released that fixes this issue.
Thanks!
~Timothy


web ui show only one application and no arrow

I deploy the pinpoint with docker successfully.
then I add JVM options to a simple springboot demo and run it.
when I open pp-web and choice the application I just run,it shows only one node and nothing else
environment

OS: win7
pinpoint:1.6.1
SpringBoot:1.5.2

JVM Options
-javaagent:E:\pinpoint-agent-1.6.1\pinpoint-bootstrap-1.6.1.jar -Dpinpoint.applicationName=testrest -Dpinpoint.agentId=testrest

Demo
public class TestRestJava {
	public static void main(String[] args) throws InterruptedException {
		RestTemplate restTemplate = new RestTemplate();

		while (true){
			Object obj =restTemplate.postForEntity("http://www.baidu.com",null,String.class);
			Thread.sleep(2000L);
		}
	}
}

UI

agent Log
testrest-pinpoint.log.txt
collector Log
pinpoint-collector.log.txt
am I missing something?

Hi @snecker
No trace is showing as there is no entry point to the application. A trace is initiated by a user request usually by WAS containers (or invocations of user-specified methods).
Since you're simply looping a HTTP call, there is nothing that will trigger a new trace.


chore: Create feature history

Code changes to add "history" feature in discord bot
Fixed user input formate for date to mm-dd-YYYY in the code
Fixed few bugs

Otherwise the functionality changes looks good!


Hang on jsdoc comment with default value

TS and JS Grammar Extension version:  0.0.22 / latest
From https://github.com/Microsoft/vscode/issues/34164
Code
/**
 * @param {boolean} [settings.debug= - Print getUpdate results in console.
 */

Bug
Grammar hangs while parsing

Note as discussed in the PR, we get our jsdoc grammar from https://github.com/atom/language-javascript


Merge electron repo

Should be replaced with the target homeUrl field or electronUrl field?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Guillaume Jenkins<EMAIL_ADDRESS>Sent: Tuesday, December 13, 2016 5:32:36 PM
To: Microsoft/pxt
Cc: Peli de Halleux; Comment
Subject: Re: [Microsoft/pxt] Merge electron repo (#926)
@guillaumejenkins commented on this pull request.

In electron/build/win32/pxt.isshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F926&data=02|01|jhalleux%40microsoft.com|d33e814147a64ce3472f08d423c1163b|72f988bf86f141af91ab2d7cd011db47|1|0|636172759586468651&sdata=s6j1dcwcT%2BCP3%2BuYPCk7pnz721xr727QaO9ZaEBdX0s%3D&reserved=0:

@@ -0,0 +1,71 @@
+#define LocalizedLanguageFile(Language = "") \

DirExists(RepoDir + "\licenses") && Language != "" \

 ? ('; LicenseFile: "' + RepoDir + '\licenses\LICENSE-' + Language + '.txt"') \

 : '; LicenseFile: "' + RepoDir + '\LICENSE.txt"'

+[Setup]
+AppId={#AppId}
+AppName={#NameLong}
+AppVerName={#NameVersion}
+AppPublisher=Microsoft Corporation
+AppPublisherURL=https://pxt.microbit.io/
Hmm, I'm not sure whether these URLs are used, but just in case for now I put the www.pxt.iohttps://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pxt.io&data=02|01|jhalleux%40microsoft.com|d33e814147a64ce3472f08d423c1163b|72f988bf86f141af91ab2d7cd011db47|1|0|636172759586468651&sdata=oIXAOJj1o8NlNv%2Bj3kIqBZ9g%2BVjs0GuwDVU89VvTxec%3D&reserved=0

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F926&data=02|01|jhalleux%40microsoft.com|d33e814147a64ce3472f08d423c1163b|72f988bf86f141af91ab2d7cd011db47|1|0|636172759586468651&sdata=s6j1dcwcT%2BCP3%2BuYPCk7pnz721xr727QaO9ZaEBdX0s%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KQlcvfayQZUh5lQELibHqkuqxzw8ks5rH0c0gaJpZM4LMYBv&data=02|01|jhalleux%40microsoft.com|d33e814147a64ce3472f08d423c1163b|72f988bf86f141af91ab2d7cd011db47|1|0|636172759586468651&sdata=Gs3CqFdJm2bnNvAYs%2B8qlMd0M2eA8J%2F0QK6ptbuRTmM%3D&reserved=0.


Add husky to the project

Is your feature request related to a problem? Please describe.
If Anyone try to commit their without the code formatting the husky will automatically format the changed code when their comes to commit their code.
This would really help the maintainer to review the code.

@notsoocool can you assign this issue to me to work on.

Is your feature request related to a problem? Please describe. If Anyone try to commit their without the code formatting the husky will automatically format the changed code when their comes to commit their code. This would really help the maintainer to review the code.

Thanks for sharing your feature request! However, I'm having a bit of trouble understanding it. Could you please clarify what you're trying to say so I can better grasp the idea?

@notsoocool the husky thing will format code before the commit


fix typo from #1418

saw that https://github.com/yonaskolb/XcodeGen/pull/1418 was still open and fixed the typo + checked in the project diff

while on it I fixed some more typos that https://github.com/client9/misspell found


policy: Run namespace watcher only when policies are enabled

Scalability improvement
Namespaces are only watched for their labels, which are used in policy enforcement. When policies are disabled, namespace watcher is not needed.
Ref: https://github.com/cilium/cilium/issues/33360
Signed-off-by: Dorde Lapcevic<EMAIL_ADDRESS>

cc @jshr-w @ovidiutirla

/test

/test


Fix password change logic

Fix a bug where old password were used as the new password, rendering password change operation useless.
Open password change screen in a separate tab, to make the operation less likely to interrupt.
Filter ledger accounts out of the accounts the receive password change.
Inform user to contact Polymath if password change failed. We will have to help them more closely in that case.

@hlminh2000 you wanna test this alongside @wahidrahim ? We can't test this enough.

Will do!


Need to update news

Now that we are starting to get somewhere in our transition from UMD to UW servers for the ML website, we need to update the news feed. I'd like to retrospectively add all major news items that have occurred since Oct 18, 2017 (including paper acceptances, awards, new lab members, new coverage, new funding, etc. etc.).

Comparison between center aligned buttons and left aligned
centered

left aligned

I like centered. :)
Sent from my iPhone

On Jul 5, 2018, at 10:18 AM, johnsonkuang<EMAIL_ADDRESS>wrote:
Comparison between center aligned buttons and left aligned
centered
left aligned
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


filter does not consider lists as true

In scheme list values are accepted as true in boolean context. For example:
λ > (if (list 1 2) 1 2)
=> 1

But, filter only accepts #true as true value:
λ > (filter (lambda (n) (list 1 2)) (list 1 2))
=> '()

The result of the last expression should be:
λ > (filter (lambda (n) (list 1 2)) (list 1 2))
=> '(1 2)

A workaround is to use if explicitly:
λ > (filter (lambda (n) (if (list 1 2) #true #false)) (list 1 2))
=> '(1 2)

I have tested with commit 881262eb1cc34268f82b611312037b8d76875464,
on arch linux with rust version "rustc 1.74.0 (79e9716c9 2023-11-13) (Arch Linux rust 1:1.74.0-1)"

Thanks for the report - will be fixed in #109

Should be fixed now, thanks again for the report!


add support for jpx decode/encode with JP2ForAndroid

slim_first.pdf
This is a pdf with many jpx images, which can not be print while converting pdf to image.
JP2ForAndroid is a java wrapper for OpenJPEG.
I imported JP2ForAndroid as a depence to encode/decode jpx for pdfbox
Althought android.graphics.ColorSpace is used in this commit, it appears only in PDJPXColorSpace, which would only be used in  JPXFilter when Build.VERSION.SDK_INT > Build.VERSION_CODES.O and COLORSPACE not exists in cos parameters.
In fact, most jpx objects has  COLORSPACE in its cos parameters.
On the other hand, in api < 26,  PDImageXObject.colorSpace would be null and it can be created from COLORSPACE when needed.
So, the jpx support would also works fine in  api < 26

in the first verions , there is two stages in jpx decoding:

decode bitmap from inputstream
write bitmap bytes to output stream.
in the performance test, stage two is 10x times slower than stage one.
so I edit to use a buffer to write bytes to output stream, which makes it 10x faster

@anyongjin thanks for your work on this. Just so you're aware, in #391, I made the JP2Android library an optional dependency to keep the application size low since most users probably won't need to handle JPX images. Since I'm sure that you would like to handle JPX images, you will need to add implementation 'com.gemalto.jp2:jp2-android:1.0.3' to your application's Gradle build file

I also think it's a good idea to make the JP2Android library an optional dependency. thanks for your work. @TomRoush


eos_designs::python_modules::mlag::avdstructuredconfig.py#L273 - Non-Executable code path (4.3.0)

Issue Summary
Hi, This issue is based on code-introspection, concerning a non-executable code path.
See here: https://github.com/aristanetworks/ansible-avd/blob/v4.3.0/ansible_collections/arista/avd/roles/eos_designs/python_modules/mlag/avdstructuredconfig.py#L273
Concerning two methods, namely: router_bgp() and underlay_bgp()
Line 265 (first "if" conditional): if not (self.shared_utils.mlag_l3 is True and self.shared_utils.underlay_bgp)
The method self.shared_utils.underlay_bgp is a compound conditional, as follows:
self.bgp AND self.underlay_routing_protocol == "ebgp" AND self.underlay_router AND self.uplink_type == "p2p"
Then, on line 273, there is a second "IF" statement, being: if not self.shared_utils.underlay_bgp
I believe the second conditional will never succeed into the inner return statement on line 274.
There are two intervening lines (line 269 and 270) as follows:
peer_group_name = self.shared_utils.bgp_peer_groups["mlag_ipv4_underlay_peer"]["name"]
router_bgp = self._router_bgp_mlag_peer_group()
Unless these two statements were to modify underlay_bgp (that is, the compound conditions therein)?, which I would consider to be a side-effect. I do not believe this to be the case (I would consider that as an unwanted side effect?).
Please advise or confirm. Thank you.
Which component(s) of AVD impacted
eos_designs
How do you run AVD ?
None
Steps to reproduce
N/A (this is a code introspection activity)

Relevant log output
N/A (this is a code introspection activity)

Contributing Guide

[X] I agree to follow this project's Code of Conduct

Good catch. It is the result of some refactoring, where this corner case was moved to:
https://github.com/aristanetworks/ansible-avd/blob/devel/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/utils.py#L184.
The lines 273:274 can simply be removed.
Have you seen any functional issues caused by this?
Thanks
Claus

Hi, I have ported our inventory from 3.8.X to 4.3.0 and followed the migration guide. I have run eos_designs, but not all the way to the point of deployment through eos_cli_config_gen.  In that scenario, I have not observed any issue or side-effect regarding this logic in router_bgp().
Ack on your suggested action (remove lines 273 and 274). That seems correct, but I figured I would throw this over to you, just in case.
Thank you.
Do you want to close this ticket? (and make a separate ticket for a code change), or do you want to keep this ticket open as a basis for making a code change?  [ I am ok, either way ]

This ticket is fine. We are not so strict about such things :)
Would you be willing to submit a PR to fix this or should I?

Hi, I would prefer if you were to take on the actual code change (I am not a committer, although this has been discussed [ we have a mutual customer ] )


[kubernetes_state] Default value for kube_state_url, service discovery

Hey there,
I am not a fan of having to configure kube_state_url. Are you open to a PR that defaults to kubernetes-state-metrics if it is not set?
To make things more complicated; I'm running a version of Kubernetes that does not yet support a combination of having hostNetwork set to true and still want to be able to resolve cluster resources. See https://github.com/kubernetes/kubernetes/issues/35761 for related issues. AFAICS this is fixed in https://github.com/kubernetes/kubernetes/pull/29378 which should make it to the 1.6 release.
My approach would be to discover the service myself which is not that hard however I might be missing the point here. I see there are references to service discovery, but I do not see them described in the READMEs. If this is the case, do you have some references to doco?
I see auto_conf.yamls floating around, are they populated by service discovery, and if so, how do I use and troubleshoot it?
Cheers,
O

Have hacked around the lack of ClusterFirstWithHostNet in Kube < 1.6 by mounting a resolv.conf pointing to dnsmasq on localhost.
Learnt auto_conf files are populated when auto discovery is set, so that mystery is solved. After setting environment variables SD_BACKEND to Docker and KUBERNETES to "yes" things start working.
Wondering if this PR is still useful. I think it might,  in cases folks do not have set up auto disovery, running from outside of pods and. Not sure yet, happy to hear your thoughts.

Never mind. SD should be the default, but I'll let you guys take care of it.


Packing in DPOTrainer

Feature request
packing can be supported in dpo trainer.
Motivation
sequences with high variation in length padded together will waste a lot of resources. issue #1274 mentioned this, but i don't think the conclusion is correct. packing won't conflict with pairwise datasets. you just need to unpack the sequence after forwarding. you can easily identify the start and the end of each sequence by the position of 0 in position_ids.
Your contribution
actually i already have a version of dpo trainer that can deal with packing:
    def _forward_one(self, model: nn.Module, batch: dict, name: str):
        batch = dict(batch)
        targets = batch.pop("targets")
        loss_masks = batch.pop("loss_masks").to(torch.bool)
        out = model(**batch)
        logits = out["logits"]
        targets = targets.clone()
        targets[~loss_masks] = 0  # dummy token; we'll ignore the losses on these tokens later
        per_token_logps = torch.gather(logits.log_softmax(-1), dim=2, index=targets.unsqueeze(2)).squeeze(2)
        per_token_logps[~loss_masks] = 0
        # unpack logp
        assert batch["position_ids"].shape[0] == 1
        starts = (batch["position_ids"] == 0).nonzero()[:, 1]
        seqs = []
        for i in range(len(starts) - 1):
            seqs.append(per_token_logps[0, starts[i]: starts[i + 1]].sum())
        seqs.append(per_token_logps[0, starts[-1]:].sum())
        all_logps = torch.stack(seqs)
        return {
            f"{name}_logps": all_logps,
            f"mean_{name}_logits": logits[loss_masks].mean(),
        }

    def concatenated_forward(self, model: nn.Module, batch: dict):
        ret = {}
        for name in ("chosen", "rejected"):
            ret = {**ret, **self._forward_one(model, batch[name], name)}
        return ret

this does not directly fit into the complex logic of dpo trainer, but the idea is that it is possible to do packing.

What you're describing sounds closer to padding-free than packing. We have a (currently draft) PR for this: https://github.com/huggingface/trl/pull/2437

At this point I'm not even sure that packing for DPO makes sense. How to ensure that you've as many chosen than rejected? How to ensure they match? How to handle partial sequences?

Hi, thank you for your response. I looked into the link you provided. I think we are talking about the same thing. I used the word "packing" from https://huggingface.co/blog/packing-with-FA2. The "packing" here actually means concatenating a fixed batch size of samples into one sequence, and use position_ids to mark the boundaries, rather than packing to a fixed length. So there won't be the problems you mentioned. I've also briefly read https://huggingface.co/blog/mayank-mishra/padding-free-transformer this blog, I think the ideas are the same. But I'm not sure how the latter is implemented. Maybe they are the same thing just with different names:)
I breifly went through the pr, I see it is trying to add position_ids in the whole process, so I guess we are talking about the same thing.


Puppetserver 8

I can see that GitHub Actions workflow is prepared to release the Puppetserver 8 container - are there any obstacles that need to be solved before that can be done? Same for PuppetDB 8.

nope, we just didn't do it yet.
i will see if i find some time this week to build a v8 container and test it.

puppet 8 will be build automatically with #19

tagged releases will come like soon, 0.1.0-8, but for the meantime you may use the tag main-8, which ist the latest build from main with puppet 8

Awesome, thanks!


Slow homeassistant restart when devices are unavailable

Describe the bug
I'm using tuya-local with AlecoAir D14 PURIFY dehumidifier ,but when i restart homeassistant and the dehumidifier is not available (powered off) ,the starting process will hang for about 5 minutes  (until bootstrap timeout is reached ).
This happens ONLY if the dehumidifier is not available.
To Reproduce
Power OFF the dehumidifier and restart Homeassistant
Expected behavior
tuya-local should not block the starting process even if a device/entity is not available
Additional context
Before opening this ticket i tried various scenarios ,to make sure that's not caused by a misconfiguration in my system .This is what i tried :

Removing and re-configure the device
Unistall tuya-local and re-install

Diagnostics
{   "home_assistant": {     "installation_type": "Home Assistant Container",     "version": "2023.2.3",     "dev": false,     "hassio": false,     "virtualenv": false,     "python_version": "3.10.7",     "docker": true,     "arch": "aarch64",     "timezone": "Europe/Bucharest",     "os_name": "Linux",     "os_version": "6.1.10",     "run_as_root": true   },   "custom_components": {     "alarmo": {       "version": "v1.9.7",       "requirements": []     },     "hacs": {       "version": "1.30.1",       "requirements": [         "aiogithubapi>=22.10.1"       ]     },     "tuya_local": {       "version": "2022.2.2",       "requirements": [         "pycryptodome~=3.17",         "tinytuya==1.10.2"       ]     },     "adaptive_lighting": {       "version": "1.4.1",       "requirements": []     },     "alexa_media": {       "version": "4.6.0",       "requirements": [         "alexapy==1.26.4",         "packaging>=20.3",         "wrapt>=1.12.1"       ]     }   },   "integration_manifest": {     "domain": "tuya_local",     "iot_class": "local_push",     "integration_type": "device",     "name": "Tuya Local",     "version": "2022.2.2",     "documentation": "https://github.com/make-all/tuya-local",     "issue_tracker": "https://github.com/make-all/tuya-local/issues",     "dependencies": [],     "codeowners": [       "@make-all"     ],     "requirements": [       "pycryptodome~=3.17",       "tinytuya==1.10.2"     ],     "config_flow": true,     "is_built_in": false   },   "data": {     "name": "dezumidificator",     "type": "alecoair_d16_dehumidifier",     "device_id": "**REDACTED**",     "local_key": "**REDACTED**",     "host": "**REDACTED**",     "protocol_version": 3.2,     "api_version_set": 3.2,     "api_version_used": 3.2,     "api_working": false,     "status": {},     "cached_state": {       "updated_at": 0     },     "pending_state": {},     "connected": true,     "home_assistant": {       "name": "dezumidificator",       "name_by_user": null,       "disabled": false,       "disabled_by": null,       "entities": [         {           "disabled": false,           "disabled_by": null,           "entity_category": "diagnostic",           "device_class": null,           "original_device_class": "problem",           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "binary_sensor.dezumidificator_tank",             "state": "unavailable",             "attributes": {               "device_class": "problem",               "friendly_name": "dezumidificator Tank"             },             "last_changed": "2023-02-16T10:31:21.184825+00:00",             "last_updated": "2023-02-16T10:31:21.184825+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": "config",           "device_class": null,           "original_device_class": null,           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "lock.dezumidificator_child_lock",             "state": "unavailable",             "attributes": {               "friendly_name": "dezumidificator Child lock",               "supported_features": 0             },             "last_changed": "2023-02-16T10:31:27.081458+00:00",             "last_updated": "2023-02-16T10:31:27.081458+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": null,           "device_class": null,           "original_device_class": "switch",           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "switch.dezumidificator_ionizer",             "state": "unavailable",             "attributes": {               "device_class": "switch",               "icon": "mdi:creation",               "friendly_name": "dezumidificator Ionizer"             },             "last_changed": "2023-02-16T10:31:21.189802+00:00",             "last_updated": "2023-02-16T10:31:21.189802+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": null,           "device_class": null,           "original_device_class": "dehumidifier",           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "humidifier.dezumidificator",             "state": "unavailable",             "attributes": {               "min_humidity": 25,               "max_humidity": 80,               "available_modes": [                 "Sleep",                 "Purify",                 "Dry clothes",                 "Manual"               ],               "device_class": "dehumidifier",               "friendly_name": "dezumidificator",               "supported_features": 1             },             "last_changed": "2023-02-16T10:31:27.083179+00:00",             "last_updated": "2023-02-16T10:31:27.083179+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": null,           "device_class": null,           "original_device_class": "humidity",           "icon": null,           "unit_of_measurement": "%",           "state": {             "entity_id": "sensor.dezumidificator_current_humidity",             "state": "unavailable",             "attributes": {               "state_class": "measurement",               "unit_of_measurement": "%",               "device_class": "humidity",               "friendly_name": "dezumidificator Current humidity"             },             "last_changed": "2023-02-16T10:31:21.190840+00:00",             "last_updated": "2023-02-16T10:31:21.190840+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": null,           "device_class": null,           "original_device_class": null,           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "fan.dezumidificator",             "state": "unavailable",             "attributes": {               "preset_modes": [],               "friendly_name": "dezumidificator",               "supported_features": 1             },             "last_changed": "2023-02-16T10:31:27.080634+00:00",             "last_updated": "2023-02-16T10:31:27.080634+00:00"           }         },         {           "disabled": false,           "disabled_by": null,           "entity_category": "config",           "device_class": null,           "original_device_class": null,           "icon": null,           "unit_of_measurement": null,           "state": {             "entity_id": "select.dezumidificator_timer",             "state": "unavailable",             "attributes": {               "options": [                 "9 hours",                 "5 hours",                 "20 hours",                 "6 hours",                 "24 hours",                 "1 hour",                 "7 hours",                 "8 hours",                 "3 hours",                 "16 hours",                 "23 hours",                 "12 hours",                 "14 hours",                 "22 hours",                 "4 hours",                 "13 hours",                 "Off",                 "11 hours",                 "19 hours",                 "2 hours",                 "17 hours",                 "10 hours",                 "21 hours",                 "18 hours",                 "15 hours"               ],               "icon": "mdi:timer",               "friendly_name": "dezumidificator Timer"             },             "last_changed": "2023-02-16T10:31:27.079793+00:00",             "last_updated": "2023-02-16T10:31:27.079793+00:00"           }         }       ]     }   } }
Homeassistant system logs
2023-02-16 12:31:36.322 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.dezumidificator_tank is taking over 10 seconds 2023-02-16 12:36:35.388 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward
Notes:
This time "binary_sensor.dezumidificator_tank" is showing in logs,but it's not always the same,the entity may change (i.e. switch.dezumidificator_ionizer ).
Don't mind the device showing as AlecoAir D16 in the diagnostics ,that's the profile i used this time ,but the issue persists with both the D16 PURIFY and  D14 PURIFY profiles .
The device internet access and DNS requests are blocked .

Probably this should be a Home Assistant bug.  Tuya Local has finished starting by this point, but Home Assistant assumes that any activity that begins during the startup phase needs to finish before startup can switch to the next phase.  There doesn't seem to be any way to signal to Home Assistant that we are done starting and to not wait for any hung connections, other than not opening any connections to devices until after startup is finished, which in worst case can be 15 minutes after a reboot if another integration is delaying startup.

Hmm... i wonder why this isn't happening with other integrations when the device is unavailable .
Fir example i also have esphome integration with 2 devices which are not available ,but there's no issues with that.
However ,i don't know if HA devs will take it seriously if we report this with a custom integration involved .

The commit above should speed it up substantially, I think even with the protocol version set to "auto" it should now fail after 1m15s seconds in theory, instead of 6m15s.  With the protocol version set correctly, you can bring it down to 15s (with the previous code, it should have been 75s with the protocol set).

Yep,tested and the speed improved a lot.
Also,no more bootstrap timeout error .
Thank you for the quick fix!

Is it possible to listen to some kind of HA event that it is shout downing or restarting and interrupting the work of tinituya?

This is done already.

If I understand correctly, now at the HA stopping work, we wait until the cycle is completed. In particular, wait until tinituya has finished making repeated requests.
From device.py
def actually_start(self, event=None):
  ...
  self._refresh_task = self._hass.async_create_task(self.receive_loop())

...

async def async_stop(self, event=None):
  ...
  if self._refresh_task:
    await self._refresh_task

async_create_task returns an object of type asyncio.Task
From homeassistant/core.py
def async_create_task(self, target: Coroutine[Any, Any, _R]) -> asyncio.Task[_R]:

The Python documentation has recommendations for stopping tasks ahead of time:
async def main():
    # Create a "cancel_me" Task
    task = asyncio.create_task(cancel_me())

    # Wait for 1 second
    await asyncio.sleep(1)

    task.cancel()
    try:
        await task
    except asyncio.CancelledError:
        print("main(): cancel_me is cancelled now")

Maybe it's worth adding the cancellation of the task, so as not to wait for it to finish?

I don't think it is necessary.  The message is not an urgent shutdown, it is a gradeful one. Tinytuya's default socket timeout is 5 seconds, and now we have set it to only try once if the connections are failing.
I am not sure what hanging up a connection mid stream will do to the devices, they seem to be coded fairly poorly and hangup/crash/toggle switches randomly on all sorts of unexpected input.
I am also not sure that the HA async task functions provide access to all the features of asyncio.task, but probably there is a cancel method there somewhere for cases where it really is needed.
.

@make-all i still have an issue with this device ,but probably it's not related to this bug (i will open another report after more testing ).
Basically ,if the device it's unavailable and i proceed with a Power ON (from the mains) ,tuya-local will not update the entities's status for a quite some time and some are not updated at all (i.e.  the tank entity it's stuck on "problem").
I will enable the debug logging and see if i can get something useful .

@make-all i still have an issue with this device ,but probably it's not related to this bug (i will open another report after more testing ).
Basically ,if the device it's unavailable and i proceed with a Power ON (from the mains) ,tuya-local will not update the entities's status for a quite some time and some are not updated at all (i.e. the tank entity it's stuck on "problem").
I will enable the debug logging and see if i can get something useful .

I think it's related to #377

Thx,will keep an eye on that report while testing with this dehumidifier .
IIRC it was working fine with older versions ,from a year or so,but i don't recall when all this started to happen (i noticed this issue months ago,but i thought that there's something wrong with my configuration ).

self._running is not set until after initial startup, so blocking retries on that will prevent protocol version discovery on the first connection during startup.  Instead I put in a condition on self._hass.is_shutting_down.

@make-all  i've did a clean test ,by removing the device completely and re-added AlecoAir D14 dehumidifier again ,with all parameters set manually .
Everything works as expected here ,a complete restart of HA when the device is unavailable it's around 30 seconds .
Also,when the device is powered on,so the device became available ,all the entities are updated correctly .
Thanks again!


pigar installed with Python 3.7 seemingly does not work

On my Mac (10.11.6) with Python 3.7, after successfully installing pigar with
python -m pip install pigar,
I see that I can import it within python, but the pigar ___ command does not do anything for me in the terminal.
Whereas, if I install pigar to work with Python 2.7, using
pip install pigar,
the pigar ___ command does work, but it does not pick up any Python 3 libraries.
How could I make pigar work through the mac's terminal, and recognize Python 3 packages?

Having returned to an old project that needed a big requirements.txt, I revisited this topic, and got pigar to work by using the manual installation instructions on the front page.


fix: RAC-4391

FIX https://rackhd.atlassian.net/browse/RAC-4391
The TaskCancellationError should not be thrown, which will break the cancelTaskStream.
@RackHD/corecommitters  @iceiilin @pengz1 @sunnyqianzhang

BUILD on-tasks #23 : FAILURE

BUILD on-tasks #23  Error Logs  ▼Test Name: test_node_workflows_get
Error Details: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '116', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"74-xVQENTsYjUvxAgqPU55FowwkPlQ"', 'Date': 'Thu, 23 Mar 2017 07:58:20 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Could not find node with identifier fooey","status":"404","UUID":"47f7a0ab-1af9-4af5-a0d9-8bd2de6693d4"}
Stack Trace: Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
self._testFunc()
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/home/jenkins/workspace/on-tasks/RackHD/test/tests/api/v2_0/nodes_tests.py", line 284, in test_node_workflows_get
Api().nodes_get_workflow_by_id('fooey')
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 2849, in nodes_get_workflow_by_id
callback=params.get('callback'))
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
response_type, auth_settings, callback)
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
post_params=post_params, body=body)
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 342, in request
headers=headers)
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 184, in GET
query_params=query_params)
File "/home/jenkins/workspace/on-tasks/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
raise ApiException(http_resp=r)
ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '116', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"74-xVQENTsYjUvxAgqPU55FowwkPlQ"', 'Date': 'Thu, 23 Mar 2017 07:58:20 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Could not find node with identifier fooey","status":"404","UUID":"47f7a0ab-1af9-4af5-a0d9-8bd2de6693d4"}

Please also refine the PR title.

BUILD on-tasks #25 : FAILURE


Add Intrusion System configuration properties

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

@shanyp @idofrizler @odedlaz

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@number213 can you review again please?


Sleep Apnea and BMI: When tool is scaled down, titles are approximately the same size as other text

Title of tool should be more prominent.

Going to close this issue as I think it isn't as prevalent anymore with the font family fixes in #720.


openboardview: 9.0.3 -> 9.95.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for openboardview is: Linux SDL/ImGui edition software for viewing .brd files
meta.homepage for openboardview is: https://github.com/OpenBoardView/OpenBoardView
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.95.0 with grep in /nix/store/jjpj2xr3yqzba1dm6xhhd3hzpamarkrc-openboardview-9.95.0
found 9.95.0 in filename of file in /nix/store/jjpj2xr3yqzba1dm6xhhd3hzpamarkrc-openboardview-9.95.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
openboardview

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jjpj2xr3yqzba1dm6xhhd3hzpamarkrc-openboardview-9.95.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A openboardview https://github.com/r-ryantm/nixpkgs/archive/3f08dd7eeed2d0919964ce37891e1dc74824e085.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jjpj2xr3yqzba1dm6xhhd3hzpamarkrc-openboardview-9.95.0
ls -la /nix/store/jjpj2xr3yqzba1dm6xhhd3hzpamarkrc-openboardview-9.95.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

openboardview

Maintainer pings
cc @k3a for testing.

@ofborg build openboardview openboardview.passthru.tests


Fix potential deadlock in rocksdb compaction.

Scope & Purpose
There can be situations where the picker is asked for a compaction twice for the same version. In such a scenario the first call might not be able to find any eligible files and as a result set NextCompactionIndex to the total number of files. In this case the second call could return null even though we could now compact one of the files we previously had to skip. This could then result in a deadlock as explained in more detail here: https://github.com/facebook/rocksdb/issues/10257#issuecomment-1180534048
The according RocksDB PR can be found here: https://github.com/facebook/rocksdb/pull/10355

[x] :hankey: Bugfix

Checklist

[x] Tests

[x] C++ Unit tests - I created a unit test for the rocksdb PR, but I did not port it back here.

[x] :book: CHANGELOG entry made
[x] Backports

[x] Backport for 3.9: #16598

An upstream test has shown a potential problem:
https://circleci.com/gh/facebook/rocksdb/445331?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Setting this PR's status to draft until clarified.


Unclear documentation on interop with JS

I have an external component:
import slinky.core.ExternalComponent
import slinky.core.annotations.react

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.|

@JSImport("@nivo/waffle", "ResponsiveWaffleCanvas")
@js.native
object ReactWaffle extends js.Object

@react object Waffle extends ExternalComponent {
  case class Props(tooltip: js.UndefOr[js.Object => ReactComponentClass[_] | ReactElement] = js.undefined)
  override val component = ReactWaffle
}

But then when I try and use it I get the following error message:
Objects are not valid as a React child.

Where the type of the tooltip component is: slinky_core_KeyAndRefAddingStage

I can't seem to pass in either a component e.g. MyComponent or even a div(). It would be good to add this to the interop documentation.

Ah, the issue here is most likely that the props type is using the JS union type, which relies on runtime checks to determine which writer to use. But one of the branches is a native JS type is ReactElement which can't be checked against at runtime, so the writer passes through as is.
Could you try using the Scala Either type? That lets us know exactly which branch needs to be used at runtime. If that still doesn't work, there may be a bug here.

I've put together a test case here: https://github.com/harana-oss/slinky-554
It relies on a private SBT plugin so you will need to update build.sbt to rebuild everything.
But you should be able to just run:
python -m SimpleHTTPServer

From the root directory and see the issue. When you hover over the squares it will crash.


Update Go version to 1.19

This PR updates Go to the latest version as well as ensures that hostctl can be compiled on the latest Darwin version with the latest go version.

Hi @sagikazarmark, many thanks for all this work! I'll be happy to read and merge it. It will take some time, but at first glance it looks all good!
Did you have the chance to run the Github actions?

Hi @guumaster! Thanks!
I've tested some of the flows manually, but not the actions themselves directly. That seems like a hard thing to do.

@guumaster did you have a chance to take a look at this PR?

v1.1.3 published with Go v1.19 🎉
Thanks!

Thanks!


added support for esp8266

initial release

@aentinger could you take a short loot at this? Thanks

Hi @generationmake :coffee: :wave: fixed your CI linting action "problem" :wink:

all checks pass
test positive
->merge


Include sessionize.com links

I'd love to sessionize.com speaker pages included on the cards.

Thanks, Layla, that's a good suggestion! A lot of people have one. We could either add them as "channels" in the JSON or add sessionize in the JSON as a distinct attribute and then also show an icon on the card. Either way, it makes total sense!

Just added to the page :)
Nice suggestion, thanks @Layla-P
We could later on use that to show things like "Meet this person at conference xyz" on the cards. Lets see what we end up with!

StackOverflow as well?

And YouTube as well please.

The login is via GitHub. So we have that anyway. StackOverflow could be added. You can include it under channels in your JSON card.

@Layla-P planning to signup as well? 😀

@ Layla-P  I sent you a DM on Twitter just to make sure you got the message. Greetings Matthias

Sorted :)


Get Other Player Statistics Reports

Hi,
The NhlStatisticsApi.GetPlayerStatisticsBySeasonAndFilterExpressionAsync method is currently fixed on only returning the "summary" report. Would it be possible to add another method that allows us to return other reports, such as Time On Ice (timeonice) and Miscellaneous (realtime)? Basically this lines up exactly with the reports/statistics found at the main nhl.com stats page, https://www.nhl.com/stats/skaters.
Some example reports:
https://api.nhle.com/stats/rest/en/skater/timeonice?limit=-1&start=0&cayenneExp=seasonId=20232024
https://api.nhle.com/stats/rest/en/skater/realtime?limit=-1&start=0&cayenneExp=seasonId=20232024
You could potentially expand the PlayerStatisticsResult object to include the additional fields across the various reports. It's maybe the quicker/dirtier way, but there's already some overlap between reports around core data (name, position, shootsCatches) and would simplify the work involved.
If this is something you'd like help with, let me know. I might rig something up in the short term anyway so I can get those reports in the context of your NhlStatisticsApi class.
Thanks as always.

Hey @calvnnhobs
I think this is a great suggestion and I would love to implement this for the NuGet package, I will bundle it with the 3.5.0 update which includes all of the Utah Hockey Club updates!
Thanks!

@calvnnhobs
I have just released v3.5.0, please take a peek and see if it does the job!
If you're all good here I can close this issue out.
Thanks!

This looks good, thanks @Afischbacher!


Mod + Hotkey 3 does not work

i just flashed left keyboard firmware by using mod + Hotkey 1
but when I'm trying to access to right keyboard by using mod + Hotkey 3, it does not load recognize it as usb drive.
What should i do?

self answer
It seems like mine firmware is so old that Mod + Hotkey 3 didn't work
There is another way to enter into bootloader mode.
press Reset button twice.
For more detail, read Users Manual p14 '5.9 Bootloader Mode'

Yes, we prefer using the Reset-button method because it doesn't require both modules to be connected.


"Unrecognized Certificate" error after upgrading from K9 v5.600 to v5.800

Describe the bug
After upgrading to K9 v5.800, I've been unable to connect seamlessly to an IMAP server mail server which uses a private CA to sign certificates. In the prior version, as long as the root CA was trusted by Android then K9 would validate the certificate and connect without issue.
To Reproduce
Steps to reproduce the behavior:

Install K9 v5.600
Connect to private IMAP server

which uses certificate signed by custom CA already trusted by the device

Upgrade to K9 v5.800
"Unrecognized Certificate" error is displayed when attempting to refresh the Inbox contents

Expected behavior
I expected the trusted CA certificate on the device (untouched and not expired) to be used to verify the IMAPS connection (certificate) and allow the connection without errors/warnings.
Environment (please complete the following information):

K-9 Mail version: v5.800 (now), v5.600 (before)
Android version: 10
Device: LG V40
Account type: IMAP

Duplicate of #5473.
Fixed in K-9 Mail 5.801. https://forum.k9mail.app/t/new-beta-release-k-9-mail-5-801/2214

@cketti: Duplicate of #5473.
Fixed in K-9 Mail 5.801. https://forum.k9mail.app/t/new-beta-release-k-9-mail-5-801/2214

Sorry for the noise (I looked, but completely missed the existing GH issue). Thanks for the app!


Support AbstractQuery::getSingleScalarResult

It appears that getSingleScalarResult() currently always returns bool|float|int|string|null.
If I have the following query:
$result = $this->createQueryBuilder('u')
            ->select('COUNT(u.id)')
            ->where('u.is_deleted = false')
            ->getQuery()
            ->getSingleScalarResult();

\PHPStan\assertType($result, 'bool|float|int|string|null');

But when I do getResult() it works properly:
$result = $this->createQueryBuilder('u')
            ->select('COUNT(u.id)')
            ->where('u.is_deleted = false')
            ->getQuery()
            ->getSingleScalarResult();

\PHPStan\assertType($result, 'list<array{1: int<0, max>}>');

I wonder why we cannot support getSingleScalarResult? I created the following helper:
/**
 * @template TValue of scalar
 * @param list<array{1: TValue}> $results
 *
 * @return TValue
 */
protected function getSingleScalarResult(array $results) : bool | float | int | string
{
    return $results[0][array_key_first($results[0])];
}

And now this works great:
$result = $this->getSingleScalarResult($this->createQueryBuilder('u')
            ->select('COUNT(u.id)')
            ->where('u.is_deleted = false')
            ->getQuery()
            ->getResult());

\PHPStan\assertType($result, 'int<0, max>');

Am I being naive here and is there a flaw with my solution or would it be possible to support it 😁?
/cc @arnaud-lb @janedbal
References:

https://github.com/phpstan/phpstan-doctrine/issues/276

Not as easy as it looks.
See

https://github.com/phpstan/phpstan-doctrine/pull/520
https://github.com/phpstan/phpstan-doctrine/pull/588
Also https://github.com/phpstan/phpstan-doctrine/pull/592

I'd recommend using https://github.com/staabm/phpstan-dba additionally which resolves types much narrower for most queries.


Patch 1

I have added my Master's thesis!

Thanks @Xekyo, sorry for forgetting about this for so long.


fix(dropdown): fix dropdown menu items container width

#575
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change contains documentation update

Breaking changes
Please document the breaking changes if suitable.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

@paghar could you please rebase and fix the conflicts?

@tulup-conner @rluders
Problems identified and fixed, Check it again please


Randomatic error in OpenaiRagQueryExecutor

It seems that we had some error in the enumerateArray, probably the api did not respond something useful, but the problem is that we have a generic error and absolutely no clue on what really happened.
[12:07:07 ERR][Jarvis.AI.Host.Controllers.RagController] Internal error answering question: Exception in handler KernelMemory.Extensions.QueryPipeline.OpenaiRagQueryExecutor - System.InvalidOperationException: The requested operation requires an element of type 'Array', but the target element has type 'Number'.
   at System.Text.Json.ThrowHelper.ThrowJsonElementWrongTypeException(JsonTokenType expectedType, JsonTokenType actualType)
   at System.Text.Json.JsonElement.EnumerateArray()
   at KernelMemory.Extensions.QueryPipeline.OpenaiRagQueryExecutor.GenerateAnswerAsync(String question, String documents, CancellationToken token)
   at KernelMemory.Extensions.QueryPipeline.OpenaiRagQueryExecutor.OnHandleAsync(UserQuestion userQuestion, CancellationToken cancellationToken)
   at KernelMemory.Extensions.UserQuestionPipeline.ExecuteQuery(UserQuestion userQuestion, CancellationToken cancellationToken)

Error seems to be related to this line
var citations = ((JsonElement)toolCall.Arguments["documents"]).EnumerateArray().Select(e => e.GetInt32() - 1).ToHashSet();
Probably when there is no any citations the arguments passed to documents it is not an empty array, but has a type number, do not know why it happens, but to replicate it is possible to ask several time for question that cannot be answered by the memory.


fix: wait for accounts to catch up with notes when deployed

Fix #466. This PR ensures that the PXE (and its Synchronizer service) are fully synced up with the node before accepting transactions.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[x] Every change is related to the PR description.
[x] I have linked this pull request to relevant issues (if any exist).

Benchmark results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 5585075f and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,960
868,160
3,449,720

l1_rollup_execution_gas
842,047
3,595,268
22,205,089

l2_block_processing_time_in_ms
1,020
3,927
15,534 (+2%)

note_successful_decrypting_time_in_ms
326 (+1%)
997 (+1%)
3,680 (+3%)

note_trial_decrypting_time_in_ms
:warning: 30.0 (+15%)
107 (+8%)
138

l2_block_building_time_in_ms
8,992 (+1%)
35,882
149,869 (+1%)

l2_block_rollup_simulation_time_in_ms
6,679 (+1%)
26,640
105,802 (+1%)

l2_block_public_tx_process_time_in_ms
2,272
9,119
43,393

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,405 (+3%)
31,684 (+3%)

note_history_successful_decrypting_time_in_ms
2,321 (+2%)
4,779 (+8%)

note_history_trial_decrypting_time_in_ms
124 (+2%)
:warning: 147 (-29%)

node_database_size_in_bytes
1,650,480
1,194,672

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
44.0 (+2%)
56,577
14,745

private-kernel-ordering
21.3
20,137
8,089

base-rollup
852
631,605
811

root-rollup
37.9 (-2%)
4,072
1,097

private-kernel-inner
36.2 (+2%)
72,288
14,745

public-kernel-private-input
46.7
37,359
14,745

public-kernel-non-first-iteration
27.8 (-1%)
37,401
14,745

merge-rollup
0.877 (+1%)
2,592
873

I've updated the PR and now both deploying and registering an account with PXE will wait for it to fully sync up.


Error handling with PVC creation on unavailable backend

Describe the bug
Trying to create a PVC on a backend that is unavailable will obviously fail. However, the error/warning messages one can read (in Trident logs or PVC Description) look off (the "pvc already exists" part):
Events:
  Type     Reason                Age                   From                                                                                Message
  ----     ------                ----                  ----                                                                                -------
  Normal   ProvisioningFailed    22m                   csi.trident.netapp.io                                                                   object is being deleted: tridenttransactions.trident.netapp.io "pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680" already exists
  Warning  ProvisioningFailed    22m                   csi.trident.netapp.io_trident-csi-d47f5f5c6-2mprf_2d124a62-f10c-4737-9fa4-8999f1301458  failed to provision volume with StorageClass "storage-class-san": rpc error: code = Unknown desc = object is being deleted: tridenttransactions.trident.netapp.io "pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680" already exists
  Warning  ProvisioningFailed    16m (x12 over 22m)    csi.trident.netapp.io_trident-csi-d47f5f5c6-2mprf_2d124a62-f10c-4737-9fa4-8999f1301458  failed to provision volume with StorageClass "storage-class-san": rpc error: code = Unknown desc = encountered error(s) in creating the volume: [Failed to create volume pvc-2fb94fcc-2aa6-48d4-aeb1-32b5ba9a4680 on storage pool aggr1 from backend SAN-secured: error checking for existing volume: Post "https://<IP_ADDRESS>/servlets/netapp.servlets.admin.XMLrequest_filer": dial tcp <IP_ADDRESS>:443: connect: no route to host]

Environment
LoD Kubernetes v4 with the following upgrades

ONTAP 9.8P1
Trident 21.01.1

To Reproduce

modify all LIF of a SVM to status_admin = down
create a PVC & read the logs

Expected behavior
An error that looks more accurate

The error statements are modified over the few releases. Further, change made to Trident to poll backend and update the availability status. It is fixed with https://github.com/NetApp/trident/commit/458db05e6475ab095351848a849d4a5a8de3f937 and is included in Trident 23.07 release.


Mailpit Updated

I've previously experimented with a more recent iteration, but it exhibited numerous glitches. Have you conducted any tests on this one?

I feel you can then cancel the update.


Rework rust bindings

This is a follow up of https://github.com/Picovoice/rhino/pull/303
It's pretty much a copy paste of thar original PR.
There's a breaking change, so this needs to be a minor version, instead of a patch level update.

Published crate v1.0.2. For our versioning the first two digits are the version of the C library, and the last is the package version, breaking or otherwise. We always recommend users stick to the latest package versions or otherwise pin to the exact version.


tag to ignore ansible-lint doesn't work on roles

Issue Type

Bug report

Same scenario as described in #151
Ansible and Ansible Lint details
ansible --version: <IP_ADDRESS>
ansible-lint --version: 2.5.0

ansible installation method: pip
ansible-lint installation method:  pip

Desired Behaviour
ansible-lint should ignore the role when tagged with skip_ansible_lint
- { role: elasticsearch, es_instance_name: "es" , tags: [ 'skip_ansible_lint' ],
          es_config: {
              node.name: "{{ansible_hostname}}",
              cluster.name: es,
              discovery.zen.ping.multicast.enabled: false,
              discovery.zen.ping.unicast.hosts:  "{{ groups['elasticsearch-nodes']|map('extract', hostvars, 'inventory_hostname') | array_to_str }}" ,
         }
}

Actual Behaviour (Bug report only)
The tag is ignored and ansible-lint reports an error as described in #151

The fix for this has been implemented
I've pushed ansible-lint v2.7.0rc1 to pip so that this can be tested, or you can use the v2.7 source branch.
Please note that v3.0 is around the corner, so I've rebased v3.0 on this change, and 3.0.0rc6 is now available for testing too.


add DZOauctions users and edit DZO user in brokers.yaml and users.yaml

This change is

 але потрібно зробити замість двох комітів один і в повідомленні написати Update dzo data in brokers/users.yaml

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

Comments from Reviewable

Reviewed 1 of 1 files at r4.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


fix program-list-uri parameter in config.py

Url, http://git.openstack.org/cgit/openstack/governance/plain/reference/programs.yaml has moved to http://git.openstack.org/cgit/openstack/governance/plain/reference/projects.yaml. Modified config.py to accommodate the change url

Thank you for contributing to stackforge/stackalytics!
stackforge/stackalytics uses Gerrit for code review.
Please visit http://wiki.openstack.org/GerritWorkflow and follow the
instructions there to upload your change to Gerrit.

Thank you for contributing to stackforge/stackalytics!
stackforge/stackalytics uses Gerrit for code review.
Please visit http://wiki.openstack.org/GerritWorkflow and follow the
instructions there to upload your change to Gerrit.


Update README.md

dunt ask, i just improved readme.,  I will re-edit this tommorow as im free

You removed the contribution section and the module section, please return them.
(It's my personal thoughts)

Module section? Yo mean the , uh, modules list? It doesn't look good here tho

After merging this I'll add conmtributors (it will be a issue if I try rn)

@all-contributors add @ItziSpyder for coding, owner, docs, ideas, bugs

its not installed here ill tell itzispyder to do

Module section? Yo mean the , uh, modules list? It doesn't look good here tho

So find a solution(if my opinion matters to you)

Just merge bruh @ItziSpyder

Bro, let ItziSpyder to decide be himself.


Simplify scoring db checking

Fix the ImageViewer incorrectly routing the path suffix to "scoring" in App.vue, resulting in the loss of the desired site UUID.

are you missing a commited file:  src/actions/dataSource that contains the function reloadDataSourceFromStorage?

We may want to have a discussion about the removal of a feature:
Before this the URL could also specify the current mode.  I.E if you went to http://localhost:3000/#/KR_R002/ you would be using the RGD database but if you went directly to http://localhost:3000/#/scoring/KR_R002 it would be in the scoring DB.  This way users could share a direct URL independent of having their local setting configured for a specific DB.
I don't know if this is useful so we may be able to remove the feature.

There also appears to be some priority-based behavior, and it would be good to review them again to make sure they align with our requirements.

visiting /#/KR_R002 with no local storage key databaseSource will use the RGD DB
visiting /#/KR_R002 when local storage key databaseSource is Scoring will redirect to the scoring DB
visiting /#/scoring/KR_R002 will use the scoring DB regardless of the databaseSource value

visiting /#/KR_R002 with no local storage key databaseSource will use the RGD DB
visiting /#/KR_R002 when local storage key databaseSource is Scoring will redirect to the scoring DB
visiting /#/scoring/KR_R002 will use the scoring DB regardless of the databaseSource value

I think that is correct, we want to default to RGD DB if no key is set.
If you have configured it to default to a ScoringDB you want it to go there by default
Directly visiting a /scoring endpoint should take you to the scoring DB independent of a configured key.


[Bug] Error after building demo project

What happened?
I get an error after building the demo project..

I installed shopware pwa with this instruction: https://shopware-pwa-docs.vuestorefront.io/landing/resources/cheatsheet.html#installation
Thanks for help😃
Steps To Reproduce
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Version
Canary (generated by CLI)
Which element is affected?
No response
Environment
- OS: macOS m2 Chip
- Node: 14.21.1
- Shopware API: latest
- Shopware PWA version: latest

Relevant log output
Must use import to load ES Module<EMAIL_ADDRESS>require() of ES modules is not supported. require() of<EMAIL_ADDRESS>from /Users/paeplow/Developer/private_stuff/clotho_pwa/node_modules/vue-server-renderer/build.dev.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename glide.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from<EMAIL_ADDRESS>

I don´t know how, but I got it working. I changed the ownership of some folders which belongs to node in /usr/local and now it works.

I don´t know how, but I got it working. I changed the ownership of some folders which belongs to node in /usr/local and now it works.

Hi, I'm having this exact problem as well. Could you give more detail as to how you solved it?

Sorry for the late response. I don´t know exactly which action fixed the issue, but I changed the ownership to my user for everything in /usr/local, I delete the node_modules folder in /usr/local/lib and use node version v14.17.0. After these steps, I did this setup: https://shopware-pwa-docs.vuestorefront.io/landing/resources/cheatsheet.html#installation. I hope it helps you. 😃
This is my /usr/local now:

Hi, I'm having this exact problem as well. Could you give more detail as to how you solved it?

Hey, I solved this issue by running yarn and then yarn build --types. After that I was able to access the PWA.
https://shopware-pwa-docs.vuestorefront.io/landing/resources/cheatsheet.html#installation

I don't know how you guys fixed the problem, but after the commit glidejs/glide@5b8bfe5 it is not possible for me to run the project without the error. No matter which node version i use, always the same error appears 🤷

So did you try to reinstall the node_modules? After that try the commands I wrote above.
I use node version 14.17.0 and everything works as it should.


Get coverage data generation back up for Coveralls

Perhaps better to update the default Travis script, but for now.

Bump. (Since the emails come whether or not coveralls has a number to return.)