Slow setup times on windows

Setting up cuda-toolkit on a normal windows github actions runner can take >>15 min. I tried to speed this up by using the network installer and specify only the sub-packages i actually need but that also doesn't make any difference. The same setup on linux takes ~2:30 min also via the network method. Am i doing something wrong? What is the recommended way to install only specific packages on windows?

ubuntu-20.04
cuda: 12.2.0
method: network
sub-packages: '["nvcc", "cudart"]'

28s
windows-latest
cuda: 12.2.0
method: network
sub-packages: '["nvcc", "cudart", "visual_studio_integration"]'

17m 36s
@Jimver

I tried messing around with the script: https://github.com/bullno1/cuda-toolkit/commits/master/.
Newer installer, -n don't seem to make a difference.
The actual silent installation in my machine is very fast.
If you look at the log,:when cached, even the local installer takes very little time to download.
It just spends forever to install.
My guess is that it tries to extract the archive and the CI machine hardware is bad for that.
Either spinning disk or throttled CPU.
The installer is also just an archive appended to an executable as most of them are.
The official doc also mentions that you can extract it manually.
Maybe I'll attempt to do just that:

Extract the few packages that I actually need.
Repack in a different format.
Extract on CI.

It's only 6 minutes today: https://github.com/bullno1/hey/actions/runs/7282548943/job/19845086235#step:4:1
I have a feeling the issue is entirely with Github

Was this ever looked into?

It is visual_studio_integration component, that takes 20 minuts to intall every time.

This is also what we found. Removing it speeds things up significantly but breaks some tooling. Is the same thing experienced on a Windows desktop? (Don't have one so cannot try)
Maybe it's possible to just unzip the installer files instead if the bug is in the installer itself?

It is visual_studio_integration component, that takes 20 minutes to install every time, other ones seems are pretty fast.
v0.2.14

Bummer, I think I need that or msbuild won't find the toolchain.

That's so slow! it takes me ~25 minutes only for setup nvidia step in my builds.
Is there any workaround?
Looks like the installer itself is very heavy, I think that it tried to install the driver although I don't need it to compile with cuda, and also it does many checks before install it.

I had this problem with cuda setup taking forever, like 30 minutes. So I made a simple script setup_cuda.ps1,
and now it finishes in just 2 minutes!
Enjoy!  🚀🔧

is it precompiling some stuff when installing?
when building my project locally, it builds a bunch of nvidia stuff before actually getting building my code, but on github it just skipped straight to my code (after installing for 25 minutes)
could that explain why its so slow?

I had this problem with cuda setup taking forever, like 30 minutes. So I made a simple script setup_cuda.ps1, and now it finishes in just 2 minutes! ✨

Do you mind if we copy your script to our project?

I had this problem with cuda setup taking forever, like 30 minutes. So I made a simple script setup_cuda.ps1, and now it finishes in just 2 minutes! ✨

Do you mind if we copy your script to our project?

You can. Consider it as MIT license


WW-4910 Align OptGroup with Select

allow set freemarker sequence or hash as list
if list is a List, use 'top' as listKey and listValue

Implements WW-4910

@quaff , thanks a lot. I also discovered a few issues during reviewing which I fixed in three pushes into your branch :)
@apache/struts-committers , LGTM , However, I also pushed some changes, so, Once reviewed, I think you can squash and merge it.

2.5.16 is out so we can start working on 2.6 :)

👍


Key-Value Logging instead of LogEvent

General description and motivation: https://github.com/opentracing/opentracing.github.io/issues/96
(Ongoing) discussion in the java repository: https://github.com/opentracing/opentracing-java/pull/47
I'd propose the following signature changes in C# for key value logging:
Remove: (noone is using the library yet)
// ISpan interface
ISpan LogEvent(string eventName, object payload = null);
ISpan LogEvent(DateTimeOffset timestamp, string eventName, object payload = null);

Add:

// custom type because using KeyValuePair<string, object> or Tuple<string, object> is annoying.
public struct LogValue
{
  public string Key { get; }
  public object Value { get; }
  public LogValue(string key, object value) { ... } // constructor
}

// ISpan interface
ISpan Log(params LogValue[] fields);
ISpan Log(DateTimeOffset timestamp, params LogValue[] fields);

Background:
I created a small performance test and compared params object[], params LogValue[], IList<KeyValuePair<string, object>>, IDictionary<string, object>. Results may vary, so this should just be an indication about the difference between the different methods. More details about this can be found in the mentioned Java issue.
Iterations: 10,000,000
Log(object[]): 633ms
Log(LogValue[]): 839ms
Log(KVP List): 1456ms
Log(Dictionary): 3956ms

The Java implementation uses an object-array right now, however I don't like using this in C# for the following reasons:

Users can pass non-string keys
Users can pass an uneven number of arguments (they might miss a key/value)
Tracers can't easily loop through all fields (they have to check every second entry to get the keys)

Using a custom type solves these issues and has only marginally worse performance. It also keeps the door open to use inheritance in the future (e.g. for lazy evaluated values, ...)
What we don't have with using an array instead of a dictionary are unique keys, but given the performance impact I think this is an acceptable compromise.

@cwe1ss Have you looked at BenchmarkDotNet . Perfect for doing these kind of benchmarks.
I tried and get the same trends as you show here (custom type are acctually faster than object array if you run release mode instead of debug as you edited in the Java issue). Only one comment, in the Log(KVP List) it is the list that is the slow part. Using KeyValuePair<string, object> is almost as fast as the LogValue custom type.
I think what you suggest is a good way to go, much better than a generic object array, and much faster than a dictionary.

The Java PR opentracing/opentracing-java#47 now also uses a custom type. I will create a C# PR with an equivalent solution.
One thing I'm not sure about is whether C# can also do something like Span log(LogField<?>... fields);. I think in C#, generics always have to be defined, meaning a list can not contain elements with different generic types.
Most probably this means, we'll have to use object as the type for the value.

closed because the actual PR #13 contains the latest information.


ship test fails with NullPointerException and no other details

I cloned https://github.com/aergoio/athena-370/ and got this error:
$ ship install aergoio/athena-343
Successful to install aergoio/athena-343.
Install path: /home/adam/.aergo_modules/aergoio/athena-343

$ ship test
 o src/test/lua/test-util.lua
nested exception is java.lang.NullPointerException
Unexpected exception!! Report the bug to<EMAIL_ADDRESS>
I reported the bug to the email address, but I thought it would be worth reporting here too.  I think ship should show the details of the exception (e.g. stacktrace) so that we can debug it more easily.

Fixed in https://github.com/aergoio/ship/pull/6


Fix: handle empty Fe config corner case

I change how the FE configuration is merged by defining a default configuration overwrited by the custom configuration.
I wrote 3 tests with the version defined by the user, without the version defined by the user and with the fe property without the version inside.

Closes #9

the test cases here can be a nice start point for #3


Microsoft.VisualStudioCode_v1.57.0.b4c1bd0a9b

Microsoft.VisualStudioCode_v1.57.0.b4c1bd0a9b
Microsoft Reviewers: Open in CodeFlow

@lszomoru we need to do some work in the manifest to support a "display" package version, and have one match the Add/Remove Programs entry. The fourth part of the version causes winget upgrade to land in an infinite upgrade loop. Only the first three parts of the version are recorded in Add / Remove Programs, so the user will always see an update available.


Update e2e testing to focus on percy snapshot testing for Web Components

User Story

As a [user role below]:
Carbon for IBM.com tester

I need to:
see automated visual regression tests against knob variations of storybook stories in Web Components

so that I can:
properly test additional states of components in Browserstack/Percy

Additional information

Previous setup has been done for React: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/5474
Some stubs were made with Web Components, but snapshots are not rendering properly for some reason

Acceptance criteria

[ ] Updated harness to have working snapshots of percy tests in Web Components
[ ] Hook up CI pipeline for e2e tests to generate for Web Components

Taking a look at this, and discovering that this may be a limitation on how the DOM is captured in Percy, serialized, and sent to the Percy build. I added a comment to the following existing issue found under @percy/dom within their CLI:
https://github.com/percy/cli/issues/280
The only workaround I found was to set enableJavascript to true, which does seem to render the shadow DOM content. However, it does not seem to capture any interactive states on the page. This includes clicking menus, entering in search forms, etc.
We could feasibly focus on non-interactive snapshots like theming, knob settings, etc. Or we can shelve this entirely until the feature is available from Percy.

@RobertaJHahn , we have decided to icebox this for now until we can get a full fledge solution from Percy for this.

Done.  Closing


generate QRImage with an icon or an small image in the center of QRImage

generate QRImage with an icon or an small image in the center of QRImage
such as wechat user qrimage，in the center of qrimage is user header image

how to fix it, ths.

It is currently not supported. I can add it as a feature request.


make vector_graphics_compiler compile on the web again

Fixes compilation error when building the vector graphics example app targeting chrome.

I'm going to push up a prototype of web compilation eventually - I'll add web compilation testing then


Canvas PixelFormat uses rgba4 instead of rgba8

Creating a canvas uses rgb4 by default instead of rgb8 as specified by the wiki. If you try to force it to create a Canvas using rgba8, it returns the following error:
The rgba8 canvas format is not supported by your graphics drivers.

Weirdly enough, srgba8, the gamma-correct version of rgba8, seems to be supported. Although this is not supported by all graphics cards so it's not a workaround that will work for everything.
This is mentioned by #55.
Workaround
This workaround seems to work for me for now. Weirdly enough, srgba8, which is gamma corrected rgba8, seems to be supported by love.js on most devices, but rgba8 isn't. Even though I didn't see any noticeable changes, but please note that srgba8 is supposed to change the colors rendered on screen.
local old_newCanvas = love.graphics.newCanvas
function love.graphics.newCanvas(width, height, settings)
    settings = settings or {}

    if not settings.format then
        -- Fallback chain for supported Canvas formats
        local supportedCanvasFormats = love.graphics.getCanvasFormats()
        local fallbackChain = {
            -- It's possible to include other formats if necessary, as long as they have 4 components:
            -- https://love2d.org/wiki/PixelFormat
            -- I don't know much about the specifics of these formats, please adapt to what works best for you.
            -- Note that this does not take into account if `t.gammacorrect = true` is set in `love.conf`, please implement it yourself if needed.
            "rgba8",
            "srgba8",
            "rgb10a2",
            "rgb5a1",
            "rgba4",
            "normal"
        }
        local format = fallbackChain[1]
        local i = 1
        while i <= #fallbackChain and not supportedCanvasFormats[format] do
            i = i + 1
            format = fallbackChain[i]
        end
        if i == #fallbackChain + 1 then
            error("No valid canvas format is supported by the system")
        end

        settings.format = format
    end

    return old_newCanvas(width, height, settings)
end

Examples

This page creates a Canvas with a normal format, then reads and displays its format : https://yolwoocle.com/love2dtest/test1/index.html

Source code:
function love.conf(t)
    t.window.width = 1200
    t.window.height = 800
end

local image = love.graphics.newImage("parrot.jpg")
local canvas = love.graphics.newCanvas(600, 600, {
    format = "normal",
})
local a = 0.0
function love.update(dt)
    a = a + dt
end

function love.draw()
    love.graphics.setCanvas(canvas)
    love.graphics.clear(0, 0, 0, 1)
    love.graphics.draw(image, math.cos(a) * 30, math.sin(a) * 30)
    love.graphics.setCanvas()

    love.graphics.clear(0, 0, 0, 1)
    love.graphics.draw(canvas, 0, 0)

    love.graphics.print(tostring(canvas:getFormat()), 40, 40)
end

This page creates a Canvas with a normal format, and a second Canvas using rbga8, which causes the error mentioned above: https://yolwoocle.com/love2dtest/test2/index.html

Source code:
function love.conf(t)
    t.window.width = 1200
    t.window.height = 800
end

local image = love.graphics.newImage("parrot.jpg")
local canvas = love.graphics.newCanvas(600, 600, {
    format = "normal",
})
local canvas2 = love.graphics.newCanvas(600, 600, {
    format = "srgba8",
})
local a = 0.0
function love.update(dt)
    a = a + dt
end

function love.draw()
    love.graphics.setCanvas(canvas)
    love.graphics.clear(0, 0, 0, 1)
    love.graphics.draw(image, math.cos(a) * 30, math.sin(a) * 30)
    love.graphics.setCanvas()

    love.graphics.setCanvas(canvas2)
    love.graphics.clear(0, 0, 0, 1)
    love.graphics.draw(image, math.cos(a) * 30, math.sin(a) * 30)
    love.graphics.setCanvas()

    love.graphics.clear(0, 0, 0, 1)
    love.graphics.draw(canvas, 0, 0)
    love.graphics.draw(canvas2, 600, 0)

    love.graphics.print(tostring(canvas:getFormat()), 40, 40)
    love.graphics.print(tostring(canvas2:getFormat()), 640, 40)
end

It's possible to see what formats are supported using this snippet of code in love.draw:
local y = 0
local canvasformats = love.graphics.getCanvasFormats()
for formatname, formatsupported in pairs(canvasformats) do
    local str = string.format("Supports format '%s': %s", formatname, tostring(formatsupported))
    love.graphics.print(str, 10, y)
    y = y + 20
end

The image I'm using:

So that's why my background was looking weird... it's just a solid color so I had no idea what was happening

Here it says no support for rgba8 for canvases, but there is for images
https://davidobot.net/lovejs/features_c/

It seems the default canvas is set to rgba4 too. Colors aren't showing up the same in the love.js port, they're slightly muted.


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL<EMAIL_ADDRESS>JustList Name: mehrab noorvzi
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


Remove references to now empty print stylesheets from applications' print files

In https://github.com/alphagov/govuk_publishing_components/pull/1561, display: none rules were removed from several component print stylesheets, and the govuk-!-display-none-print class was used instead.
As a consequence of this, some of the component print stylesheets which previously used to specify that the component should be hidden in print view, are now empty files (Example).
These empty files could not be removed immediately due to being referenced in application print stylesheets (Example)
The purpose of this task is to hunt down and remove imports of these now empty print stylesheets. So that we can eventually delete the empty stylesheets altogether.

All merged


ufed cannot be used anymore

gentoo 2023 cannot use ufed anymore.
running ufed will get

Couldn't determine EPREFIX and PORTDIR from Portage
or
ERROR: insufficient parameters!

Thanks for letting me know @dreamyphone . I will update this section of the guide ASAP :)


Logo Proposal RoMote

Hello, I want to contribute to this awesome project, and I have a new logo design for you, if you allowed I will send to you :)

Sure thing, please post a link or upload the new icon and I'll take a look. Thank you!

Thankyou for the response.
I'll do it as soon as possible

What do you think?

@amirdesaingrafis #1 Looks best, in my opinion. Any way you can also include a notification icon as well? Thank you!

https://drive.google.com/open?id=1UKj0r9f31_3V1M9p7rRFo3Zlphsg0jA4

I already send the file icon, png, svg

is my logo accepted ...? :)


Documentation is somewhat lacking for examples

I almost bailed on trollop due to perceived lack of features I needed, but eventually dug through the code comments to figure out what i wanted.  Much of this was b/c i found very few examples or how-to guides, other than the original documented example.
I'm willing to add accessible examples, and was thinking of putting together a wiki on the github, as opposed to the currently visibile documentation that lives here: http://manageiq.github.io/trollop
OTOH, there is some documentation in the code that is accessible through ri/Rdoc, and duplication via wiki may violate DRY or otherwise get stale.  Thoughts?

 I say write it out!

thanks for the encouragement!

@mckern @kbrock @Fryguy first cut of a github documentation via examples wiki at: https://github.com/nanobowers/trollop/wiki

@nanobowers hey, thanks for writing this out... it helps do a quick catchup before getting into Trollop for the first time... much better than Thor so far... simple.
More examples for https://github.com/ManageIQ/trollop/blob/master/lib/trollop.rb#L179-L204 would be useful.

@ddarbyson Added two additional examples to cover your request.

https://github.com/nanobowers/trollop/wiki/When-options-are-not-found
https://github.com/nanobowers/trollop/wiki/Git-style-optioning
If you notice other missing pieces, etc. please let me know.

@nanobowers Are you able to create this in the trollop wiki directly?

@nanobowers I love this documentation, and am going to put this directly into this repo's wiki  (with proper attribution of course)

...and done: https://github.com/ManageIQ/trollop/wiki created with all of the history from @nanobowers' repo
@nanobowers Thank you so much for documenting this!!

@Fryguy no problem, thanks for the inclusion.  It would be nice to have a link from the trollop README.md, as I don't think most people realize the wiki feature exists.
feel free to close this issue.

@nanobowers thanks for the contribution

@Fryguy no problem, thanks for the inclusion. It would be nice to have a link from the trollop README.md, as I don't think most people realize the wiki feature exists.
feel free to close this issue.

@nanobowers That's a great idea...can you make a PR?

Closed in #90


Update copyright year and fixed POP_OS spelling mistake

Self-explanatory.
POP_OS misspeling was in the "usage" function.

The "spelling mistake" is there because it is the "value" given when using distribution related configuration options.
Thanks for the PR.

But in distros with small logos it says "POP_OS" instead of "popos"


Why is Pye related to Oldenburg instead of Osnabrück?

Last year I noticed a wrong connection of geo-things in #244 and was pointed to Pelias and from there to their data provider. However, this time their data provider seems to be fine, but still maps.openrouteservice.org seems to be wrong.
It's about a place called "Pye", which is part of Osnabrück, Germany. Correctly identified by a search on spelunker.whosonfirst.org: https://spelunker.whosonfirst.org/id/1393620319/
Everything there points to Osnabrück, nothing hinting at Oldenburg, as far as I can see.
However, searching for Pye on maps.openrouteservice.org yields (next to places in other parts of the world) a Pye, allegedly coming from "source: whosonfirst" (according to the mouseover), that is said to be related to Oldenburg in the subtitle, although the geo-coordinates are correct anyway. It seems only this subtitle is wrong. I would really like to understand what's going wrong there, but I can't. I even don't know where to report it this time, so I'm starting here again.

@SebAlbert thank you - we will look into this.
@TheGreatRefrigerator do you have time to check what is going on here?

the node relating to Oldenburg was deprecated on whosonfirst at 20.05.2019.
https://spelunker.whosonfirst.org/id/1210038279/
maybe our database is not up to date?
maps.openrouteservice still gets the one related to Oldenburg.
Maybe @nilsnolde can take a look? 👀

As far as I can see, nothing ever refers to Oldenburg in WOF, neither the deprecated<PHONE_NUMBER> nor the superseding<PHONE_NUMBER>. Where do you see Oldenburg in<PHONE_NUMBER> @TheGreatRefrigerator?
Although that would've made sense, since our data was last updated around mid April before tonight. But now I just finished a global import on the new ES 5 setup and I still get the same result:
https://api.openrouteservice.org/geocode/search?text=Pye
In the 3rd entry, there's again a county referring to Oldenburg with an ID of 102063901, which in turn references Osnabrück correctly, but somehow Pelias gets the wrong name. Maybe @missinglink can shed some light on this.

referenced in pelias repo.

Hmm but the ID of the superseeded match with the ID of the geocoding result which referst to oldenburg.
So in the response of https://api.openrouteservice.org/geocode/search?text=Pye you should also have the WOF ID of<PHONE_NUMBER>

I am not sure where the county information comes from then

Oh right, I didn't see that the gid references the deprecated ID. But ALL IDs, regardless where they show up, reference WOF and all those WOF entries correctly identify Osnabrück. So, my guess is that Pelias is getting a little confused. All these entries come from geonames, shouldn't have anything to do with it though...

I think this issue is related to WOF 102063901:
https://spelunker.whosonfirst.org/id/102063901/
There is some information regarding Oldenburg which doesn't belong there, possibly related to a wrong Statoids reference.

Ah nice thx @pathmapper! Weird, thought I searched for Oldernburg references on all those spelunker ID pages.. Then it's a data issue, that's good! Can you also update it? I have no idea how to about updating WOF records.

Can you also update it?

@nilsnolde yep, working on it in https://github.com/whosonfirst-data/whosonfirst-data-admin-de/pull/13

I consider this closed then

This is fixed in WOF: https://github.com/whosonfirst-data/whosonfirst-data-admin-de/pull/17

Thanks for all your investigations!
Is this waiting for a next bulk data load? It's still displaying wrong in some places:


Capstone Project- Module 1

Capstone Project- Module 1
In this project, I created a website for the people of this world. The purpose was to share the salvation of Jesus Christ, the One and Only Messiah.
The website was created using HTML, CSS, and JavaScript to meet the requirements defined within the scope of the Microverse Capstone project. For this purpose, I follow these steps:

Create a repository and set up tools.
Chose the topic of the website.
Download required asset files.
Create Homepage and About Page for mobile.
Deploy Project.
Implement mobile menu using JavaScript.
Add media query to make the website responsive for desktop.
Use JavaScript objects to add speakers' data dynamically.
DOM manipulation using JavaScript to load speakers' data on HomePage.
Create a professional README file and PR description.

Deployed page under branch Capstone-Mod-1 to see if deployment error would be resolved. After deploying the branch, my pull request got closed. I reopened my pull request.

PR under second opinion review.
Please don't push any more commits until I will write here my findings.

@nicupop729, thank you for your review and comments! 🙏
https://github.com/annaeliana7/Capstone-Jesus-Movement/pull/1#pullrequestreview-1194881807
I have made two changes to my project, as you have suggested.

I have added a link to the mobile version to direct people to the Home page
I have changed the .program-btn on the desktop version to match the design.

Thank you for taking the time to review my project and for clarifying your request.


[lightbox-media-viewer]: Auto-open and play media from targeted link

The problem
As a Site Author, we want to be able to compose a link as part of an email marketing campaign that will take a user to a page like this one and include a URL fragment or query string that indicates to the target page to automatically open a lightbox media viewer that is in the page and begin media playback.
The specific use case here is for "nurture campaigns". They would prefer to send them to this page, in context, and have a specific video play automatically (already embedded in the page) rather than sending users off site to the MediaCenter page.
The solution
Enhance the Lightbox media viewer to look for a URL fragment with the pattern lightbox-video-[video-id]. If the [video-id] found corresponds to the video-id attribute of the <dds-lightbox-media-viewer> component, than automaticaly open the lightbox and auto-play the media when the lightbox is ready.
Application/website
https://ibm.com
Business priority
Medium Priority = upcoming release but is not pressing
What time frame would this ideally be needed by (if applicable)
Ideally early to mid January 2024
Examples
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Adding feedback from @oliviaflory on accessibilty / feasibility:
Here's is the feedback I got from the accessibility team based on what you've shared, I asked some pointed questions after sharing the context of the use case:

Is it OK to auto play a video in the lightbox media player (essentially a giant modal) IF there is a pause or stop mechanism?

2.2.2 Pause, Stop, Hide allows the autoplay as long as there's an accessible pause mechanism.

Does the CTA from the marketing email need to be more informative; i.e. "Watch the video" so the user has a better understanding of what will happen when they click it?

Informative link text would fall under 2.4.4 Link Purpose.

Would this experience be considered acceptable from a page to page navigation vs marketing email to page? AEM is considering that as an option, though this sounds bad to me.

While we generally try to avoid autoplay videos, if the user knows that they're going to the link in order to watch a video, I think it's sensible to autoplay in that scenario. They problem is more the videos where you're browsing other content and random videos start playing and interfering with your core task.

Overall it sounds like a yes as long as the accessibility requirements of 2.2.2 Pause, Stop, Hide are met for the video/lightbox and the link text is informative within the marketing email per 2.4.4 Link Purpose requirements.


Proxy hangs while reading the HTTP request body

I am using the proxy to intercept my S3 POST request before sending it to destination.
For this, I need to read the request body.
If I try to read the body, It just hangs and later gives "Unexpected EOF" which happens when the body has been read somewhere upstream. When I look at the proxy, I see that it is reading the request here and my suspicion is, request.body not getting closed.
How can I read the request body here?
Thanks

Can you more specifically explain the setup you're using?


Combobox not showing properly in RTL direction

Describe the bug
I have ContentControl and loaded the ComboBox as Content. The first time loaded the large number of items contain Items to ComboBox.  After opening the dropdown it's properly showing. After, I have set the ContentControl as Null and Again set the ComboBox with small items containing ItemsSource to ComboBox. now, opening the dropdown its shows previously loaded Items popup height with newly loaded items. The popup Height is not loaded based on items in the ItemsSource of ComboBox. The reported problem only occurs in the RightToLeft direction.  In the Same scenario with the LeftoRight direction the reported problem does not occur.
Steps to reproduce the bug
Step 1: Run the sample
Step 2: Click the FirstComboBox button to display the Combobox in ContentControl
Step 3: Open the DropDown. The popup height properly loaded based on Items in ComboBox
Step 4: Click the Content Button
Step 5: Click the SecondComboBox button to display the Combobox in ContentControl. Open the DropDown.
Observed Behavior:
The popup height is not properly loaded based on Items in ComboBox in the RTL direction.
The reported problem shows below mentioned screenshot,

Note: The reported problem does not occur while using the LeftToRight flow direction.
I have attached the sample for your reference
Sample Link : RTLIssue.zip
Expected behavior
The popup height should be properly loaded based on Items in ComboBox in the RTL direction.
The Popup will be shown below mentioned screenshot,

Screenshots
No response
NuGet package version
No response
Windows app type

[ ] UWP
[ ] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

The UI you've posted looks like WPF UI (which I verified by looking at the added project.) This issue should be redirected there. https://github.com/dotnet/wpf  @chrisglein could you transfer this issue?

The UI you've posted looks like WPF UI (which I verified by looking at the added project.) This issue should be redirected there. https://github.com/dotnet/wpf @chrisglein Chris Glein FTE could you transfer this issue?

I think you're looking for @fabiant3, not me. Anyway, GitHub issue transfer doesn't work cross organization (e.g. from microsoft to dotnet), so I don't believe you can do a simple move. It'll need to be recreated.

The issue has been created and tracked in WPF repo dotnet/wpf/issues/5946


Request microphone Permission Flutter Web

I need to use microphone in my flutter web application. i tried the bellow code but it only work if i request 'camera' .
import 'package:universal_html/html.dart' as html;

final perm = await html.window.navigator.permissions.query({"name": "camera"});
    if (perm.state == "denied") {
      Scaffold.of(context).showSnackBar(SnackBar(
        content: Text("Oops! Camera access denied!"),
        backgroundColor: Colors.orangeAccent,
      ));
      return;
    }
    final stream = await html.window.navigator.getUserMedia(video: true);

after some research ,i used dart:js plugin to execute java script code to get the permission and record from the mic


chore: bdd-nh-1583952243 to 0.0.1

chore: Promote bdd-nh-1583952243 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Filters - Fold and unfold

When I unfold one filter and I want to fold it after, I cannot do it by clicking on the arrow.
I have to click somewhere else in the screen.

It works now


Add pr script

Codecov Report

Merging #257 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #257   +/-   ##
=======================================
  Coverage   63.36%   63.36%
=======================================
  Files          24       24
  Lines         505      505
=======================================
  Hits          320      320
  Misses        171      171
  Partials       14       14

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 81887af...6f0e670. Read the comment docs.


Microsoft Account scam website

https://www.asistencia.sisteltools.com/www.microsoftonline.com/docs.pdf/pyot0itscfpq3xbul0dodauf.php?client_id=00000002-0000-0ff1-ce00-000000000000&redirect_uri=https%3A%2F%2Foutlook.office.com%2Fowa%2F&resource=00000002-0000-0ff1-ce00-000000000000&response_mode=form_post&response_type=code+id_token&scope=openid&email=&msafed=0&client-request-id=94672646-1d8d-4b9c-9a15-b53cde7683f4&protectedtoken=false&nonce=636383871058172645.2ab44e64-544b-4b65-a646-7d31873d7911&state=Dcs7EoAgDEVR0HE5EWJePi4HBmtLt2-Kc7tbSyl72lLtmeImJiHh3DXYL4Oe15jAYyAFJmGa0jAY-RIOl-U3c833aO832g8#
Got this gem on my Spam folder.

Hi @CyanoTex I'm really not keen on sending myself down rabbit holes.
I'm also never keen to click on malicious links.  Ever.
What's the lowdown, here.
Because I'm basically done following raw leads that, in effect, say: "here's a link Steve, there's something there, but nothing I want to be bothered to take a few seconds to qualify and elaborate for you."
I work at a scale that many people don't appreciate.  You should see me email inbox.

@CyanoTex  you can't just post some malicious links here,anyone can accidentally click on it.
Steve @StevenBlack  if you don't mind please edit his post and wrap it up with back quotes.
Thank you 👍

Hi @CyanoTex I'm really not keen on sending myself down rabbit holes.
I'm also never keen to click on malicious links.  Ever.
What's the lowdown, here?
Because I'm basically done following raw leads that, in effect, say: "here's a link Steve, there's something there, but nothing I want to be bothered to take a few seconds to qualify and elaborate for you."
I work at a scale that many people don't appreciate.  You should see me email inbox.

OneDrive scam saying "you got a secure document", sends you to a login page for a fake as hell Microsoft Office 365 login page which will send the login details to those scammers.

@CyanoTex add two entry in your hosts
<IP_ADDRESS> asistencia.sisteltools.com
<IP_ADDRESS> www.asistencia.sisteltools.com

This should prevent you from any future spam clicking

@CyanoTex add two entry in your hosts
<IP_ADDRESS> asistencia.sisteltools.com
<IP_ADDRESS> www.asistencia.sisteltools.com

This should prevent you from any future spam clicking

Done.


Update 2022.md

A blog on my research findings of PAT.
Contribute to Identity Beyond Borders

We strongly recommend adding the blog to Identity Beyond Borders
publication maintained by WSO2 Identity Server team. Follow the guide to add yourself as a writer.

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


update the examples based on change in the config (#22)

Coverage remained the same at 100.0% when pulling c6f58da800edaf9a9ba47dbddddd374ab695985d on develop into 0f481c92f333cde424791be683e939d9d4244c78 on master.


R emits error when following README directions

Looks like a great script! However, when I follow the usage directions in the readme (after installing many R packages), I get:
 Error in match.names(clabs, names(xi)) :
  names do not match previous names
Calls: rbind -> rbind -> match.names
Execution halted

This is with R 3.1.2 on OS X 10.10.1 and exiftool 9.76. I'm not great with R, so am at a bit of a loss as to how to track down the problem. Any suggestions? Thanks.

Hi Gregory,
it probably means the rbind function is combining data frames where columns
are expected to have the same names but they don't. Any idea when that
happens? I can't seem to reproduce it. Try to have a look at the date
parsing, not sure if that's in the same format in all pictures. Let me know
how it goes (maybe looking at the dataframe column names before and after
the rbind can help)
On Tue, Jan 20, 2015 at 1:32 AM, Gregory Todd Williams <
<EMAIL_ADDRESS>wrote:

Looks like a great script! However, when I follow the usage directions in
the readme (after installing many R packages), I get:
Error in match.names(clabs, names(xi)) :
names do not match previous names
Calls: rbind -> rbind -> match.names
Execution halted
This is with R 3.1.2 on OS X 10.10.1 and exiftool 9.76. I'm not great with
R, so am at a bit of a loss as to how to track down the problem. Any
suggestions? Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/marcoalt/maps/issues/1.

--
Marco Altini
Head of Data Analytics - Bloom Technologies
PhD Candidate - Eindhoven University of Technology
marcoaltini.com http://www.marcoaltini.com/
@marco_alt

As far as I can tell, it doesn't seem to be date related. I'm seeing the error at https://github.com/marcoalt/maps/blob/master/map_exif.R#L107
Trying to print out the picsLocationsReduced at that line, I see weird data that changes column layout about halfway through:
...
2731  47.465694 -121.73260556      16433 5.574739e+00       14        1
2739  33.821900 -115.45326111      16452 7.503462e+00        9       20
2771  35.652694 -111.86131944      16453 4.488264e+01       33        3
     picsOverTime
2             0.2
4             0.4
5             2.0
...

Not sure how that's happening.

I see. Should be fixed now
thanks for the input

Excellent. That did it, thanks!


Internationalization (I18N) and localization (L10N) (Feature Request)

Feature Request
Hi team,
Great work and library. I think with internationalization the use cases and reflex adoption will greatly improve. I have two ways in my mind that we can add this. One is quick and easy which is through the middleware route and using the gettext module or adding i18n to the core jinja extensions. Will probably need help on the latter.
Let me know if this is in the roadmap.
Thanks

Internationalization is important to the team and on the roadmap, but it's not currently a focus for any particular developer. We don't have a particular strategy around this area, but something which can enable translation support and also enable the CMS workflow would be ideal.
I'm imagining something like State, except all users accessing the site share the same values for a given key and the set of values can be swapped out by some identifier (language, for example).

There is a great translation framework currently in development by the Mozilla Foundation, called project fluent. I think it is beautiful, because

It allows for better translations (not every language can map 1:1 to an English original, e.g. in English there is only one plural to express "more than one". However, some languages have additional plural forms to differentiate between "few" and "many").
It removes any language specific logic from your application code.
I find it easier to learn and use than gettext: It uses only simple text files and does not require specialized extraction tools.

Existing implementations of the fluent language can be found here.
I think it would be great to have it implemented as a component so that you can write:
def headline():
    return rx.text(
        rx.translation("my_special_headline"),
        color="blue"
    )

where "my_special_headline" is the ID of the translation string to use. In addition, variables may be passed to the translation system as shown below. Sticking with the example given on the fluent page (showing a warning before closing all open tabs in a browser), one could write:
def warning():
    return rx.text(
        rx.translation("tabs-close-warning", MyState.number_of_open_tabs),
        color="red"
    )

For a language like Polish which has more than one plural form, fluent would then select the appropriate translation depending on the number of open tabs:

number_of_open_tabs = 1: Zostanie zamkniętych 1 kart. Czy chcesz kontynuować?
number_of_open_tabs = 2: Zostaną zamknięte 2 karty. Czy chcesz kontynuować?
number_of_open_tabs > 4: Zostanie zamkniętych 5 kart. Czy chcesz kontynuować?

I tried something with @masenf suggestion if I interpreted it correctly https://github.com/paoloemilioserra/reflex-i18n/tree/master any feedback is much appreciated

@paoloemilioserra thanks for sharing! It seems like you forgot to make the repository public?

@benedikt-bartscher you should be able to see it now

@masenf

I'm imagining something like State, except all users accessing the site share the same values for a given key and the set of values can be swapped out by some identifier (language, for example).

This reminds me of the tiny feature request https://github.com/reflex-dev/reflex/issues/2771
Maybe it could go like this:
class AppState(rx.State):
  @rx.var
  def user_language(self) -> str:
     ...
   ...

@rx.scope(var=AppState.user_language)
class T(AppState):
  ...
  # vars are added at compile time using po files.

# Somewhere else
@rx.page
def index():
  return rx.text(f"{T.hello_user} {AppState.user_name}")

The benefit would be: One state per used language on the server only.
Maybe it is wrong to stack one dream API :rainbow:  on top of the other :cloud:
But when thinking about it the requirements might become more clear:

We don't want all users to have all languages on their individual states.
Language features should be added at compile time.
Only the used language should be send to the user.
Don't compile the frontend for each language (which might also be a possibility when giving it a thought).


Use explicit model ID in config

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


[Bug]: can't open devtools when running via dap

Describe the bug
Flutter DevTools not opening when running via dap
Error shows on cammand :FlutterDevTools
Error executing vim.schedule lua callback: ...start/flutter-tools.nvim/lua/flutter-tools/dev_tools.lua:134: bad argument #1 to 'ipairs'
(table expected, got string)
stack traceback:
        [C]: in function 'ipairs'
        ...start/flutter-tools.nvim/lua/flutter-tools/dev_tools.lua:134: in function 'cb'
        vim.lua:285: in function <vim.lua:285>
Press ENTER or type command to continue

Screenshots
Running :FlutterDevTools after :FlutterRun

System information

OS: Linux arch 5.15.28-1-lts
Flutter version: Flutter 2.10.3 • channel stable • Dart 2.16.1 • DevTools 2.9.2
Is flutter in $PATH: Yes
neovim version: v0.6.1

Additional context

flutter-tools config

require("flutter-tools").setup({
-- ...

  debugger = {
    enabled = true,
    run_via_dap = true,
  },

-- ...
})

I am facing the same issue. Is there anyway to fix this?

This should be already fixed.


⚠ Jenkins Plugins Artifactory has degraded performance

In 337f32a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1198 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7b251d2 after 12 minutes.


ovftool: init at 4.4.1

Description of changes
Recovering ovftool which was removed on #150880 because of an old version of openssl, but now it is using libressl instead, based on #170454 fix for a similar issue.
I was able to run ovftool --lax my-vm.ova my-vm.ovf successfully.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/855

@ofborg eval


Do not require that a form evaluate to non-void if its value is unused

For example, if both branches of an if evaluate to void, the compiler complains that "type void cannot be used, because it is not a first-class type", regardless of whether the evaluation of the if is being used.

The if problem described in the original comment appears to be the only instance where this occurs.


Alive?

Hej,
wanted to know if this package is still alive?
We are currently building an Elixir Flow Based Programming engine, and accidentally, we also named it „Pipette“.
Naming is one of the hardest things in computer science, and we obviously made a mistake.
But before we quickly go for a name change, one question for you:
Would you be up for a name exchange?
Here is what we have built: https://github.com/suitepad-gmbh/pipette
Tell me what you think.
Kind regards,
Lukas Rieder

@Overbryd
This package is dead, and I can rename or delete this repository.
For the time being, I changed the repository name.
But the package published to hex cannot rename or delete because of hex's restriction.
https://hex.pm/docs/faq

Here is what they wrote:

Hi,
Since you have already established contact with the owners of package pipette could you ask them to transfer ownership of the package to your Hex username? They can add you as package owner with mix hex.owner and you'll then remove their ownership. After that's done, please retire all published versions with appropriate message.
We usually step in when there's no way to contact the other party.

@Overbryd Thanks for your confirmation.
I did mix hex.owner add pipette<EMAIL_ADDRESS>

@Overbryd How is it going?

Hi Masashi,
going well. I am finishing up the documentation of the project. Sorry for the slight delay, it took me some time to finish writing the docs and preparing for our release.
You can have a look at the chore/doc branch of our repository: https://github.com/suitepad-gmbh/pipette/tree/chore/doc#special-thanks
The README there honours your involvement with a special thanks note.
We are going to push to hex as soon as the documentation pull request is merged.
After that, pipette is going to be releases as 0.1.0 from suitepad-gmbh/pipette and previous versions will be retired with an appropriate note.
I will update here as soon as everything is finished.

Again, thank you so much for letting us use the name.
We have published version 0.1.0 now.
https://hex.pm/packages/pipette
Let me know if you happen to be in or around Berlin, I owe you more than one tea 🍵


Other web frameworks

Hi there as gin-gonic currently lacks in active development (at least it looks like that to me) we should consider to open this project to a wider audience and provide middle ware for others frameworks too.

Hi!
I agree that Gin is slowed down a bit in development, because it just works and has a pretty good documentation. There are pending pull requests, but they are merging them, so there is active development on the develop branch, see https://github.com/gin-gonic/gin/tree/develop .
Latest change 3 hours ago.
I am fine with your suggestion to open it to net/http middleware handlers, such that more people, that do not want to use Gin, can our middleware projects.

Hi @DaKine23, are you interested in pursuing this further?


Use heredoc when passing CP2K input file to executable to avoid stack size / argument limit

Fixed by 4500e2398e58d2d6e3d27a3d71d2503948279df5


Current layout shown as Monocle (in OSD) both when activating and when deactivating Monocle layout

When I keep pressing Meta+M Monocle layout is alternately activated and deactivated but after each press I see Monocle name in the middle of the screen. Shouldn't that be alternately Monocle and the name of the other layout which is being activated when Monocle is deactivated?

8fec2e326e648f954aa0b39c07dd3e2dbd48adc4 fixed


How to customize date format style?

First of all, I would like to thank you very much for this awesome datepicker plugin.
Ok...
It is possible to customize the date format style on input form as something like this:
http://themebubble.com/demo/hotelluxe/video/
Thanks

Hi @keem1201,
About  the date format style on input.
You can check options pages t-datepicker:
https://t-datepicker.getqwerty.com/options.html#showDateTheme
$('.t-datepicker').tDatepicker({
  // Default data date, if you want you can change it.
  'titleMonths':['January','February','March','April','May','June','July','August','Septemper','October','November','December'],
  'titleMonthsLimitShow':'3',  // Max length of item your data months
  'showDateTheme':'dd-mm' // Custom show date
})

About the style, you have to custom your css.
Please, tell me if there is anything i could help with this problem!


added https://encoders.tasvideos.org/status.html

I removed that deliberately. At first, it wasn't just an indication that everything went fine, but also a hint that the movie is almost ready to publish. Now, when HD is the first encode to do, one will close the encoders page anyway, and return to after days maybe.
If you need it to have an indication, let's invent a way to tell the user that all went fine. If you explicitly want the entire page opener to return, I'll accept it too :P


Fixed #28622 -- Allowed specifying password reset link expiration in seconds and deprecated PASSWORD_RESET_TIMEOUT_DAYS.

Continue ticket 28622.
Documentation added.

@felixxm I added deprecation warnings and documentation.

@hramezani Thanks! Please rebase and change to Django 3.1.

@felixxm Thanks for the comments.
Please let me know if something is missing.

@hramezani Thanks for this patch :+1: I moved deprecation tests to a separate file, added a warning if PASSWORD_RESET_TIMEOUT_DAYS is access, pushed minor edits to docs, and added a note from related PR #11670.

@hramezani @felixxm, I wonder if this commit did not create (or maybe just worsen) a race condition in the testscase. The test contains (after some more refactoring after this change:
https://github.com/django/django/blob/7d8cdad6b704051bb69a47721913701349463ead/tests/auth_tests/test_tokens.py#L53-L56
AFAICS, this would mean that if the processing on the test machine is somewhat slow and something takes more than a second, this test would fail for no reason. It might even be worse and fail if the test token is generated just before a whole or maybe half second and the check is done after, but I did not do the math to check this.
The reason I come to this is that I noticed this particular test fail on a seemingly unrelated PR #12559 (i.e. https://djangoci.com/job/pull-requests-bionic/database=spatialite,label=bionic-pr,python=python3.7/4619/testReport/junit/auth_tests.test_tokens/TokenGeneratorTest/test_timeout/. The PR also has some other failures, but just one time this test).
An obvious fix would be to subtract a few seconds to allow for processing and rounding, but I wonder if it would not be more reliable to actually mock out datetime.now() (or today maybe), to fixate the timestamp and be able to do an exact and reproducible test?

@matthijskooijman Thanks, #12560 should fix this issue. We've already mocked PasswordResetTokenGenerator._now(), but it should start from the same point in time for all generators because they use a common token (tk1).

Ah, turns out I quite misread the test code in that sense, but the fix looks good. Thanks!


Eip618 erc20

https://icky-rub.surge.sh/
EIP-618 Scanning
Buidl token on zksynalpha
DAI on polygon

Closing this for now, will resend.


Complete node v8 module typings.

Node v8 module documentation:
https://nodejs.org/api/v8.html

The error on CI isn't very helpful. Is it caused by my PR?
- Fatal error: exception Unix.Unix_error(1, "unlink", "C:\\cygwin64\\tmp\\ocaml-configurator9c298f\\c-test-5\\test.exe")
- Raised by primitive operation at file "src/configurator.ml", line 41, characters 6-20
- Called from file "array.ml", line 80, characters 31-48
- Called from file "src/array0.ml" (inlined), line 52, characters 29-56
- Called from file "src/configurator.ml", line 36, characters 2-148
- Called from file "array.ml", line 80, characters 31-48
- Called from file "src/array0.ml" (inlined), line 52, characters 29-56
- Called from file "src/configurator.ml", line 36, characters 2-148
- Called from file "pervasives.ml", line 536, characters 30-33
- Called from file "pervasives.ml" (inlined), line 538, characters 20-39
- Called from file "std_exit.ml", line 18, characters 8-20
[ERROR] The compilation of core_kernel failed at "C:\\cygwin64\\home\\appveyor\\.opam\\ocaml-variants.4.05.0+mingw64c\\bin\\jbuilder.exe build -p core_kernel -j 2".

I sanity checked the definitions manually locally and they seem to work.

All these types are already supported https://github.com/facebook/flow/blob/main/lib/node.js#L2893


bpf: Fix IS_BPF_HOST macro

First commit fixes a bug in #14232 (introduced during the last rebase). Second commit adds a test to ensure we don't regress again.
Fixes: #14232

test-me-please

test-me-please

All required builds are passing and I think we can ignore the BPF checkpatch warning.


Add Documentation for Supported Bazel Versions

This PR:

Adds a document capturing how to use the grpc/grpc repo as a Bazel dependency and which versions of Bazel are supported.
Creates a single source of truth for supported Bazel versions (supported_bazel_versions.txt) and draws from this source for both the document and the distribtests.
Adds a script to update the supported versions based on the set of released Bazel versions.

Looks like you're also including changes from https://github.com/grpc/grpc/pull/29175 but that change seems quite orthogonal. Can we keep both PRs separate?

Yes. The intent was just to merge this PR after #29175.

Rebased on master instead of the C++ distribtest PR to make the review cleaner.
@jtattermusch PTALA.

@gnossen  can you please update the "Bazel" section here as well:
https://github.com/grpc/grpc/blob/dec86eefe4ffc108ad051a71cb5b896592de7335/BUILDING.md?plain=1#L100
It currently mentions bazel 1.0 and that's way out of date. It should point to https://github.com/grpc/grpc/blob/master/doc/bazel_support.md instead.

@veblush  please check this policy with respect to the shared C++ foundation design to make sure they match.


PS-220 fixed bug in deletion of monitorsub and aggregation, fixed inj…

…ection issue

@Frank-G travis checks failed, maybe restart after new version of aggregator is build?

Yes, build restart required.


Support tag(key=value) conditions in the UI

Sub mission from #5270, the UI should provide an input box to add multiple key=value expressions to filter the traces. Ping me if you have any issue.

UI should show a tip on the tags input

Only tags defined in the core/default/searchableTagKeys are searchable. Check more details on the Configuration Vocabulary page.

Configuration Vocabulary page should link to https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/configuration-vocabulary.md


Avoid false positives in tests with overflow

Description
Currently generated unit tests for OverflowExamples from utbot-samples are false positives.
The only sign of something wrong is a comment about failing test. That actually passes...
We should add failing assertion and show that actual result is not reliable.
An approach of this fix is to suggest something that is a SymbolicFailure, but looks like a SymbolicSuccess
Fixes # (1272)
Type of Change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Regression and integration tests
Please, provide regression or integration tests for your code changes. If you don't do that, the reviewer can and highly likely will reject the PR. It is the contributor's responsibility to provide such tests or to reason why they are missing.
Automated Testing
Specify tests that help to verify the change automatically.
Example: org.utbot.examples.algorithms.BinarySearchTest
Manual Scenario
Please, provide several scenarios that you went through to verify that the change worked as expected.

Replaced a week later with a better fix.


PayPal smart button onSubmit() event

Describe the bug
Dear Adyen Team,
We have seen in one of the most recently releases 3.22.1 tha onSubmit event is not triggered anymore from the web component when the customer click the PayPal smart pay button.
How can we do the /makePayment call if the component do not send the onSubmit anymore? Because I have seen that in the documentation is explained the next way: When the shopper selects the PayPal Smart Payment button, Drop-in calls the onSubmit event, which contains a state object.

Hi @emidev98,
Thanks for reaching. The Paypal component should be calling the onSubmit event as any other component. The only difference in this case is that it's not possible to programmatically trigger the submit behavior from a custom "Pay" button (component.submit()) due to how this specific payment method works.
The change mentioned in 3.22.1 just adds a warning to help debug this use case, but shouldn't block the onSubmit event.
If you're experiencing any issues related to this, could you provide us more information on how those events are defined in your application and whether you're using a custom button?

Hello @marcperez, I have seen that the event onSubmit of the dropin is not triggered when the customer click the PayPal smart button but instead of that the onSubmit from the paypal component is triggered.
This is how I could make it work (moving the onSubmit from dropin to the paypal component):
let config = {
    paymentMethodsConfiguration: {
      paypal: {
        ...
        onSubmit : (state, component) =>{
            // Do POST:/payment
        }
        ...
      }
    }
}
const checkout = new Checkout(config);

This is how we had it implemented before (but the event is not working anymore on the onSubmit event from dropin when the customer click PayPal):
let config = {
    showPayButton: true,
    paymentMethodsConfiguration: {
      paypal: {
        ...
      }
    }
}
const checkout = new Checkout(config);
checkout.create('dropin', {
    onSubmit: (state, component) => {
        // DO POST:/payment
    }
};

We have not overwrite the onSubmit from paypal in our previous implementation, but now seems like we need to overwrite it.
I guess that's how should work from now, right? Because I got a little bit confused with the documentation.
Thank you very much for the info!

Hi @emidev98 ,
Thanks for reaching out to us, and sorry for the delay. The onSubmit is defined as parameter of the new Checkout object, and it should work as you expected to work. I tested on the current version and it works.  Might be that there was a bug on 3.22.1, but now it seems to be fixed. I am going to close this issue, but feel free to reach out if you need any help!


Optimize Performance by Adding Lazy Loading to Image Tags

Is your feature request related to a problem? Please describe.
As part of optimizing the project's performance, we need to implement lazy loading for the tags used throughout the project. Lazy loading is a technique that defers the loading of images until they are about to be displayed on the user's screen, reducing the initial load time and improving the overall user experience.
Describe the solution you'd like
To accomplish this, we need to modify the existing tags and add the loading attribute with the value of "lazy". This attribute instructs the browser to delay the loading of the image until it becomes visible within the viewport.

Please assign me this issue so that I can work on this issue under GSSOC'23.


[BACKLOG-23394] Adding MDI support to the 'Add a checksum' step

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f 'pom.xml' -pl 'plugins/core/impl' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/core/impl' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/core/impl/src/main/java/org/pentaho/di/trans/steps/checksum/CheckSumMeta.java
  plugins/core/impl/src/main/resources/org/pentaho/di/trans/steps/checksum/messages/messages_en_US.properties
  plugins/core/impl/src/test/java/org/pentaho/di/trans/steps/checksum/CheckSumMetaInjectionTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.2% :small_red_triangle_down:


Icon image is not getting loaded for Grocery&Food

Describe the feature
@arghadipmanna101 I found an issue that icon image is not getting loaded for Grocery&Food.
Add ScreenShots

I want to work on this issue.
So please add labels on this issue and assign this issue to me.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I found an issue that icon image is not getting loaded for Grocery &Food. please assign it to me..

@arghadipmanna101 I resolved this issue but please add label on this issue so that I can create a PR for thi.

@arghadipmanna101 I resolved this issue but please add label on this issue so that I can create a PR for this.

After send me your PR i will check the pr and then i will add levels.


Multithreading issues

I'm not sure how important multi-threaded use is for this project, but I thought, I'd write down the issues I've run into while attempting to integrate yakui with my game. This post doesn't have much of actionable feedback, but hopefully it can serve as a data point for future API design decisions. Also, if I overlooked an approach that would be much easier to implement, I'm most interested in learning more about it.
My game runs on 2 threads (actually more, but these 2 are relevant): one is for the window event loop and rendering  and the other is for gameplay. I've considered multiple options, but so far, each of them has some significant drawbacks.

Arc<Mutex>. This didn't work at all, because Yakui isn't Send or Sync.  If it did, it would've solved all my problems, (until the first deadlock)

Send all the relevant info (list of items to display, the current UI state, etc) from the game thread to the main thread. Send gameplay events, such as move item from container A to B, item used, etc back to the game thread. This approach seems kind of unergonomic and also has a risk of weird synchronization bugs. (For example: an item in container got used by some other system, but the UI has outdated data and can generate another use event for an already used item)

Have the Yakui entry point in the game thread and send input events from the render thread to the game thread. Also send generated polygons and textures from the game thread to render thread every frame.

Option 3 is the approach I finally decided to pursue. However, I feel that with some API changes, the integration time could be brought down considerably.
I've solved the rendering part, after less than a day of mucking about with the code. I took the yakui-wgpu crate as a template and implemented a struct without any reference to the Yakui or RenderDom objects, containing only the geometry and texture updates, so it could be sent between the threads. It's probably a bit slower, because it does copy a bit more data and it's a bit more complex than just passing the PaintDom pointer to the renderer. I could do a pull request with the changes, if you're interested.
The second issue is getting the input to the game thread. I had to add the dependency to winit and yakui-winit to the game thread, something I've managed to avoid so far. What makes things complicated is that in addition to sending the input events to the game thread, I also need to check if the event gets sunk by the UI or not. Listening to another channel for responses seems to be the most obvious way, but it has the potential to block the render thread unnecessarily.
In my use case, I can get away with letting the events to always bubble, but this may be important for some other use cases.
In conclusion, if multi threaded use is something you're interested in supporting out of the box, my main ideas are:

A data structure that has all the info for painting the UI that's Send and Sync,maybe Clone too.
Instead of the handle_window_event function, consider having a function that converts from winit events to yakui events that could be sent to another thread and handled there.
I'm not sure how to address the problem with bubbling/sinking feedback. Maybe having the part of yakui that receives events somehow accessible to other threads?

Thanks for reading this long post and also thank you for writing this library, it's the first UI library I've actually enjoyed using.

Thank you for all of the wonderful feedback and ideas! I'll be mulling this over and see if I come up with anything helpful.


DPDK: Use generic CPU instructions and skip AVX512

This commits removes AVX512 support and enables generic CPU options for
the DPDK build. The IPDK CI builds on Azure VMs which support AVX512.
However, since Virtualbox doesn't support this (see [1] and [2]), we
can skip this for p4-dpdk-target when building DPDK as a part of the
p4-dpdk-target repo.
Fixes: https://github.com/ipdk-io/ipdk/issues/118
[1] https://forums.virtualbox.org/viewtopic.php?t=86047
[2] https://forums.virtualbox.org/viewtopic.php?f=7&t=87131
Signed-off-by: Kyle Mestery<EMAIL_ADDRESS>

@jamescchoi See the breadcrumbs above, would be curious on your thoughts of this PR.

@mestery Can you include @vsureshkumarp for review for this DPDK repo build change? He would be more knowledgeable on this.

Thanks for the pointer @jamescchoi! @vsureshkumarp can you review this one please?


Inject in a config

Hello,
I'm trying to inject the deviceDetector in a config section like so:
angular.module('core', ['devideDetector']).config(
	    function (devideDetector) {
		    console.log(devideDetector);
	    }
);

But it throws me an error, can you help me?
Thanks

Hi,
Sure.... Can you send the error message? Maybe create a plunker or fiddle?
Yours,
Shahar.

Here is: http://embed.plnkr.co/Bon5Ueq33cLGyj92aAUm/preview
Problem, I read, you can't inject factory or service into config, but only provider, so I tried also this, but I think I'm missing something
angular.module('core', ['devideDetectorProvider']).config(
    function (devideDetectorProvider) {
        console.log(devideDetectorProvider);
    }
);

So basically you should use this code instead:
app.config(
  ["deviceDetectorProvider",function (deviceDetector) {
      console.log(deviceDetector);
  }]
);

Forked your plunker - got it to work - please see:
http://plnkr.co/edit/HiFzlxeAyyiihVMzcj1S?p=preview
Hope that helps,
Shahar.

I am trying to do the same thing, that I need to perform logic to set a mobile flag base on user browser, in the config block.
I am confused how your plunker works as provider is not defined in the module, coping
app.config(
  ["deviceDetectorProvider",function (deviceDetector) {
      console.log(deviceDetector);
  }]
);

doesn't inject the deviceDetector instance correctly, did I miss anything?

the code injects the provider correctly.
if you need a service instance then config is not the place to do it.
if you can explain your scenario i may be able to suggest a solution.


Difference performance when setting max_batch_size

I found that I can use max_batch_size to specify the maximum batch size during build phase, and use max_sequence_num to specify the maximum number of concurrency during inference. Is this understanding correct?
When I did this, I noticed a difference in performance. Using batch 16 for inference, when using different max_batch_size when building model, the performance is also different.
Here is the token throughput for different engines on different max_num_sequences.

How should I find the parameters with the best performance? I mean max_batch_size and max_sequence_num.
Also, the performance get worse when the batch is larger than 16.

We will choose a specific batch size as opt setting by giving batch size. TensorRT will select best kernel by this specific batch size.

Close this bug because it is inactivated. Please reopen it if needed.


Fix id group

Codecov Report

Merging #20 into master will increase coverage by 3.37%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   91.01%   94.38%   +3.37%
==========================================
  Files           4        4
  Lines          89       89
==========================================
+ Hits           81       84       +3
+ Misses          6        4       -2
+ Partials        2        1       -1

Impacted Files
Coverage Δ

isbn/identifier_group.go
100% <ø> (ø)
:arrow_up:

isbn/isbn.go
100% <100%> (ø)
:arrow_up:

cli.go
94.59% <0%> (+8.1%)
:arrow_up:

Continue to review full report at Codecov.

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


vverbose don't show author in output

analogous to #973, remove author as not really helpful when inspecting rules

I am happy to work on this. is this still open?

that would be great! please make an attempt an open a PR for review and merge

Thanks, consider me a beginner. The usage is not really clear to me. I installed the developer version in my venv and I am able to import capa inside my venv. Can you give me an example code with an input elf file that I can use for this PR? Thanks.

you should be able to test with any PE or ELF file by running capa -vv <sample>

When I tried to run capa -vv /usr/bin/pwd
I got the following error
loading :   2%|█▏                                             | 16/665 [00:00<00:00, 2455.50 rules/s]
ERROR:capa:invalid rule: /home/pradeep/repos/capa/capa/../rules/communication/socket/tcp/send/obtain-transmitpackets-callback-function-via-wsaioctl.yml: invalid rule: unexpected statement: number/x64

I found  similar error when I tried it  on some elf files in capa/tests/data

:( please see related issue: https://github.com/mandiant/capa-rules/issues/551
to quickly fix you can checkout the respective rules tag

Thanks, it works now. To fix the issue here, is it about removing line 202 from capa/render/vverbose.py?

yeah, kinda, you can take https://github.com/mandiant/capa/pull/973/files as a good example

I have a question about the PR process. After committing the changes locally, when I run git push origin <branch-name>, it triggers linting and then tests which ends like this
Results (454.66s):
     479 passed
     129 xfailed
       3 skipped
Tests succeed!! 🎉
Stashed changes 'pre-push-1652443209' restored
SUCCEEDED 🎉🎉

The tests clearly pass but I don't see any updates on the forked repo.

Do you get any output on the command line?
This page has further details on creating a PR https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request and I am happy to help here as well.

@pradkrish can you submit your PR or share your changes? Would love to get this in soon.

@mr-tz That is the problem. After the push operation, I do not see it when I checked on my forked repo for the pushed branch. This is despite passing tests. Anyways, the only change I have done is to remove the line capa/render/vverbose.py:202. Sorry that I couldn't complete the PR. I have done this several hundred times and I don't know what I am missing here. :thinking:

Can you double-check to commit and/or push with the --no-verify option?


how to anti-alising image

What are you trying to achieve?
i want to anti-alising image
Have you searched for similar questions?
yes i did, but no success... i was told by this handsome man named lovell (^_^)that the resize kernel option is provided, but i try everyone of them still no success
Are you able to provide a minimal, standalone code sample that demonstrates this question?
const sharp = require('sharp')
sharp('./static/a01.png')
.resize({
kernel: sharp.kernel.cubic,
})
.toFile('./static/aa.png')
Are you able to provide a sample image that helps explain the question?

Hi, a kernel will only have an effect when the image dimensions are changing.
A simple, fast, mild blur might provide what you're looking for:
await sharp('./static/a01.png')
  .blur()
  .toFile('./static/aa.png')

https://sharp.pixelplumbing.com/api-operation#blur

const sharp = require('sharp')
sharp('./static/an.png')
.resize({
width: 1200,
height: 1200,
kernel: sharp.kernel.mitchell
})
.toFile('./static/aa.png')
changed dimensions but still have no  effect
this is origin image

this is output image

if i use blur , it blurs the whole image, i just want to blur the edge of the cup . is that possible?

In this second example, the image dimensions are being increased, so the kernel has no effect.
https://sharp.pixelplumbing.com/api-resize#resize

options.kernel String the kernel to use for image reduction. (optional, default 'lanczos3')

The jagged edges are an artefact of upsampling, for which libvips will use bicubic resampling.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


fix(update_replication_factor#12): update the mutation_2pc_min_replica_count base the max count of table

Ref-Issue
https://github.com/apache/incubator-pegasus/issues/865
What problem does this PR solve?
https://github.com/apache/incubator-pegasus/issues/865 support different replica factor, but mutation_2pc_min_replica_count still keep 2, if one table update the factor to 2, when one replica is down(for example, offline node case),  the table would keep write reject status.
So mutation_2pc_min_replica_count should be updated base the table factor, this pr should set it replica_max_count /2  + 1,  but consider that sometimes user need set the replica_max_count > 3, I think the config mutation_2pc_min_replica_count is still valid:

if user set the mutation_2pc_min_replica_count > 0,  the final 2pc_min_replica_count = mutation_2pc_min_replica_count
otherwise, 2pc_min_replica_count = app_max_replica_count <= 2 ? 1 : app_max_replica_count / 2 + 1 which can be make sure the table is alive though more node crush

What is changed and how does it work?
Checklist
Tests

Unit test
Manual test (add detailed scripts or steps below)

1. start server in test cluster
3. create table with 3 replica count
4. start read/set with 10k qps
5. set replica count = 2
6. kill one node
7. watch the write status

Code changes
All the need mutation_2pc_min_replica_count are updated to min(mutation_2pc_min_replica_count, replica_max_count - 1)
Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to be included in the release note

Should we also add new mutation_2pc_min_replica_count() into partition_health_status() ? Since it also uses mutation_2pc_min_replica_count to decide if a partition is unwritable:
inline health_status partition_health_status(const partition_configuration &pc,
                                             int mutation_2pc_min_replica_count)
{
    if (pc.primary.is_invalid()) {
        if (pc.secondaries.empty())
            return HS_DEAD;
        else
            return HS_UNREADABLE;
    } else { // !pc.primary.is_invalid()
        int n = pc.secondaries.size() + 1;
        if (n < mutation_2pc_min_replica_count)
            return HS_UNWRITABLE;
        else if (n < pc.max_replica_count)
            return HS_WRITABLE_ILL;
        else
            return HS_HEALTHY;
    }
}


revert to c222a06

switching import paths broke old code that imported github.com/NebulousLabs/Sia. Instead of continuing to mirror the GitLab repo, I suggest that we revert the GitHub repo to its state immediately prior to the move, and then archive it with the README altered as in #3188. This will ensure that old code still works, while also marking this repo as deprecated. (I have already disabled mirroring from GitLab.)

Can we disable GitHub issues as well?

I believe archiving disables new issues from being opened. https://github.com/boltdb/bolt is an example.


GLOSC Double Input with multiplayer UWP titles

While playing UWP titles with multiplayer capabilities (Streets of Rage 4 in this case), if using an Xinput controller directly connected to the system, input is doubled, even with Xbox Configuration Support enabled.
Looking at Device Manager and https://html5gamepad.com/ with GLOSC running, it seems to be taking input from both GLOSC and the native Xinput at the same time.

Also happens with the Steam controllers, in game like Haven or Battletoads.


RTMP Player progress stopping to soon

When I playback a RTMP stream using the player the entire video and audio stream plays correctly. The only issue is the Play button shows up with ~3 seconds left and the progress bar stops. This seems to only happen while playing back flv files. Here is a sample showing that behavior.
https://livetest.montageinterview.net/TestPages/TestMediaElementPlayer.html
I have tested this on other players including the Wowza player:
http://www.wowza.com/testplayers
Server: rtmp://<IP_ADDRESS>/vod
Stream: flv:20051210-w50s.flv
On all the other players I tested the file plays to completion and the progress bar runs all the way to the end as I would expect.

I am having the same issue. Pause event triggers ~3seconds before ended event. Which means eg. current time is not updating. Cant found any bug in js code. I guess it is flash related?

I'm having a similar issue with the audio player. It stops playing some seconds before the end of the .mp3-file in Firefox. Sometimes it loads a portion of the missing seconds and plays a little more. It does not have to do with Flash in my case, Flash is disabled. Anyone else facing this?

I'm having a similar issue with the audio player. It stops playing some seconds before the end of the .mp3-file in Firefox. Sometimes it loads a portion of the missing seconds and plays a little more. It does not have to do with Flash in my case, Flash is disabled. Anyone else facing this?

@shaunbowe Is this still an issue? If so, can provide a URL we can test, please?

Sorry, we switched to a different media player. I no longer have the code that reproduced this but from what I remember it was just a simple page that played a flv file over rtmp. It is possible it had something to do with invalid/missing flv metadata.

Probably we will explore this issue and keep you posted


Exception calling "SendAndSaveCopy" with "0" argument(s)

Hi Bartek !
Great Module, love it. A thing that bugs me is that when i try to send an e-Mail to from my OnPrem Exch 2013 Box, it raises an error.
Exception calling "SendAndSaveCopy" with "0" argument(s): "Object reference not set to an
instance of an object."
Any ideas why ?
Thx/R.

it looks as not properly initiated EWS dll


Support a --diff like option

:wave: Great tool! Something I feel like that is missing is the ability for me to see the changes the tool would make (without actually editing the file in place).

I see the --diff option in the latest master. Would be great if it colored the output too.


Main.qml Error

Getting this error whenever trying to utilize the theme:
main.qml:2:1: plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
Any ideas?

What QT version do you use?

I was attempting to install it on Ubuntu and I have since moved to Arch and it works perfectly. Thank you.

Installed on Arch, works fine.


Bugfix: dep keys weren't invalidating CP upon change

Root cause: @computed('first', 'last') was actually
transpiling to a call to
Ember.computed(['first', 'last'], fn)

Thank you!!


Person shows "not home" instead of zone

Home Assistant release with the issue:

0.88
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu x86_64
Component/platform:

Person
Description of problem:
When person configured with several devices and not at home, then location of person determined by latest tracker update instead of most accurate.
Example: Person configured with Google Maps location  tracker and router info. When person is not at home, status of person entity is got from router and shown as 'not home' instead of zone name got from Google tracker.
Additional information:
I think that updates of person location must have some priorities, f.e.

Highets priority is 'home'. If one of trackers reports status 'home', than person is probably really at home.
Zone has medium priority. If one of trackers reports a zone, while others reporting 'not home', than person is probably in this zone.
'Not home' has lowest priority. If all trackers are reporting 'not home', so be it.

Also update of router clears latitude and longitude, making impossible to use proximity sensor. It would be useful to leave coordinates, when router updated as 'not home', and possibly to return coordinates of home, when router returns 'home'.

This isn't a bug but how the person tracker is implemented currently. That doesn't mean that there's no room for improvement. See https://github.com/home-assistant/architecture/issues/72 for more ideas that haven't been implemented yet.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum. Thanks!


Added Mohammad Reza profile

Issue
Join developer community stats
Description
Added Mohammad Reza (rzadev)
Checklist

[x] Added contributor object in ascending order in contributors.json
[x] Github action build passing
[x] No merge conflicts

Thanks for joining!

You're welcome


[feat.] new triple protocol implement

What is the purpose of the change
[feat.] new triple protocol impl
tri protocol integration http12 module

Codecov Report

Merging #12873 (bffe216) into 3.3.0-beta.1-release (33a8063) will increase coverage by 1.45%.
Report is 169 commits behind head on 3.3.0-beta.1-release.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##             3.3.0-beta.1-release   #12873      +/-   ##
==========================================================
+ Coverage                   66.19%   67.64%   +1.45%
==========================================================
  Files                        3485     1788    -1697
  Lines                      141232    71933   -69299
  Branches                    20338    10332   -10006
==========================================================
- Hits                        93485    48660   -44825
+ Misses                      38460    18534   -19926
+ Partials                     9287     4739    -4548

see 2582 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix(material/dialog): incorrect typing for _closeDialogVia method

Fixes a bug in typing for the _closeDialogVia method and allows to use
MatDialogRef<T, R> with the method, providing the result of a different
type from the dialog content component's.
 Closing due to inactivity


it says "Disable Tampermonkey to access the website"

I hate musescore..

There is an alternative method, see CLI Usage

I had the same problem as you but I played around with Tampermonkey Beta and figured out a simple solution to make it work.
Disable Tampermonkey before accessing the page with the sheet music you want, then enable Tampermonkey and CLICK REFRESH.
Download your file then disable Tampermonkey and CLICK REFRESH before leaving page to get another sheet, repeat the same steps for each file.
Works for me so far.... good luck.

CLI Usage
(recommended, more bulletproof)

Install Node.js LTS (https://nodejs.org/)
Open a command line terminal or command prompt
Type npx msdl, enter
(npx msdl will always run the latest version)
Follow the instructions

https://github.com/Xmader/musescore-downloader#cli-usage

Hi,
I'm unfamiliar with the project structure, however I've found a workaround for this.
Right at the start of the script in Tampermonkey, just after the comment-y bits at the start, I've added the following JS code:
var script = document.createElement("script");
script.textContent = `class _ErrorReplacement{
constructor(){
this.stack = "not tamper";
}
}
Error = _ErrorReplacement;
`;
(document.head||document.documentElement).appendChild(script);
With this tweak I'm no longer seeing the Tampermonkey error. Sometimes the download buttons don't show, but clicking the Tampermonkey extension icon and then choosing Download MSCZ etc all still work


fix: move the prompt out of the routines

Current Behavior
Both npm output and the prompt for the app modules is overlapped by each other
Changes by the PR
Use the original context while prioritizing the prompt and then running the other stuff in the derived context and routines.

Oh right, I remember seeing this once. This happens when you're working outside of $GOPATH.
I'm wondering if the better solution would be to remove the NPM progress bar. That way it just installs in the background and doesn't clobber the go module question. There might be a flag you can pass to NPM, otherwise we can perhaps discard stdout/stderr.
What do you think?

I'm more towards keeping prompts out of the routines hence the above solution
but yes, if you feel like we can have an ENV/flag to enable or disable npm logs, that works too
Though, the prompt being outside of routines while keeping the context shouldn't slow down the user since the other 2 tasks are still parallel in this case

Ah I missed your earlier point. You're right, it doesn't make a ton of sense to have a prompt within a goroutine. Just reviewed, one fix and it's ready to merge. Thanks!

Thanks @barelyhuman!

FYI. This is available in v0.1.1. To upgrade, run:
curl -sf curl https://raw.githubusercontent.com/livebud/bud/main/install.sh | sh


Add support for Intel® QuickAssist Hadoop Codec

Closes #2219

In case there are any questions about the default buffer size being 256K, I used the default value defined in QATConfigurationKeys

@ctubbsii suggested re-working this PR to update the gzip codec to try and use the QAT if it's available instead of creating a new codec iff the QAT only performs gzip compression.
According to the codec documentation the QATCodec depends on the QATZip library. QATZip says it "produces data using the standard gzip* format (RFC1952) with extended headers. The data can be decompressed with a compliant gzip* implementation"

I commented on a few things above, but it seems that some of your suggestions apply also to code that is in this class but outside of this PR. I'm wondering if we should first implement some of your suggestions in the class, then update this PR accordingly.

I modified the code to attempt to load the QATCodec if the property accumulo.rfile.compression.quickassist.enabled exists. If there is an issue loading the codec, then it will fall back to the default codec if the property accumulo.rfile.compression.quickassist.fallback.on.failure exists. I also made some other mods based on the other comments. I did not fix or improve the code where I used the same pattern that already exists in other places in the class. I think that should be a different issue on the main branch.

I modified the code to attempt to load the QATCodec if the property accumulo.rfile.compression.quickassist.enabled exists. If there is an issue loading the codec, then it will fall back to the default codec if the property accumulo.rfile.compression.quickassist.fallback.on.failure exists.

This doesn't quite work as I'd expect. I didn't get a chance to thoroughly review the updates yet, but what I saw looked like it was
now simply checking that these properties were null or non-null. This will not work as the user intends if the user says -Daccumulo.rfile.compression.quickassist.enabled=false. That's non-null, but clearly it shouldn't activate in that case. I think it should be activated if it's something like value != null && (value.isEmpty() || Boolean.parseBoolean(value)). This should work if you just do -Dprop.enabled or -Dprop.enabled=true, but will not work if it's not set at all, or if -Dprop.enabled=false.
Also, I'm not sure it's good to require users want to optionally use it to set two properties. It should be easy for users who just want to use it as an optional optimization to do so with just one property.

I did not fix or improve the code where I used the same pattern that already exists in other places in the class. I think that should be a different issue on the main branch.

That seems reasonable. However, given that there seem to be many existing problems in this class, I'm thinking we should focus on polishing it in the main branch to solidify the behavior before backporting it. I found a few other problems, such as our code trying to defer to the property "io.compression.codec.snappy.class" in the Hadoop config file... but there's no such property in Hadoop's config. LZO is the only codec whose implementation seems to be pluggable by class name in a property. So, it also doesn't make sense to look for a corresponding "io.compression.codec.qat.class" property either (also, it seems like it should have been an "io.compression.codec.gz.class" property set to the QAT implementation... but that property also doesn't exist in Hadoop... if it did, users activating it would be super simple and easy to do out of the box without our needing to do anything special).

This doesn't quite work as I'd expect. I didn't get a chance to thoroughly review the updates yet, but what I saw looked like it was
now simply checking that these properties were null or non-null. This will not work as the user intends if the user says -Daccumulo.rfile.compression.quickassist.enabled=false. That's non-null, but clearly it shouldn't activate in that case. I think it should be activated if it's something like value != null && (value.isEmpty() || Boolean.parseBoolean(value)). This should work if you just do -Dprop.enabled or -Dprop.enabled=true, but will not work if it's not set at all, or if -Dprop.enabled=false.

I think I got confused by your two previous statements:

Also, to support -Duse.qat in addition to -Duse.qat=true, this logic will need to be adjusted a bit. Could see how Maven does it, because it supports similar flags like -DskipTests where you don't have to specify -DskipTests=true.

Could support both sets of user expectations with values of .enabled=[true,false,required/force]. However, considering the forwards-compatible requirement of 1.10.2 with 1.10.1/1.10.0, it's impossible for a user of "1.10.x" versions to expect that it will always fail if QAT isn't available. The user might set '.enabled=force', but then need to downgrade to 1.10.1 for whatever reason, and the option is completely ignored. So, at best, the user can only reasonably expect 1.10 versions to treat this as an optimization, and never a requirement, unless they know for sure they are a sufficiently recent 1.10 version.

If I'm reading this correctly now, you are saying that there should be one property (accumulo.rfile.compression.use.quickassist), that could have multiple values. I'm thinking the values should be:

false (default)
bestEffort - falls back to gz if QAT unavailable or error in setting it up
required - fails if QAT unavailable or error in setting it up

Closing w/out merging, see #2219 for details.


Add merge continue

Add alias gmc to git merge --continue

It's just really syntactic sugar for git commit.


Create publishing tasks without model rules

Instead of using the software model, use idioms like DomainObjectContainer.all {} to lazily create the tasks for each publication and each repository. This removes the need for the software model and makes the tasks easier to configure from build scripts.
The publishing extension still needs to be made available to the software model, since it was available there for a long time.

How will the “lazily” bit work?

Lazily as in "when publications/repositories are added".
publications.all {
  repositories.all {
     //create publishing task
  }
}

That's quite a stretch of the meaning of “lazy” :)

On-demand? ;)


MySql error on starting Docker

When running gutenblock watch docker I get the following error and cant seem to find a solution.
wordpress_1  | Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in Standard input code on line 22 wordpress_1  | wordpress_1  | Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in Standard input code on line 22
I'm on osx High sierra. Any idea?

This is my bad, a new mysql version came out and i was pinned to latest, will fix tomorrow.

Just fixed! https://github.com/crossfield/gutenblock/releases/tag/0.4.1

Solved one but fell into another. Looks like InnoDB plugin is not loading and db_1 collapses.
db_1         | 2018-04-24 10:04:31 0 [Note] mysqld (mysqld 5.6.40) starting as process 1 ... db_1         | 2018-04-24 10:04:31 1 [Note] Plugin 'FEDERATED' is disabled. db_1         | mysqld: Table 'mysql.plugin' doesn't exist db_1         | 2018-04-24 10:04:31 1 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using atomics to ref count buffer pool pages db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: The InnoDB memory heap is disabled db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Memory barrier is not used db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Compressed tables use zlib 1.2.3 db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using Linux native AIO db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Using CPU crc32 instructions db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Initializing buffer pool, size = 128.0M db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Completed initialization of buffer pool db_1         | 2018-04-24 10:04:31 1 [Note] InnoDB: Highest supported file format is Barracuda. db_1         | InnoDB: No valid checkpoint found. db_1         | InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later, db_1         | InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html db_1         | InnoDB: If this error appears when you are creating an InnoDB database, db_1         | InnoDB: the problem may be that during an earlier attempt you managed db_1         | InnoDB: to create the InnoDB data files, but log file creation failed. db_1         | InnoDB: If that is the case, please refer to db_1         | InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html db_1         | 2018-04-24 10:04:31 1 [ERROR] Plugin 'InnoDB' init function returned error. db_1         | 2018-04-24 10:04:31 1 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. db_1         | 2018-04-24 10:04:31 1 [ERROR] Unknown/unsupported storage engine: InnoDB db_1         | 2018-04-24 10:04:31 1 [ERROR] Aborting db_1         | db_1         | 2018-04-24 10:04:31 1 [Note] Binlog end

Try “docker system prune” before running the watcher again


Matrix Variables Supported? (not working properly with matrix variables)

Please take the time to search the repository, if your question has already been asked or answered.
What version of the library are you using? Is it the latest version? The latest released version is
2.9.0
What kind of issue is this?
Question/Bug-Report
Documentation makes incorrect request in case of matrix variables.
@RequestMapping(value = { "/mypath1", "mypath2" }, method = RequestMethod.GET)
@ResponseBody
    public ResponseEntity getMyRequest(@PathVariable String name, @MatrixVariable long id)

When I try it out in swagger (with name: kumar and id 456), it makes following request:
curl -X GET "http://localhost:8080/mypath1/kumar" -H "accept: */*" -H "Content-Type: application/json" -d "456"
and in response it complains:
TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.
It identifies matrix variable as body variable.
I am using Spring 4.3.8.Release and Spring boot 1.5.3.Release.
Are matrix variables supported. If yes, is there any configuration to support matrix variables?

@gaurav517 thanks for reporting!

No worries. Bit surprised that it was not reported till now. I was thinking lot of people are already using matrix variables.

@gaurav517 thanks for reporting!

Dilip, do you know when this issue will be addressed?

Can we know when this issue is going to be fixed?

hi, is there any updated on this?

Is this issue sorted?