fix: use brew install pipenv and python3 in macOS

use homebrew to install pipenv on macOS, fix https://github.com/OpenDevin/OpenDevin/issues/544
use python3 if python is not available (e.g. on macOS)

Won't this require that the user already have homebrew installed?
I'm not sure it ubiquitous enough to be an assumed dependency.

I feel like we should try for pip install pipenv before falling back to homebrew. But maybe it doesn't matter?

As someone who constantly has a broken python install on OSX I appreciate this PR.
Won't this require that the user already have homebrew installed? I'm not sure it ubiquitous enough to be an assumed dependency.
Indirectly Related: #481

Good suggestion, currently trying to check for the existence of brew before use, if not, remind the user to install.

I think it makes sense to do this, the current overall logic is:

Check whether python or python3 exists, prioritize python and fallback to python3 if neither exists, then give an error
Check if pipenv exists, if it does, skip it
macOS users try to install pipenv with pip, if it fails, fallback to use homebrew (if the current user has not installed homebrew, it will fail and remind the user)
Other operating systems still use pip for installation

Added additional detection for npm and nodejs for https://github.com/OpenDevin/OpenDevin/issues/634

My wsl is saying cannot find python. Had to find and replace python to python3 to fix this.
Maybe do something like alias python=python3 to fix this? (Did not work when I added this line in makefile for some reason)

can you pls pull the new main and try?

can you pls pull the new main and try?

The main branch has already switched to poetry, it seems this PR is no longer necessary, I'll close it for now.

Enjoy! if you faced any issues let me know 👌

Enjoy! if you faced any issues let me know 👌

Now there is no python not found error. But the build is never finishing. My laptop is running out of storage because this project is installing gigabytes of random nvidia packages for no reason as I only intend to try out opendevin with my OpenAI keys and my laptop has no external gpu to begin with (using APU).

Can you create a new issue for that pls I can try to figure it out


Batch producing doesn't work with compression

Having {compression, gzip} and trying to use the new batch producing API causes a badarg:

** Reason for termination ==
** {badarg,[{erlang,size,
                    [[{<<"KEY">>,
                       [<<"VALUE">>,
                        <<"VALUE">>,
                        <<"VALUE">>]}]],
                    []},
            {brod_producer,batch_size,1,
                           [{file,"src/brod_producer.erl"},{line,376}]},
            {brod_producer,'-init/1-fun-0-',3,
                           [{file,"src/brod_producer.erl"},{line,195}]},
            {brod_producer,'-init/1-fun-1-',7,
                           [{file,"src/brod_producer.erl"},{line,204}]},
            {brod_producer_buffer,do_send,3,
                                  [{file,"src/brod_producer_buffer.erl"},
                                   {line,264}]},
            {brod_producer,maybe_produce,1,
                           [{file,"src/brod_producer.erl"},{line,337}]},
            {brod_producer,handle_produce,4,
                           [{file,"src/brod_producer.erl"},{line,317}]},
            {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,599}]}]}.

I will try to fix this this week if you all don't beat me to it.

thanks for reporting this, fixing it now.


[Bug report]:

Platform
Desktop
Version
1.7.0
Description
When I open the app on my laptop a pop up on the right down corner says "something went wrong" and I am not able to see the ASMB tokens into the desktop wallet version (in the mobile app I can see the 8950.95 ASMB but the amount is not increasing thanks to the staking process) and the staking feature for Assembly is not working! I am afraid to not have lost my tokens.

Expected behaviour
To see the ASMB tokens I have and the staking process of IOTA to work for ASMB tokens as expected.
Actual behaviour
When I open the app on my laptop a pop up on the right down corner says "something went wrong" and I am not able to see the ASMB tokens into the desktop wallet version (in the mobile app I can see the 8950.95 ASMB but the amount is not increasing thanks to the staking process) and the staking feature for Assembly is not working! I am afraid to not have lost my tokens.

Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Open the app
"Something went wrong" message
ASMB tokens not in the wallet
no staking process available for ASMB anymore

Operating System
Windows
Diagnostics
No response
Developer Profile
No
Profile Type
Software (Stronghold)
Staking
Actively staking
Crash Status
None of the above
Error Messages
Something went wrong

Error Logs
no error log

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

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

Closing issue due to inactivity, please upgrade to the latest app version and reopen the issue if the problem persists 🌷


Create turtle.py

Pull Request for PyVerse 💡
Issue Title : To improve the turtle code

Info about the related issue (Aim of the project) :  Spiral drawing improved
Name: Vuppu Chinmay
GitHub ID: Chin-may02
Email ID<EMAIL_ADDRESS>**Idenitfy yourself: Contributor for GSSoc-Extd and Hacktoberfest

Closes: #73
Describe the add-ons or changes you've made 📃
User Input for Direction
Conditional Turning Logic
Enhanced User Interaction
Input Validation for Direction
Type of change ☑
What sort of change have you made:
Improved the user interface
Added the direction to turn
Example how to mark a checkbox:-

[x] My code follows the code style of this project.
-->
[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Personally runned the code
Checklist: ☑

[x ] My code follows the guidelines of this project.
[x ] I have performed a self-review of my own code.
[x ] I have commented my code, particularly wherever it was hard to understand.
[x ] I have made corresponding changes to the documentation.
[x ] My changes generate no new warnings.
[ x] I have added things that prove my fix is effective or that my feature works.
[ x] Any dependent changes have been merged and published in downstream modules.

Sorry for the constant mistakes.


After upgrading to M2, getting "licenseUrl" error when trying to run jreleaserConfig

With this jreleaser config: https://github.com/varabyte/kobweb/blob/00a051b6fdfd9fb497ed77b0f33f4b4eae58e451/cli/kobweb/build.gradle.kts#L40
> Task :cli:kobweb:jreleaserConfig FAILED
[INFO]  JReleaser 1.0.0-M2
[INFO]    - basedir set to /home/d9n/Code/1p/kobweb/cli/kobweb
[INFO]  Loading variables from /home/d9n/.jreleaser/config.properties
[WARN]  Variables source /home/d9n/.jreleaser/config.properties does not exist
[INFO]  Validating configuration
[ERROR] == JReleaser ==
[ERROR] Project does not define a value for licenseUrl

Execution failed for task ':cli:kobweb:jreleaserConfig'.
> JReleaser has not been properly configured.
  Project does not define a value for licenseUrl

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':cli:kobweb:jreleaserConfig'.
   ...
Caused by: org.jreleaser.util.JReleaserException: JReleaser has not been properly configured.
Project does not define a value for licenseUrl

	at org.jreleaser.engine.context.ModelValidator.validate(ModelValidator.java:53)
	at org.jreleaser.gradle.plugin.tasks.JReleaserConfigTask.displayConfig(JReleaserConfigTask.groovy:67)

I saw a closed issue saying that licenseUrl is required for chocolately but I'm not using that package manager.

As a side note, maybe the docs for licenseUrl can be updated to include an example?
It is just a link to the license in my github project? If so, can it default to github/LICENSE if not present and targeting a github project?
Or is it something like http://www.apache.org/licenses/LICENSE-2.0 at which point, can JReleaser generate these for known license values? (My license property is set to "Apache-2.0" for example)
Finally, there's a small typo: the URL ofmthe project license <-- remove the "m"

ThelicenseUrl element is defined at https://docs.microsoft.com/en-us/nuget/reference/nuspec#licenseurl
It has been deprecated in favor of license however Chocolatey does not like license and prefers licenseUrl 🤷♂
Currently JReleaser attempts to resolve a license file named "LICENSE", "LICENSE.txt", "LICENSE.adoc", or "LICENSE.md" residing at the root of the project. If such file is found then it'll setup a raw git URL to the file. See https://github.com/jreleaser/chocolatey-bucket/blob/927e24fc66df285a36c3e5f010ee7527e3323db8/jreleaser/jreleaser.nuspec#L24
It could be possible to generate a license URL for a given license ID that follows SPDX identifiers. Also when used as a Maven plugin, as the license URL is usually a given, sadly that's not the case for Gradle as there's no standard setting for license information.
Please feel free to open a ticket requesting license ID to license URL mapping.


Add discussing-0-21-0-bitcoin-core-vulnerability-disclosures review to brink/the-bitcoin-development-podcast

This PR adds discussing-0-21-0-bitcoin-core-vulnerability-disclosures transcript review to the brink/the-bitcoin-development-podcast directory.

Hey @markon1-a , I appreciate your contributions and the time you've spent on reviews. However, it’s become clear that you're not engaging with the content of the transcripts as closely as we need. This has happened several times now, and I want to address it openly.
If your goal is to learn more about Bitcoin while reviewing, this is the perfect place for you. But if you're not able to focus on the content, reviewing transcripts might not be the right fit. I want to be transparent: consistently not engaging with the material creates additional work for the evaluators, as we have to spend extra time reviewing your submissions, and it also takes opportunities away from others who are more focused on the content.
Please consider this a notice. I appreciate your involvement, but if we can’t align on the goals of the project, I may need to exclude you from the reviewer role. Thank you for understanding, and I’m happy to discuss this further if you have any questions.

Thank you for your feedback, and I completely understand your concerns. I want to clarify that I had traveled somewhere shortly, which caused some time management issues on my part. I did submit the edits after returning late, with the intention of revisiting and refining them before the final deadline. However, the evaluation process moved quicker than I had anticipated, and I didn't get the chance to make those additional improvements as planned.


Cannot open Cello collection

Cannot open Cello collection
https://dev2.synbiohub.org/public/Eco1C1G1T1/Eco1C1G1T1_collection/1

Can open now. #663

Agreed


Can't set undefined value in store

Code to reproduce the issue:
https://codesandbox.io/s/lp1roln39q
Expected behavior:
Should reset value to undefined
Actual behavior:
Does not resets value in store
Versions of packages used:
0.18.2

@mufasa71 undefined is special value, don't use in stores, use null instead

I will add warning about this

Fixed in 1a8fa21e1e584439415d459687ace3f4393f631c


Feat/use w3m qrcode

Description

Use  W3mQrCode instead of qrcode to display the QRCode
Update w3m theme when updating w3i theme

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Examples/Screenshots

Before
After

Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

LGTM!
🚢


[New game]: Spider Man Go

🎮 Game Request
🎮 Details
It's a spider game which I'm making using HTML, CSS & JavaScript.
It will contain Man with a Gun to shoot Spiders . 👍🏻
Point down the features
Game Includes Sounds, Gun, Spider, Man, Pop-Up and few more functionality.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Point down the features
Game points : Game contains -

Spiderman
Gun
Enemy
Themes
Sounds

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @SyedImtiyaz-1 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @SyedImtiyaz-1 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


qemu5-x86: boot uncompressed kernels to reduce memory footprint ~15%

QEMU >= 4.0 is able to boot into the uncompressed kernel using the PVH
entry point, but to get this CONFIG_PVH must be enabled in the guest
kernel and pvh.bin installed in the host.
Booting uncompressed kernels in QEMU 5.0 can reduce the memory footprint,
~17% for KSM and ~15% nonKSM.
fixes #1029

Signed-off-by: Julio Montes<EMAIL_ADDRESS>

OOI, might this reduce boot time as well, if we no longer need to decompress?

@grahamwhaley unfortunately no, it's almost the same

/test

thx. the boot 'trend' looks right - the matched 'vmlinux's are faster than the 'vmlinuz's, so at least it 'feels' right. Those times are a bit 'noisy'. ooi, is your system also doing something else? (desktop??). You might get clearer results on a dedicated system if so - but, sure, the change is minimal by the looks of it.

is your system also doing something else? (desktop??)

nop, it's a laptop dedicated to run kata-containers  :whale:

/test

/AzurePipelines run

All green :green_apple:

FWIW, I typically see a ~80ms boot-time speedup for PVH over bzImage (and never seen a slowdown) so I think this is well worth doing for that alone. I don't have a figure offhand for footprint reduction.

Thanks @merwick for confirming.
@devimc We should probably run this on a dedicated machine with no UI to reduce any noise in the boot measurements for Kata.


Backport(v1.16): out_file: add warn message for symlink_path setting (#4502)

Backported from 74b2e3d7f86f656d65951c4ea095d68c20b0b858. (#4502)

Thanks!


String formatting error in AdvCore_GridCompMod.F90

Intel compilers catch a bug in AdvCore_GridCompMod.F90 when debug flags are turned on. The issue is parameter ntracers is set to 11, but then then tracers-1 in a loop over ntracers is printed as integer length 1.
https://github.com/GEOS-ESM/FVdycoreCubed_GridComp/blob/5954a161eade1e850950cd4446986ea0974bd2bd/AdvCore_GridCompMod.F90#L84-L86
https://github.com/GEOS-ESM/FVdycoreCubed_GridComp/blob/5954a161eade1e850950cd4446986ea0974bd2bd/AdvCore_GridCompMod.F90#L220-L222

Just to be certain I've understood:   the "bug" is that the final iteration of the loop is printing "10" with a format that is only valid for integers that have 1 digit?

I presume the FP divide-by-zero error is indirect and due to the fact that the wrong string is found in myTracer?

@sdeastham encountered this bug and fixed it so I will defer to him on this. It is also discussed here (the original report was for GCHPctm): https://github.com/geoschem/GCHPctm/issues/37

Mentioning @wmputman
Bill - do we want to decrease ntracers here or do we want to fix the format to be i2.2?   It's not clear to me what the origins of the value "11" are.

Hi Tom - I think the div-by-zero is unrelated. We just noticed that we can't run GCHPctm with debug flags because this minor bug with string formatting will get thrown first. Reducing ntracers to 10 didn't seem to cause any issues and resolved the specific problem of getting a formatting error, but that was of course in our rather limited GCHP environment.

I think @wmputman might be on vacation this week.    We can either put in the i2.2 fix or wait for his return.
Amusingly @mathomp4 just pinged be about the same problem.   He had not seen this issue.

I went back in time on CVS and the blame is putting the change to 11 (in DynCore, at least) to:

revision <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.2.1
date: 2014-11-03 16:56:22 -0500;  author: bmauer;  state: Exp;  lines: +838 -282;  commitid: OP17sULzZ6dvRMWx;
bma: merge of Heracles-1_0_UNSTABLE with wmp-Ganymed-4_0_BETA8-AdvCore-Update4 in the FV3 directory.

So unless @bena-nasa or @wmputman can remember what wmp-Ganymed-4_0_BETA8-AdvCore-Update4 was ( 😄 ), it might be down to Bill's memory.

I am testing with the simple fix of using 2.2 and found I need to make one additional change to get through advection with debug flags on. When filling the export states for the test tracers I had to pull the N conditional out to before calling MAPL_GetPointer. This avoids an error in Get_Pointer.H if N is greater than ntracers. So this code:
https://github.com/GEOS-ESM/FVdycoreCubed_GridComp/blob/5954a161eade1e850950cd4446986ea0974bd2bd/AdvCore_GridCompMod.F90#L813-L819
became this:
 ! Fill Export States
            if ( N <= ntracers ) then
               write(myTracer, "('TEST_TRACER',i2.2)") N-1
               call MAPL_GetPointer(EXPORT, temp3D, TRIM(myTracer), rc=status)
               VERIFY_(STATUS)
               if ( associated(temp3D) ) then
                  temp3D = TRACERS(:,:,:,N)
               endif
             endif

Hmm.    I now wonder how this ever worked in GEOS.    The VERIFY_(STATUS) on line 816 should have failed in many configurations.   The GCM does not generally exercise this, but the CTM does and certainly usually has more tracers than ntracers.
Unfortunately I think we need to investigate a "working" case to see what happens in this loop.

Well, I can say that if I change all the appropriate i1.1 to i2.2 in DynCore_GridCompMod.F90 the model seems zero-diff. Now, I have no idea if I'm actually exercising that code path, but it's a good sign. So perhaps those changes along with those of @lizziel would be okay (if approved by @wmputman)

I have word that he returns on Thursday, so we can maybe approve by Friday.

Also, @tclune brought up that we might want to move from i1.1 to maybe i3.3 or even i5.5 if we make a change. No guarantee people won't run with lots of tracers at some point!

My reasoning:  I know that there are projects that use Kppa with O(10^4) species, but that is combustion not advection/CTM.  But  we certainly know CTM's that use hundreds of species.    So i3.3 is safe for the moment and i4.4 should be safe for foreseeable configurations.    At that point i5.5 seems like just a prudent thing with little harm.   We'll already be lost in a sea of 0's in the log by then anyway.

Pinging @wmputman again.    We just want to confirm that the proper fix is to edit the formatting to use more characters for the tracer index.  And if you have an opinion, how many characters is "safe" looking into the future.

I'm going to go ahead and do a PR with i5.5 given the lack of response.


Update LabyrintLabs logo

Updated LabyrinthLabs logo in the commercial support section, originally introduced in https://github.com/prometheus/docs/pull/1922

:+1: Thanks!


Add FAN_WIND to climate model

To support LG AC fan mode WIND
Breaking Change:
Not breaking.
Description:
Some LG AC have this mode needed to communicate.
FAN_WIND = "wind"
Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @ctih,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Note that fan modes can have custom values and don't need to be taken from the base climate component constants.
https://developers.home-assistant.io/docs/en/entity_climate.html#fan-modes
That is probably the best route in this case.

I agree to @MartinHjelmare. The FAN constante on climate are only a subset of most used states/modes.


Q5

Complete Q5

Completed the data visualization. May need a once over to make sure all components under Q5 are satisfied; unsure if all he wants from Q5 is a matched figure?


Line chart with multiple Y-axis with common X-axis in center

Hi, I am trying to make something like this

I have been trying some trial and error since last few hours using some ready to use examples and I am unable to do so. Can you help me understand if it is possible to achieve with this library?
Thanks for your help.

Yes, this can be done by having 2 charts the 2nd charts origin offset by the first's height. the first would show the yAxis below or the 2nd could show above.
If this works you should see an edited example below:


setup.py should not contain import of torch

If env e.g. docker has no installation of torch yet, this setup will fail.
Rather, torch should be imported lazily and the asserts performed only if torch is available

If env e.g. docker has no installation of torch yet, this setup will fail.
Rather, torch should be imported lazily and the asserts performed only if torch is available

That cannot be achieved. Since stable-fast in fact is a CUDAExtension of torch, it must require torch to build. So torch must be installed at first, then stable-fast😊.

Yes. Indeed. Actually, the issue is that I can't seem to download the right whl, as I'm using torch nightly, whereas stable-fast wants torch.2.1, so it downloads the source code, thus running into this issue.
Is there any way I can force to use the whl?

Ok, I can just pip install https://github.com/chengzeyi/stable-fast/releases/download/v0.0.13.post3/stable_fast-0.0.13.post3+torch210cu121-cp310-cp310-manylinux2014_x86_64.whl


Getting 400 Bad Request When Using Elasticsearch Sink

A few questions before you begin:

Is this an issue related to the Serilog core project or one of the sinks or
community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository.  Please use Gitter chat and Stack Overflow  for discussions and questions.

Does this issue relate to a new feature or an existing bug?

[ ] Bug
[x] New Feature

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.
Serilog.Sinks.Elasticksearch 8.4.1
What is the target framework and operating system? See target frameworks & net standard matrix.

[ ] netCore 2.0
[ ] netCore 1.0
[x] 4.7
[ ] 4.6.x
[ ] 4.5.x

Please describe the current behavior?
When I am sending a log to elasticsearch I am receiving a bad request. From everything I am seeing, I am doing everything right, however I am unable to write successfully to elasticsearch. To test this out I have created a trial for elastic cloud.
Here is the response from selflog:
2023-01-30T13:05:24.4367213Z Caught exception while preforming bulk operation to Elasticsearch: Elasticsearch.Net.ElasticsearchClientException: The remote server returned an error: (400) Bad Request.. Call: Status code 400 from: POST /_bulk ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Elasticsearch.Net.HttpWebRequestConnection.d__51.MoveNext() in C:\Users\russc\source\elasticsearch-net\src\Elasticsearch.Net\Connection\HttpWebRequestConnection.cs:line 122    --- End of inner exception stack trace ---    at Elasticsearch.Net.Transport1.HandleElasticsearchClientException(RequestData data, Exception clientException, IElasticsearchResponse response) in C:\Users\russc\source\elasticsearch-net\src\Elasticsearch.Net\Transport\Transport.cs:line 229
at Elasticsearch.Net.Transport1.FinalizeResponse[TResponse](RequestData requestData, IRequestPipeline pipeline, List1 seenExceptions, TResponse response) in C:\Users\russc\source\elasticsearch-net\src\Elasticsearch.Net\Transport\Transport.cs:line 198
at Elasticsearch.Net.Transport1.<RequestAsync>d__151.MoveNext() in C:\Users\russc\source\elasticsearch-net\src\Elasticsearch.Net\Transport\Transport.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Serilog.Sinks.Elasticsearch.ElasticsearchSink.d__2.MoveNext()
The thread 0x2898 has exited with code 0 (0x0).
Please describe the expected behavior?
Not to receive a bad request and to successfully send my logs to elasticsearch.
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
I have searched online, but am not seeing anything similar to my issue. I do not feel I have done anything wrong, so I do not believe I should be getting this. The stack trace shows something in the Elasticsearch.Net. Is this a version issue?

@mkranak More information would be needed to make conclusive troubleshooting.

How did you configure Serilog and Serilog.Sinks.Elasticsearch?
What version of Elasticsearch server you use on Elastic Cloud?
Are there Exception details provided, additional to 400 Bad Request status code (message involving _type value)?
Can you log/trace actual JSON request that you are sending to Elasticsearch server?

Also, more careful form data for the issue form would be good. You reported a bug, but you marked it as a "new feature". That makes me wonder if the rest of the data is correct?

Serilog.Sinks.Elasticsearch 8.4.1?
.NET Framework 4.7?

Without more details, I can only guess. It is likely that you use latest Elasticsearch v8.x on the server. Serilog.Sinks.Elasticsearch version 8.4.1 has to be configured in a specific way (typeName = null) to be compatible with server version 8.x. Alternative to making custom configuration would be to update to the recently released v9.0.0 of the Serilog.Sinks.Elasticsearch.

@nenadvicentic please do not waste your time with this. I was given bad information at first or maybe I did not ask the needed information. I was not hitting an elastic search. I was hitting an endpoint for logstash, so this was not the correct sink for that. Sorry, I thought I updated the ticket. Thanks for the response!


Layered Permutation and Mixing Hash (LPMH) Algorithm

Bucket Hashing: Layered Permutation and Mixing Hash (LPMH)
Overview
Layered Permutation and Mixing HashThe Layered Permutation and Mixing Hash (LPMH) algorithm is designed to offer enhanced security and high-speed hashing with increased resistance to collisions, targeting applications in cryptography and data integrity.
It employs a combination of permutation and mixing techniques across multiple layers to create a robust hash output that is resistant to various forms of attacks, including collision attacks. This algorithm is particularly useful in applications where data integrity and confidentiality are critical.
Key Features

Enhanced Collision Handling: Minimizes the likelihood of hash collisions, making it more secure for sensitive applications.
Speed Optimized for Modern Hardware:  Compatible with multi-core processing, enabling parallel hashing and GPU compatibility.
Parallelizable Design: Efficient for parallel processing, optimizing performance on modern CPUs and GPUs.
High Avalanche Effect: Small changes in input produce drastically different outputs.

Why LPMH?
The Layered Permutation and Mixing Hash (LPMH) algorithm is essential for enhancing data integrity, security, and efficiency across various applications. One of its key features is improved collision resistance, significantly reducing the likelihood that different inputs will produce the same hash output, which is crucial for databases and cryptographic applications. LPMH also achieves a more uniform distribution of hash values through its layered permutations, preventing clustering and ensuring optimal performance in data retrieval systems.

Assignees:

[ ] Contributor in GSSoC-ext
[ ] Want to work on it

Please assign me this issue; I will implement the code in Java.

Hello mentors and GSSoC team! 👋
I’ve completed the implementation of the Layered Permutation and Mixing Hash (LPMH) algorithm in Java as discussed. You can view the code here: https://github.com/sivanandhinisellamuthu/LPMH-Algorithm/tree/main
Please review it and let me know if any modifications or improvements are required. Thank you!

@sivanandhinisellamuthu you have implement this in C language!!

Hi @GSSoC-EXTENDED-Team,
I have completed the implementation of the Layered Permutation and Mixing Hash (LPMH) algorithm in C, as requested. The code is ready for review, and I would appreciate any feedback or suggestions for improvement.
Here’s the link to my repository with the C implementation: https://github.com/sivanandhinisellamuthu/LPMH-Algorithm/tree/main
Thank you!

@sivanandhinisellamuthu raise a PR if you have completed

no update


IMAP authentication errors with Dovecot after upgrade from rainloop <IP_ADDRESS>3 to <IP_ADDRESS>

[18:35:10.313][b038396b] INFO[DATA]: [DATE:10.06.16][RL:<IP_ADDRESS>][PHP:5.6.19-0+deb8u1][IP:<IP_ADDRESS>][PID:50][Apache/2.4.10 (Debian)][apache2handler]
[18:35:10.313][b038396b] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls,tlsv1.0,tlsv1.1,tlsv1.2]
[18:35:10.313][b038396b] REQUEST[NOTE]: [POST] https://mail.DOMAIN/?/Ajax/&q[]=/0/
[18:35:10.313][b038396b] AJAX[NOTE]: Action: DoLogin
[18:35:10.313][b038396b] POST[DATA]: {"Email":"USER","Login":"","Password":"*","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"1","Action":"Login","XToken":"2eeb4b330eaed383c47ad65aebef4e69"}
[18:35:10.313][b038396b] LOGIN[DATA]: The email address "USER" is not complete
[18:35:10.313][b038396b] LOGIN[DATA]: Default domain "DOMAIN" was used. (USER > USER@DOMAIN)
[18:35:10.314][b038396b] IMAP[NOTE]: Start connection to "tcp://imap.DOMAIN:143"
[18:35:10.316][b038396b] IMAP[NOTE]: Connected (success)
[18:35:10.328][b038396b] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.\r\n
[18:35:10.328][b038396b] IMAP[DATA]: > TAG1 STARTTLS\r\n
[18:35:10.328][b038396b] IMAP[DATA]: < TAG1 OK Begin TLS negotiation now.\r\n
[18:35:10.345][b038396b] IMAP[DATA]: > TAG2 CAPABILITY\r\n
[18:35:10.345][b038396b] IMAP[DATA]: < * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5\r\n
[18:35:10.345][b038396b] IMAP[DATA]: < TAG2 OK Pre-login capabilities listed, post-login capabilities have more.\r\n
[18:35:10.345][b038396b] IMAP[DATA]: > TAG3 AUTHENTICATE CRAM-MD5\r\n
[18:35:10.345][b038396b] IMAP[DATA]: < + MD5SUM=\r\n
[18:35:10.346][b038396b] INFO[DATA]: ticket<EMAIL_ADDRESS>[18:35:10.346][b038396b] IMAP[SECURE]: > \r\n
[18:35:12.348][b038396b] IMAP[DATA]: < TAG3 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n
[18:35:12.348][b038396b] IMAP[WARNING]: exception 'MailSo\Imap\Exceptions\NegativeResponseException' with message 'MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1874)' in /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/MailSo/Imap/ImapClient.php:1874
Stack trace:
#0 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/MailSo/Imap/ImapClient.php(1951): MailSo\Imap\ImapClient->validateResponse(Array)
#1 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/MailSo/Imap/ImapClient.php(247): MailSo\Imap\ImapClient->parseResponseWithValidation()
#2 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/MailSo/Mail/MailClient.php(92): MailSo\Imap\ImapClient->Login('USER', '', '', true, true)
#3 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Model/Account.php(451): MailSo\Mail\MailClient->Login('USER', '', '', true, true)
#4 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Actions.php(2086): RainLoop\Model\Account->IncConnectAndLoginHelper(Object(RainLoop\Plugins\Manager), Object(MailSo\Mail\MailClient), Object(RainLoop\Config\Application))
#5 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Actions.php(2327): RainLoop\Actions->CheckMailConnection(Object(RainLoop\Model\Account), true)
#6 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Actions.php(2413<EMAIL_ADDRESS>'******', 'HASH...', '', false)
#7 [internal function]: RainLoop\Actions->DoLogin()
#8 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/ServiceActions.php(172): call_user_func(Array)
#9 [internal function]: RainLoop\ServiceActions->ServiceAjax('')
#10 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Service.php(146): call_user_func(Array, '')
#11 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Service.php(56): RainLoop\Service->localHandle()
#12 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/libraries/RainLoop/Service.php(79): RainLoop\Service->__construct()
#13 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/app/handle.php(94): RainLoop\Service::Handle()
#14 /var/www/OMITTED/htdocs/rainloop/v/<IP_ADDRESS>/include.php(225): include('/var/www/OMITTED...')
#15 /var/www/OMITTED/htdocs/index.php(14): include('/var/www/OMITTED...')
#16 {main}

Mutt and Thunderbird continue to function over IMAP without a hitch.
Is there any way for me to fetch an old version of rainloop community edition? I mistakenly deleted the copy I had and would like to use it for a behavior comparison (and selfishly, to unbreak my system).

You may disable  CRAM-MD5 authentication in the RainLoop.
./data/.../application.ini
[labs]
imap_use_auth_cram_md5 = Off
smtp_use_auth_cram_md5 = Off

Could you give me a test email account? I will try to fix CRAM-MD5 authentication.

@RainLoop Indeed, your suggestion works. I anticipated an issue with the hashing algorithm but wanted to compare the hashes being produced by each Rainloop version. I may be able to set you up with a test account this evening. In the interim, if it helps you to reproduce, I'm running dovecot-imapd 1:2.2.13-12~deb8u1 from Debian jessie.

Old RainLoop doesn't support CRAM-MD5 authentication method and it uses AUTH=LOGIN to work.

Ok, thanks for this fix, after updating my application.ini, I can now send mails without authentication error.

Thank you, my non related issue was auth plain for SMTP. Disabled and it works now :)


Unknown file version error?

https://prnt.sc/v836vy
The game has the DLL in binaries as 64Bit etc....  not sure why its not working might be due to EasyAntiCheat?

Yes, that's what any serious anti-cheat is for, to prevent tampering with game binaries. In some games it is possible to disable anti-cheat but that typically means that online features won't be available. Regardless of whether or not this is possible, there is nothing that can be done from the ScreamAPI side. Instead you should read through the respective game topic, since your issue is specific to that game.
P.S. Don't abuse the Google Sheets feature of requesting edit access in order to ask for something. It's not cool and will never work. Instead seek help in the appropriate game topic, that I have linked above. Same goes to the notes section of the compatibility sheet.

Huh interesting been reading about how even for some people the games work with anti cheats... but then again i have 0 knowledge lol...  But then again guess im unlucky in that case haha...
Yeah my apologies i thought its sort of like a "requesting/feedback" type of stuff... i read community as in "feel free to request game support"

i read community as in "feel free to request game support"

It is a place to share your test results, so that other people might find it useful. If you have further questions feel free to continue in the forum, and keep in mind the forum rules as well.


Fixed parse error on root block sequence with child block sequences

This PR has fixed parse errors which the current parser emits on root block sequence containing child block sequences, like the following valid YAML snippet (slightly modified version of the official YAML test suite 3ALJ):
- - foo
  - 123
- 3.14

The test case with the above snippet has also been added to the test suite to validate the change.

Pull Request Checklist
Read the CONTRIBUTING.md file for detailed information.

[x] Changes are described in the pull request or in a referenced issue.
[x] The test suite compiles and runs without any error.
[x] The code coverage on your branch is 100%.
[x] The documentation is updated if you added/changed a feature.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Please refrain from proposing changes that would break YAML specifications. If you propose a conformant extension of YAML to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

17 of 17 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3547

Relevant Lines:
3547

💛  - Coveralls


Allow specifying http authentication via environment variables

Similar to #3242 :
When we need credentials to access a repository, they currently need to be provided via .netrc files.
This is totally fine for local use, but suboptimal for cloud deployments on shared runners, because it requires writing files with credentials. The usual solution is using environment variables.

Allow specifying environment variables for the download step
Environment variables take precedence over .netrc

How would you deal with host-specific credentials? Would you have a proposal for an environment variable naming scheme? Is there an existing (semi) standard that we could follow, similar to the one for .netrc files?

Good questions. Regarding standardisation, there is no standard that I know of except for the fact that shell-used environment variables must be upper-case snake case and not start with a number and not contain "=" (see https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html) - but this standard is weak.
As for host-specific environment variables I wonder whether this is needed. I would assume that one of two workflows works:
Either:

the user knows about the benefits and risks of using this file, i.e. the system running ORT is secure and only used by known agents
several hosts are managed by a .netrc file
this is always used by whoever runs ort (either in a docker container or not)

Or:

the system is insecure, thus storing credentials is not a good idea
credentials to different hosts are stored separately and managed by the user (e.g. in a cloud vault)
the user manages host-specific credentials by passing in only the username/password currently needed

For instance, when downloading the config I would provide one set of credentials and when downloading the project another set. Since those are two calls to ORT anyway, I can switch environment variables in between. The credential environment variables could then be ORT_USERNAME and ORT_PASSWORD for instance.
If, however, multi-hostname scenarios for one download call need to be supported - I am unsure that this is necessary - I agree that environment variables get cumbersome. In that case, could we maybe use encrypted .netrc files and provide the decryption key via environment variable? Git allows something similar.

Environment variables take precedence over .netrc

Note that in my proposed PR https://github.com/oss-review-toolkit/ort/pull/3259 the .netrc takes precedence as its contents might be machine-specific, and IMO machine-specific credentials should take precedence over generic credentials.

Yes, this looks good to me. Maybe add a sentence to the README somewhere?

Maybe add a sentence to the README somewhere?

Done in a new commit in the same PR: https://github.com/oss-review-toolkit/ort/pull/3259/commits/b03b5995e50d2d1810d3505a552808b2f4637390


Window not working on 0.3.0 build 153

I was using 0.3.0-build152 until I found MenuBar API not working at all
I released I'm not on the latest version so I updated to 0.3.0-build153
now even Window doesn't work on a fresh new project.
fun main() = Window {

}

This throws the following exception
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: kotlinx/collections/immutable/ExtensionsKt
	at androidx.compose.runtime.Recomposer.<clinit>(Recomposer.kt:834)
	at androidx.compose.ui.platform.DesktopOwners.<init>(DesktopOwners.desktop.kt:73)
	at androidx.compose.desktop.ComposeLayer.<init>(ComposeLayer.desktop.kt:59)
	at androidx.compose.desktop.ComposeWindow.<init>(ComposeWindow.desktop.kt:33)
	at androidx.compose.desktop.AppWindow.<init>(AppWindow.desktop.kt:114)
	at androidx.compose.desktop.AppWindow.<init>(AppWindow.desktop.kt)
	at androidx.compose.desktop.AppWindow_desktopKt$Window$1.run(AppWindow.desktop.kt:83)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: kotlinx.collections.immutable.ExtensionsKt
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 20 more

Process finished with exit code 0

I tried to rebuild the project after a cleanup so far

Oh actually 0.3.0-build153 came 6 hrs ago then probably have to create a new issue for MenuBar but I don't know it still exists in 0.3.0-build153 or not

Could you tell us about the OS you are running on?

now even Window doesn't work on a fresh new project.
Can, you check that https://github.com/JetBrains/compose-jb/tree/master/templates/desktop-template works with build153?

On my machine it works.
Maybe there is something broken in the gradle cache.
Try to run ./gradlew clean --refresh-dependencies and run again.

MenuBar API not working at all

Could you give some reproducer? MenuBar not appear or something else? Examples in Window API tutorial works "fine".

Could you tell us about the OS you are running on?

Ubuntu 20.04

Try to run ./gradlew clean --refresh-dependencies and run app again.

Didn't work
But the template worked and after comparing it with my project the only difference was
tasks.withType<KotlinCompile>() {
   kotlinOptions.jvmTarget = "11"
}

which is IntelliJ generated. I removed it and it worked too.
Thanks

MenuBar API not working at all

Could you give some reproducer? MenuBar not appear or something else? Examples in Window API tutorial works "fine".

Yea actually the problem still exists in 153
basically at startup menu bar is not visible at all
and after a small window resize it appear
but if you tap on the menu items the pop-up is kinda behind the window area.
A reeeaally small part if it, is visible.
fun main() = Window(
    menuBar = MenuBar(
        Menu(
            name = "Files",
            MenuItem("New", onClick = {}),
        ),
    )
) {

}

note that the exact code works on 0.2.0 build 132

I close this issue since the MenuBar bug is unrelated and I'll open a new one after the next release version if necessary.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Notes

1
For an @-subcard during a local quiz, the prompt sentence will be shown but with a piece of it replaced with the @-subprompt. In order to know which piece of the prompt sentence to hide, the @-subcard's pieces will be examined for cloze marks.

if no cloze marks found, look for the prompt, and if that fails, look for the responses, and if that fails, throw.
if cloze marks found in one item (or more, though that's probably an error), hide that in the sentence.

We can have a "linter" that will warn when no clozes are present in @-subcard and the prompt/response chosen is repeated in the sentence. Also if more than one item has a cloze mark.
2
Two Ebisu models are associated each global card. One global one shared by all instances of it. And one local one personal to it and this sentence. When you do a global review (all by itself), the local ones all get an active update. When you do a local review (with a single sentence), the global get a passive update.
3
Exponential decay and SRS might optimize long-term just-about-to-forget, hard-to-recall recall, but what if you want to optimize rapid recall? You see kanji on the subway, and sure if you've been doing your SRS you'll likely eventually get the answer (with a probability given by Ebisu), but you'll have rolled past it. The only way to do that is regular exposure.

When you do a local review (with a single sentence), the global get a passive update, and all other local reviews get an active update.


fix: keep sync between InputSpinner internal state and order quantity

What does this PR do?
closes #22

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


Update release schedule & remove my email

Update the release schedule and also replace my email with GH username.

@U8NWXD Can you merge this, please?


Update isolating-code-under-test-with-microsoft-fakes.md

@scott-xu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@AbhitejJohn Please take a look at this one. Thanks!

#sign-off


JAX docs tutorial: Gradient checkpointing

@jakevdp @mtthss

@jakevdp PTAL

Without !pip install rich[jupyter] having added it to requirements.txt. @jakevdp


Same recurring error and preview not working

Describe the bug
I have rendered this application no less than three times and continue to get major errors. The preview does not work on my phone and I have uploaded screenshots of the errors. the install command kept coming back as a problem
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-1khlpz
Steps to reproduce
Fix the error
Expected behavior
For the application to work and be available in preview
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 147566315,
  "usedJSHeapSize": 128170495,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = spyderknw
Chat ID = 21ddaedd8bf1

Additional context
No response

Appreciate the feedback! Currently, developing in Bolt is supported in desktop browsers and works best in Chrome and Chromium browsers. At the top-right of the page in Bolt, click Deploy. You will be given a Netlify link that you can then use to view your site on other devices, including mobile. Hope this helps!


Mwcore textual re-labeling

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@AbdulWahabMemon I've reverted some the changes and tried to configure them in these fhir resources

Binary/patient-register-saa-dev

Binary/app-saa-dev


Update dependencies.

The update to PHPUnit requires changes to the build process as well.

Coverage remained the same at 100.0% when pulling 13bff7287f74adb50983c31b724789c8779f8428 on update-dependencies into 9f6fda7384788ca1c8b345f57d9cfabf1ce37dc2 on master.


Add [skip-ci] checks

We run CI on everything. To avoid unnecessary CI runs a [skip-ci] in a commit message should skip the CI.

This is supported by Github now https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/


Clean up metadata reflection code

Our OpenCombine fork no longer depends on Runtime, and we don't need much from it other than struct metadata. I removed the unused bits and bobs and kept only a minimal subset of it that we really need. This should make it easier for us to test and debug, as #367 has shown that some weird stuff may still lurk in that area.

Perfect, please let me know if you see any similar issues. If there's anything left to do on this front, I'd like to get to the root cause of it. But so far it seems that messing with metadata through mutable pointers was to blame.

Perfect, please let me know if you see any similar issues. If there's anything left to do on this front, I'd like to get to the root cause of it. But so far it seems that messing with metadata through mutable pointers was to blame.


Unzipping bagit in place results in empty directory

Description of the bug
Unzipping bagit in place results in empty directory
Steps to reproduce the bug:

Create new resource
Add a file
Download as zipped bagit
Upload the zip that you just downloaded back into the resource
Unzip in place withing the File browser
A directory is created that is empty

https://user-images.githubusercontent.com/17934193/187804318-1f22755e-61a9-4731-8789-504a197d656b.mov
Expected behavior
Unzipped directory should contain the original files in the zip archive
Additional information
rc-1.58, 20c0f8e3a01708dfb8f754e93d2774ba8dbbd86e, Firefox
Seems that this issue is intermittent? Occurred consistently for a while, then I checked out a different branch, then checked out 20c0f8e3a01708dfb8f754e93d2774ba8dbbd86e again and had trouble reproducing. Rebuilt local stack and then was able to see the bug again.

PR #4760 partially fixed this issue.
But when a bagit created from a HS resource is uploaded and unzipped in place within the file browser of that same resource (matching res_id) then the nested contents of the unzipped directory will be missing.
This call
https://github.com/hydroshare/hydroshare/blob/rc-1.58/hs_core/views/utils.py#L1138
eventually runs this
https://github.com/hydroshare/hydroshare/blob/master/hs_core/models.py#L2751
which causes res_ids to get stripped from the file paths.


Debugger: when inlining thread into session, use thread's name as a label

When the web page navigates between the URLs, its thread name changes. I'd be great to either allow session to be renamed or to render the thread name in the tree instead of the session name. I can force thread rename via removing and re-adding it back today, but I can't force the session rename.
Forked from https://github.com/microsoft/vscode/issues/79121
@isidorn , @weinand

@pavelfeldman  Yes, session rename is currently not supported.
We could add DebugSession API to change the name. Currently we expose DebugSession.configuration.name - maybe we could just introduce a setter for this.
As for using a Thread name instead of the session name. That sounds very specific to your scenario and we could add an option for this, however I prefer the first approach since it sounds more general.

@isidorn: either way works for me. Reusing thread name would mean that I don't need to worry about it outside my DAP implementation, but that is not critical.

To verify write a debug extension that starts debugging, and make sure you can modify the name of the debug session.
Here's an example extension that can verify this.
Just run the extension, in the opened folder have a Launch Program launch configuration. And verify that running Hello World for the second time changes the name of the running session.
'use strict';
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {

    // Use the console to output diagnostic information (console.log) and errors (console.error)
    // This line of code will only be executed once when your extension is activated
    console.log('Congratulations, your extension "sept-extension" is now active!');

    // The command has been defined in the package.json file
    // Now provide the implementation of the command with  registerCommand
    // The commandId parameter must match the command field in package.json
    let disposable = vscode.commands.registerCommand('extension.sayHello', () => {
        if (vscode.debug.activeDebugSession) {
            vscode.debug.activeDebugSession.configuration.name = 'I AM BEING VERIFIED';
        } else if (vscode.workspace.workspaceFolders) {
            vscode.debug.startDebugging(vscode.workspace.workspaceFolders[0],'Launch Program');
        }
    });

    context.subscriptions.push(disposable);
}

// this method is called when your extension is deactivated
export function deactivate() {
}

@isidorn Where can I see the name of that session?

@joaomoreno start one more session and you will see the names. That is the only way.

I'm sorry @isidorn but I can't get this to work... I still see Launch Program and Launch Program 2, no matter how many times I run that action:

You are correct, this broke in the meantime. Reopening

@joaomore I appologise, the sample was not good. I updated it. Now it should work, can you please verify?

I verified with Isi's updated example.


feat(tier4_system_msgs): add mode change available message

Related Links
https://github.com/autowarefoundation/autoware.universe/pull/2120
Description

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Code is properly formatted
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code is properly formatted
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR: Required to pass before the merge.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

I would like to consider the name along with the guidelines.


Trouble with auth on macOS (likely due to SIP)

If I try to clone a private repo, it prompts to ask for a username. I'd like it to auth automatically, like my command line git. I think that works because I have
credential.helper=osxkeychain

in my git config --global -l.
I can do
using Git
run(`$(git()) config --global --add credential.helper osxkeychain`)

which does set the setting correctly as I check with
julia> run(`$(git()) config --global -l`)
core.excludesfile=/Users/eph/.gitignore
core.editor=nano
user.name=Eric Hanson
<EMAIL_ADDRESS>credential.helper=osxkeychain
Process(setenv(`/Users/eph/.julia/artifacts/55445321

but when I try to clone a private repo, I get
julia> run(`$(git()) clone private_repo`)
Cloning into 'private'...
dyld: Library not loaded: @rpath/libgettextlib-0.20.1.dylib
  Referenced from: /Users/eph/.julia/artifacts/554453215888cc66406fca3bc8a2285995626b67/libexec/git-core/git
  Reason: image not found
error: git credential-osxkeychain get died of signal 6
Username for 'https://github.com':

Any ideas?

What version of Julia, and what version of Git.jl?
Also, what version of macOS?

@giordano Any idea on this part?
dyld: Library not loaded: @rpath/libgettextlib-0.20.1.dylib
  Referenced from: /Users/eph/.julia/artifacts/554453215888cc66406fca3bc8a2285995626b67/libexec/git-core/git
  Reason: image not found

Julia v1.6.1, Git v1.2.1, MacOS v11.2.3 (Big Sur)

What do you get when you run git credential-osxkeychain in a terminal?
And then what do you get when you run:
run(`git credential-osxkeychain`)

@giordano Any idea on this part?

What's the version of Gettext_jll?

In Julia:
julia> run(`$(git()) credential-osxkeychain`)
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
ERROR: failed process

In the terminal:
❯ git credential-osxkeychain
usage: git credential-osxkeychain <get|store|erase>

(jl_MgOS5U) pkg> st -m
      Status `/private/var/folders/jb/plyyfc_d2bz195_0rc0n_zcw0000gp/T/jl_MgOS5U/Manifest.toml`
  [d7ba0133] Git v1.2.1
  [692b3bcd] JLLWrappers v1.3.0
  [21216c6a] Preferences v1.2.2
  [2e619515] Expat_jll v2.2.10+0
  [78b55507] Gettext_jll v0.20.1+7
  [f8c6e375] Git_jll v2.31.0+0
  [94ce4f54] Libiconv_jll v1.16.1+0
  [458c3c95] OpenSSL_jll v1.1.10+0
  [02c8fc9c] XML2_jll v2.9.12+0

plus stdlibs

I can't reproduce it:
julia> run(`$(git()) clone https://github.com/giordano/private.git`);
Cloning into 'private'...
Username for 'https://github.com': giordano
Password for<EMAIL_ADDRESS>remote: Enumerating objects: 133, done.
remote: Counting objects: 100% (133/133), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 133 (delta 79), reused 96 (delta 42), pack-reused 0
Receiving objects: 100% (133/133), 68.81 KiB | 2.87 MiB/s, done.
Resolving deltas: 100% (79/79), done.

shell> rm -rf private/

julia> run(`$(git()) clone git@github.com:giordano/private.git`);
Cloning into 'private'...
Enter passphrase for key '/Users/mose/.ssh/id_ed25519':
remote: Enumerating objects: 133, done.
remote: Counting objects: 100% (133/133), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 133 (delta 79), reused 96 (delta 42), pack-reused 0
Receiving objects: 100% (133/133), 68.81 KiB | 1.01 MiB/s, done.
Resolving deltas: 100% (79/79), done.

With Mose's help, I've been digging into this a little. I ran into what's probably a related issue, where calling git submodule leads to the following on GitHub Actions runners:
dyld: lazy symbol binding failed: Symbol not found: _libiconv_open
  Referenced from: /Users/runner/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/libexec/git-core/git
  Expected in: /usr/lib/libiconv.2.dylib

dyld: Symbol not found: _libiconv_open
  Referenced from: /Users/runner/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/libexec/git-core/git
  Expected in: /usr/lib/libiconv.2.dylib

The culprit appears to be Mac's SIP, together with the fact that Git loves to start all kinds of child processes, including sh and perl. In the submodule case, the subcommand is actually a shell script. However, by design, SIP purges the DYLD_FALLBACK_LIBRARY_PATH variable from the enviroment when Git calls /bin/sh. But then git-submodule.sh tries to call git again, and it, of course, can't find the shared libraries.
I was able to get submodule working by by setting SIPHACK_DYLD_FALLBACK_LIBRARY_PATH in Julia, and then patching the submodule script with export DYLD_FALLBACK_LIBRARY_PATH=$SIPHACK_DYLD_FALLBACK_LIBRARY_PATH. That variable gets passed through to sh.
As for the issue here, it seems reasonable that, somehow, when e.g. git clone calls git-receive-pack, there is also an intermediate step where SIP purges DYLD_*s. However, it doesn't look like there are any shell scripts involved, so I am not entirely sure where that happens.
At the moment I can think of two solutions:

Patch the shell scripts (also the Perl ones I guess..) when building Git_jll for Mac, to use the variable workaround. Although this won't help with the other cases reported here.
Bundle the necessary .dylibs in the lib/ directory of the Git_jll. This seems to fix both issues.

I also have some scripts here that I used to debug and test stuff on CI, including simple implementations of the two oh-so-pretty workarounds.

I have attempted to take Mosè's script and translate it to Julia:
using Git
gitd(dir, cmd) = run(`$(git()) -C $(dir) -c "user.name=a" -c "user.email=b@c" $(cmd)`)
mktempdir() do dir1; mktempdir() do dir2;
    gitd(dir1, `init --bare`)
    gitd(dir2, `init`)
    open(joinpath(dir2, "README"); write=true) do io
        println(io, "test")
    end
    gitd(dir2, `add --all`)
    gitd(dir2, `commit -qm test`)
    gitd(dir2, `remote add origin file://$(dir1)`)
    gitd(dir2, `push --set-upstream origin main`)
end; end

This works just fine for me, does it work for everyone else?

Is SIP enabled on your Mac?

Also, did you set the additional environment variables listed in https://github.com/JuliaVersionControl/Git.jl/issues/40#issuecomment-951344254?

I needed to edit your script - I changed the penultimate line to this:
    gitd(dir2, `push --set-upstream origin master`)

When I did so, it failed for me with:
dyld: Library not loaded: @rpath/libgettextlib-0.21.dylib
  Referenced from: /Users/dilum/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/libexec/git-core/git-receive-pack
  Reason: image not found

I have SIP enabled on this Mac. I did not set the additional environment variables listed in https://github.com/JuliaVersionControl/Git.jl/issues/40#issuecomment-951344254.

Full output: (click to expand)

julia> mktempdir() do dir1; mktempdir() do dir2;
           gitd(dir1, `init --bare`)
           gitd(dir2, `init`)
           open(joinpath(dir2, "README"); write=true) do io
               println(io, "test")
           end
           gitd(dir2, `add --all`)
           gitd(dir2, `commit -qm test`)
           gitd(dir2, `remote add origin file://$(dir1)`)
           gitd(dir2, `push --set-upstream origin master`)
       end; end
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /private/var/folders/yf/1bpklfv955vdhc4fmvll26c40000gp/T/jl_obS1Mb/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /private/var/folders/yf/1bpklfv955vdhc4fmvll26c40000gp/T/jl_Jm6hud/.git/
dyld: Library not loaded: @rpath/libgettextlib-0.21.dylib
  Referenced from: /Users/dilum/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/libexec/git-core/git-receive-pack
  Reason: image not found
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ERROR: failed process: Process(setenv(`/Users/dilum/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/bin/git -C /var/folders/yf/1bpklfv955vdhc4fmvll26c40000gp/T/jl_Jm6hud -c user.name=a -c user.email=b@c push --set-upstream origin master`,["XPC_FLAGS=0x0", "PATH=/Users/dilum/.julia/artifacts/3bb83a2812f716f0d1610026d1e470dbf92a952e/bin:/Users/dilum/.julia/artifacts/a7bbbe8a0c64cb275b1f3a526f339accb1888b94/bin:/Users/dilum/.julia/artifacts/0c9c721045741232851be4413320f4fbc87949ba/bin:/Users/dilum/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/bin:/Users/dilum/.asdf/installs/julia/1.8.4/bin:/Users/dilum/.asdf/shims:/Users/dilum/.asdf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", "COMMAND_MODE=unix2003", "PWD=/Users/dilum/Downloads", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=iTerm.app", "GIT_EXEC_PATH=/Users/dilum/.julia/artifacts/fc4adbf1d7551761c1693502d0b221eb0f780b59/libexec/git-core", "SHELL=/bin/bash", "DYLD_FALLBACK_LIBRARY_PATH=/Users/dilum/.asdf/installs/julia/1.8.4/lib/julia:/Users/dilum/.julia/artifacts/3bb83a2812f716f0d1610026d1e470dbf92a952e/lib:/Users/dilum/.julia/artifacts/a7bbbe8a0c64cb275b1f3a526f339accb1888b94/lib:/Users/dilum/.julia/artifacts/47a0441fc4c0611720643ad5cb10ad0fbf263c54/lib:/Users/dilum/.julia/artifacts/0c9c721045741232851be4413320f4fbc87949ba/lib:/Users/dilum/.julia/artifacts/397fee52d94fc3404c3e466a6a8277ad9fdde715/lib:/Users/dilum/.asdf/installs/julia/1.8.4/bin/../lib/julia:/Users/dilum/.asdf/installs/julia/1.8.4/bin/../lib:/Users/dilum/lib:/usr/local/lib:/lib:/usr/lib", "__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0"  …   Julia was the starting point: https://github.com/JuliaVersionControl/Git.jl/issues/40#issuecomment-951223459

I don't have a Mac to try on but the GitHub runners keep failing with https://github.com/GunnarFarneback/LocalRegistry.jl/pull/38, from which this testcase was derived.

Yes, with the proposed changes this updated shell script works for me:
#!/bin/sh

set -euf -o pipefail

export JLL_DYLD_FALLBACK_LIBRARY_PATH="$(julia --project=/tmp -e 'using Git_jll; print(Git_jll.LIBPATH[])')"
GIT="$(julia --project=/tmp -e 'using Git_jll; print(Git_jll.git_path)')"

dir1=$(mktemp -d)
url1="file://${dir1}"
dir2=$(mktemp -d)
"${GIT}" -C "${dir1}" -c "user.name=a" -c "user.email=b@c" init --bare
"${GIT}" -C "${dir2}" -c "user.name=a" -c "user.email=b@c" init
echo "test" > "${dir2}/README"
"${GIT}" -C "${dir2}" -c "user.name=a" -c "user.email=b@c" add --all
"${GIT}" -C "${dir2}" -c "user.name=a" -c "user.email=b@c" commit -qm test
"${GIT}" -C "${dir2}" -c "user.name=a" -c "user.email=b@c" remote add origin "${url1}"
"${GIT}" -C "${dir2}" -c "user.name=a" -c "user.email=b@c" push --set-upstream origin main

% ./test.sh
warning: templates not found in /workspace/destdir/share/git-core/templates
Initialized empty Git repository in /private/var/folders/v2/hmy3kzgj4tb3xsy8qkltxd0r0000gn/T/tmp.wLhmC0XD/
warning: templates not found in /workspace/destdir/share/git-core/templates
Initialized empty Git repository in /private/var/folders/v2/hmy3kzgj4tb3xsy8qkltxd0r0000gn/T/tmp.xu3TRY8B/.git/
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 189 bytes | 189.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To file:///var/folders/v2/hmy3kzgj4tb3xsy8qkltxd0r0000gn/T/tmp.wLhmC0XD
 * [new branch]      main -> main
branch 'main' set up to track 'origin/main'.

It works for me also if I don't rename the git executable and call the shell script git.sh, it doesn't look like we need to pass again through the shell driver.
It isn't entirely clear to me why we can't just set the environment variable and avoid using the shell driver.

It works for me also if I don't rename the git executable and call the shell script git.sh, it doesn't look like we need to pass again through the shell driver.

I don't think that will work in all cases.  The breaking case is when we have something like git calls /bin/sh -c "${libexec}/git-receive-pack"; this will call /bin/sh, which drops DYLD_* environment variables, then call git-receive-pack (which is a symlink back to git), which will freak out because it can't find its libraries.  To fix this, I made all of the symlinks point to a shell script which will always restore the environment variables before invoking the true executable, so that no matter what internal path execution takes, it will always pass through that shell script before invoking the core executable.

Ah, I don't need your shell driver if I set both JLL_DYLD_FALLBACK_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH:
export DYLD_FALLBACK_LIBRARY_PATH="$(${JULIA} -e 'using Git_jll; print(Git_jll.LIBPATH[])')"
export JLL_DYLD_FALLBACK_LIBRARY_PATH="DYLD_FALLBACK_LIBRARY_PATH"

Are you sure you're testing the right case?  In your code snippet above you're not even setting JLL_DYLD_FALLBACK_LIBRARY_PATH to a valid path, you're setting it to the string DYLD_FALLBACK_LIBRARY_PATH.

Yes, sorry, that was a copy-paste error, but it was really working for me.  Anyway, in https://github.com/JuliaPackaging/Yggdrasil/pull/4987 I'm now creating the shell driver you suggested, I downloaded the artifact built in CI, installed in my artifact dir and now Git.jl works out-of-the-box.  If you can review it maybe we can go.

This isn't enough for credential-osxkeychain though: https://github.com/JuliaPackaging/Yggdrasil/pull/4987#issuecomment-1433854826 :confused:


Bad tipping state when switching users

Repro:

Logged in with user without active subscription
Use the account button in the extension
Log out of that user, into another with a subscription
Go to a page with webmo content, click tip tab

Logged into<EMAIL_ADDRESS>
Logged into<EMAIL_ADDRESS>
This issue is a long standing bug, caused by the way the state is currently managed in the extension.
There is no easy fix.

To be clear, I couldn't reproduce the issue originally commented on. There is an issue exposed by that sequence of actions. That being that the page shows unmonetized when it clearly is.


Project: MS Fabric Flood Predictions

Project name
MS Fabric Flood Predictions
Description
For many people across the world, risk of flooding is a yearly concern, impacting both home life and work life when roads become blocked off and streets are flooded. Floods are a growing problem, with climate change and a reduction in green space increasing the risk of extreme weather events and water runoff.
Our idea for this hackathon was to use the range of functionality within Fabric to surface river level and rainfall data to allow a holistic view of potential future flood risk within a given area. This could then incorporate other data sources such as news reports or Twitter/X posts.
We aimed to build a flood prediction system using input from the UK Environment Agency (EA) public APIs. The dataset contains:
Flood Warnings / Events
Flood Area mapping data
Stations for measuring river height and flow levels, rainfall and temperature
For the purposes of this project most of the data ingested is static, with flood warnings and station readings updating daily.
We have created:
Pipelines to ingest the data to the Lakehouse and Warehouse
Stored Procedures to transform the data into a dimensional model
Notebooks to build the ML model and predictions
Power BI report to present the results
Project Repository URL
https://github.com/methodsanalytics/ma_fabric_hack_together_2024/
Project video
https://github.com/methodsanalytics/ma_fabric_hack_together_2024/blob/main/VideoSubmission/Fabric Hackathon Video.zip
Team members
CookePeter,l-barca,thompson124

@thompson124,  can you confirm that the project repo link is publicly accessible?

@toolboc Apologies, you should be able to access this now. Please let me know if any issues


What is the reason that akochan can't produce the review?

Hi, I'm MacOS 10.13 user, and I guess I successfully build both of akochan-reviewer and akochan.
But, when I test it, I confront the following issue.
$./akochan-reviewer -e "https://tenhou.net/0/?log=2019050417gm-0029-0000-4f2a8622&tw=2"
02:20:15.116799 src/main.rs:506	converting to mjai events...
02:20:15.249825 src/main.rs:600	players: カレーセット, 二宮蘭子, ⓝSuphx, 渡部惠子
02:20:15.249899 src/main.rs:601	target: ⓝSuphx
02:20:15.249946 src/main.rs:602	review has started, this may take several minutes...
02:20:15.253346 src/review.rs:219	reviewing kyoku=0 honba=0 junme=0 (0.95%)
02:20:15.376649 src/review.rs:219	reviewing kyoku=0 honba=0 junme=0 (1.58%)
02:20:15.482680 src/review.rs:219	reviewing kyoku=0 honba=0 junme=1 (1.90%)
02:20:15.603575 src/review.rs:361	review entry created: Agree (0/0/1, 100.000)
02:20:15.603706 src/review.rs:219	reviewing kyoku=0 honba=0 junme=1 (2.85%)
02:20:15.717992 src/review.rs:219	reviewing kyoku=0 honba=0 junme=1 (3.48%)
02:20:15.850804 src/review.rs:219	reviewing kyoku=0 honba=0 junme=1 (4.11%)
02:20:15.996262 src/review.rs:219	reviewing kyoku=0 honba=0 junme=2 (4.43%)
02:20:16.137382 src/review.rs:361	review entry created: Agree (0/0/2, 100.000)
02:20:16.137500 src/review.rs:219	reviewing kyoku=0 honba=0 junme=2 (5.38%)
02:20:16.259466 src/review.rs:219	reviewing kyoku=0 honba=0 junme=2 (6.01%)
02:20:16.372626 src/review.rs:219	reviewing kyoku=0 honba=0 junme=2 (6.65%)
02:20:16.488840 src/review.rs:219	reviewing kyoku=0 honba=0 junme=3 (6.96%)
Error: failed to review log

Caused by:
    failed to read from akochan: unexpected EOF

I use Rust to build the akochan-reviewer.
I don't know this is the right place to ask the solution..
ADD
I guess this is because there is some segmentation fault issue in Akochan, not reviewer

Moving to https://github.com/critter-mj/akochan/issues/22.


Switching between template files inside custom_dir for different languages

I have a case when in custom_dir of mkdocs theme I have some overrides of template html files (main.html, home.html):
theme:
  name: material
  custom_dir: overrides
  favicon: assets/icon.png
...

Is it possible to add possibility of switching between template files inside this dir for different languages?
Content of custom_dir folder:

overrides/
|_ main.html
|_ main.fr.html

Hi @Kanaduchi
That's a good question indeed. I never checked about where those files are taken into account.
I'll have a look and see what's doable.

As I suspected the custom_dir parameters is injected to Jinja's environment from the theme loading logic, which means that babel's translation logic should be used to localize theme related texts.
As for now, this plugin only focused on localizing the pages content of your site, not the theme itself.
We worked on documenting how theme developers can localize their theme here : https://www.mkdocs.org/dev-guide/translations/
Hope this helps.

Closing, since theme should be done elsewhere as explained


feat: release 2024-10-28

fixes #320
fixes #309
fixes #18

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

GitHub release
v3.0.0

Your semantic-release bot :package::rocket:


Memory leak when running the generator for large numbers of rows

Bug Report
Steps to Reproduce:

Create a simple linear profile (example at bottom)
Run the generator in random mode with a sufficiently large max number of rows (max-rows=10_000_000)
Wait a sufficient length of time (between 30-60 minutes)
Observe the velocity output from the console

Expected Result:
Consistent numbers of rows produced per second until all 10 million rows are produced
Actual Result:
Performance drops significantly when the generator reaches some number of rows (dependent on the system/profile, in the order of 100-200 thousand rows) followed by a gradual decrease in performance until the generator exits with an OutOfMemory Exception.

Additional Context:

Note we have tested this both with/without partitioning and with/without any string fields. The behaviour is still the same.
Sample profile: performanceTest.profile.json.txt

Have re-run this profile on latest branch of master and does not seem to be an issue any longer:


snake_case format used for folder and file names.

All folder and file names have been renamed following the snake_case format.
This PR should solve #3 .

LGTM


ng2-img-tools is not able to compress/resize some images in png format

Hi bergben.... I am using ng2-img-tools since a while.It's working fine with all jpeg files,But when I tried to upload some png image files.. Im getting the below error..
compressedFile: File, reason:  "Could not find the correct compress…", error: "MAX_STEPS_EXCEEDED"....
It's working fine when I rename the same png file to jpeg.... Please help..

Hi @LokiKartik
Thanks for reporting this.
You are using "version": "0.1.7" right? I have to debug this, can you tell me the maxSizeInMB you are using and provide me an image that doesn't work?

Yup I'm using version 0.1.7  and the maxSizeInMB is 0.1. when I change this to 0.2 it's working well... please find the below image..

Just wanna make sure Github is not compressing the image you shared: The image has a size of 287 KB (294.180 Bytes) right? I am gonna try it ASAP

Yaa... I already checked it.. github is not compressing the image size... it's exactly 294.180 Bytes..

Ok so I have created a Plunker: https://plnkr.co/edit/Y8JzvhYPJvcN2CJPhWDk
I think I found the problem, could you please try if the compression works for your png's in the Plunker? Allow the popups, a new tab will be opened with the resulting compressed image.
By the way: You are using a very low value for maxSizeInMB of 0.1, it is highly likely that some (bigger) images won't be able to be compressed far enough to fit that value, therefore you should most definetly catch that case as seen in the example I created for you for that in the Plunker in src/app.component.ts on line 34 to 37.

Thanks for responding quickly @bergben ...
It's working well in your example provided in plunker. But not working with the one I have. Am  I using the older version.... I installed ng2-img-tools with command "npm install ng2-img-tools"...

Thanks for checking @LokiKartik. I am glad to hear that it works in the plunker. No the plunker is using the service directly in src/ng2-img-max.service.ts, not from npm. I am gonna release a new version in a few hours that should fix this issue.

Sorry, didn't get to it earlier, this issue should be solved with 0.1.8 @LokiKartik


On the web side, if the size of the web is scaled, will the re-rendering of the interface occur? ? ?

Describe the bug
在web端上，如果缩放web的大小时，会发生界面的再次渲染？？？
On the web side, if the size of the web is scaled, will the re-rendering of the interface occur? ? ?
To Reproduce
<Please add a small sample to that can be executed to reproduce the problem. As a general rule, 100 lines is the maximum>
class ConveniencePage extends ConsumerWidget {
  ConveniencePage({Key? key}) : super(key: key);

  final convenienceStoreProvider = FutureProvider((ref) {
    return getconvenienceStoreData();
  });

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    return Scaffold(
      backgroundColor: Colors.white70,
      appBar: _appBarWidget(context),
      resizeToAvoidBottomInset: false,
      body: SafeArea(
        child: Consumer(
          builder: (context, ref, child) {
            final state = ref.watch(convenienceStoreProvider);
            return state.when(
              data: (data) {
                return data.success == true && data.result!.isNotEmpty
                    ? EasyRefresh(
                        onRefresh: () async {
                          ref.refresh(convenienceStoreProvider);
                        },
                        onLoad: () async {},
                        child: ListView.builder(
                          itemCount: data.result!.length,
                          itemBuilder: (BuildContext context, int index) {
                            return _convenienceStoreItem(context, index);
                          },
                        ),
                      )
                    : const EmptyDataWidget();
              },
              error: (o, s) {
                return const NetErrorWidget();
              },
              loading: () {
                return const LoadingWidget();
              },
            );
          },
        ),
      ),
    );
  }
......

Expected behavior
A clear and concise description of what you expected to happen.

Hello!
I don't understand what this is about. Could you clarify?

@rrousselGit
hello，
For example, on the web, if you enter a page and a network request occurs, if you shrink the web browser again at this time, the network request will occur again. Android and iOS are good, I use   flutter_riverpod: 2.1.0  # state  2.0.0 有bug，web无法使用

Do you have a complete example to reproduce this? There's probably more to it that causes this to happen, which you haven't shared.

@rrousselGit
这是完整的代码
Here is the complete code
点击 push push
Click push push
https://github.com/pheromone/Flutter_learn_demo/tree/master/其他/案例/riverpod_pro
https://github.com/pheromone/Flutter_learn_demo/blob/master/其他/案例/riverpod_pro/result1.gif

Sorry but I cannot reasonably read an entire project.
Please create a new minimal project, separate from your work, to reproduce the problem without having to learn your project.


New cop: Style/ReturnNilCondition

Introduce a new cop, which could be called Style/ReturnNilCondition, to avoid only returning nil in a condition branch.
Examples
bad
user.present? ? user.name : nil

if user.present?
  user.name
else
  nil
end

emails.empty? nil : emails.count

if emails.empty?
  nil
else
  emails.count
end

good
user.name if user.present?

emails.count unless emails.empty?

I think there is not a cop which complains about that already :thinking:

FYI there was some interesting discussion here on using else nil which is sometimes preferred and intentional.
Not saying that we shouldn't do this cop but just wanted to give some context

FYI Style/EmptyElse will catch
if user.present?
  user.name
else
  nil
end

but it doesn't look like anything catches any of the other examples.

That's a great cop idea! Returning nil has ruined too many apis. :-)
@dvandersluis Yeah, the point of the other cop is to just to encourage/discourage implicit else branches. It's not related to what's suggested here.

That's a great cop idea! Returning nil has ruined too many apis.

If I understand correctly, this won't disallow returning nil, just making the return value implicit. 😅

Ops, I misread the ticket then. Well, now I'm not that excited anymore. 🤣

:sob:


Students with a preferred name are being skipped

Student's with a set preferred name are not being picked up by the script. Removing the preferred name fixed this.

Could you provide the command line options you are using and DM me your marking CSV, filter file and template on Teams?


Update website after PyStan <IP_ADDRESS>

@syclik mentioned I should open an issue after PyStan <IP_ADDRESS> was released.
In the future, if there are instructions/checklists for PyStan to follow to do this, I will add them to the existing PyStan release checklist stan-dev/pystan#288

Looks like the only place that's absolutely necessary is in citations/index.md. There's a version number there.
The other place is in the documentation: I had a link up for the old doc that matched pystan's version. I removed it.
By the way, this was the wrong repo for the issue -- it should have been on the website repo: https://github.com/stan-dev/stan-dev.github.io
Don't worry about it, though. I've got it fixed.


Number of files is capped at 65535 (UInt16)

Summary
Not all files of an archive with more than 65535 files can be accessed.
Steps to Reproduce
Create an archive with more than 65535 files. Load archive in ZIPFoundation. Count all entries. See that only 65535 files are counted.
Expected Results
All files of an archive should be accessible.
Regression & Version
Tag 0.9.11

After researching, I found that the original zip specification only allows for 2 bytes in "End of central directory record"->"total number of entries in the central directory on this disk" which is linked to the zip64 issues. Hence I'll close this issue.

After researching, I found that the original zip specification only allows for 2 bytes in "End of central directory record"->"total number of entries in the central directory on this disk" which is linked to the zip64 issues. Hence I'll close this issue.


Updated Python Op and Image Pre-Processing Pipeline tutorials && Added CIFAR-10 Part 1 tutorial

Updated Image Pre-Processing Pipeline tutorial:

Added future imports for Python 3 support
Minor markdown fixes/corrections
Minor code fixes/adjustments (improved plot figure layout, changed print statements for Python 3)
Removed portion of markdown relating to helpful links, as links were not set

Updated Python Op tutorial

Added future imports for Python 3 support
Markdown improvements and added code comments

Added new CIFAR-10 Part 1 tutorial

First part of 2-part tutorial (Part 2 is in progress)
Gives detailed tutorial of training a model using a "custom" dataset of .png images

Changes authorized by @orionr and @janelu1

@caffe2bot test this please

@caffe2bot test this please

@caffe2bot test this please

@caffe2bot retest this please

Looks like we have some changes to the tutorials that need to be synced
15:22:47 ('tutorials_folder: ', '/var/lib/jenkins/workspace/caffe2/python/tutorials')
15:22:47 + git status
15:22:47 On branch merge-target
15:22:47 Changes not staged for commit:
15:22:47   (use "git add <file>..." to update what will be committed)
15:22:47   (use "git checkout -- <file>..." to discard changes in working directory)
15:22:47
15:22:47 	modified:   py_gen/Python_Op.py
15:22:47
15:22:47 Untracked files:
15:22:47   (use "git add <file>..." to include in what will be committed)
15:22:47
15:22:47 	../../../env
15:22:47
15:22:47 no changes added to commit (use "git add" and/or "git commit -a")
15:22:47 + git diff --quiet HEAD
15:22:47 After running a tutorial -> script sync there are changes. This probably means you edited an ipython notebook without a proper sync to a script. Please see caffe2/python/tutorials/README.md for more information
15:22:47 + echo 'After running a tutorial -> script sync there are changes. This probably means you edited an ipython notebook without a proper sync to a script. Please see caffe2/python/tutorials/README.md for more information'

After making final changes, run that script one more time on each of these? Thanks.

Made nits correction and re-synced Python_Op tutorial with its py_gen script.

@caffe2bot retest this please


LXC 1.0.8 lxc.cgroup.devices.allow Error: safe_mount: 1284 No such file or directory

Required information

Distribution: Ubuntu
Distribution version: 14.04.4 LTS
The output of "lxc info" or if that fails:

Kernel version: 3.13.0-83-generic
LXC version: 1.0.8-0ubuntu0.3
LXD version: n/a
Storage backend in use: ext4

Issue description
When configured to use lxc.cgroup.devices.allow = c 4:9 rw the container is not able to start. And I'm not sure what the error message means, or what I need to resolve the missing directory
Error in question:
lxc_container: utils.c: safe_mount: 1284 No such file or directory - Mount of '/sys/firmware/efi/efivars' onto '/usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars' failed

When trying to create the directory, it shows the error:
eric@Shared:~$ sudo mkdir -p /sys/firmware/efi/efivars
mkdir: cannot create directory ‘/sys/firmware/efi’: No such file or directory
eric@Shared:~$ cd /sys/firmware/
eric@Shared:/sys/firmware$ lsattr
lsattr: Inappropriate ioctl for device While reading flags on ./acpi
lsattr: Inappropriate ioctl for device While reading flags on ./memmap
eric@Shared:/sys/firmware$ ls -hl
total 0
drwxr-xr-x  5 root root 0 Apr 30 03:57 acpi
drwxr-xr-x 10 root root 0 Apr 30 03:57 memmap

lxc-start -n X11:
lxc-start -n X11
lxc_container: utils.c: safe_mount: 1284 No such file or directory - Mount of '/sys/firmware/efi/efivars' onto '/usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars' failed
lxc_container: lxc_start.c: main: 341 The container failed to start.
lxc_container: lxc_start.c: main: 345 Additional information can be obtained by setting the --logfile and --logpriority options.

container config;
lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
lxc.mount.entry = sysfs sys sysfs defaults 0 0
lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0
lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0
lxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0 0
lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0
lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0
lxc.mount.entry = /dev/full dev/full none bind,create=file 0 0
lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0
lxc.mount.entry = /dev/random dev/random none bind,create=file 0 0
lxc.mount.entry = /dev/tty dev/tty none bind,create=file 0 0
lxc.mount.entry = /dev/urandom dev/urandom none bind,create=file 0 0
lxc.mount.entry = /dev/zero dev/zero none bind,create=file 0 0
lxc.mount.entry = /sys/firmware/efi/efivars sys/firmware/efi/efivars none bind,optional 0 0
lxc.mount.entry = /proc/sys/fs/binfmt_misc proc/sys/fs/binfmt_misc none bind,optional 0 0
lxc.tty = 4
lxc.pts = 1024
lxc.arch = x86_64
lxc.seccomp = /usr/share/lxc/config/common.seccomp
lxc.utsname = X11
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.hwaddr = 00:16:3e:d7:c7:bc
lxc.cap.drop = sys_module
lxc.cap.drop = mac_admin
lxc.cap.drop = mac_override
lxc.cap.drop = sys_time
lxc.id_map = u 0<PHONE_NUMBER>6
lxc.id_map = g 0<PHONE_NUMBER>6
lxc.rootfs = overlayfs:/home/eric/.local/share/lxc/base-ubuntu_14_04_4/rootfs:/home/eric/.local/share/lxc/X11/delta0
lxc.pivotdir = lxc_putold
lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c 4:9 rw

tty9:
$ ls -hl /dev/tty9
crw--w---- 1 root tty 4, 9 Apr 28 02:43 /dev/tty9

Steps to reproduce

Create container
Modify container config
Start container

Wrong project, I think you meant to file this at github.com/lxc/lxc instead.
I'm pretty sure that mount error is unrelated as those mounts are marked "optional" meaning that any error raised by them is ignored.
Please run lxc-start with -o debug -l debug and attach the output to your new bug report.
Github doesn't offer a way to move bug reports between repositories, so I'm closing this one, please go ahead and file one with the requested info against lxc/lxc. Thanks.

@stgraber thanks! I've created a new one over in https://github.com/lxc/lxc/issues/994
As much as I thought it was optional as well, the container won't start with it set. There's only two lines in the configuration that were set, so just testing with them on or off let me either start the container or fail when starting
lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c 4:9 rw


Generate Url on server side

Hi Guys...!
I am implementing branch io in an application. My question is that can I generate short url from the server side? I didn't find any documentation about this...!
I am trying to generate a url only when the item is saving on the server, in this way I don't need to generate a new url from branch io every time...!
Please update me for the implementation of the branch io on server-hand.

Hi Arsal,
Sorry about the delay in reply here. In the future, if you email<EMAIL_ADDRESS>you'll get a much faster response.
You most certainly can create links from the server side. Please see https://dev.branch.io/references/http_api/#creating-a-deep-linking-url for details.


Add eloparco as RC

I am nominating or self-nominating a Recognized Contributor.
Name: Enrico Loparco
GitHub Username: @eloparco
Projects/SIGs:   WAMR
Nomination
I nominate Enrico because of his many contributions to WAMR, in particular the work on the wasi-thread.
Optional: Endorsements
Marcin Kolny (@loganek)
I have read and understood the qualifications for a Recognized Contributor

Thanks @xwang98 for the nomination and thank you @loganek for the endorsement.
Glad to be part of the Bytecode Alliance and looking forward to keep contributing!


Save game settings over sessions

Contributors: s-ionut
Introduction
Be able to save the game and progress.
Contents
Problem statement
Right now the progress is resetting every session, so every time I have to create a character.
Description of proposed solution
Implement a save game system, locally;
In the future maybe a database and save to the server.
Motivation
A game really needs save across sessions.
Detailed description of design and implementation of proposed solution
idk, need to think

First commit towards this being done: 3d84962


Update Armeria to 1.2.0 and Netty to 4.1.53

This will also fix the flaky test in ITElasticsearchHealthCheck hopefully.

close #3197

EPIC THANKS!


Memory leak problem with DataSetObserver

There is a memory leak when listview is not visible but DataSetObserver still in memory.
My app has four tabs , one of them contains a StickyListHeadersListView, I found that everytime I switch to this other tab and switch back, the memory inscreases, so I look into MAT, found the DataSetObserver in StickyListHeadersListView are holding all my list items, so I think we should unregister this when listview are detached from window.

This will break some things, for example if an adapter's dataset is updated while the view is detached. I think the memory leak issue has been fixed here https://github.com/emilsjolander/StickyListHeaders/pull/353


Add message url

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
This will be rendered by editors.

Codecov Report

Merging #15 (200e417) into main (b994a20) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines         1065      1066    +1
=========================================
+ Hits          1065      1066    +1

Impacted Files
Coverage Δ

index.js
100.00% <100.00%> (ø)

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 b994a20...200e417. Read the comment docs.

Released!


Add sample implementation template

Add test vectors for JWT, VC-JWT, VP-JWT, VC-LD, VP-LD
Add sanity tests for vectors
Add placeholder for definition validation

Orie, thank you for adding these test vectors. They're critical to ensuring our standard can be used in real world scenarios. Will review and test them out over the next few days.

is it possible to move the test vector json to a higher directory? then we can have folders per language impl that reference the same test vectors

@glcohen yes, but I would prefer to restructure the repo before doing that.
repo should be:
README
./packages/test-vectors
./packages/spec
./packages/sample-implementation.js
./packages/sample-implementation.go
// etc....