Bump .NET version and bump iOS packages.

We might need the linker fixes for Android: https://github.com/xamarin/xamarin-android/pull/5610

@jonathanpeppers this happened, any idea why?
/usr/local/share/dotnet/sdk/6.0.100-preview.2.21114.3/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(109,5): error NETSDK1139: The target platform identifier android was not recognized.
/usr/local/share/dotnet/sdk/6.0.100-preview.2.21114.3/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(109,5): error NETSDK1139: The target platform identifier ios was not recognized.

The Android .pkg creates /usr/local/share/dotnet/sdk/6.0.100-preview.1.21103.13/EnableWorkloadResolver.sentinel -- so it's the wrong version now.
We just got the linker fixes in but for 6.0.100-preview.1.21109.8, let me bump Android to the exact same build.

We should have this one soon: https://github.com/xamarin/xamarin-android/pull/5669
I'll update the Android links here when we have them.

Looks like the iOS build fails on Windows with:
Xamarin.Messaging.Build.targets(107,3): warning VSX1000: Not enough information has been provided to MSBuild in order to establish a connection to a Remote Server. The project 'HelloForms' will continue building offline [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Build.targets(107,3): warning VSX1000: The connection to the Mac Server with Address='' and User='' couldn't be established. The project 'HelloForms' will continue building offline [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018: The "VerifyXcodeVersion" task failed unexpectedly. [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'Xamarin.Localization.MSBuild, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018: File name: 'Xamarin.Localization.MSBuild, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at Xamarin.iOS.Tasks.VerifyXcodeVersion.ExecuteAsync() [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at Xamarin.iOS.Tasks.VerifyXcodeVersion.ExecuteAsync() [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at Xamarin.iOS.Tasks.VerifyXcodeVersion.Execute() in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.iOS.Tasks.Windows/Tasks/VerifyXcodeVersion.cs:line 14 [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\a\1\s\HelloForms\HelloForms.csproj]
Xamarin.Messaging.Apple.targets(33,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [D:\a\1\s\HelloForms\HelloForms.csproj]

I get this locally, too. Is there a newer iOS package I could try?


feat(l2): standalone test for prover

Motivation
There is a need to run the zkVMs efficiently and quickly to perform time measurements for performance estimations.
Description
The PR adds:

Standalone test for the prover.
CI for the prover running the test in dev mode - No Proof Generation.

Closes #968

Looks like the added CI is added twice because there's both a rule to run on every PR and one to run on pushes to branches starting with l2, etc. Let's change the rule to push to be just main, i.e.
push:
    branches: [main]


[NewPlugin]  Meador Inge https://github.com/CarveSystems/binjawa 0.5.0

Please add my plugin to the repository.
Yes, I've read the instructions, especially the part about creating an actual release and creating the tag.
I either used the UI, or the hub command to create a real release.
Author: Meador Inge
Repo name: https://github.com/CarveSystems/binjawa
Release: v.5.0

Added, thanks!


Feat: Improve Footer design

Describe the feature
I want to improve the footer design for your website so that it looks good with the current website design. Please assign this task to me under hacktober and GSSoC extd labels. I'll make sure to complete it within a day.
Add ScreenShots
I'm planning to revamp the footer something like this.

Record

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

No needed for now you can search another issues


findAllRefs: Support anonymous default export

Fixes #19122
(Sequel to #17992)

CI errors seem unrelated:
13:00:35 src/server/server.ts(351,39): error TS2339: Property 'execArgv' does not exist on type 'Process'.
13:00:35
13:00:35 351             for (const arg of process.execArgv) {
13:00:35                                           ~~~~~~~~


After I press F6 to debug, I can't enter insert mode./当我按下 F6 进行调试后，无法进入插入模式

Pressing either 'a' or 'i' has no effect, while other modes are working fine
无论是按下 a 还是 i，都没有任何效果，其他模式正常

The tested file is a Python file, while the C++ file is not yet running in debug mode/
测试的文件是python文件,c++文件bebug还没跑起来

Fill your info with the template and re-submit the issue again.


Remove unusable API calls / correct mistakes in swagger API

This PR removes the unusable single image request call. It also correctly responds if a requested size does not exist with a 404 code and a 'Not found message'.
Please let me know if there are any other necessary changes that might impact any functions of the UI.

lgtm


Blender 3.3.1 is supported?

Hi! I open file outrun.blend in Blender 3.3.1 and save without editing. New file size is 923 932  bytes.
But after call api I get this picture:

Can you tell me the version of Blender that will work?

Blender 2.79 worked

This scene was made with an old version of Blender, it needs an update.


input JSON was invalid

HI, I've this error when I try to get object from parse cloud, It's worked but now just started to get this error.
This is my code:
var query = ParseObject.GetQuery("Travels");
var results = await query.FirstAsync();
The catch error send me "Invalide repsonse from server" and the innerException "input Json was invalid"
I work in WP8 app (.net)
Thanks!

I am facing the same issue in windows phone 8. When i use this snippet for initialization ParseClient.Initialize("Application Id", "dot net key");  it is working fine but now i am hosting parse server on my local and using  ```
ParseClient.Initialize(new ParseClient.Configuration
{
ApplicationId = "Application Id",
WindowsKey = "dot net key",
Server = "http://<IP_ADDRESS>:1337/parse",
});

> The catch error send me "Invalide repsonse from server" and the innerException "input Json was invalid"

Regarding parse server i am able to save and retrieve data from it properly using parse rest. So i feel there is no issue in parse server and something wrong with sdk.

 .

@prathmeshnaik91 Sorry, we need better documentation on this. You should add a trailing slash past your URL (e.g. http://<IP_ADDRESS>:1337/parse/), and it should work as expected.

@richardjrossiii thanks its working now (y). I have also proposed change regarding this in git documentation.

oh my, that / resolved the issue


Magic is broken in fish

After adding fish hook in config.fish, I'm getting:
string: contains: invalid subcommand

~/.config/fish/config.fish:
if not string contains -q -r "^$HOME/.local/bin(:|\$)" $PATH
   ^

I believe @ABevier fixed this, it's just not yet released.

yes 70b0bee

v0.25.2 deploying


Data extractor

Hi, this isn't an issue, I just figured this would probably be the best way to contact you.
Anyhow, I've been working on an extractor for Ultima Underworld 1/2 data/images as sort of a side project for a few months now that I thought may be at a point that it could be of some use to you in your work.  Most of the data it extracts is based on yours or Underworld Adventure's research but I've managed to figure out a few odds and ends that may be helpful.
Hope it helps and thanks again for your work on this, it's been crucial in my efforts and greatly appreciated!

Very cool to see. One comment to make. Most of the formats were decoded by the teams that worked on the earlier projects. I can take very little credit for their work.


Blockchain Workbench: Unable to add User to app

Hi,
Created a new in Active Directory. Logging into my Blockchain Workbench site as Admin user. See my  New app icon.  Only 1 User (admin) listed. Click on App. Add Member. Do a search for members and no user found.
I checked the F12 console in my google chrome browser and I found this error:
" error:"Internal Server Error" "
I checked the graph API permissions and they are set properly but I can't add Members to the App.

User needs to be aded to the application. Upon navigating to the web page, an on chain identifier will be created for them.  Then when you go in as Admin, you can add them.


Fix broken stubbed method expectation

Update file to require correct Mocha lib for MiniTest (instead of
Test::Unit). Using the wrong lib previously, meant that Mocha was
never verifying the stubbed method, and the test passed
(erroneously).

Update test to expect the correct method call for sign_in.

Resolves #1137 (which was exposed by the merge of #1134).

@zachfeldman, @MaicolBen, @lynndylanhurley, @krzysiek1507 (or anyone else):
Could a few people review this PR?  It resolves the broken builds on master following the merge of #1134.

As soon as I get a second approval, I will merge this!


cdk-table visual explanation

Bug, feature request, or proposal:
proposal
What is the expected behavior?
The cdk-table looks very flexible and useful. But when I try to get into its implementation details it seems very much confusing to understand the whole data-flow and template rendering.
I read the doc and also tried to refer the code many times, but I think its a visual explanation in form of a chart would be more helpful.
Maybe it's a silly requirement from a beginner, but if anyone can just guide me to the existing material available for the same on web, that would also be a great help.
Thank you

Was just wondering, the other users, when they were newcomer, they must also have faced the issue. Did they just refer the code, it's comment and gets the whole idea? :flushed: Any tips, how should take it up, before some detailed guide available?

@3sanket3 Hi there! Did you look at https://material.angular.io/guide/cdk-table ?

Yes, @Charius .  Anyway thanks for looking into.
But I think, I need to first properly understand the concepts of Attribute and Structure directive and their dynamic loading using ViewContainer, TemplateRef, and ElementRef. Clearing those concept, I  think I am slowly getting into it.

The doc here does assume knowledge of certain Angular concepts like ng-template and structural directives, which I think are best covered via angular.io. Recently https://angular.io/guide/content-projection#conditional-content-projection was created which I think helps a bit with this.
Closing since I don't think we would create any sort of diagram for the table, but feel free to open a new issue if there are specific parts of the table overview that don't adequately explain what a specific part of the table API does.


Naming of single_tol

The name single_tol seems somewhat ambiguous as to its meaning (e.g., single precision, single curve, etc). What about corner_tol?

Addressed with commit f9a300728f8ee84aba372f9d5d5994817725ea1c


windows: note IMDSv2 requirement

Description
See https://github.com/projectcalico/calico/pull/4939

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@lmm I believe this PR will need to be rebased on the latest monorepo work in this repository, so I'm going to close this for now. Would still love to see this merged, but the relevant files have been moved around.


Remove valueOf documentation

The valueOf method on most documentation seems trivial, and unnecessary, and trimming down the amount of documentation should deem useful long-term.

Closing


Add cleanup to levels

e.g. cleanup cgroups after container shutdown

for now, added one which can remove unused mounts and containers (776d563)


Insert admin.display/action above existing decorators

Closes #244

Ring the gong!!!

Thanks for being so supportive 🙂


Is this only for old versions of Windows?

This article was written 1/6/2022, but says it's for Windows 7, 8, 2008, and 2012. Really?

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

ID: 3b01f633-962a-274d-1769-e008e7049f03
Version Independent ID: c63b4c45-f5c6-d0fb-e14f-095f79b1a415
Content: Use PowerShell cmdlets to migrate on-premises content - SharePoint - Migrate to Microsoft 365
Content Source: migration/upload-on-premises-content-to-sharepoint-online-using-powershell-cmdlets.md
Service: sharepoint-online
Sub-service: sharepoint-migration
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Hello @AES2
The date that you see in the article is last edited date, not original first published date.
The list of OS that you see is minimum prerequisites.
Please let me know if I understood you correctly.

Sorry I just saw it indeed says supported, let me check if an update is required to the article


Refactor IoT Hub service protocol layer for registry APIs

This PR has two commits: one to add an "ideal" swagger file for us to edit, and one that modifies that swagger file to make the registry APIs follow track 2 guidelines for naming and documentation.
To see the changes I'm proposing in the swagger, I recommend viewing the second commit in isolation.
Broadly speaking, I am adding comments, making certain fields read-only, and renaming a few types (only the types that can safely be renamed since they aren't a part of an actual request).
As a for instance, I renamed "ExportImportDevice" to "RegistryOperation" to better describe what the object is. This kind of change should be safe to make because there is no serialization/deserialization logic tied to the name of the object as far as the service is concerned.

Closing this PR for now while we work out how to get these changes into hub first


fix(client): only list operation ids with associated operations as active

Fixes #3687. Tl;dr: get_active_operations returned the recovery operation id for which no operation log entry exists.
@dpc since you want to replace the state machines for recovery anyway and @Maan2003 has a workaround for now, do we want this fix? It likely makes the function much slower, but also prevents this from happening again in the future if SMs get used for other tasks.

We can land and remove and improve later.


ekf2 start failed error

Hi
I get this error when I run FlightGear simulation, ekf2 failed, and no GPS lock.

Which vehicle are you trying to simulate?

I will similate any plane with flightgear and PX4. i used this instruction with ubuntu 18.04 and px4 master.
https://dev.px4.io/master/en/simulation/flightgear.html
know flightgear works but i get ekf2 failed error.

Please provide the exact command that is making it fail

I used this command :
make px4_sitl_nolockstep flightgear_rascal
RESULT:
PX4 Communicator: PX4 Connected.
INFO  [mavlink] partner IP: <IP_ADDRESS>
WARN  [PreFlightCheck] Preflight Fail: no valid data from Compass #0
WARN  [PreFlightCheck] Primary compass not found
WARN  [PreFlightCheck] Preflight Fail: no valid data from Accel #0
WARN  [PreFlightCheck] Preflight Fail: Accel Range, hold still on arming
WARN  [PreFlightCheck] Primary accelerometer not found
WARN  [PreFlightCheck] Preflight Fail: no valid data from Gyro #0
WARN  [PreFlightCheck] Primary gyro not found
WARN  [PreFlightCheck] Preflight Fail: no valid data from Baro #0
WARN  [PreFlightCheck] Preflight Fail: Airspeed Sensor missing
WARN  [commander] Manual control lost
INFO  [commander] Manual control regained after 1.2s


Add hero section with attractive background image

Describe the solution you'd like
Add hero section
@sanjay-kv please assign me this issue

im not admin of this project, kindly tag admin

Hello!
I am a contributor in GirlScript Summer of Code (GSSoC) and would love to contribute to this project. I noticed that this task involves creating the hero section with a background image #146. I have experience with HTML, CSS, and responsive design, and I’m confident that I can implement it successfully.
Could I please be assigned to this issue?
I'd be happy to contribute and learn through this experience.


Month Chronology

Mensagem: Hello, jquery-albe-timeline fantastic script you have ;) I would like to use http://timeline.albertino.eti.br/templates/vertical/index.html but I have a problem with the chronology of the dates. The years are stacked ascending from the bottom of the page and this is ok. However, the months in 2015 are rising from the top in the layout. 2016-01-20 2015-03-29 2015-04-15 2013-01-20 Is it possible to change the month display layout to grow from the bottom in the layout? 2016-01-20 2015-04-15 2015-03-29 2013-01-20 So the oldest month (January, February ...) would be at the bottom. 2016-03-20 2016-02-20 2016-01-20 2014-12-20 ... 2014-01-20 2015-12-20 ... 2015-04-20 2015-03-20 2013-12-20 ... 2013-01-20 How to change the order of months in this layout? How to change the order of the years to start from 2012, then the months and at the end the year 2016? Thank you very much for your work and sharing Kamil

Yes, it's working perfect now ;)


fix: Mobile-friendly Insight Draft Switcher

This PR improves the mobile-responsive design of the Insight Draft Switcher so components can be shown correctly.

The new version at the left vs the old version at the right.

:tada: This PR is included in version 3.3.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


WORK IN PROGRESS Add ulid ID provider

Fixes #119

This is work in progress, it doesn't even work as it is now -- but I open up this PR to get a discussion going.
There are several issues, but the main problem I see is the mismatch between the increment keyword and a concept of a configurable IDProvider per DB or per Node.
Given the following example:

Sorry for the delay - it's a holiday weekend here currently, and I've had other obligations.

I want to use ULID for the ID, but I need to keep the incrementor for the Age
Do I then create a new identity tag or maybe some type-to-IDProvider registry?

Interesting, I hadn't considered that increment may be used for fields other than id.  I'd suggest that if the increment tag is encountered, we explicitly call the auto-increment provider, and provide an alternative tag that calls the configured provider, perhaps the tag might be auto, to avoid stuttering for id fields.
Should we restrict use of the new tag to id fields?

Storing and retrieving the last value just to throw it away seems wasteful, and we need some way to turn it off.

That's probably fair.  In that case, perhaps we do need to move to an interface, something like (assuming the auto tag):
func Auto(idp AutoProvider) func(*DB) error {...}

type AutoProvider interface {
        NextID(last interface{}) interface{}
        StoreLast() bool
}

type ULID struct {}

func (u ULID) StoreLast() bool {
        return false
}

func (u ULID) NextID(last interface{}) interface{} {...}

db, err := store.Open("my.db", Auto(storm.ULID))

Maybe we should differentiate increment from IDProvider.
increment is used to increment any number field, including the ID field (it should not make a difference between an ID and another field).
auto could be used for the ID field only (or not?) and simply generates a new value. It should not take the old value as param since it's the behaviour of increment.
Wdyt @bep @pdf ?

Maybe we should differentiate increment from IDProvider.

Yeah, that's certainly an option.

It should not take the old value as param since it's the behaviour of increment.

Are there any other ID strategies that might require the previous ID?

@pdf Not that i'm aware of, uuid, ksuid, objectid etc. all don't need the previous value to generate a new id. I'm not aware of any ID strategy that takes the previous ID (except autoincrement on integers) and if it exists, unless that's something really important that we didn't think of, we shouldn't care i guess.

Just a little heads up to say that I plan to complete this (I still need it), but other stuff has taken priority lately.

Let me know if you need any help 👍

any news about ulid support? or it already implemented in storm?


An obsession

Why dont develop a native android client app for mattermost-mobile，i have checked this "android", and it just a webview inside the project.

Hi @af913337456 - this is the repo for our new native mobile apps, which are built with React Native, so we are working on that.
The apps are in beta right now if you want to try them out, and will be released in Google Play in July.

thanks to reply，i know you are going go build an React Native App，but i hope you guys to build it with Java.


Composite spec shall not hard code the base paths for child specs.

For example: https://github.com/Azure/azure-rest-api-specs/blob/master/arm-compute/compositeComputeClient.json
{
    "info": {
        "title": "ComputeManagementClient",
        "description": "Composite Swagger for Compute Client"
    },
  "documents": [
    "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/2015-06-15/swagger/compute.json",
    "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/2015-11-01-preview/swagger/containerService.json"
  ]
}

The URL part: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute needs to be changed to local drive location in local development, and then in PR it needs to be replaced by URLs.
It's very rigid, and error prone.
Please do not let AutoRest spec include base URL parts, and the paths inside shall be relative to the location of the composite spec files, i.e.
    "2015-06-15/swagger/compute.json",
    "2015-11-01-preview/swagger/containerService.json"

@amarzavery

I like this idea. Those should all be relative paths.

I am not sure if that  is a good idea. I may be having swagger specs at two different locations that are not relative to a common base folder. With absolute paths, you can still compose them.
This is a low hanging fruit among all the items that we need to solve.

If multiple spec files are not organized in a way that it's 'common' to something, i.e. the common base path, then is it a good idea to proceed the composition without checking?
For example, we want to composite the Compute client family (Compute\VM, Compute\VMSS...), but it's hardly likely to composite Compute with Storage RP clients?

any update?

@devigned @amarzavery
By changing this PR to use relative from the repo root, now it's working:
https://github.com/Azure/azure-rest-api-specs/pull/359
By what do you think makes more sense? Change regarding to the repo root, or the composite file folder?

@amarzavery is OOF for a bit.
I think the issue we had before was that there is no real idea of root without the entire directory structure. Basically, with absolute URIs, the composite document can stand on it's own.
I like the relative URI's. I think following JSON Reference would make the most sense. Thoughts?

@devigned For what I see, JSON reference is too much complicated for our needs here. We don't need the ability to point inside the document with an anchor. But they give a recommendation about the relative uri solving:

If the URI contained in the JSON Reference value is a relative URI, then the base URI resolution MUST be calculated according to [RFC3986], section 5.2. Resolution is performed relative to the referring document.

According to this, the right relative path is regarding the place of the composite file.
Then the composite the composite file for compute should be:
{
  "info": {
    "title": "ComputeManagementClient",
    "description": "Composite Swagger for Compute Client"
  },
  "documents": [
    "./2016-03-30/swagger/compute.json",
    "./2016-03-30/swagger/containerService.json"
  ]
}

and not
{
  "info": {
    "title": "ComputeManagementClient",
    "description": "Composite Swagger for Compute Client"
  },
  "documents": [
    "./arm-compute/2016-03-30/swagger/compute.json",
    "./arm-compute/2016-03-30/swagger/containerService.json"
  ]
}

@lmazuel let's just go with what you have for the time being and bring this up in the next design discussion.
/cc @sphibbs

This has been done last year.


[Feature Request] Alerts

Usage example, including component, action, motion, or utility API
For the Alert component, it would be cool to have the following features:

Have a open parameter like the Modals for consistency
Have a closeIcon boolean parameter, that if true will create a close (X) icon at the top right of the alert that can allow the user to close the alert

Possible implementation - describe how the feature can be implemented
Described above. I might create a pull request if I have the time.
Do you want to contribute this feature and create a pull request
Yes

Hey, thanks for the suggestion. Right now we are not implementing new features, since we want to focus first on migrating the lib to svelte 5 - https://github.com/svelteuidev/svelteui/issues/491

I see, can I check where the Svelte 5 lib is being developed? Can I modify the Alerts component there then?


Feature Request: Display Director's Name in Discord Rich Presence

I would like to propose an enhancement for the Discord rich presence functionality in Kodi. Specifically, it would be great if the rich presence status could also display the name of the director of the currently playing media.

Fixed in https://github.com/zeroquinc/KodiDiscord/commit/b1f6b07ad8f95fc65683d4bfef1813af1dd6267d


[] instal failure

Operating system
windows
Compiler
No response
Steps to reproduce the behavior
vcpkg install  vtk[qt]:x64-windows

Failure logs
Computing installation plan...
error: while looking for qtbase:x64-windows:
error: while loading C:\src\vcpkg\ports\qtbase\vcpkg.json:
$.default-features[11]: mismatched type: expected an identifier
$.default-features[12]: mismatched type: expected an identifier
$.default-features[15]: mismatched type: expected an identifier

Additional context
I have installed qt5-base:x64-windows.

You can try this PR:
https://github.com/microsoft/vcpkg/pull/37731

This error is due to your vcpkg is old, please run command git pull and .\bootstrap-vcpkg.bat to update your local vcpkg. And you can also run command .\vcpkg upgrade --no-dry-run to update the installed packages.

翻译为英文：非常感谢，更新后，已不再出现该错误


Test sns publish_batch with raw message delivery

Add failing test as an example for reported issue

Thanks for adding this test case @simonschmidt, that's really useful :+1:

A fix for this issue is now part of moto >= 3.0.5.dev16


Recover set_nominal_values

Please refer to comment: https://github.com/XENONnT/alea/pull/110#pullrequestreview-1730662007

Aborted: https://xenonnt.slack.com/archives/C04JRF0AZTP/p1701080383219439


glob-hasher-linux-arm64-gnu not available

Describe the bug
Attempting to build a Lage-based project on MacOS and a modern MAC inside a Docker container fails with this notice:
 Error: Cannot find module 'glob-hasher-linux-arm64-gnu'

That module is not listed at https://www.npmjs.com/package/glob-hasher?activeTab=dependencies
I cannot find any instructions for falling back to a non-native version of the glob-hasher
To Reproduce

On an Apple M2 Max running MacOS 13.6.2, attempt to build a project using Lage inside a docker container.
See error mentioned above

Expected behavior
That the module either exists, or that instructions on how to survive without it would be available.
  System:
    OS: macOS 13.6.2
    CPU: (12) arm64 Apple M2 Max
    Memory: 831.53 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.18.0/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: 8.14.2 - ~/.nvm/versions/node/v18.18.0/bin/pnpm
  Managers:
    Cargo: 1.71.0 - ~/.cargo/bin/cargo
    Homebrew: 4.2.3 - /opt/homebrew/bin/brew
    pip3: 23.1.2 - ~/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/pip3
    RubyGems: <IP_ADDRESS> - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 14.0.3 - /usr/bin/gcc
    Git: 2.39.2 - /usr/bin/git
    Clang: 14.0.3 - /usr/bin/clang
    FFmpeg: 6.0 - /opt/homebrew/bin/ffmpeg
    Curl: 8.1.2 - /usr/bin/curl
  Virtualization:
    Docker: 23.0.5 - /usr/local/bin/docker
  IDEs:
    Emacs: 29.1 - /opt/homebrew/bin/emacs
    Vim: 9.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.20.4 - /usr/local/go/bin/go
    Perl: 5.30.3 - /usr/bin/perl
    Python: 3.12.0 - /Users/ken/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/python
    Python3: 3.12.0 - /Users/ken/Library/Caches/pypoetry/virtualenvs/authentik-BoGTmjdo-py3.12/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
    Rust: 1.71.0 - /Users/ken/.cargo/bin/rustc
  Databases:
    PostgreSQL: 14.9 - /opt/homebrew/bin/postgres
    SQLite: 3.39.5 - /usr/bin/sqlite3
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 16.6

Probably something related to THIS: https://napi.rs/docs/cli/artifacts.en#how-does-it-work


PHP MySQLi Shift

This pull request contains changes for upgrading from using the deprecated MySQL extension to using the MySQLi extension by the PHP MySQLi Shift.
Before merging, you need to:

Checkout the shift-42890 branch
Review all pull request comments for additional changes
Thoroughly test your application

If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

:warning: Several MySQLi functions require the resource parameter. Since this was missing in your original MySQL function call, $mysqli_link has been injected as a placeholder.
Depending on the number of injections and style of your codebase, it may be easier to adjust your mysqli_connect() assignment. Otherwise, you will need to review the injections in:

[ ] ./blacklist.php
[ ] ./edit.php
[ ] ./expire.php
[ ] ./forum-suche.php
[ ] ./forumliste.php
[ ] ./freunde.php
[ ] ./functions-community.php
[ ] ./functions-msg.php
[ ] ./functions.php
[ ] ./functions.php-aktion.php
[ ] ./functions.php-blacklist.php
[ ] ./functions.php-freunde.php
[ ] ./functions.php-func-chat_lese.php
[ ] ./functions.php-func-forum_lib.php
[ ] ./functions.php-func-forum_web.php
[ ] ./functions.php-func-nachricht.php
[ ] ./functions.php-func-sms.php
[ ] ./functions.php-func-verlasse_chat.php
[ ] ./functions.php-home.php
[ ] ./functions.php-index.php
[ ] ./functions.php-user.php
[ ] ./handyfilter.php
[ ] ./home.php
[ ] ./home_bild.php
[ ] ./index.php
[ ] ./install/functions.php-install.php
[ ] ./install/install.php
[ ] ./interaktiv-forum.php
[ ] ./interaktiv.php
[ ] ./ipayment.php
[ ] ./mail.php
[ ] ./raum.php
[ ] ./sms.php
[ ] ./smsin.php
[ ] ./sperre.php
[ ] ./statistik-functions.php
[ ] ./statistik.php
[ ] ./user.php
[ ] ./userinfo.php


Any ways for restarting the K4A-sensors connections during runtime

Hi,
I'm new to the Azure Kinect dk and I would like to know any ways to reconnect the K4A-sensor without restarting the program.
The render textures usually freeze within a minute. And Unity doesnt shows any errors or messages about disconnections.
I have test the sensors with the Azure Kinect Viewer and found that the sensors conenections will be disconnected very easily, especially the color camera enabled.
I guess it is because Im using the usb extension cable, and which causes the time-out.
I also try connecting the sensor to the PC directly. It can stream a longer time, but it will disconnect eventually.
Hope if there is any solutions. Thank you.

I think the main reason that causing unstable signal is because the cable I use is USB 3.0, while the azure kinect is suggested to use USB3.1
I will get a new cable later so I will close the issue. If there is no further problem I will leave it there.

I think the main reason that causing unstable signal is because the cable I use is USB 3.0, while the azure kinect is suggested to use USB3.1
I will get a new cable later so I will close the issue. If there is no further problem I will leave it there.


Migrate to DocFX v3

AB#249348

Docs Build status updates of commit e4b76b5:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

advocates/jeremy-likness.yml
:x:Error

Details

advocates/cecil-phillip.yml
:x:Error

Details

advocates/toc.yml
:warning:Warning

Details

advocates/index.yml
:warning:Warning

Details

advocates/map.yml
:warning:Warning

Details

advocates/index.html.yml
:warning:Warning

Details

advocates/jeremy-likness.yml

Line 9, Column 1: [Error-yaml-syntax-error] While scanning a literal block scalar, found extra spaces in first line.

advocates/cecil-phillip.yml

Line 9, Column 1: [Error-yaml-syntax-error] While scanning a literal block scalar, found extra spaces in first line.

advocates/toc.yml

Line 55, Column 10: [Warning-xref-not-found] Cross reference not found: 'advocates.cecil-phillip'.
Line 119, Column 10: [Warning-xref-not-found] Cross reference not found: 'advocates.jeremy-likness'.

advocates/index.yml

Line 10, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 12, Column 8: [Warning-file-not-found] Invalid file link: './tweets'.
Line 196, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.cecil-phillip'.
Line 372, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.jeremy-likness'.

advocates/map.yml

Line 246, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.cecil-phillip'.
Line 566, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.jeremy-likness'.

advocates/index.html.yml

Line 10, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 12, Column 8: [Warning-file-not-found] Invalid file link: './tweets'.
Line 250, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.cecil-phillip'.
Line 570, Column 8: [Warning-xref-not-found] Cross reference not found: 'advocates.jeremy-likness'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Conversion of MaxPoolSingleOut from ONNX to TOSA as well as ShapeHelper Support

This introduces the conversion of the MaxPoolSingleOutOp from ONNX to TOSA. It also brings in the DialectBuilder for TOSA. The implementation for that is the same as the one for MHLO.
Signed-off-by: Maximilian Bartel<EMAIL_ADDRESS>Co-authored-by: Ferdinand Lemaire<EMAIL_ADDRESS>Co-authored-by: Maximilian Bartel<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@jenkins-droid test this please

@AlexandreEichenberger I think you need to restart the jenkins tests again because of this merge commit

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@AlexandreEichenberger Thank you for your review. Without the ShapeHelper, we would have been definitely more restrictive on what to support in the conversion to TOSA.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@jenkins-droid test this please

@AlexandreEichenberger Do you know where this error is coming from?
Step 28/30 : COPY --from=onnx-mlir-dev-test / /

wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/ONNX-MLIR-Pipeline-Docker-Build@pr_1949@tmp/durable-e4044eb3

(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)

script returned exit code -1

It doesn't seem to be related to this PR. Maybe a simple restart of the job fixes this?

PPC env is generally flaky.  The fact that it passes everywhere else is a hint that it's probably a transient thing. I can restart it just to see again if we get the same results.
Typically, Linux / Mac / Windows systematic failure indicates a real problem. PPC where everything else works, less so.
@gongsu832 does this error seems genuine, or some transient effect?

@jenkins-droid test this please

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins Linux ppc64le Build #8440 [push] Conversion of MaxPoolSin... started at 15:55

Jenkins Linux amd64 Build #9376 [push] Conversion of MaxPoolSin... started at 14:51

Jenkins Linux s390x Build #9394 [push] Conversion of MaxPoolSin... started at 15:51

Jenkins Linux amd64 Build #9376 [push] Conversion of MaxPoolSin... passed after 1 hr 40 min

Jenkins Linux s390x Build #9394 [push] Conversion of MaxPoolSin... passed after 2 hr 2 min

Jenkins Linux ppc64le Build #8440 [push] Conversion of MaxPoolSin... passed after 3 hr 5 min


Provide NonBlockingFileIO helpers that use Swift System

As Swift System has gone 1.0 we can in principle take a dependency on the package. This might be a good opportunity to clean up NonBlockingFileIO abstraction to be rewritten in terms of Swift System's public types.

@Lukasa would this mean it can be moved into NIOCore

In principle, yes.

@Lukasa I played around with this yesterday evening and had a question.
Are we thinking that we would preserve the current NonBlockingFileIO API surface as it currently is today, and just change the implementation detail under the hood, or would we want to deprecate the current API in favour of something new?
Assuming the need to preserve API, I found I needed to translate the System.Errno errors back into NIO's NonBlockingFileIO.Error.descriptorSetToNonBlocking and IOError types. After this, the various read and write APIs seem to satisfy the existing tests.
The potential gotcha here is the lack of an ftruncate equivalent in Swift System, unless I'm missing something?

I think we'd ideally keep the existing API around for now, where we can, but we'd also want to add new API surface that consumes the types from swift-system as well. We can definitely then deprecate the older API in favour of the new one.
As for a missing ftruncate, that is something we should follow-up on with swift-system.

OK, I have a patch for Swift System to add a new API to Swift System for ftruncate functionality, I'll open a PR when I can.

OK, I have a patch for Swift System to add a new API to Swift System for ftruncate functionality, I'll open a PR when I can.

https://github.com/apple/swift-system/pull/82

@simonjbeaumont / @Lukasa what are the thoughts w.r.t. Swift System having an OS-dependent API?

At the moment I think I'm most interested in going to the higher level API surface, but in general I don't think it should matter overmuch.

@Lukasa are we still investing in NBFIO? If not, should we close?

Agreed.


[Improvement] Reduce number of dependencies (bech32, bs58)

The number of dependencies can be reduced, making the package potentially more secure.
bech32 and bs58 can be removed in favor of @scure/base which is already in indirect dependencies list.

bech32 https://github.com/paulmillr/scure-base?tab=readme-ov-file#bech32-bech32m-and-bitcoin
base58 https://github.com/paulmillr/scure-base?tab=readme-ov-file#usage

https://github.com/MystenLabs/sui/blob/main/sdk/bcs/src/hex.ts can be simplified as hex.decode and hex.encode from the same package @scure/base

Thanks @mahnunchik! I'll flag it to the right folks.


ValueError perands count not be broadcast together with shapes (xxxx, xxxx)

Hi,
I can successfully get grouper to run on the example dataset but when I try it on my own I get an error 'ValueError: operands could not be broadcast together with shapes (3126384,) (6274562,) ' Which seems to have something to do with pandas.
The transcriptome is very large. I built it using several different runs and merged with dddupe to remove exact matches. Is there an upper limit to the number of transcripts you can have?
/homes/eddydowle/.local/bin/Grouper:46: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
cfg = yaml.load(yamCfg)
2019-06-03 21:11:46 mage11 root[70635] INFO Building multiple alignment graph
2019-06-03 21:11:51 mage11 root[70635] INFO quant file: just_trinity/EW25_salmon/quant.sf; eq file: just_trinity/EW25_salmon/aux_info//eq_classes.txt; # tran = 3126384; # eq = 2382604
Traceback (most recent call last):
File "/homes/eddydowle/.local/bin/Grouper", line 238, in
processQuant()
File "/homes/eddydowle/.local/lib/python2.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/homes/eddydowle/.local/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/homes/eddydowle/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/homes/eddydowle/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/homes/eddydowle/.local/bin/Grouper", line 121, in processQuant
eqnet.buildNetFile(sampleDirs, netFile, cutoff, auxDir)
File "/homes/eddydowle/.local/lib/python2.7/site-packages/grouper/eqnet.py", line 52, in buildNetFile
sumCounts = np.maximum(sumCounts, estCount)
ValueError: operands could not be broadcast together with shapes (3126384,) (6274562,)

Hi,
I've not run into this problem before so I can not put a limit on the size. If there's a lot of contigs in the assembly, I can image the graph getting too big and running into memory issues. However, this does not seem to be a memory error. Are all the salmon output files you pass to grouper generated using the same index/reference? Is it possible to share some of them over email so that I can reproduce the issue and help address it?

Hi,
I've not run into this problem before so I can not put a limit on the size. If there's a lot of contigs in the assembly, I can image the graph getting too big and running into memory issues. However, this does not seem to be a memory error. Are all the salmon output files you pass to grouper generated using the same index/reference? Is it possible to share some of them over email so that I can reproduce the issue and help address it?

Hi There,
I have come across the exact same issue/error:
2019-06-19 12:26:39 node05 root[24673] INFO quant file: /home/estander/rauwolfia/seq2019/grouping/02_mega_transcriptome.fa_for_grouper/quant.sf; eq file: /home/estander/rauwolfia/seq2019/grouping/02_mega_transcriptome.fa_for_grouper/aux_info//eq_classes.txt; # tran = 1395754; # eq = 1581910
Traceback (most recent call last):
  File "/home/estander/.local/bin/Grouper", line 238, in <module>
    processQuant()
  File "/home/estander/.local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/estander/.local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/estander/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/estander/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/estander/.local/bin/Grouper", line 121, in processQuant
    eqnet.buildNetFile(sampleDirs, netFile, cutoff, auxDir)
  File "/home/estander/.local/lib/python2.7/site-packages/grouper/eqnet.py", line 52, in buildNetFile
    sumCounts = np.maximum(sumCounts, estCount)
ValueError: operands could not be broadcast together with shapes (1395754,) (9293458,)

My experimental setup is pretty much similar to @eddydowle ; I have a large transcriptome (1395879 contigs) created from merging smaller transcriptomes that have been dereplicated using CD-HIT-EST. This single transcriptome was used as the reference/index in salmon. Grouper was installed using python 2.7.
My config.yaml looks as follows:
`conditions:
- LeL
- LeS
- RS
samples:
LeL:
- /home/estander/rauwolfia/seq2019/grouping/02_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/05_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/06_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/25_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/26_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/27_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/29_mega_transcriptome.fa_for_grouper
LeS:
- /home/estander/rauwolfia/seq2019/grouping/08_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/09_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/12_mega_transcriptome.fa_for_grouper
RS:
- /home/estander/rauwolfia/seq2019/grouping/19_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/20_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/21_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/22_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/23_mega_transcriptome.fa_for_grouper
- /home/estander/rauwolfia/seq2019/grouping/24_mega_transcriptome.fa_for_grouper
outdir: mega_transcriptome.fa_grouper_worphan_nomincut
orphan: True
mincut: False
`
Please let me know if you require any additional information.


GEOMESA-2444 Never calculate exact counts unless configured to do so

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Is this something worth documenting?

I think this actually pulls the functionality into alignment with the documentation.

I have tested this on an optix test system, and found it to allow wfs 1.1 and json output.


url

https://expandjs.com/showcase/youtube:
url not available

Oops! The url was update on the website, but not on GH. Fixed it, thanks!
The new url is https://expandjs.com/examples/youtube btw.

https://expandjs.com/examples/youtube is also wrong

That's odd. This is what I am seeing:

Alright, turns out there was a bug with the service worker not serving the proper files. It is fixed now.
If you clean the cache or even just refresh the service-worker, it should work as expected.

Its works :thumbsup:


Include WUNTRACED in sys/wait.h constants

For the wait family the only constant flag that is defined is WNOHANG.  The POSIX standard defines WUNTRACED as well. I would be happy to create a PR for this except I don't know how to find the value of the constant on Solaris. Linux also defines some more flags like WCONTINUED that could be added as well.

Sure! It's ok to leave out the value one some platforms and only include it on the ones you can find the value for, so no worries there. Also feel free to add any other flags, they'd definitely be welcome!


Setup a "property editor" box

To start, this could show:

editable x/y
editable width/height
is opaque?
has a cached image?
alpha
focus state

Probably we want to put the tree view in its own column and put properties under the box model? Could play with it, maybe properties in their own col also ok.
I want to "collapse" (aka remove the extra column) when "enabled" is unchecked.

Look at chrome "inspector" for initial guidance on the properties view (no "filter" or disclosure triangle needed, can just theme the JUCE property editor)

That was a great idea to use juce::PropertiesPanel, it simplified adding new properties a lot 👍
Available on develop. I don't have any visual way to separate editable vs non-editable properties in the menu. Maybe we can come up with something to make it more obvious.
https://user-images.githubusercontent.com/15266737/205415124-c0dd1824-e2b1-4cb9-82ed-4fdab389e76f.mp4


Add draft version of worker-declartives

Purpose

Add draft version of worker-declartives

Fixes #
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #23295   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

Continue to review full report at Codecov.

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

Closing in favor of https://github.com/ballerina-platform/ballerina-lang/pull/23377


properties option

A simpler interface for having support for both require and require.resolve instead of having to implement my own isRequire function.

@substack any thoughts?

@substack bump. I'm fine if you don't want to support this, just looking for some feedback

Hey @charlierudolph, a few things:

Couldn't you do this by passing in a custom opts.isRequire? Especially since the return object's strings doesn't contain any info about where the string came from.
Since the most common use case is to not pass opts.properties, why not optimize for it by changing else if (callee.type === 'MemberExpression' && to else if (properties && callee.type === 'MemberExpression' &&? (That also means changing var properties = opts.properties).
Your test would also pass if you did require[resolve]('b');
For substack PRs, he likes the extra spaces.

Couldn't you do this by passing in a custom opts.isRequire? Especially since the return object's strings doesn't contain any info about where the string came from.
Yeah that's how I currently support this. Just wanted to move some of that logic in here as I felt require.resolve is a pretty normal thing to do

Since the most common use case is to not pass opts.properties, why not optimize for it by changing else if (callee.type === 'MemberExpression' && to else if (properties && callee.type === 'MemberExpression' &&? (That also means changing var properties = opts.properties).
ok

Your test would also pass if you did requireresolve;
I'm fine with that, are you suggesting adding a test case for that?

For substack PRs, he likes the extra spaces.
So he wants the trailing whitespace? My editor removes that automatically but I can try to put it back

Yeah that's how I currently support this. Just wanted to move some of that logic in here as I felt require.resolve is a pretty normal thing to do

That's the point of providing a configurable test function, to keep thing custom checks out of the core project :smile: So if it's already working for you, then it makes sense to keep it out.


Installing specific version of a package on CLI

Hi, I wish to install a specific version of a package using the command line. How can I do this? The only documentation I've found is this link, describing an rather complicated process using manifest mode: https://learn.microsoft.com/en-us/vcpkg/consume/lock-package-versions

You can create an overlay port that selects/installs the version of a port you need without manifest mode.
See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

You can create an overlay port that selects/installs the version of a port you need without manifest mode. See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

If you want to directly use the install command to install a specific version of a port, overlay-ports is the best method.

I will convert this issue to dicussion.


How to install requirements?

For a non julia knower it's not obvious how I can get julia to install the REQUIRE file, I'll probably find it out soon but it'd be nice to have in the readme.

done


Add TARZAN by Unicorn On Ketamine

Song Name
TARZAN
Artist Name
Unicorn On Ketamine
Source
Youtube
Youtube Link
OsHP2deFii8
Direct File Link
No response
Song ID
123321
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 94909019

accept


Calendar

As a user, I want to see a calendar, so that I can use it for multiple purposes (issues #70, #71, #75)
Acceptance

[x] interactive calendar

[x] navigation through time
[x] default is a weekly view

DoD

[x] Tests
[ ] Documentation
[ ] CI Build passing
[ ] Peer Review
[ ] Approval from PO

Maybe this gem  could be useful?

Sometimes when clicking through the calendar, the days become a darker or lighter shade of gray. How does this happen?

Also, by "default is a weekly view" I meant that you could choose which time interval you want to see, but the default would be the week. But fair enough, I was really not clear about that!

The branch still needs to be updated to the new overall layout.

https://github.com/hpi-swt2/compass-portal-blue/blob/cfee6c3df11b7674cac6239577b2b17e6448ee49/app/controllers/rooms_controller.rb#L23-L30
I think @month and @year should depend on the start_date parameter instead of the current date. Otherwise, the month and year will always show the current date, regardless of which week is actually shown in the calendar.


as() description does not show up in test output

as() and describedAs() are very useful, but the problem is that they do not show up in the test output (using JUnit 4.12 in IntelliJ IDEA).
I would expect that when an assertion fails, the description would be emitted as part of the test output. At least in my case the description is absent from the output and is currently functioning as little more then a comment.

@arnonmoscona
Can you share your code, the output you are getting and the output you expect?

OK. Here goes. Mind you, I am doing this all inside IDEA so the text is not exactly like what you get from the command line (IDEA JUnit plugin adds some lines of its own). The example test class looks like this:
import org.junit.Test;
import static org.assertj.core.api.Assertions.*;

/**
 * example of a test with as()
 */
public class AssertJExample {
    /**
     * Tests as()
     */
    @Test
    public void testAs() throws Exception {
        int x = 1;
        assertThat(x<0).isTrue().as("X has the wrong value. Expected to be negative.");
    }
}

This is written to fail, obviously. Here's the relevant part of the output (skipping lots of noise):

com.moscona.util.async.furtures.AssertJExample
org.junit.ComparisonFailure:
Expected :true
Actual   :false
...
at com.moscona.util.async.furtures.AssertJExample.testAs(AssertJExample.java:33)
...

This output has no trace of the description provided in the as() method. I would expect to get something along the lines of:

com.moscona.util.async.furtures.AssertJExample
org.junit.ComparisonFailure:
Expected :true
Actual   :false
Described as: "X has the wrong value. Expected to be negative."
...
at com.moscona.util.async.furtures.AssertJExample.testAs(AssertJExample.java:33)
...

The error without the description in the output is often cryptic. It just tells you what comparison failed, but nothing else. When using soft asserts, the problem is compounded. When the description is not present you cannot really distinguish which assertion failed without referring to the source. Suppose, for instance that we had 3 soft assertions and they were all boolean expectations. One or two failed, but which one(s)?

You need to use as() before the assertion because a failing assertion stops the chained methods called afterwards.
It should be better documented as I already have seen this misuse before.

Ah!
I completely missed that. Maybe just a comment on the web site would help avoid this error...

will do.

Clarification made in Javadoc  (next version) and in the web site.

@joel-costigliola found that this is not showing as() method correctly:
Case NOT displayed:
Assertions .assertThat("ward") .as("Custom message") .asString() .containsPattern(".*ord");
out:
java.lang.AssertionError:  Expecting actual:   "test" to contain pattern:   "ord"
Case displayed:
Assertions .assertThat("ward") .as("Custom message") .asString() .containsPattern(".*ord")
out:
java.lang.AssertionError: [Custom message]  Expecting actual:   "test" to contain pattern:   "ord"
version: 3.20.0
can you pls add more details to docs.

Indeed asString() forgets about the previously set description.


Warning for incorrect dependency grunt-contrib-coffee

warning "angular-bacon ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>Why is this an actual dependency and not only a dev-dependency?

No reason. Fixed now. Thanks!


Wrapping $path function

Problem
Sometimes, you want to create a function that wraps the $path function. For example, given the following code:
import { redirect } from "@remix-run/node";
import { $path } from "remix-routes";

export let action = () => {
  return redirect(
    $path("user/:userId", { userId: 1 })
  )
}

// ...

In larger projects where you often follow this pattern, your natural instinct is to make a helper function that takes the same typed params as $path but returns a redirect. For example:
import { $path } from "remix-routes";
import { redirect as remixRedirect } from "@remix-run/node";

export function redirect(args: Parameters<typeof $path>) {
  return remixRedirect($path(...args));
}

However, something else is needed. Given the implementation uses function overloading, Parameters does not infer all the correct type narrows. Instead, it just picks the first option and only allows one route.
This is a famous issue in the typescript world. I'm not sure the best way to address it or if it's worth addressing, but I assume it would require restructuring how the types are stored.
Potential Solution/s
An alternative called routes-gen does this by storing all of the routes in a key-value pair and exposing that to the user, but they don't support all the extra features that remix-routes has such as typed query strings.
Side point, this is a great package I enjoy using a lot!

I'm exporting route definitions in #40, with the Routes interface, you can wrap your own redirect helper as following.
import { Routes } from 'remix-routes';
import { redirect as remixRedirect } from "@remix-run/node";

function redirect<R extends keyof Routes, P extends Routes[R]["params"], Q extends Routes[R]["query"]> (route: R, params: P, query?: Q) {
  const includeParams = route.indexOf('/:') > -1;
  return remixRedirect(
      includeParams ? $path(route as any, params as any, query as any) : $path(route as any, query as any)
  );
}

This solution is great, but then I would always need to include the empty object for the second parameter regardless if any params are necessary:
// Throws error:
redirect("/")

// No error:
redirect("/", {})

Is there a way to structure this so that the empty object is not needed?

This solution is great, but then I would always need to include the empty object for the second parameter regardless if any params are necessary:
// Throws error:
redirect("/")

// No error:
redirect("/", {})

@yesmeck Is there a way to structure this so that the empty object is not needed?

To the best of my knowledge, it doesn't seem possible to do it in this way.

@mattpocock any takes on this?

https://www.youtube.com/watch?v=YE_3WwX-Dl8

Insanity! You are truly the king of typescript ❤

export const redirect = <
  Route extends keyof Routes,
  Param extends Routes[Route]["params"],
  Query extends Routes[Route]["query"]
>(
  ...args: Param extends Record<string, never>
    ? [route: Route, query?: Query]
    : [route: Route, params: Param, query?: Query]
) => {
  return args;
};

Phenomenal! This is the exact solution. @yesmeck, should I create a PR to add a helpful section called "Recipes" for this and prefix a route?

@moishinetzer do it.

Sure, I'm certain that the codegen could be condensed massively by using this ...args hack. It's worth investigating.

Yes, we only need to generate one $path method.


Scrapper, Evgeny Baronov - 22FPL2

No activity in PR. It is right time to start working on it.

No activity in PR. It is good time to start working on lab assignment

.

.


Warning message displayed by default in last version

Description
In the last version of jax  a message is always printed when initialising the runtime.
I don't have any particular env variable set.
I think this should be hidden by default.
python-3.11.2 ❯ python -c 'import jax;print(jax.numpy.ones(3))'
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1696178045.970178       1 tfrt_cpu_pjrt_client.cc:349] TfrtCpuClient created.
[1. 1. 1.]

What jax/jaxlib version are you using?
jax 0.4.16, jaxlib 0.4.16
Which accelerator(s) are you using?
cpu
Additional system info
python 3.11, macOS
NVIDIA GPU info
No response

Thanks for the report! This has been fixed, and the warning should not appear in the next jaxlib version.

sorry for the noise then. Thanks!


Unit tests jcl over slf4j

This Pull-Request second in the series that attempts to cover a module with pure unit tests.
It contains unit tests for jcl-over-slf4j module. This Pull Request covers the code to 100% of lines for this module.
The code coverage report can be generated and viewed using the instructions mentioned in CODE_COVERAGE.md
Please let me know in case of any issues/concerns.
Mohd Farid
DevFactory - Open Source Unit Test Team

Notwithstanding the mastery of PowerMockito shown therein, I am not interested nor see the added value in these tests.


🐛Paperless ngx </sbin/docker-entrypoint.sh: line 157: PAPERLESS_OCR_LANGUAGES: unbound variable>

Description
Start of application fails
Paperless-ngx docker container starting...
/sbin/docker-entrypoint.sh: line 157: PAPERLESS_OCR_LANGUAGES: unbound variable
Reproduction steps
Start Paperless
See Log

Addon Logs
 Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
 Defining permissions for main user :
User UID: 0
User GID : 0
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config/config.yaml'
OCRLANG='DEU'
PAPERLESS_CONSUMPTION_DIR='/mnt/dokumentenverwaltung/neue_dokumente'
PAPERLESS_DATA_DIR='/mnt/dokumentenverwaltung/data'
PAPERLESS_MEDIA_ROOT='/mnt/dokumentenverwaltung/media'
PAPERLESS_OCR_MODE='skip'
PGID='0'
PUID='0'
certfile='chain.pem'
cifsdomain='192.168.x.x'
cifspassword='x'
cifsusername='x'
keyfile='privkey.pem'
networkdisks='//x/dokumentenverwaltung'
ssl='false'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
[10:17:32] WARNING: ------------------------
[10:17:32] WARNING: This is a new code, please report any issues on https://github.com/alexbelgium/hassio-addons
Mounting smb share(s)...
[10:17:32] WARNING: ------------------------
... using domain 192.168.x.x
... using PUID 0 and PGID 0
... mounting //192.168.x.x/dokumentenverwaltung
[10:17:34] INFO: ...... //x/dokumentenverwaltung successfully mounted to /mnt/dokumentenverwaltung with options rw,file_mode=0775,dir_mode=0775,username=xxx,password=XXXXXXXXXX,nobrl,uid=0,gid=0,iocharset=utf8,domain=<IP_ADDRESS>
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory

Load environment variables from /config/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /addon_configs/db21ed7f-paperless-ng/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables

PAPERLESS_TIKA_ENABLED='true'
TZ='Europe/Berlin'
PAPERLESS_OCR_LANGUAGE='deu'
PAPERLESS_TIKA_ENDPOINT='http://192.168.x.x:9998'
PAPERLESS_TIKA_GOTENBERG_ENDPOINT='http://192.168.x.x:3000'
PAPERLESS_FILENAME_FORMAT_REMOVE_NONE='true'
PAPERLESS_ADMIN_USER='x'
PAPERLESS_ADMIN_PASSWORD='x'
PAPERLESS_OCR_SKIP_ARCHIVE_FILE='always'
PAPERLESS_WORKER_TIMEOUT='30000'
PAPERLESS_CONSUMER_DELETE_DUPLICATES='true'
PAPERLESS_CONSUMER_RECURSIVE='true'
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS='true'
PAPERLESS_CONSUMER_POLLING='600'
PAPERLESS_FILENAME_DATE_ORDER='DMY'
/etc/cont-init.d/01-custom_script.sh: executing
Execute /addon_configs/db21ed7f-paperless-ng/paperless-ng.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/20-migration_config.sh: executing
/etc/cont-init.d/31-nginx.sh: executing
/etc/cont-init.d/99-run.sh: executing
[10:17:38] INFO: Defining variables
Creating directory "/mnt/dokumentenverwaltung/data"
Creating directory "/mnt/dokumentenverwaltung/media"
Creating directory "/mnt/dokumentenverwaltung/neue_dokumente"
Creating directory "/config/export"
[10:17:47] INFO: Defining database
[10:17:47] INFO: Using sqlite as database driver
PAPERLESS_DATA_DIR=/mnt/dokumentenverwaltung/data
PAPERLESS_MEDIA_ROOT=/mnt/dokumentenverwaltung/media
PAPERLESS_CONSUMPTION_DIR=/mnt/dokumentenverwaltung/neue_dokumente
PAPERLESS_EXPORT_DIR=/config/export
USERMAP_UID=0
USERMAP_GID=0
PAPERLESS_OCR_LANGUAGES=deu
PAPERLESS_OCR_MODE=skip
PAPERLESS_ADMIN_PASSWORD=admin
PAPERLESS_ADMIN_USER=admin
[10:17:48] INFO: Starting redis
[10:17:48] INFO: Starting nginx
770:C 13 Jan 2024 10:17:48.172 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
770:C 13 Jan 2024 10:17:48.172 # Redis version=7.0.11, bits=64, commit=00000000, modified=0, pid=770, just started
770:C 13 Jan 2024 10:17:48.172 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
770:M 13 Jan 2024 10:17:48.173 * monotonic clock: POSIX clock_gettime
770:M 13 Jan 2024 10:17:48.175 * Running mode=standalone, port=6379.
770:M 13 Jan 2024 10:17:48.175 # Server initialized
770:M 13 Jan 2024 10:17:48.175 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
770:M 13 Jan 2024 10:17:48.176 * Ready to accept connections
[10:17:48] INFO: Initial username and password are admin. Please change in the administration panel of the webUI after login.

Starting the upstream container

Paperless-ngx docker container starting...
/sbin/docker-entrypoint.sh: line 157: PAPERLESS_OCR_LANGUAGES: unbound variable

Architecture
No response
OS
Virtual Machine

Still same, update and couple of restarts later:
-----------------------------------------------------------
 Add-on: Paperless NGX
 Scan, index and archive all your physical documents
-----------------------------------------------------------
 Add-on version: 2.3.3-2
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.4  (amd64 / qemux86-64)
 Home Assistant Core: 2024.1.3
 Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
 Defining permissions for main user :
User UID: 0
User GID : 0
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
CONFIG_LOCATION='/config/config.yaml'
OCRLANG='DEU ENG'
PAPERLESS_CONSUMPTION_DIR='/mnt/dokumentenverwaltung/neue_dokumente'
PAPERLESS_DATA_DIR='/mnt/dokumentenverwaltung/data'
PAPERLESS_MEDIA_ROOT='/mnt/dokumentenverwaltung/media'
PAPERLESS_OCR_MODE='skip'
PGID='0'
PUID='0'
certfile='chain.pem'
cifsdomain='192.168.x.x'
cifspassword='x'
cifsusername='x'
keyfile='privkey.pem'
networkdisks='//192.168.x.x/dokumentenverwaltung'
ssl='false'
Timezone set from Etc/UTC to Europe/Berlin
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
[11:18:14] WARNING: ------------------------
[11:18:14] WARNING: This is a new code, please report any issues on https://github.com/alexbelgium/hassio-addons
[11:18:14] WARNING: ------------------------
Mounting smb share(s)...
... using domain 192.168.x.x
... using PUID 0 and PGID 0
... mounting //192.168.x.x/dokumentenverwaltung
[11:18:16] INFO: ...... //192.168.x.x/dokumentenverwaltung successfully mounted to /mnt/dokumentenverwaltung with options rw,file_mode=0775,dir_mode=0775,username=homeassistant,password=XXXXXXXXXX,nobrl,uid=0,gid=0,iocharset=utf8,domain=<IP_ADDRESS>
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory
Load environment variables from /config/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /addon_configs/db21ed7f-paperless-ng/config.yaml
---------------------------------------------------------
Wiki here on how to use : github.com/alexbelgium/hassio-addons/wiki/Add‐ons-feature-:-add-env-variables
PAPERLESS_TIKA_ENABLED='true'
TZ='Europe/Berlin'
PAPERLESS_OCR_LANGUAGE='deu'
PAPERLESS_TIKA_ENDPOINT='http://192.168.x.x:9998'
PAPERLESS_TIKA_GOTENBERG_ENDPOINT='http://192.168.x.x:3000'
PAPERLESS_FILENAME_FORMAT_REMOVE_NONE='true'
PAPERLESS_ADMIN_USER='Andreas'
PAPERLESS_ADMIN_PASSWORD='Fabian9.Simon7-pa'
PAPERLESS_OCR_SKIP_ARCHIVE_FILE='always'
PAPERLESS_WORKER_TIMEOUT='30000'
PAPERLESS_CONSUMER_DELETE_DUPLICATES='true'
PAPERLESS_CONSUMER_RECURSIVE='true'
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS='true'
PAPERLESS_CONSUMER_POLLING='600'
PAPERLESS_FILENAME_DATE_ORDER='DMY'
/etc/cont-init.d/01-custom_script.sh: executing
Execute /addon_configs/db21ed7f-paperless-ng/paperless-ng.sh if existing
Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation
/etc/cont-init.d/20-migration_config.sh: executing
/etc/cont-init.d/31-nginx.sh: executing
/etc/cont-init.d/99-run.sh: executing
[11:18:21] INFO: Defining variables
Creating directory "/mnt/dokumentenverwaltung/data"
Creating directory "/mnt/dokumentenverwaltung/media"
Creating directory "/mnt/dokumentenverwaltung/neue_dokumente"
Creating directory "/config/export"
[11:18:33] INFO: Defining database
[11:18:33] INFO: Using sqlite as database driver
PAPERLESS_DATA_DIR="/mnt/dokumentenverwaltung/data"
PAPERLESS_MEDIA_ROOT="/mnt/dokumentenverwaltung/media"
PAPERLESS_CONSUMPTION_DIR="/mnt/dokumentenverwaltung/neue_dokumente"
PAPERLESS_EXPORT_DIR="/config/export"
USERMAP_UID="0"
USERMAP_GID="0"
PAPERLESS_OCR_LANGUAGES="deu eng"
PAPERLESS_OCR_MODE="skip"
PAPERLESS_ADMIN_PASSWORD="admin"
PAPERLESS_ADMIN_USER="admin"
[11:18:33] INFO: Starting redis
[11:18:33] INFO: Starting nginx
[11:18:33] INFO: Initial username and password are admin. Please change in the administration panel of the webUI after login.
Starting the upstream container
Paperless-ngx docker container starting...
/sbin/docker-entrypoint.sh: line 157: PAPERLESS_OCR_LANGUAGES: unbound variable

@alexbelgium is there anything we can do to solve the issue locally?
Or do we have to wait until you release the next update?

Same error here

You could try to setting the value in the config.yaml file located in the configuration folder (normally) or at the location described in the log at start of the add-on. The upstream container has likely changed its logic and this broke my code...and as I don't use the addon I can't see that until someone highlights the issue, then I need to set an instance, troubleshoot and update

Also my autoscript feature allows to modify scripts using sed and inject custom commands in the add-on (also describes in log) sometimes this allow for a custom patch prior to updates

After installing 2.3.3-3 another error is thrown
Log:
tarting...
/ha_entrypoint.sh: line 50: [: source: binary operator expected
The Addon does not start.

Still not starting
...
Starting the upstream container
Paperless-ngx docker container starting...
Installing languages...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Fetched 52.1 kB in 2s (25.0 kB/s)
Reading package lists...
Package tesseract-ocr-deu already installed!
Package tesseract-ocr-eng already installed!
Mapping UID and GID for paperless:paperless to 0:0

Still not starting
... Starting the upstream container
Paperless-ngx docker container starting... Installing languages... Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB] Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease Fetched 52.1 kB in 2s (25.0 kB/s) Reading package lists... Package tesseract-ocr-deu already installed! Package tesseract-ocr-eng already installed! Mapping UID and GID for paperless:paperless to 0:0

It is starting here. If I wait 30 seconds it moves on to the mapping of the folders. As I could replicate the previous error I am sure the initial "unbound variable" error is solved. I tried both with uid 0 and 1000

I confirm paperless ngx is starting with version 2.3.3-4 & ocr is working. Thanks!

After installing 2.3.3-3 another error is thrown Log: tarting... /ha_entrypoint.sh: line 50: [: source: binary operator expected
The Addon does not start.
Starting the upstream container
Paperless-ngx docker container starting... /sbin/docker-entrypoint.sh: line 157: PAPERLESS_OCR_LANGUAGES: unbound variable
my options Yml: CONFIG_LOCATION: /config/config.yaml OCRLANG: ENG DEU PAPERLESS_OCR_MODE: skip PGID: 0 PUID: 0 certfile: fullchain.pem keyfile: privkey.pem ssl: false database: mariadb_addon

It works now! Ty!

Hi,
im still not able to start paperless.
Complete new installation of home assistant...
Supervisor log as follow:
24-01-17 13:30:23 INFO (SyncWorker_1) [supervisor.docker.manager]
Stopping addon_db21ed7f_paperless_ng application24-01-17 13:30:39 INFO
(SyncWorker_1) [supervisor.docker.manager] Cleaning
addon_db21ed7f_paperless_ng application24-01-17 13:30:42 ERROR
(MainThread) [supervisor.docker.addon] Add-on Paperless NGX try to
access to blocked device sda!24-01-17 13:30:42 ERROR (MainThread)
[supervisor.docker.addon] Add-on Paperless NGX try to access to
blocked device sda1!24-01-17 13:30:42 ERROR (MainThread)
[supervisor.docker.addon] Add-on Paperless NGX try to access to
blocked device sda7!24-01-17 13:30:42 ERROR (MainThread)
[supervisor.docker.addon] Add-on Paperless NGX try to access to
blocked device sda8!24-01-17 13:30:56 INFO (MainThread)
[supervisor.docker.addon] Starting Docker add-on
ghcr.io/alexbelgium/paperless_ng-amd64 with version 2.3.3-424-01-17
13:32:56 WARNING (MainThread) [supervisor.addons.addon] Timeout while
waiting for addon Paperless NGX to start, took more than 120 seconds
Am Mo., 15. Jan. 2024 um 09:10 Uhr schrieb Alexandre <
@.***>:

Closed #1178 https://github.com/alexbelgium/hassio-addons/issues/1178
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/alexbelgium/hassio-addons/issues/1178#event-11484900608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCXXLGTDMV4SYQ2E3BA2LZ3YOTP6PAVCNFSM6AAAAABBZGDYD6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQ4DIOJQGA3DAOA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Return from browser causes flicker in UI

Step 1: opening the browser with the url_launcher package.
Step 2: Go back to the app
Step 3: You will see a flicker of the UI.
Step 4: after a split second the UI is resetted and drawn correctly
This is what a screenshot looks like.

url_launcher: ^5.4.10
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.4 19E266, locale en-BE)
    • Flutter version 1.17.3 at /Users/vanlooverenkoen/flutter
    • Framework revision b041144f83 (18 hours ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/vanlooverenkoen/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

Hi @vanlooverenkoen
with what device are you experiencing this? could you attach a screen recording?

I am using a Pixel 4 XL. Today I am on a very strict deadline. I will provide you an example + screenrecording this weekend or next week. But I already created the ticket so it is logged somewhere

It seems that this only happens on android 10.
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  Future<void> launchUrl() async {
    final url = 'https://www.google.com';
    if (await canLaunch(url)) {
      await launch(url);
    } else {
      print('Failed to launch $url');
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('TEST'),
      ),
      body: Container(),
      floatingActionButton: FloatingActionButton(
        onPressed: launchUrl,
        child: Icon(Icons.add),
      ),
    );
  }
}

On my simulator I get the flicker as well but the UI stays intact

Any updates here? I have the same issue

Revisiting this issue, I used the plugin example and ran on S10 device and also on Pixel XL emulator with latest stable version but didn't observe the reported flicker behavior.
https://github.com/flutter/flutter/assets/67046386/009bf8b8-23a3-44c9-a1a9-8d6f8eccfe38
As the issue isn't replicable and considering no activity since long time, I will close this as resolved. If anybody still sees this issue with latest plugin and framework version, open a new issue with relevant details.


Fix unnecessary nesting of infix queries

Fixes #1058
Problem
InfixContext of SqlQuery always produces a nested query, sometimes this is unnecessary, see issue example.
Solution
Unnest queries, see changes
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

These changes completely has broken spark module,  @deusaquilus any ideas why?

The solution introduces special handling for when the infix starts with a query, which might be confusing to users and break existing queries. I think it's a reasonable tradeoff, though. Could you update the readme and the changelog accordingly? Thank you!


[Android] java.lang.RuntimeException - Possible Race Condition

I've just observed this Crash in the wild - i could imagine that it could be some sort of Race Condition or maybe both - onError and onCompletion -  is called at a certain condition.
Fatal Exception: java.lang.RuntimeException: Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
       at com.facebook.react.bridge.CallbackImpl.invoke(CallbackImpl.java:32)
       at com.zmxv.RNSound.RNSoundModule$1.onCompletion(RNSoundModule.java:81)
       at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2538)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:135)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
       at java.lang.Thread.run(Thread.java:818)

@K-Leon Interesting - if onError and onCompletion were both called this'd definitely happen. Not sure why that'd happen, but we could protect against it in the Java code

I made a PR that may fix this. I don't have a good test case though at the moment.

Wow.. this was fast! Thank you very much! I'll push this asap to production and let you know if i see this error again

Is this resolved?

I just checked Error logs and i've seen this one again - i have no idea how this can happen.

I can confirm that this bug still exists even when using the fixes #107 and #87. Ideas: Could it possibly has something to to with not releasing resources after using them? Interferences with other media playing apps? Restarting sounds? Playing sounds with volume 0?

I think this could be similar to the race condition I fixed in #153.
It might need a fix similar to this: https://github.com/ivpusic/react-native-image-crop-picker/issues/235

I've submitted a PR with this fix: #154
@henninghall and @K-Leon, please let me know if this fixes it for you.

This is serious bug and needs to be fixed :(

@henrikra Does #154 fix this issue for you? If so I'll merge it now

@benvium How to reproduce this crash? I haven't been able to reproduce this by myself. We have caught this bug with our crash reporter so our users have been experiencing this

@henrikra Fair point - I've merged #153 and #154. They both are sensible changes. Let us know if you experience fewer crash reports as a result. Thanks for your help.

@benvium We will update this week and lets see the results :) Probably if you don't get message from me it is working ;)

@benvium Are you going to do new release btw? 0.9.2?

There are quite a few changes since 0.9.1 so am thinking we should bump to 0.10.0 to prevent issues with npm auto-upgrading everyone

Good idea!

Released as v0.10.0 https://github.com/zmxv/react-native-sound/releases/tag/v0.10.0

Still experiencing this on react-native-sound 0.10.1
Crash was from this device:

java.lang.RuntimeException Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
    CallbackImpl.java:32 com.facebook.react.bridge.CallbackImpl.invoke
    RNSoundModule.java:108 com.zmxv.RNSound.RNSoundModule$2.onError
    MediaPlayer.java:2279 android.media.MediaPlayer$EventHandler.handleMessage
    Handler.java:102 android.os.Handler.dispatchMessage
    Looper.java:149 android.os.Looper.loop
    MessageQueueThreadImpl.java:208 com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run
    Thread.java:841 java.lang.Thread.run

Damn, I could have sworn that this commit would fix it. I'll take another look.

Have you tried it with "Don't keep activities on" setting?

Sorry I'm not sure what that is. But also I just realized that my commit doesn't handle the case where both onComplete and onError are called. I think that's causing the crash

Good point. Also check this https://stackoverflow.com/questions/22400859/dont-keep-activities-what-is-it-for
It is very common on Android to develop with this setting on since the operating system can kill the app's activity anytime it want.

Oh thanks! Yeah I should definitely test with that setting.
I'll try to push one more fix for this. I think I just need to set both callbacks to null after one is called.

I made an temporary fix by putting a try catch around the callback.invoke(true); which at least prevents the app from crashing. I works and I have never encountered any issues with it but I am also not using the callback from the play method.

The try/catch is an even better idea. I'll send a PR with that
On 24 May 2017, 1:46 PM +0700, Henning Hall<EMAIL_ADDRESS>wrote:

I made an temporary fix by putting a try catch around the callback.invoke(true); which at least prevents the app from crashing. I works and I have never encountered any issues with it but I am also not using the callback from the play method.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (https://github.com/zmxv/react-native-sound/issues/106#issuecomment-303633126), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAIhEFIcLLGoIOmPL8sJ8-SY1DBhttMsks5r89IygaJpZM4L8RuS).

Great!

@ndbroadbent Any news on this? We got the crash again :/
java.lang.RuntimeException Illegal callback invocation from native module. This callback type only permits a single invocation from native code.
    CallbackImpl.java:32 com.facebook.react.bridge.CallbackImpl.invoke
    RNSoundModule.java:108 com.zmxv.RNSound.RNSoundModule$2.onError
    MediaPlayer.java:2279 android.media.MediaPlayer$EventHandler.handleMessage
    Handler.java:102 android.os.Handler.dispatchMessage
    Looper.java:149 android.os.Looper.loop
    MessageQueueThreadImpl.java:208 com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run
    Thread.java:841 java.lang.Thread.run

Oops, sorry I forgot about this! Will push that today
On 29 May 2017, 11:57 AM +0700, Henrik Raitasola<EMAIL_ADDRESS>wrote:

@ndbroadbent (https://github.com/ndbroadbent) Any news on this? We got the crash again :/
java.lang.RuntimeException Illegal callback invocation from native module. This callback type only permits a single invocation from native code. CallbackImpl.java:32 com.facebook.react.bridge.CallbackImpl.invoke RNSoundModule.java:108 com.zmxv.RNSound.RNSoundModule$2.onError MediaPlayer.java:2279 android.media.MediaPlayer$EventHandler.handleMessage Handler.java:102 android.os.Handler.dispatchMessage Looper.java:149 android.os.Looper.loop MessageQueueThreadImpl.java:208 com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run Thread.java:841 java.lang.Thread.run
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/zmxv/react-native-sound/issues/106#issuecomment-304572465), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAIhEGvn2UyAKyhaz-KK_ma5E4kBQAmcks5r-lArgaJpZM4L8RuS).

Faced the same issue and figured out that this only happens (so far is I could check this for now) when two ore more sounds are played at the same time. So I used the callback of play to workaround this in my js code - maybe this will help you:
../helper/Sound.js:
import Sound from 'react-native-sound';

Sound.setCategory('Ambient');

let soundPlaying = false;

const soundLoadedCallback = (error) => {
    // ...
};

const soundPlayedCallback = (success) => {
    soundPlaying = false;
};

const beep_off = new Sound('beep_off.wav', Sound.MAIN_BUNDLE, soundLoadedCallback);
const beep_on  = new Sound('beep_on.wav',  Sound.MAIN_BUNDLE, soundLoadedCallback);

export default class SoundManager {
    static allowedToPlay() {
        if (soundPlaying) {
            console.log('Prevented sound from playing');

            return false;
        }

        soundPlaying = true;

        return true;
    }

    static flashLightOff() {
        if (SoundManager.allowedToPlay()) {
            beep_off.play(soundPlayedCallback);
        }
    }

    static flashLightOn() {
        if (SoundManager.allowedToPlay()) {
            beep_on.play(soundPlayedCallback);
        }
    }

    // ...
}

So in my case I can call Sound.flashLightOn() (import Sound from '../helper/Sound';) as often as I want but it is only one sound played at the same time - this seems to workaround this issue.

@ndbroadbent What is the status of that PR coming? :D Still getting lots of these crashes

@henninghall or @ndbroadbent Can you guys make PR to fix this issue? We have had 59 crashes from this last 30 days.


docs: add noir-poseidon{2}

Description
Problem*
Adds a link to the Poseidon and Poseidon2 implementation from TACEO
PR Checklist*

[ x ] I have tested the changes locally.

thanks!


Test GitHub actions

Playing with GitHub actions.
No need to merge for now, just wanted to see if build checks are triggered/work.

@worldtiki sorry for the multiple commits, wasn't confident with the syntax of actions and with the OpenJDK API.
If changes look good now we can merge. Better to squash commits into 1 and merge.


JSDoc @typedef types not documented

In ESM, JSDoc @typedef types are not documented as exported types from the module.
This also means JSDoc links to @typedef types are not rendered as links.
For example:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
The CacheEventMap, CacheEventSetDetail, CacheKey, CacheValue, and CacheStore types should be documented but are not.

This is going to be a challenge and really is a design limitation of deno_doc in that documentation that isn't anchored to syntax in the file does not generate any documentation nodes, with the exception of the @module tag when present in a leading doc block (which generates a module node).
We would have to introduce the concept of "orphan" doc nodes and associate the tags with that.


Process hung at rand_pool_acquire_entropy () after upgrading to openssl-1.1.1g

Hi,
We recently upgraded to openssl-1.1.1g version.
When we start our application it is hanging. when I did pstack <process_id>, i get below stack. I see the process is hung. could someone help me how to overcome this issue?
Thread 1 (Thread 0x7faa77c11720 (LWP 26803)):
#0  0x000000335a8e1523 in select () from /lib64/libc.so.6
#1  0x000000000097485d in rand_pool_acquire_entropy ()
#2  0x0000000000973fc8 in rand_drbg_get_entropy ()
#3  0x0000000000971bfb in RAND_DRBG_instantiate ()
#4  0x00000000009729e0 in drbg_setup ()
#5  0x0000000000972acb in do_rand_drbg_init_ossl_ ()
#6  0x000000335ac0ce03 in pthread_once () from /lib64/libpthread.so.0
#7  0x00000000009ad6c9 in CRYPTO_THREAD_run_once ()
#8  0x0000000000972b14 in RAND_DRBG_get0_public ()
#9  0x0000000000972b88 in drbg_bytes ()
#10 0x0000000000819cdd in SSL_CTX_new ()
#11 0x0000000000a4158d in ACE_SSL_Context::set_mode ()
#12 0x0000000000a42540 in ACE_SSL_Context::certificate(char const*, int) ()
#13 0x00000000006d7255 in TLSConnector::initTLS(char const*, char const*) ()
#14 0x0000000000687968 in TNS::RestResolver::RestResolver() ()
#15 0x000000000066d244 in TNS::CalloutRequestHandler::init() ()
#16 0x000000000066cd3b in TNS::CalloutFactory::createCalloutObject() ()
#17 0x00000000006285a7 in TNS::BcSsg::initialize() ()
#18 0x00000000007942f6 in TNS::Server::initLogAndConfig() ()
#19 0x00000000007948fc in TNS::Server::run() ()
#20 0x000000000064897c in main ()
[]$

uname -a output:
[]$ uname -a
Linux asb-dev-idh-rs02 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
[]$

entrophy value:
[]$ cat /proc/sys/kernel/random/entropy_avail
8
[]$

Please let me know if anyother information is required.

@kroeckx , last time you have helped on this type of openssl issue. could you please help me if you know anything on this?

The system is waiting for enough entropy to produce high quality random numbers.  It is behaving as expected.
Not doing this would compromise the security of the library.

Probably worth adding to the FAQ (which needs some serious cleanup)  https://github.com/openssl/web/blob/master/docs/faq-2-user.txt or some such.

Thanks for your responses!!
How to increase the entropy value other than waiting for system to increase?
do we have any linux command?

You need to wait for the system to gather entropy.
Alternative you can install one of the entropy gathering daemons.  CPU Jitter is supposed to be a decent one.  There are others and any should be reviewed in light of your security policy rather than blindly accepted.
The entropy value is a dynamic indication of how much entropy is available to the system -- larger means more.  The rate of collection depends on the system, it's workload, peripherals, etc.

Thanks paulidale!!
Could anyone answer below question?
If entropy value is the problem, i have two servers. One with entropy value 1 (lets say Server1) and another with entropy value 8(Lets say Server2). Server1 is working fine. But Server2 is not working with same my application binary and openssl version. In Server2 entropy value is higher than Server1. still in Server2 not working.
Then how do I conclude that low entropy value is the problem here?

Where it is waiting means it's a lack of entropy.
The entropy value is an instantaneous measure of what the kernel thinks it has.  It gives no indication as to how fast each server is collecting entropy.  It's like saying a pipe has three liters of water in it when what you want to know is how many liters per minute can flow through the pipe.

ok thanks paulidale.
I ran below command. Then entropy value increased. now my application working.
rngd -r /dev/urandom -o /dev/random -b -t 1

This won't help.  /dev/urandom won't have any randomness either.
ranged -r /dev/zero -o /dev/random would be just about as useful.
That is, the lack of seed material is only being glossed over by this "fix".
If you're running on an X86/64 platform and are willing to trust the hardware random number generator, you could configure with --with-rand-seed=rdcpu.

ok.
If you're running on an X86/64 platform and are willing to trust the hardware random number generator, you could configure with --with-rand-seed=rdcpu.

Can you give exact command including path?

cd openssl
./config --with-rand-seed=rdcpu
make

we don't have that openssl package in that server. So no config file.
our application binary linked with static library of openssl. So that we don't depend on libssl.so and libcrypto.so dynamic files. Hence we didn't install any openssl package in the test server. Directly running our application in test server.
Now I can't run "./config --with-rand-seed=rdcpu" command in test server as config file not present.

Download OpenSSL and configure it?

Sorry for late reply.
@paulidale I already configured openssl in one of our server. It is working now.
Still I need to understand what is the lower value of entropy.  One of my server has entropy value of 1. Still openssl works. Then how do we know what is the lower value?

It would be best to ask your Linux distribution provider or the Linux kernel developers for the meaning of the kernel's entropy value.

The version 1.1.1 is not supported anymore. Closing. If this is still an issue with currently supported releases, please open a new issue.


Site not working

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.mitele.es/deportes/eurobasket-2015/semifinal/serbia-lituania/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.30
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[mitele.es] serbia-lituania: Downloading webpage
ERROR: Unable to extract embed data; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 198, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mitele.py", line 39, in _real_extract
flags=re.DOTALL
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 432, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract embed data; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Thanks!!!!!!

This issue is already fixed and will be available in the next version. You are also using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.