error: {extra: -2147483648, what: 1}.

Hi, I am using react native video lib on my project. When implementing a video through uri: I am getting this error from the onError method -
error: {extra: -2147483648, what: 1}.
Could not get any lead regarding this issue, can anybody help
TIA

+1

I solved this by adding a react-native.config.js file to root of my project with:
module.exports = { dependencies: { 'react-native-video': { platforms: { android: { sourceDir: '../node_modules/react-native-video/android-exoplayer', }, }, }, }, };

@LamkasDev whenever I am trying to use exo player, my app is crashing on the same page contains video player

I solved this by adding a react-native.config.js file to root of my project with:
module.exports = { dependencies: { 'react-native-video': { platforms: { android: { sourceDir: '../node_modules/react-native-video/android-exoplayer', }, }, }, }, };

After doing this i get the following error
{"error": {"errorException": "com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404", "errorString": "Unrecognized media format"}}

@Afzal-shaikh Try another video format. I used webm for android but it seems that Exoplayer does not support this format. I tried mp4 and it finally works

I solved this by adding a react-native.config.js file to root of my project with:
module.exports = { dependencies: { 'react-native-video': { platforms: { android: { sourceDir: '../node_modules/react-native-video/android-exoplayer', }, }, }, }, };

After doing this i get the following error
{"error": {"errorException": "com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404", "errorString": "Unrecognized media format"}}

It depends on a lot of factors, like codec and container of the video. You can see supported formats for Exo Player in this link. The combination I use is x264 video with AAC audio in mp4 container, because that seems to be supported on all platforms/devices.

Is anyone found the solution for this error?

i am having same issue .
{"error": {"extra": -2147483648, "what": 1}}

This issue is in your steaming video url as you can test it by pasting your streaming url in safari browser so you will see your video will not play.So you will have to fix this issue in server side
On Friday, January 28, 2022, 6:53 PM, Pratik kumar @.***> wrote:
i am having same issue .
{"error": {"extra": -2147483648, "what": 1}}
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: @.***>

hi,
facing same issue {"error": {"extra": -2147483648, "what": 1}}
with all mpd and hls video files.
also i think its not linking exoplayer with android studio

what is your video url?
it must be url end with .mp4. or so it can buffer.
you can try some public mp4 URL

'https://dash.akamaized.net/dash264/TestCases/5a/nomor/1.mpd
it was working fine earlier, also the library supports exoplayer , which supports mpd and hls .
btw, mp4 url is working fine

your url is not playing in browser it should be play.

@pratik007kumar
thanks for the quick reply, i think browser dosn't support mpd file to play directly, thats why its not playing
you can check this on https://reference.dashif.org/dash.js/latest/samples/dash-if-reference-player/index.html

I solved this by adding a react-native.config.js file to root of my project with: module.exports = { dependencies: { 'react-native-video': { platforms: { android: { sourceDir: '../node_modules/react-native-video/android-exoplayer', }, }, }, }, };

resolved my issue Today. Thank You


Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded

Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
Bicep: latest
Azure CLI: 2.30.0
Devops Azure CLI Task: 2.1.2
Describe the bug
A clear and concise description of what the bug is vs what you expected to happen
The last couple of weeks several builds encountered the Github rate limit while deploying our infrastructure through bicep. We run multi stage pipelines (across ±50 projects) with private hosted agents.

ERROR: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.

The current TTL for the bicep version cache is 10 minutes meaning at most it will do 6 request per hour per agent. Since our agents expose the same external IP address this rate limit is reached rather quickly.
To Reproduce
Steps to reproduce the behavior:
Request the bicep version endpoint more than 60 times per hour.
Additional context
I am not entirely sure where the cache for the bicep module is saved, but it might not be unthinkable that the agents wipes this cache.
Maybe increasing the TTL solves most of our problems, as every 10 minutes to check for a new version might be on the high side.
A long-term solution is appreciated, for example:

Get the version from a cache server
Support Github authentication for the request

Closing as dup of #3689

I am experiencing same error at random jobs in my azure devops pipeline.On retry failure would be in some other job. Does it have anything to do with GitHub PAT. Or is this bicep issue. Can anyone provide solution for the same


Android custom icon and refactoring

Hi guys!
I made some changes to the framework and would like you to revise before approving them:

Added some methods for customizing notification icons on Android, since it lets you add the SmallIcon and LargeIcon.
Refactored code that uses the Application class and the ApplicationContext method. To use them it received the Application as a parameter in ReactNativeUAPackage class. But this was not necessary because the ReactNative offers the getReactApplicationContext () method.

Android never specifies that negative resource values are invalid, only 0.

@rlepinski thanks for your help. I implemented the suggested changes.


Please add --version support

It would be good if golic would be able to return its version if called with --version option, in simple format.
This is needed for dependent projects to upgrade to certain golic version only in case of version mismatch.
Example of command output would be:
golic --version
v0.4.4

or
golic --version
Version: v0.4.4

Hi, v0.4.5, version support


Keep consistent behavior between in Activities and Editor when pasting one append blob to ADLS Gen2 container

Storage Explorer Version: 1.17.0
Build Number: 20201210.6
Branch: rel/1.17.0
Platform/OS: Windows 10/ Linux Ubuntu 16.04 / MacOS Catalina
Architecture: ia32/x64
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload one append blob to it.
Copy the append blob then paste it to one ADLS Gen2 blob container.
Check whether the behavior is consistent between in Activities and Editor.

Expected Experience
Keep consistent behavior between in Activities and Editor when pasting one append blob to ADLS Gen2 container.
Actual Experience

The activity log is failed.

The append blob displays in the editor after manually refreshing.

Did some digging into this. The way AzCopy is implemented, the error does not occur until after they've initially created the new blob. But since appending to a blob isn't supported, it isn't until they try to do an append that the operation fails. The log file is pretty clear about this:
A required feature for this operation is not enabled on the account.. When Appending block from URL. X-Ms-Request-Id: 14871ad7-001e-007b-08de-e9fde8000000
Going to go ahead and mark this as by design. We can revisit if a customer thinks otherwise.

Did some digging into this. The way AzCopy is implemented, the error does not occur until after they've initially created the new blob. But since appending to a blob isn't supported, it isn't until they try to do an append that the operation fails. The log file is pretty clear about this:
A required feature for this operation is not enabled on the account.. When Appending block from URL. X-Ms-Request-Id: 14871ad7-001e-007b-08de-e9fde8000000
Going to go ahead and mark this as by design. We can revisit if a customer thinks otherwise.


Depreciate & remove mimetype

x-ref https://github.com/nf-core/tools/issues/2527

As far as I know mimetype was not used in the plugin for anything, but correct me if I'm wrong :grin:


Investigate SAVE and AOF commands

As it stands I have implemented the functions needed to do a serialization of this type as well as writing to the AOF but the API isn't working as I expected. At first thinking it was my code, I tried calling SAVE with an empty function body and I still encountered a segmentation fault. Perhaps I am missing something so I figured a good first issue would be to investigate how to get this working properly.

#2 Fixed the segmentation fault when calling SAVE. I am leaving this open in order to track down the writing and loading of the snapshot file as that is still incorrect.


getText().length returns wrong values

See the snippet below:
  $('#title').data("emojioneArea").on("keyup paste emojibtn.click", function() {
    var length = this.getText().length;
    console.log(length, this.getText());
});

When the input is empty it returns 1 instead of 0.
The numbers it returns are often wrong: an error of +1 or -1 is usually made compared to the actual string length (even without emoji).

This is caused by an extra newline returned by this.getText()

duplicate of https://github.com/mervick/emojionearea/issues/34


Hard to reproduce test failures

In addition to #64, I am also seeing other types of test failures. The key-MS test is a case which often fails with the following pattern
 79/114 Test  #83: key-MS ...........................***Failed    0.19 sec
          MOPAC Job: "MS.mop" ended normally on Jun 21, 2022, at 18:40.
WARNING: output file size mismatch, 1032 vs. 1024
Traceback (most recent call last):
  File "/builddir/build/BUILD/mopac-22.0.2/tests/keywords/../run_test.py", line 32, in <module>
    compare_mopac_out_file(out_line, out_list, ref_line, ref_list)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mopac-22.0.2/tests/compare_output.py", line 225, in compare_mopac_out_file
    assert ref == out, f'ERROR: string mismatch between {ref} on reference line {ref_line0} and {out} on output line {out_line0}'
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: ERROR: string mismatch between GRADIENT on reference line 388 and NO. on output line 388

Unfortunately, I have not been able to access the log files for the failing runs.

When I was first putting together the CTest/Python-based testing framework, I made some changes to MOPAC itself to suppress some "erratic" outputs that depended on small timing differences between machines (i.e. outputs that only appear if a calculation was performed sufficiently slowly). I also have regex expressions to filter out machine-dependent outputs like timing information. There may still be such things remaining in the code, and I should either fix them or adjust the regex expressions in the testing process to ignore them. This may have to occur on a case-by-case basis, so keep me informed of test failures that you see as I fix the known failures and known common causes.

Test still fails after #70 and #71
          MOPAC Job: "MS.mop" ended normally on Jun 24, 2022, at 17:14.
WARNING: output file size mismatch, 1032 vs. 1024
Traceback (most recent call last):
  File "/builddir/build/BUILD/mopac-22.0.2/tests/run_test.py", line 32, in <module>
    compare_mopac_out_file(out_line, out_list, ref_line, ref_list)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mopac-22.0.2/tests/compare_output.py", line 225, in compare_mopac_out_file
    assert ref == out, f'ERROR: string mismatch between {ref} on reference line {ref_line0} and {out} on output line {out_line0}'
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: ERROR: string mismatch between GRADIENT on reference line 388 and NO. on output line 388

I'll add "GRADIENT NORM" to the regex filter in the testing script, and it will just be ignored for now.

key-MS is still failing
          MOPAC Job: "MS.mop" ended normally on Jun 24, 2022, at 17:14.
WARNING: output file size mismatch, 1032 vs. 1024
Traceback (most recent call last):
  File "/builddir/build/BUILD/mopac-22.0.2/tests/run_test.py", line 32, in <module>
    compare_mopac_out_file(out_line, out_list, ref_line, ref_list)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/mopac-22.0.2/tests/compare_output.py", line 225, in compare_mopac_out_file
    assert ref == out, f'ERROR: string mismatch between {ref} on reference line {ref_line0} and {out} on output line {out_line0}'
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: ERROR: string mismatch between GRADIENT on reference line 388 and NO. on output line 388

https://kojipkgs.fedoraproject.org//work/tasks/352/88700352/build.log


[QA] log ack=true writes

Check writes to states with ack=true.
If this is an input only state log a warning if value is ignored.
If this is an i/o state update state to (old) value as soon as possible

fixed at 0.0.3-alpha.0


InputFor() generates incorrect name value for nested entitie

This is how the built-in HTML helpers deal with nested entities:
Razor:
@Html.LabelFor(model => model.Album.Price)
@Html.EditorFor(model => model.Album.Price)

HTML:
Price
<input class="text-box single-line" id="Album_Price" name="Album.Price" type="text" value="" />

Please note that  the dot has been replaced by an underscore for the 'id' and 'for' attributes only.
FluentBootstrap handles it differently (incorrectly):
Razor:
 @Html.Bootstrap().InputFor(model => model.Album.Price)

HTML:

      Price

         <input type="text" name="Album_Price" id="Album_Price" class="form-control">

Please note that the dot has been replaced by an underscore for the 'name' attribute too.
I would expect the name of the markup generated by the FluentBootstrap helper to be the same. This also breaks my model binding.
I have changed GetControlName to fix this is my project. It now does this:
return helper.GetConfig().HtmlHelper.ViewContext.ViewData.TemplateInfo.GetFullHtmlFieldName(expressionText);

I also added these lines to Tag.OnStart():
if (string.Equals(attribute.Key, "id", StringComparison.Ordinal) || string.Equals(attribute.Key, "for", StringComparison.Ordinal))
    {
        encoded = TagBuilder.CreateSanitizedId(encoded);
    }

Great catch, thanks. And especially thanks for including a fix :) I'll get this patched up and a new version up on NuGet ASAP (most likely later today).

Great! Please make sure that to add CreateSanitizedId()'s everywhere it's needed - I only fixed for my use case, but there may be others!

Can you confirm which version of FluentBootstrap you're using? It looks like this may have been fixed in <IP_ADDRESS>. It looks like I'm currently getting the correct output from the tests:

I've not been able to replicate it either.

@daveaglick version: <IP_ADDRESS>. I'll go and try the latest version.

I can confirm that this is fixed in <IP_ADDRESS>. Thanks for your help.

Excellent - glad it's working for you now. Just let me know if you run into any other problems.


The link to SolutionImportWizard is wrong

Doc has
https://{orguniquename}.crm.dynamics.com/tools/solution/SolutionImportWizard.aspx
Should be (with import in the url)
https://{orguniquename}.crm.dynamics.com/tools/solution/import/SolutionImportWizard.aspx

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

ID: e29c5da4-511c-c13f-6c98-c3ad07a389e7
Version Independent ID: d83ac9f1-3c07-3a15-f212-df944f769d30
Content: Migrate apps between environments and tenants - PowerApps
Content Source: powerapps-docs/administrator/environment-and-tenant-migration.md
Service: powerapps
GitHub Login: @jamesol-msft
Microsoft Alias: jamesol

@davidyack
Sorry for the much delayed response. Clearing a backlog, we noticed this hadn't be resolved. I've updated the topic and will publish to live. Thanks for the fix!


Filter signature should accept a KeyboardEvent

The signature for the filter method should accept a KeyboardEvent instead.

@sk- thx!


chore: bump Go to 1.20

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 80.963%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
370

Relevant Lines:
457

💛  - Coveralls


[cudnn] Add /usr/ to find_library for cudnn for ArchLinux

cuDNN is installed in the usr directory in Arch Linux. The find_library function cannot find cuDNN because it doesn't look in that directory

What does your PR fix?
Fixes #24662

Which triplets are supported/not supported? Have you updated the CI baseline?
This change only applies to x64-linux systems

Does your PR follow the maintainer guide?

Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@cenit Can you help confirm if this change is reasonable?

seems right!

I get the impression that the actual root problem is that this port should use a CMakeLists.txt and operate in project mode, instead of implementing everything in portfile.cmake, i.e. script mode.
(Doesn't portfile.cmake partially duplicate FindCUDNN.cmake?)

@dg0yt I'm pretty sure this port predates almost any reasonable built-in CMake behavior. It's possible that now we could rely on built-ins and do something like your suggestion here, but I don't think we need to suggest such a complete overhaul here when this will work.
@umar456 Thanks for the bug fix! I agree with @dg0yt that using more standard ways to get at this stuff would be nice if you'd be willing to contribute such a change as a followup PR.


Update Core Properties page

The Core Properties page: https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties, is in desperate need to be updated. I'm thinking the very least CoreWorkload.java has many undocumented properties, there may be more in other core classes.
This may clash with @busbey's work to get documentation into source control, but I think it needs to be updated either way. As long as the content gets created it can be added to source control when the docs are created.

FYI, i think almost all of those have been getting documented in the workload template.

Ah, thanks, I have not looked at that before. It looks like that template is still not complete, but is a good start.
Would the preference be to have the template updated, or the wiki page? or both?

I like the template, but AFAICT noone ever realizes it's there. So probably the wiki is the way to go.


Text Truncate should truncate text on non block level elements

Demo: https://jsfiddle.net/ybzL5vu9/1/
.text-truncate doesn't work on non block level elements, used inline-block and width: 100% just incase someone wanted to truncate two sections of text on the same line.
Edit: I just saw the comment at the top of the mixin file. I think this change would be easier for end users to use. Changed to display: block because of vertical spacing issues with inline-block. I think block would be the more common use case.

I pushed a change to this to assume inline-block and allow for a parameter, but I'm still not sure on this one. I feel like maybe we should encourage folks to actually set a .d-* class instead? With your original proposal, if you're using the .text-truncate class on a <span> and wanted it inline-block, you'd have to use a display utility. If you did what I changed here and assumed inline-block, you'd have to do d-block on <div>s and the like.
All that to say, I'm going to close as a won't fix and modify the docs to make mention of supported display values with the text truncation.

Welp looks like we already have that in our docs. No need for a follow up.


go.dev: package is present on godoc.org, but not on pkg.go.dev after rename

Hi,
Earlier, documentation of my package was present both on godoc.org and pkg.go.dev.
On June, 27 (3 days ago) I've renamed github organization to which the package belongs.
Now I've the following situation:

old URL:

godoc.org: present (https://godoc.org/github.com/roc-project/roc-go/roc)
pkg.go.dev: present (https://pkg.go.dev/github.com/roc-project/roc-go/roc)

new URL:

godoc.org: present (https://godoc.org/github.com/roc-streaming/roc-go/roc)
pkg.go.dev: not present (https://pkg.go.dev/github.com/roc-streaming/roc-go/roc)

Notes:

the rename was roc-project -> roc-streaming
only organization name changed, the repo name didn't
the repo had no go.mod when by the moment of rename (now it has)
the repo has no version tags or branches and has no explicit version in go.mod (it's still WIP)

I've also tried to follow these instructions, but failed.
For new URL:
$ curl -i<EMAIL_ADDRESS>HTTP/1.1 410 Gone
Access-Control-Allow-Origin: *
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Jun 2020 07:24:19 GMT
Expires: Tue, 30 Jun 2020 07:54:18 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
Content-Length: 99
Cache-Control: public, max-age=1798
Age: 726
Alt-Svc: h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

$ GOPROXY=https://proxy.golang.org GO111MODULE=on go get<EMAIL_ADDRESS>go get<EMAIL_ADDRESS><EMAIL_ADDRESS>reading<EMAIL_ADDRESS>410 Gone
	server response: not found<EMAIL_ADDRESS>invalid version: unknown revision roc/v1.0.0

And for old URL (just in case...):
$ curl -i<EMAIL_ADDRESS>
HTTP/1.1 410 Gone
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=1798
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Jun 2020 07:36:36 GMT
Expires: Tue, 30 Jun 2020 08:06:34 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
Content-Length: 97
Alt-Svc: h3-27=":443"; ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

$ GOPROXY=https://proxy.golang.org GO111MODULE=on go get<EMAIL_ADDRESS>
go get<EMAIL_ADDRESS><EMAIL_ADDRESS>reading<EMAIL_ADDRESS>410 Gone
	server response: not found<EMAIL_ADDRESS>invalid version: unknown revision roc/v1.0.0

I'm not sure why you're fetching v1.0.0 given that there are no released versions. If you do go get github.com/roc-project/roc-go/roc everything should work fine.
We don't use the issue tracker for questions; if you need help please see https://github.com/golang/go/wiki/Questions.

Forgot to mention that I also tried v0.0.0 and it didn't work too. I didn't find a way to make a request without specifying the version when using curl. My bad, I didn't think to try go get without version...


use docker compose v2 when available

Signed-off-by: (╯°□°）╯︵ uᴉǝssnH ɐɟɐʇsoW<EMAIL_ADDRESS>What does this implement/fix? Explain your changes.
This PR adds support for docker compose v2 without the need to install docker-compose as a standalone binary
Does this close any currently open issues?
No
Any relevant logs, error output, etc?
No
Any other comments?
No
Where has this been tested?
Ubuntu Server 22.04 LTS

@mostafahussein Good Enhancement! Thank you.


Improvements to Theme Configuration

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
Disclaimer: I have only used skeleton for one small side project so i am not an expert and may not be aware of all options that are currently available.
From what i know the only/recommended way to create and use custom themes that are not provided by skeleton out of the box is by creating a css file by using the theme generator that is provided by the docs or write one yourself from scratch. While this certainly works, there are some issues with this approach:

It kind of is counter intuitive for developers that are familiar with the default way of doing theming with tailwind

After you have created your custom theme, the generator essentially becomes useless.  If you want to do some minor changes later you basicly have to edit the css file directly. There is now way to import your currently used theme to make further adjustments.

Your are kind of depended on the generator in the docs. If there are ever breaking changes migrating looks kind of problematic. The documentation about the theme class selectors you can/need to provide seems to be a bit lackluster.

After having used other tailwind based extensions and component libraries like daisyUi i think it should be possible to do themeing by using the default tailwind configuration through the skeleton plugin.
This is what it could rougly look like inside tailwind.config:
skeleton: {
    themes: [
      {
        name: {
          "primary": "#39a642",
          "secondary": "#377CFB",
          "success": "#36D399",
          "warning": "#FBBD23",
          "error": "#F87272",
          ...
        }
      },
    ],
  },

Alt least for me personally, i think this would really improve the developer experience for skeleton. I would also be inclined to help work on this myself if this is something you actually want to add. I really like skeleton and the stuff you are doing here. I believe this is really something that is going to bring the svelte ecosystem forwards. So props for that.
What type of pull request would this be?
Enhancement
Any links to similar examples or other references we should review?
No response

Our Tailwind plugin implements theme colors per Tailwind's recommendation here:
https://tailwindcss.com/docs/customizing-colors#using-css-variables
You can view this here:
https://github.com/skeletonlabs/skeleton/blob/dev/src/lib/tailwind/theme/colors.cjs
Our plugin in modulate, so this is but one part of the entire plugin:
https://github.com/skeletonlabs/skeleton/blob/dev/src/lib/tailwind/core.cjs#L8

Maybe i am missing something but while this certainly explains how exactly this currently works and follows their docs for using css variables it is not something that allows you to define your theme just by using tailwind.config like other tailwind based libraries do, which was the intention of my feature request.

@Eric-Arz, perhaps there's a bit of a miscommunication here. There's nothing stopping you from extending the theme using the standard Tailwind config. Follow the instructions here and you can add as many colors as you wish:
https://tailwindcss.com/docs/customizing-colors#using-css-variables
We cannot however, automatically generate design tokens and extended set of Tailwind theme color. There's no mechanisms in Tailwind that would allow us to do this at present.
But the good news is here is you can still use these colors with Tailwind, you'll just need to use the standard format for this, imagining that foo represents the name of your custom color:
bg-foo-500
border-foo-500
fill-foo-500

If you wish to replicate a design token, the good news is they're not hard to produce individually. For example, let's take a built-in token such as .bg-surface-50-900-token. Here's how we generate that:
.bg-surface-50-900-token {
    @apply bg-surface-50 dark:bg-surface-900;
}

That's it, that's all it's doing. If you wish to explore how we generate other tokens, you can find the logic here:
https://github.com/skeletonlabs/skeleton/tree/dev/src/lib/tailwind/tokens
We're also around both here and on Discord if you have a question about a particular one.


Add a license

I recommend MIT or Apache 2, personally.

I think there was already one in there, but I created another one anyway. Thanks.


Notification not received in Firefox

FCM onmessage() not works in Firefox.
I have User A and User B
A is logged in on Firefox
B is on Chrome
When I sent message from A to B ,
$message = CloudMessage::withTarget('topic', $topic)
      ->withNotification($notification)
      ->withData($data);

I got "onmessage" in chrome, which is good. as I expected.
    messaging.onMessage((payload) => {
            console.log("message", payload);
});

but when I sent message from B to A ,
Message is sent .
But no "onmessage"  output in Firefox.
I tried by changing users and other devices.
in chrome , I got all notification
but in Firefox ,I got nothing.
I also checked for topic subscriptions and everything is fine. nothing wrong.
I just can't get notification in Firefox.
Can you help me ?
Sorry for my english skills.
Thanks.

OS: Ubuntu 20.04
PHP version: 7.4.3
"kreait/laravel-firebase": "^1.2",
"laravel/framework": "^6.2",

Could you please check if https://github.com/kreait/firebase-php/issues/447#issuecomment-654546199 helps identifying the problem?

I don't think that "restricted package name" for android would be error because I didn't send to android.
I tried to send message as you said in above issue.
use Kreait\Firebase\Messaging\CloudMessage;

$payload = CloudMessage::fromArray($payload)->withChangedTarget('token', $firefoxToken);

$result = $message->send($payload);
dump($result);

well.. I got "Apns or Webpush Auth Error" .
I do connected with service account in firebase config and I can send topic message. So its okay and I got a little improvement.
I got notification from my laptop's Firefox !!
I still don't get from my PC's Firefox .  Both are same version 78.0.1 and also OS, ubuntu 20.04 64bit.
I can't figure it out.
This is my first time using firebase in my project.
Thanks alot for giving your time.

 It's too bad I can't be of better help, though... There seem to be quite some edge cases between different recipients and environments, I hope you will be able to figure it out!
Concerning the Android payload: as far as I understood from the other issue, if the payload has the restricted package name, then Firefox will not accept it.


Vanilla tutorial

Let me know what you think, if anything could be written better, etc. Will discuss with Bruno too.

The vis tools look really nice! Maybe we can put them into sparse coding/visualization for common use?

thanks! yeah i plan to add them to the library after submitting this and then will call those from this tutorial, but reviewers let me know if i should do that before submitting this.

@9q9q this is amazing! Fantastic job. I'm definitely going to use these visualization methods!

Some comments on the notebook:

It might be nice to motivate sparse coding (energy efficiency or in terms of computational principles).
Maybe re-title the "Learning Rule" section to "Learning the Basis Functions"?

Conceptually, it's similar to inferring the sparse code activations/coefficients, but the equations look different, so I feel that somebody without much background might find it confusing why that is.

Somewhere I think it would be nice to have a high-level explanation that we do this alternating optimization, where the basis functions are only updated after inferring the correct sparse coefficients.


Link.spec.componentName is missing

Issue
Since the refactoring of the project and the separation of the component from the link, the following [mandatory field](https://github.com/snowdrop/component-operator/blob/master/pkg/apis/component/v1alpha2/link_types.go#L17
pkg/apis/component/v1alpha2/link_types.go:17) is missing
Ap4k is generating such info using the component-operator-demo/fruit-client-sb project
- apiVersion: "devexp.runtime.redhat.com/v1alpha2"
  kind: "Link"
  metadata:
    name: "link-to-fruit-backend"
  spec:
    name: "link-to-fruit-backend"
    kind: "Env"
    ref: ""
    envs:
    - name: "OPENSHIFT_ENDPOINT_BACKEND"
      value: "http://fruit-backend-sb:8080/api/fruits"

which should be
- apiVersion: "devexp.runtime.redhat.com/v1alpha2"
  kind: "Link"
  metadata:
    name: "link-to-fruit-backend"
  spec:
    name: "link-to-fruit-backend"
    kind: "Env"
    componentName: "fruit-client-sb"
    ref: ""
    envs:
    - name: "OPENSHIFT_ENDPOINT_BACKEND"
      value: "http://fruit-backend-sb:8080/api/fruits"

So the spec.componentName field of a Link should be filled with the name of the component where the object link is being injected, right?
The field https://github.com/snowdrop/component-operator/blob/master/pkg/apis/component/v1alpha2/link_types.go#L17 is not currently mandatory. Since the link object is now independent of the Component, shouldn't it be mandatory?

The .spec.componentName is gathered with the value of targetcomponentname field from annotation config --> view the code
For example:
If we have a link annotation like:
@Link(
    name = "link-to-database",
    targetcomponentname = "fruit-backend-sb",
    kind = Kind.Secret,
    ref = "postgresql-db")

will produce:
 apiVersion: "devexp.runtime.redhat.com/v1alpha2"
  kind: "Link"
  metadata:
    name: "link-to-fruit-backend"
  spec:
    name: "link-to-fruit-backend"
    kind: "Env"
    componentName: "fruit-client-sb"
    ref: ""
    envs:
    - name: "OPENSHIFT_ENDPOINT_BACKEND"
      value: "http://fruit-backend-sb:8080/api/fruits"

WDYT @cmoulliard ?

Ideally, the ap4k java field name should be the same as the one defined with the Link CRD spec -> componentName. Can we rename the Java field as we haven't yet released a new Ap4k version ? @aureamunoz

Yes, sure!

@cmoulliard @aureamunoz @metacosm: I see that work on this issue has been done. Can we close it now?


How to get image ICC profile information

Hello, I want to get image file ICC information,how to do?
Thanks very much!

你好，你的来信我已收到，我会尽快查看并回复你。谢谢，辛苦了！

I want to know if the image embed ICC profile.

with Imagick: https://www.php.net/manual/en/imagick.profileimage.php
$image = new Imagick("CMYK_image.jpg"); // load image
$profiles = $image->getImageProfiles('*', false); // get profiles
$has_icc_profile = (array_search('icc', $profiles) !== false); // we're interested if ICC profile(s) exist
if ($has_icc_profile === false) {
}

Can i use exif-js to get icc profile?

I want to use javascript

exif-js does not support ICC. This project has been dead for some years and won't be updated anymore. You can instead use e.g. ExifReader: https://github.com/mattiasw/ExifReader
I am the creator of that library and it supports ICC profiles. I have maintained it for many years and will continue to do that.

Ok,thanks for your reply.

你好，你的来信我已收到，我会尽快查看并回复你。谢谢，辛苦了！


StreamingServer defeats StreamInterface

StreamInterface is defeated :

By assigning strings to $body
By casting $body to string when writing it to connection

$body should remain a StreamInterface and should be send by chunks to avoid loading all its content to memory (unnecessary allocation of memory in case of big bodies).
            // response to HEAD and 1xx, 204 and 304 responses MUST NOT include a body
            $body = '';

            if ($body instanceof ReadableStreamInterface && $chunked) {
                $body = "0\r\n\r\n";
            }

            // end connection after writing response headers and body
            $connection->write($headers . "\r\n" . $body);

@phpbg Thanks for reporting, I understand where you're coming from!
This project being an event-driven, non-blocking implementation and PSR-7 being a definition for synchronous environment means we've had to implement a number of work-arounds that result in some known limitations. In your case, it sounds like you want to stream a response body which requires a ReadableStreamInterface. For more details, this should be covered in the documentation: https://github.com/reactphp/http#streaming-response
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this :+1:

This is not exactly about blocking or non-blocking.
This is more about memory.
At the beginning I simply thought of something like :
if ($body instanceof StreamInterface) {
                $chunkSize = 65535;
                while (! $body->eof()) {
                    $chunk = $body->read($chunkSize);
                    $connection->write($chunk);
                }
            }

This is pretty much what ReactPHP is all about: efficient I/O :-)
PSR-7 defines a number of synchronous interfaces (which makes perfect sense tbqh) and as such assumes control over I/O. That very read() method assumes that you are in control of managing I/O, while ReactPHP works under the assumption that an event will be fired once I/O is ready.
If you want to have filesystem access, you may want to take a look at https://github.com/reactphp/filesystem. Other than that, there are also a number of stream implementations for all kinds of network protocols: https://github.com/reactphp/stream#creating-streams
I understand that it may be frustrating we can't provide full compatibility in this instance, but at the same time it's my understanding that providing these alternatives would fulfill most of the use cases. I hope this helps for your particular use case :+1:


[FIX] fix ezbids import to BL

Fixes the ezBIDS import to BL, thanks to @nicoalee

@anibalsolon when you get a chance can you approve this PR? That will resolve the ezBIDS issue some users have encoutered recently.

Is anything else needed for this PR? Once this is merged, ezBIDS users will be able to send their data to brainlife.io again


 You may have had value ten years ago, but people will see that you don't anymore.
-- {from}

From the amazing bastard https://en.wikiquote.org/wiki/Theo_de_Raadt (look at what Linus Torvalds thinks of him)

+1

Done in v1.1.0


Fixing cv exceptions

@sithhell reported that the segfault does not manifest itself if the mutex is not unlocked while releasing threads.

This patch also add proper handling of exceptions happening while executing notify_all.
Fly-by change makes slist::size constant time

All tests pass without a problem on gcc 4.6, 4.7, 4.8 and4.9 debug and release resp.


[ci] Fix R 3.6 tests, dask tests, compatibility with dask>=2024.3.1

Fixes multiple CI-blocking issues that have all come up in the last few days:

RStudio no longer hosting R 3.6 (https://github.com/microsoft/LightGBM/pull/6353#issuecomment-1983746071)
dask.dataframe now requiring dask-expr (#6365)
basictex / mactex being updated and mirrors now longer hosting the old version: #6366
installation of clang-18 failing in the r-debian-clang-devel CI jobs (#6369)
r-sanitizers jobs failing with install-time segfaults (#6367)

It seems to fix the issue in #6353 but there's a new failure, unfortunately, when setting up clang-18 (https://github.com/microsoft/LightGBM/actions/runs/8231989739/job/22510837736?pr=6357). I'm a bit surprised that it uses the Debian setup instructions on ubuntu-latest 🤔

Thanks! I've added label maintenace on this. In the future, can you please add one of the labels from this list to every PR open?
https://github.com/microsoft/LightGBM/blob/b27d81ea411d04d8d071d4d4e75c19ffa15c5795/.github/release-drafter.yml#L3-L15
That's used by that release-drafter bot to automatically create the sections in release notes you can see at https://github.com/microsoft/LightGBM/releases.

I'm a bit surprised that it uses the Debian setup instructions on ubuntu-latest 🤔

Those debian jobs do get scheduled onto an ubuntu-latest GitHub Actions virtual machine, but the main building and testing logic of those jobs all runs in a container using the rhub/debian-clang-devel image from DockerHub.
https://github.com/microsoft/LightGBM/blob/b27d81ea411d04d8d071d4d4e75c19ffa15c5795/.github/workflows/r_package.yml#L280

there's a new failure, unfortunately, when setting up clang-18 (https://github.com/microsoft/LightGBM/actions/runs/8231989739/job/22510837736?pr=6357)

When possible, could you put a bit of the relevant logs in plaintext for comments like that? That helps other people experiencing similar issues to find our solution from search engines. I know I've benefitted a lot from finding other random GitHub threads when faced with some unexpected warning or error.
Here's what I see:
The following packages have unmet dependencies:
 clangd-18 : Depends: libabsl20220623t64 (>= 0~20220623.0-1) but it is not installable
             Depends: libgrpc++1.51t64 (>= 1.51.1) but it is not installable
             Depends: libgrpc29t64 (>= 1.51.1) but it is not installable
             Depends: libprotobuf32t64 (>= 3.21.12) but it is not installable
 liblldb-18 : Depends: libcurl4t64 (>= 7.16.2) but it is not installable
              Depends: libpython3.11t64 (>= 3.11.5) but it is not installable
 libomp-18-dev : Depends: libpython3.11t64 (>= 3.11.5) but it is not installable
 llvm-18 : Depends: libcurl4t64 (>= 7.16.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

I found some similar posts on the internet that might have useful information:

https://askubuntu.com/a/1166934
https://github.com/llvm/llvm-project/issues/64120

I'm not sure what's happening there. If you can't find a resolution, drop clang-18 from that test matrix and write up an issue documenting the need to re-enable the job, and I could look into it more next week.

I just retried this, and the clang-18 job failed again: https://github.com/microsoft/LightGBM/actions/runs/8231989739/job/22740962055?pr=6357
So I just pushed a commit removing that job for now, and will put up an issue documenting the need to restore it if/when this is merged.

Looks like in the time since this was started, other CI issues have emerged. I'm going to push commits here to try to address those... we'll have to get all of them resolved on one branch to be able to unblock the project's CI.
Issue 1: new required dependency for dask.dataframe
Documented in #6365
Issue 2: basictex homebrew formula was updated and TeX mirrors don't have the old files
Documented in #6366

Looks like the commits I pushed did help resolve #6366 🎉
And that now the Dask tests are running... but failing because they're incompatible with the latest version of dask: https://github.com/microsoft/LightGBM/issues/6365#issuecomment-2002283196

Also looks like we've picked up ANOTHER blocking CI issue, that seems unrelated to the rest of these 😭
Issue 3: r-sanitizers jobs segfaulting while installing packages
Documented in #6367

With the changes in https://github.com/microsoft/LightGBM/pull/6357/commits/f1aa403f50fdcb77a2359b36ebdefef3438c6f79, the Dask tests are passing 🎉
But the latest dask release caused a different error in the "can lightgbm be imported without its oprtional dependencies" check, documented at https://github.com/microsoft/LightGBM/issues/6365#issuecomment-2002330003.
I just pushed https://github.com/microsoft/LightGBM/pull/6357/commits/e789b15690d91f66ed0b48ddb18a104f5a635ccb to try to fix that.

No problem, thanks for helping with it @borchero !
I'm going to merge this based on both of us approving each others' changes, and to unblock development on other PRs.
Any of these things could be changed or reverted easily if @jmoralez has suggested changes whenever he's able to review this.


JAVA-1196: Include hash of result set metadata in prepared statement id.

On a side note, could we keep the convention of naming branches after ticket numbers, as in java1196 (lowercase, no dash). This avoids looking up the branch name each time.

On a side note, could we keep the convention of naming branches after ticket numbers, as in java1196 (lowercase, no dash).

Sure, Alex wasn't aware of the naming convention, but I will take care of renaming the branch.

Closing in favor of #675 (branch renaming).


feature: add ambassador crds

These CRDs have been extracted using crd-extractor from a minikube cluster with ambassador installed:
https://www.getambassador.io/docs/edge-stack/latest/topics/install/yaml-install

for future reference:
https://github.com/emissary-ingress/emissary/blob/master/pkg/api/getambassador.io/crds.yaml


Support for other scrobbling services

I'd like to make a feature request for this component to support other scrobbling services, such as libre.fm
I don't claim to know everything that would be required to implement this feature, but I imagine that allowing the user to specify the scrobbling URL or select from a pre-defined list of services would be necessary.
I am unsure if most other scrobbling services have an API that supports authorizing apps the way that Last.fm's scrobbling 2.0 API does. This may mean that there should be a fallback to password authentication in this case.

For what it's worth, ListenBrainz appears to support the 2.0 API.  The plugin may just need an option to specify the server URL.
https://listenbrainz.readthedocs.io/en/latest/dev/api-compat.html

Libre.fm support would be nice. As for Libre.fm itself, it's basically in maintenance mode at this point, and its features and functionality is far from that of Last.fm and ListenBrainz, however, Libre.fm is also open source and it's the only one of these scrobbling services not supported by foobar2000 and most other audio players on Windows. On Android, both Last.fm Simple Scrobbler and Pano support Libre.fm as well as Last.fm and ListenBrainz, so Android scrobbling isn't a problem, but on Windows, it's difficult to get the scrobbling working on all three services.
On that note, it'd be cool if your plugin could also support Last.fm scrobbling. I know there's foo_scrobble, and it works flawlessly, however, one plugin should be enough for scrobbling instead of installing a plugin for every scrobble website.

Libre.fm support would be nice. As for Libre.fm itself, it's basically in maintenance mode at this point, and its features and functionality is far from that of Last.fm and ListenBrainz, however, Libre.fm is also open source and it's the only one of these scrobbling services not supported by foobar2000 and most other audio players on Windows. On Android, both Last.fm Simple Scrobbler and Pano support Libre.fm as well as Last.fm and ListenBrainz, so Android scrobbling isn't a problem, but on Windows, it's difficult to get the scrobbling working on all three services.
On that note, it'd be cool if your plugin could also support ListenBrainz scrobbling. I know there's foo_listenbrainz2, and it works fine (although it doesn't support scrobbling split artists, which foo_scrobble handles very well), however, one plugin should be enough for scrobbling, instead of having to install separate plugins for every scrobble website.

Thanks for pointing out foo_listenbrainz2.

If ListenBrainz does indeed support the 2.0 API this should be straight forward (at least in an either-or mode, not scrobbling to both). Last time I looked (which has been some time ago) Libre.fm did not support token authentication, but this seems to have changed? Not much documentation available.

The ideal is of course that foo_scrobble can scrobble to Last.fm, ListenBrainz and Libre.fm all three at the same time. You're saying this can't be done over some technical issue, gix?

You're saying this can't be done over some technical issue?

Not a technical issue, just more effort. Stuff like the UI and internal caching have to be done separately per scrobble API.

You're saying this can't be done over some technical issue?

Not a technical issue, just more effort compared to just using a different API URL. Stuff like the UI and internal caching have to be done separately per scrobble API.

Okay, have you had a look at SLS and Pano? Doesn't really seem to be an issue as both of them scrobble to Last.fm, Libre.fm and ListenBrainz all at the same time.
https://github.com/simple-last-fm-scrobbler/sls
https://github.com/kawaiiDango/pScrobbler
It'd be cool if you could take a few cues from how they go about it, and add similar functionality to foo_scrobble. But both of them are GPL licensed so if you want to reuse their code I guess you have to switch license to GPL also, which you should do anyway.


PowerToys Exception Error in Colorpicker.exe

ℹ Computer information

PowerToys version: 1.0.0
PowerToy Utility: colorpicker.exe
Running PowerToys as Admin: yes
Windows build number: [run "winver"] OS Version: Microsoft Windows NT 10.0.20231.0
2020-10-10.txt

📝 Provide detailed reproduction steps (if any)

…Version: 1.0.0
OS Version: Microsoft Windows NT 10.0.20231.0
IntPtr Length: 8
x64: True
Date: 10/10/2020 01:02:55
Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
at System.Timers.Timer.set_Enabled(Boolean value)
at System.Timers.Timer.Start()
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.UpdateIsVisibleCache()
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

…

…

✔ Expected result
What is the expected result of the above steps?
❌ Actual result
What is the actual result of the above steps?
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

As far as I can see  that isn't  a bug on colorpicker. Its a bug on PowerLauncher.

If I'm not mistaken, you are not using the latest version which has a fix for this included.

@swjohnson 1.0.0 isn't a valid version. Please tell me your version.

This is PT Run Version=<IP_ADDRESS> based on the log.  We hot fixed this with 0.20.1.  @swjohnson  please update to latest which currently is 0.23.2
https://github.com/microsoft/PowerToys/issues/5400


[EngSys][monitor-opentelemetry] remove unused dependency @azure/core-http

while at it, also update typescript to ~5.0.0 to be consistent with most packages in the repository.

@hectorhdzg I assume the dependency on @azure/core-http wasn't intentional?

API change check
API changes are not detected in this pull request.

@jeremymeng thanks, yes this one was added by mistake, we removed that dependency in other packages we were using it as well.


Internationalization support?

Hello,
We are planning to translate our Sphinx pages into other languages as well (e.g. Japanese), with the internalization feature documented here: https://www.sphinx-doc.org/en/master/usage/advanced/intl.html
Does confluence builder support pushing the internalization to Confluence as well? If not, do you have any suggestions regarding what we can do now?
Thank you.

@Andrew-Tan, there should not be any limitations imposed by this extension with respect to building/processing Sphinx documentation with various languages. The only tricky part you may have to deal with is Confluence's requirement of unique page names for a given space.
There are a couple of approaches you can make. After using sphinx_intl to generate desired language files, a user would then invoke a sphinx -Dlanguage=$lang -b confluence ... call for each language you want to generate documentation from. If each document produces a unique title for each page, you could publish each language set into a single space without conflict. You will most likely want to ensure hierarchy mode is enabled to allow each language-specific documentation set is grouped together:
confluence_page_hierarchy = True

In the event where titles may conflict (either from sharing non-language specific titles or dealing with only partially translated documentation), there are two approaches you could take. Either:

Prepare and publish to a unique space per language; or,
Configure a postfix (or prefix) for each page to ensure no conflicts.

In either case, you will want to adjust the Confluence configuration based off the target language being processed/published. A trick you can use is for the build operation, prepare an environment variable of the language you are targeting. For example:
...
export DOC_LANGUAGE=$lang
python -m sphinx -Dlanguage=$lang -b $builder $base $lang_target_dir
...

And inside the project's conf.py configuration, pull the target language from the environment to use it to help configure the Sphinx Confluence Builder extension.
import os
...

if 'DOC_LANGUAGE' not in os.environ:
    raise SyntaxError('language not provided')
language = os.environ['DOC_LANGUAGE']

From here you can either configure a unique space to publish to:
confluence_space_name = 'MYDOC' + language.upper()

Or, configure a specific postfix (or prefix) to publish with:
confluence_publish_postfix = '-' + language

For example:

Wow, thank you @jdknight for sharing these ideas!


PlayerList.java:216: Add language support for Failed to...

The puzzle 1-99c97473 from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/a547e89de390b499d28d29cdc21492f90613ef5e/src/main/java/net/shiruka/shiruka/base/PlayerList.java#L216-L216
The puzzle was created by @portlek on 04-Apr-21.
Estimate: 5 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-99c97473 has disappeared from the source code, that's why I closed this issue.


Firefox 67 prefers-color-scheme does not match chosen theme

Issue description
Firefox 67 introduces support for the prefers-color-scheme media query.
With the dark theme selected:

I see the light theme activated according to the media query:

Expected behavior would be this (screenshot taken from Firefox 67 for Windows):

Perhaps this is an upstream issue; however since the behavior is different across Windows/NixOS I thought it best to start with filing a bug report for NixOS package maintainers.
Technical details

system: "x86_64-linux"
host os: Linux 4.19.37, NixOS, 19.09pre180443.4dd5c93998d (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(andy): ""
channels(root): "nixos-19.09pre180443.4dd5c93998d"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

cc @shawnl

Upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1553610

This is really an upstream bug.

@andrewrk Can this be closed?

Yeah sure I agree with @shawnl that it is an upstream bug.


build: reproducible builds broken with latest version of macOS

Related to #4664, it seems that since v0.8 and now, our deterministic builds have broken somehow. We've tracked things down a bit, and have isolated even the very Go release that enabled this version. From here, it may be the case that a library we've added has somehow broken our build system.

Ok, turns out it just might be an issue with macOS: https://github.com/golang/go/issues/40979

The binaries are deterministic once again as of Go 1.16. The only lingering issue is in a difference between the tools we use to generate the compressed archive on linux vs mac.


Plugin implementation

Creating this issue to track the work that was done for Preview 4. We ended up changing this back to be internal. The initial issue requesting this feature was reopened and will be looked at after GA.
https://github.com/Azure/azure-sdk-for-net/issues/11986

Closed with https://github.com/Azure/azure-sdk-for-net/pull/12858


Usage issues

I am trying to use vcpkg to manage my open source c++ dependencies. I have been using vcpkg for a few days now and I have some questions relating to how to create and modify ports.

Is there an easy way to build a port using a source tree cloned from a git repo? The use case I have is I would like vcpkg to use the latest release of opencv (3.4.3). The current version is 3.4.1 but the opencv build has changed enough between 3.4.1 and 3.4.3 that I cannot make it work. I have a non-vcpkg build of opencv working, so the problem is with adapting the opencv 3.4.3 build to the vcpkg requirements for locations of output files (mostly .cmake files that 3.4.3 now puts into x64/vc14). Since the problem is all integration related, it would be easier if I were working directly with the source code from git rather than an .tar.gz archive.

Is there a way to have vcpkg install resume where it left off? This is related to (1) where I have a problem near the end of the build after the vcpkg_install_cmake() has succeeded but before vcpkg_copy_pdbs() is called. It is painstaking to have to repeat the entire unzip, cofigure, build, install steps when all I need to do is to adjust the .cmake config files to the correct location. I realize this is how vcpkg is able to achieve reproducible builds, but when I am developing the build, shortcuts that help bypass the unnecessary steps would be quite helpful. (Especially, when it takes an hour or so to build.)

Is there a way to have vcpkg run in "verbose" mode? Again, when I am developing a port to use in vcpkg, I would like to see what it is doing on the console rather than having to sift through log files.

Is there detailed documentation for how to rearrange the "share" files so they meet the vcpkg requirements? (I am trying to understand what opencv/portfile.cmake is doing between vcpkg_install_cmake() and vcpkg_copy_pdbs()

Similar to (4), what is the recommended way to build or bundle executable tools? The hdf5 tools are a good example. I want the applications as part of the library build. What is the best model to follow?

How to best work when needing more than just the DLLs from a library? For example, with opencv, I need to build the performance tests, examples, and documentation. I would like for these to be part of the "feature" set in the control file, but that does not seem to be the way to work in vcpkg. I am looking for guidance on how work? Is is simply, build a separate copy of opencv using the vcpkg cmake toolchain file?

Is this the right mechanism to use to ask these kind of usage questions?

Thanks for making vcpkg available. I think vcpkg will be a big help to the C++ development community.

@pwm1234, we have improved most of the issue listed here, please report a new issue if these still be a question for you.

Yes, see https://github.com/microsoft/vcpkg/blob/master/docs/examples/packaging-github-repos.md, and currently opencv3 upgraded to 3.4.13 in vcpkg.
No, currently this is still not support.
We have --debug to print some debug information, however it can't replace the build logs, which may contain huge information.
4,5. Yes, see https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_fixup_cmake_targets.md
You can create a https://github.com/microsoft/vcpkg/blob/master/docs/specifications/ports-overlay.md and add the tests,examples, and documentation as a feature.
Yes, but we prefer to have a issue for each topic.


Support automd builder

Could be handy if it was a part of the package. So that you can just run unbuild.

Would be nice for unbuild integration 💯
(i was thinking of adding integration for changelogen too syncing readme when making a new release -- for example for adding new utils only when released)

Hi. Thinking more probably adopting automd in release related tooling would be better idea. unbuild can probably integrated with hooks.
If you still like to do it in unbuild please ping to reopen btw 👍🏼


fix(tree): retain max(additional, max_reorg_depth) block hashes

The actual number of canonical hashes we need to retain in memory is the maximum of how many is required for reorg (64) and for EVM execution (256). So it's 256.

seconding matt, if the block is not covered by max_reorg_depth, then it is present in the db

@mattsse @onbjerg It is inside db, but with this, it is cached in memory. In general, clients cache block hash values. if desired we can go without it.

@rakita I can't find the place where we check the cache in implementations of DatabaseRef::block_hash, is it used now?

@rakita I can't find the place where we check the cache in implementations of DatabaseRef::block_hash, is it used now?

We clone the hashmap, as it is small, and use it inside I think BundleStateDataProvider

@rakita I can't find the place where we check the cache in implementations of DatabaseRef::block_hash, is it used now?

We clone the hashmap, as it is small, and use it inside I think BundleStateDataProvider

ah, I was still looking at the outdated revm API 😄 I see it now, thanks.

@mattsse @onbjerg I added the comments explaining the need for 256, lmk if my understanding is wrong.


[Library Exporter Advanced] run exporter from command line

Extension name
Library Exporter Advanced
Feature Description
I'm not sure if there is already a way to do this or even if it's possible at all, but it would be great to be able to run the export from a command line so we can for example schedule a periodic export of our library to use it in some automations.
Thanks
Screenshots
No response

Command line is not possible for extensions. The alternatives I can think of are:

Support to call a export with URI call, e.g.: playnite://LibraryExporter/ExportCsv/<ExportPath>
Support to add a built-in periodic automatic export functionality


Add linear_gradient effect

Overview
A couple people over in the FAST pinball Slack mentioned wanting to have gradient text without the need for bitmaps so they could adjust it a bit easier. I was looking for an excuse to try compiling mpf so I've gone ahead and added a new linear_gradient effect for the display widget.
The effect supports an arbitrary number of color stops and rotation of the gradient. It's applied using a "multiply" blend mode but future enhancements could be made to support other blend modes too. I chose to start with multiply since I feel it covers a broad range of use-cases.
There is a slight black outline around text which has had the effect applied. As best I can tell, this isn't related to the shader as it's still there even if you change the shader's code to return a solid color and only keep the alpha channel. I suspect this has something to do with the anti-aliasing of the text but I couldn't say for sure. Either way, I think it still produces a nice effect and this outline does not appear to happen with other widget types.
I don't normally develop for Python and it's been a long time since I last wrote any GLSL so do let me know if I've made any obvious mistakes.
Related PRs

mpf #1675
mpf-docs #432

Example
Here's an example of the kinds of things you can do with this effect:

and here's the config that created this:
#config_version=5

window:
  width: 800
  height: 600
  title: Gradient Showcase

displays:
  window:
    width: 800
    height: 600
  text_display:
    width: 800
    height: 150
  rectangle_display:
    width: 800
    height: 600

slide_player:
  init_done:
    main_slide:
      target: window
    text_slide:
      target: text_display
    rectangle_slide:
      target: rectangle_display

slides:
  main_slide:
    background_color: ff5733ff
    widgets:
      - type: display
        width: 800
        height: 150
        source_display: text_display
        effects:
          - type: linear_gradient
            angle: 135
            color_stops:
              "0.2": 00ffffff
              "0.5": ff00ffff
              "0.8": ffff00ff
      - type: display
        width: 800
        height: 600
        source_display: rectangle_display
        effects:
          - type: linear_gradient
            color_stops:
              "0.0": 5d3fd3ff
              "1.0": 0000ff1c
  text_slide:
    background_color: 00000000
    widgets:
      - type: text
        text: Hello, World!
        font_size: 125
        anchor_x: center
        anchor_y: center
  rectangle_slide:
    background_color: 00000000
    widgets:
      - type: rectangle
        width: 800
        height: 600

Looks like the SDist step is failing in the build due to an unmet dependency. Is this expected? I didn't changed any dependencies so I assume this is unrelated to my changes:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libunwind-14-dev : Breaks: libunwind-dev but 1.3.2-2build2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Error: Process completed with exit code 100.

Thanks for this! I fixed the SDist issues (not related to anything you did here) and merged this in.


Cyberark security updates

What does this PR do?
Security Updates
What ticket does this PR close?
Checklists
Change log

[X] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[X] The changes in this PR do not require tests

Documentation

[X] This PR does not require updating any documentation

updated.


Helper for loading private keys

As part of https://github.com/Plutonomicon/cardano-transaction-lib/pull/437, PrivateKeys can now be used to create a Wallet. To enable easier use of such wallet, we could provide helpers to extract the private key from the signing-key file exported from cardano-cli. Eg
parse
{
    "type": "PaymentSigningKeyShelley_ed25519",
    "description": "Payment Signing Key",
    "cborHex": "582085f8d4382c92c17efcef0f20f9397abcedcd5fd9e576a6dcc99e582eb275b79d"
}

into 85f8d4382c92c17efcef0f20f9397abcedcd5fd9e576a6dcc99e582eb275b79d, loaded into the CSL PrivateKey type

This would be a great addition

This instruction should be updated when the loader is implemented:
https://github.com/Plutonomicon/cardano-transaction-lib/pull/437/files#diff-fec82e327e0c484b9d125432afa96364f8188be4df1d7e3b102778095d347020R185


xrdp-chansrv segmentation fault on client disconnect when FUSE is not available

When the RDP client disconnects it can cause a segmentation fault in xrdp-chansrv if FUSE is not enabled. Running xrdp 0.9.12 in Ubuntu 20.04 inside a Linux container with no FUSE everything works fine on the initial connection until the client disconnects then xrdp-chansrv segfaults and on re-connection copy and paste (as well as other xrdp-chansrv functions) will not work.
There are two workarounds, log out and back in to restart xrdp-chansrv or enable FUSE in the LXC (probably applies to Docker too).
I am creating this issue because the cause was hard to track down as everything works initially (before client disconnect), there wasn't anything obvious in the logs, and xrdp-chansrv should not really be segfaulting.
Debugging info:
user@host:~$ sudo gdb attach 3140
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
attach: No such file or directory.
Attaching to process 3140
[New LWP 3149]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f403bf21fcb in __GI___select (nfds=nfds@entry=9, readfds=readfds@entry=0x7ffff33af7c0, writefds=writefds@entry=0x7ffff33af840,
    exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
41      ../sysdeps/unix/sysv/linux/select.c: No such file or directory.
(gdb) cont
Continuing.

Thread 2 "xrdp-chansrv" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f403b6a5700 (LWP 3149)]
0x0000561ef6bd822d in xfs_delete_xfs_fs (xfs=0x0) at chansrv_xfs.c:390
390     chansrv_xfs.c: No such file or directory.
(gdb) where
#0  0x0000561ef6bd822d in xfs_delete_xfs_fs (xfs=0x0) at chansrv_xfs.c:390
#1  0x0000561ef6bd6ed7 in xfuse_deinit_xrdp_fs () at chansrv_fuse.c:867
#2  xfuse_deinit () at chansrv_fuse.c:557
#3  0x0000561ef6bda5e9 in clipboard_deinit () at clipboard.c:525
#4  0x0000561ef6bd47b0 in channel_thread_loop (in_val=<optimized out>) at chansrv.c:1435
#5  0x00007f403c007609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f403bf2c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)

Error when running xrdp-chansrv manually:
[20220802-20:27:22] [CORE ] main: app started pid 8639(0x000021bf)
[20220802-20:27:22] [INFO ] main: DISPLAY env var set to :10.0
[20220802-20:27:22] [INFO ] main: using DISPLAY 10
[20220802-20:27:22] [INFO ] channel_thread_loop: thread start
[20220802-20:27:51] [INFO ] Socket 12: AF_UNIX connection received
process_message_channel_setup: chan name 'rdpdr' id 0 flags 00000000
process_message_channel_setup: chan name 'rdpsnd' id 1 flags 00000000
process_message_channel_setup: chan name 'cliprdr' id 2 flags 00000000
process_message_channel_setup: chan name 'drdynvc' id 3 flags 00000000
fuse: device not found, try 'modprobe fuse' first
[1636295737]: FUSE       xfuse_init_lib: 790 : ERROR: fuse_mount() failed
No protocol specified
[20220802-20:27:51] [ERROR] xcommon_init: error, XOpenDisplay failed
xrdp-chansrv [1636295748]: segfault_signal_handler: entered.......
Segmentation fault

I know the xrdp version is a bit older but I didn't see an issue indicating that was addressed yet.
Thanks.

Duplicate of #1487 which was fixed on v0.9.13.


Test failures are obscured by the undhandledRejection throwing in test.js

Is this a bug report?
Probably more of an enhancement, but the current behavior is very painful
Steps to Reproduce
In a fresh directory I did
$ yarn
$ yarn add --dev jest react-scripts

Then I created a src/test.test.js files with the following content:
test("I'm asynchronous", async () => {
  const promise = Promise.reject("boom!")

  expect("some precondition").toBeFalsy()

  await rejected(promise)

  expect("some postcondition").toBeTruthy()
})

async function rejected(promise) {
  try {
      await promise
  } catch (e) {
      return e
  }

  throw new Error('Expected promise to be rejected')
}

Finally I ran the test with
CI=true yarn run react-scripts test --env=jsdom

This test demonstrates a pattern we use to test failure cases of React component callbacks as well as POJOs that make asynchronous requests and it works pretty well except when the test fails before we're able to await (and catch) our promise.
Expected Behavior
The behavior I would like to see is the failure due to expect("some precondition").toBeFalsy(). This is the assertion testing the behavior I need to change in order to fix this test. I wouldn't mind seeing output either before or after this failure to the effect of "There was an unhandled rejection", but I really need to see the failure in order to actually fix this test.
Actual Behavior
The actual behavior is that I see
$ CI=true yarn run react-scripts test --env=jsdom
yarn run v0.27.5
warning package.json: No license field
$ "$PATH_TO_NODE_MODULES/.bin/react-scripts" "test"

$PATH_TO_NODE_MODULES/react-scripts/scripts/test.js:22
   throw err;
   ^
boom!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

With a little searching I can find the place "boom!" is coming from, but even then I can't really get the test to fail on "some precondition" not being falsy.
Is there a better way to preserve test failures while still guarding against unhandled promise rejections?
I spent a little time hacking test.js to accumulate unhandled rejections, and was able to force the process to exit 1 and report unhandled rejections (by hooking into process.on("exit")) but Jest still reports success right before the failure output, which is confusing for both humans and WebStorm. Hopefully someone with more Jest knowledge can come up with something better.
Please let me know if there's more information that would be helpful, or if there are better patterns that avoid this problem entirely.
Thanks!

This seems like you'd get the best response in Jest repo: http://github.com/facebook/jest.

Hi @gaearon, could you elaborate on why this should move to Jest?
Naively, it seems like it's the test.js script that's causing the issue. Is it possible for Jest to handle the rejection when this code is immediately throwing? My initial experiments in that direction didn't seem promising -- the test.js hook throws before any other hooks I can set up.


eml attachments encoding regression

I found out that my change wasn't enough https://github.com/mikel/mail/pull/1106
Mail::Body.encoded calls get_best_encoding twice (correct transfer encoding should already be set for example in identify_and_set_transfer_encoding)
in my opinion, the encoding availability check shouldn't be called here.
the problem is in my case get_best_encoding('7bit') without available encodings always chooses base64 which is not compatible with eml file, but it encodes the content.
So as a result I have an eml attachment which claims to have
Content-Transfer-Encoding: 7bit (which is correct)
but in reality the content is encoded in base64 (which is forbidden), that makes the attachment unreadable

Thanks @ahorek. Moving to #1128.


[HOLD][$250] Migrate ReportActionItemMessageEdit.js to function component

Class Component Migration
Filenames

[ ] src/pages/home/report/ReportActionItemMessageEdit.js

type: React.Component
has state values: true
has refs: true
has context: false
lifecycle methods: none

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

⚠ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

Heads up! The pricing for this issue has been adjusted based on the scope of the work and the fact that no complex bug investigations or proposal are required.

Heads up, I'm taking this issue off HOLD and making it a Daily. If you are unable to work on it please remove your assignment and add the External + Help Wanted labels as per this update.

I can work on this issue if it goes to external

I would like to work on it

I want to work on it

@Prince-Mendiratta early bird gets the worm.

please assign me

I can work on this, also submitted proposal on upwork with technical steps i am going to do. thanks

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/numanhaider

Thanks for assignment, will submit PR by EOD today.

I would like to work on this issue

Still working on PR.

Sent an offer to @s77rt. @kushu7 - Could you apply for the job in Upwork? https://www.upwork.com/jobs/~01202162e07eb59a4b

@lschurr I didn't get any offer (Upwork profile). Should I apply?

Sorry about that! Yes, @s77rt - please apply.

@lschurr Applied!

All paid! Closing.


[hashing] sometime leads to Unexpected token < from runtime.js

🐞 Bug report
Command (mark with an x)

[ ] new
[X] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: no idea
Description

We are getting sometime Unexpected token < when we are using outputHashing: 'all' and the site is hosted on aws with gitlab pipeline.
🔬 Minimal Reproduction

🔥 Exception or Error

Unexpected token < from runtime.js

🌍 Your Environment

ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 9.1.0
Node: 10.16.0
OS: win32 x64

Angular: 9.1.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.901.0
@angular-devkit/build-angular     0.901.0
@angular-devkit/build-optimizer   0.901.0
@angular-devkit/build-webpack     0.901.0
@angular-devkit/core              9.1.0
@angular-devkit/schematics        9.1.0
@angular/cdk                      9.2.0
@angular/material                 9.2.0
@ngtools/webpack                  9.1.0
@schematics/angular               9.1.0
@schematics/update                0.901.0
rxjs                              6.5.4
typescript                        3.8.3
webpack                           4.42.0

Anything else relevant?

i think this is not relate to angular cli. but it relate to your webserver.
i don't known exact command for aws. but in normal case you should add header Cache-Control' 'no-cache, must-revalidate, max-age=0 to index.html.
i think this is problem when index.html try to load old runtime.js but it not exists on server. so it load error page that not actual js (something like <title>404 Not Found</title>

Hi @indraraj26,
@mix5003 is most certainly right here.
Closing as this issue is not caused by the Angular CLI and this issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


[Bug]: Invalid DB Backups

Error Message and Logs
Database creations are working well, but not the backups. When I try to backup a DB (or with scheduled backups) it installs a corrupt, unreadable tar.gz archive. Database configuration is untouched, I only enabled public Uri's.
There is no exceptions or any error messages, it succeeds but backup file is correct. I'm also sure about file size is incorrect.
MongoDB, self hosted - Ubuntu 22.04.1 LTS (coolify v4.0.0-beta.331)

The DB configuration is default and untouched.

Steps to Reproduce

Create a new database (MongoDB in this case)
Schedule daily backups and click trigger 'backup now'
Try unzip and see the error

Example Repository URL
No response
Coolify Version
v4.0.0-beta.331
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.1 LTS
Additional Information
No response

its not something you can open in winzip
use the import backup function or u can use
mongorestore --gzip --archive=/backup/backup_db.tar.gz  /backup/newdb


[PE-D][Tester D] Documentation inconsistency

Birthday of 4apr000002023 works although document states that birthday needs to be in DDMMMYYYY format.

Labels: type.DocumentationBug severity.Low
original: cocoanautz/ped#3

@4llysa i think have basis to reject on ground of forgiving erroneous input can add to UG as well

@UdhayaShan1 I agree with you. such an input was recognised by realodex as the correct date and application does not misbehave. other related features like sorting by birthday works as expected 👍🏻

Will close


No SPM version numbers?

I am trying to add this dependency through Xcode 11, but when I input the URL, there is no version information for the rules. Where do i get that? Pardon my naivte

I do not know, this is news to me too

Closing for not knowing what this is about

When trying to add a swift package through Xcode's FILE->Swift Packages -> Add package Dependency...
These are the values I am talking about. Usually they come in pre-filled with the current version number "up to the next major version." You cannot simply type these in as it will fail with the error "Failed to resolve dependency because no versions of SwiftTerm match the requirement " of whatever version numbers you typed in...

Could you research what is required and submit a PR?

It looks like the author needs to create a release in git and tag that with a semantic version number...
(from https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md)
Publishing a Package
To publish a package, create and push a semantic version tag:
$ git init
$ git add .
$ git remote add origin [github-URL]
$ git commit -m "Initial Commit"
$ git tag 1.0.0
$ git push origin master --tags
Now other packages can depend on version 1.0.0 of this package using the github url. An example of a published package can be found here: https://github.com/apple/example-package-fisheryates


kit start mounting wrong node

Describe the bug
For a number of reasons related to platform integration, nytimes wraps sveltekit html output in a template that will occasionally hoist script tags into the body tag:
src/hooks.js
/** @type {import('@sveltejs/kit').Handle} */
export async function handle({ event, resolve }) {
	return resolve(event, {
		transformPage: ({ html }) => {
                          // wraps the output in the nytimes renderer, which sometimes
                          // hoists script tags contained in html out of the generated component html and into the <body> tag.
			return render_page_in_template(html);
		},
	});
}

Since kit now assumes that the mount script is always an immediate child of the root mount node, this means that kit will mount the body node instead of the parentNode defined in app.html template.
In practice this means that if we wanted to embed a component generated by kit into the NYTs homepage (which hoists scripts), we're at risk of that component blowing out the entire DOM.
I really like the ergonomics introduced in https://github.com/sveltejs/kit/pull/3674, but I wonder if instead setting data-hydrate on <script  data-hydrate="foo" /> we set it on a tag that's not vulnerable to hoisting <div  data-hydrate="foo" />
Thanks so much for all the amazing work y'all have done so far. And thanks in advance for your wisdom on this.
Reproduction
In src/hooks.js write a small script that hoists kit script tags out of their default parent node.
Logs
No response
System Info
System:
    OS: macOS 12.3.1
    CPU: (10) x64 Apple M1 Max
    Memory: 2.44 GB / 64.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.18.3 - ~/bin/nvm/versions/node/v14.18.3/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 6.14.15 - ~/bin/nvm/versions/node/v14.18.3/bin/npm
  Browsers:
    Chrome: 100.0.4896.127
    Firefox: 99.0
    Safari: 15.4
  npmPackages:
    @sveltejs/adapter-static: 1.0.0-next.29 => 1.0.0-next.29
    @sveltejs/kit: 1.0.0-next.305 => 1.0.0-next.305
    @sveltejs/vite-plugin-svelte: 1.0.0-next.41 => 1.0.0-next.41
    svelte: ^3.44.0 => 3.46.4
    vite: ^2.6.10 => 2.8.4

Severity
blocking an upgrade
Additional Information
No response

I've opened #4698, which solves this, but at the cost of an additional element in all server-rendered HTML. While working on it, it occurred to me that you could probably achieve the same outcome using transformPage, I think?
const pattern = /data-hydrate="(.+)"/;

const response = await resolve(event, {
  transformPage: ({ html }) => html
    .replace(/<script[^]+?<\/script>/g, (script) => {
      const match = pattern.exec(script);
      return match ? `<span ${match[1]}/>${script.replace(pattern, '')}` : script;
    })
});

@Rich-Harris you're so fast! Thank you!
We're already doing the string manipulation you suggest in the comment. The concern with that approach is that it's modifying an internal sveltekit implementation detail that could change without warning. If y'all are aware of this edge case and don't think anything about the current implementation will change in the future, I'm super happy keeping that string replacing as our final solution! Otherwise, #4698 looks great!

@Rich-Harris it looks like this may have regressed. Would you recommend we manage the html script ourselves?


[Notification] Update Notification script to use the new cli to start/stop server and init config

Describe the feature
[Notification] Update Notification script to use the new cli to start/stop server and init config

fixed in #210


Adding support for ffprobe on streams as suggested in #365, #433

Including some extra handling child process stdin and input stream.

I have no time to review those currently, but I'll get to it ASAP !
Thanks !

This patch is working perfectly on my Mac, but it didn't work on my Linux server. I had to add
input.source.resume();
just before the pipe:
input.source.pipe(ffprobe.stdin);

Merged in 9380132


Hyprland and OS crashes under 6.12.3 Kernel

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes, No
System Info and Version
uname -a output
I am running a Debian SID (unstable) OS with kernel moving quite fast.
Since it's unstable (and for all Debian distros mostly) it keeps the last two kernels, so I'm still able to run Hyprland on this Kernel.
Linux 6.11.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23) x86_64 GNU/Linux

Though, with the same hard drive and booting with Linux 6.12.3-amd64
I am running Hyprland against recent commits (built from source):
hyprland -v output
**Hyprland 0.45.0 built from branch main at commit bb5c3f27023e0702642b72d1869427b9b0ff72e0  (core/output: don't send enter too aggresively).
Date: Tue Dec 10 02:40:35 2024
Tag: , commits: 1
built against:
 aquamarine 0.5.0
 hyprlang 0.5.3
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1

flags set:
debug**

The only log I get when running Hyprland is the basic one:
Welcome to Hyprland!
[LOG] Instance Signature: bb5c3f27023e0702642b72d1869427b9b0ff72e0_1734003786_2121398997
[LOG] Runtime directory: /run/user/1000/hypr/bb5c3f27023e0702642b72d1869427b9b0ff72e0_1734003786_2121398997
[LOG] Hyprland PID: 4227
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: iiztpc
[LOG] Release: 6.11.10-amd64
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23)

[LOG] GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])

[LOG] os-release:
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: I see a red door and I want it painted black.

[LOG] Old rlimit: soft -> 1024, hard -><PHONE_NUMBER>
[LOG] New rlimit: soft -><PHONE_NUMBER>, hard -><PHONE_NUMBER>
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 3.38µs. Estimated average calc time: 0.00µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 3.26µs. Estimated average calc time: 0.00µs.
[LOG] Using config: /home/iiztp/.config/hypr/hyprland.conf
[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug
[LOG] Creating the CHyprError!
[LOG] Creating the LayoutManager!
[LOG] Creating the TokenManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 3.14µs. Estimated average calc time: 0.00µs.
[LOG] Using config: /home/iiztp/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 3.17µs. Estimated average calc time: 0.00µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 2.93µs. Estimated average calc time: 0.00µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 2.98µs. Estimated average calc time: 0.00µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 3.00µs. Estimated average calc time: 0.00µs.

I've tried running it and put the output in a file but as my computer crashes, it doesn't fill the file.
Description
When logging in Linux with 6.12.3 Kernel and running the hyprland command, the output told in system info and version  happens and I don't have anything else besides that. Just a black screen and the computer starts burning, the only way to stop that is pressing continuously the power off button.
And when going back to Kernel 6.11.10, I have some "clearing independent inodes" meaning that maybe the problem is that we write something somewhere.
How to reproduce
Install a Debian with 6.12.3 Kernel and run the Hyprland environment.
Crash reports, logs, images, videos
No response

if it's a kernel regression it's not a hyprland bug.

doesn't really matter. If a kernel rev breaks hyprland it's not our fault. The kernel policy is to not break userspace. If it's the kernel's fault, bug them. If it's not, it's likely mesa.


https certificat expiry

Hey there,
The https certificat for the scylla.sh domain has expired. This also affects the API.
Cheers

Yeah, due to the expiration I got the big red cert. warning on Chrominium when visiting the site, it's not good looking.


⚠ Bofrost.at has degraded performance

In 9c8233b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1498 ms

Resolved: Bofrost.at performance has improved in f0fbb7b after 24 minutes.


stateContext sets wrong state on api::beforeSend

I use stateContext to trigger a loader/spinner during an API-call. This works fine, but the problem is the context (this) for beforeSend is set to the element matching stateContext, not the button which initiated the call. This makes it impossible to fetch data from the button (in this case) which is used to populate the request parameters.  According to the docs, beforeSend should have the "initialized element" as context, not the element matching stateContext!
The only way around this is to manually add code which enables/disables the spinner using a bunch of callbacks. Unless I'm doing something wrong here, this is clearly a bug.
See the code below for an example.
<button class="ui left blue attached button js-assign-all" data-todo="assign">Assign all</button>

$('.js-assign-all')
        .api({
            action: 'assign user',
            method: 'POST',
            stateContext: '.js-project-segment',
            beforeSend: function (settings) {
                settings.data.assign = $(this).data('todo'); // 'this' is NOT the button!
                return settings;
            }
        });

Fixed for Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/498
See https://jsfiddle.net/7oz0bncp/1/