Can you help me explain this function “angle2pose”？Can you provide the coordinate system relationships in the paper?

Hi, the function angle2pose computes the coordinate of the X-ray source in the world frame based on its rotation angle. Our coordinate system is similar to that in TIGRE toolbox, except for the detector plane which follows OpenCV standards. Here is a diagram. Hope this helps.

thanks!


Update 706819 - Winforms applications may have problems rendering UI on latest Operating Systems

Updating known issue with released servicing fix.

thanks.


Show remaining invites in borrow menu

Discussed with web-tech and we've decided that we don't want to show how many invites other people have left. We think that it might encourage people to take invites without asking, especially as the list is about to close.

@KaiNakamura did you talk to Colebourn about it? Maybe add an option in the edit menu to show/hide it since he was the one who mentioned it in case we want a last minute "free-for-all" of sorts to fill up a low number list


feat: Example using psp22 contract - Dao Contract using Psp22

Description
Issue #337
This contract implements a Decentralized Autonomous Organization using Psp22.
The key functionalities include:

Membership Management: It maintains a registry of DAO members.
Proposal Lifecycle: The contract manages the creation, voting, and execution of proposals. Each proposal includes details like description, voting period, vote tallies, execution status, beneficiary, and amount to be awarded.
Voting Mechanism: It implements a voting system where members can cast votes with their balance on proposals. The contract tracks voting periods and maintains vote counts for each proposal.
Token Integration: The DAO is associated with a specific Psp22 token_id.
Governance Parameters: governance parameters such as voting periods are customizable.
Vote Tracking: The contract keeps track of when members last voted.
Proposal Execution: Once a proposal's voting period ends and it passes, the contract handles the execution of the proposal: Transfer funds to the chosen beneficiary.]

ToDo

[ ] Tests
[x] Events
[x] in-code documentation

Remark
Considering the fact that  another issue is asking for psp22 examples using cross contract call, I decided to use api::... instead of the macro contract_ref!.

@chungquantin , I wrote a first test, but it's failing with an error that I don't fully understand: Encountered unexpected missing chain extension method: UnregisteredChainExtension. Can you help please?

@chungquantin , I wrote a first test, but it's failing with an error that I don't fully understand: Encountered unexpected missing chain extension method: UnregisteredChainExtension. Can you help please?

Are you using pop-drink to write the test?

@chungquantin , I wrote a first test, but it's failing with an error that I don't fully understand: Encountered unexpected missing chain extension method: UnregisteredChainExtension. Can you help please?

Are you using pop-drink to write the test?

No, should I? I will look into it.

@chungquantin , I wrote a first test, but it's failing with an error that I don't fully understand: Encountered unexpected missing chain extension method: UnregisteredChainExtension. Can you help please?

Are you using pop-drink to write the test?

No, should I? I will look into it.

I am now using pop-drink, I am also using the fungibles example tests to navigate through this. However, at the following line:
#[drink::contract_bundle_provider]
I keep getting the following error:
 message: Error building contract: lib section not found
I will need some help to move forward.

Encountered unexpected missing chain extension method: UnregisteredChainExtension

This is because when a contract uses the pop-api, it interacts with Pop Network, in this case the fungibles api; functionality provided by the chain to create, manage and interact with fungible tokens.
As a result, the tests need something like a chain running. This is where pop-drink comes in, it provides a pop runtime for your contract to interact with, and thus be able to write and run tests for your contract.

message: Error building contract: lib section not found
I will need some help to move forward.

Add the following two lines in your Cargo.toml (before features section):
[lib]
path = "src/lib.rs"

[sc-1859]

I can't help you now unfortunately but if I were you I would clone pop-drink locally and see what error is returned by adding the other enum variants here and see which error is returned to help you figure out what is causing the issue.

I can't help you now unfortunately but if I were you I would clone pop-drink locally and see what error is returned by adding the other enum variants here and see which error is returned to help you figure out what is causing the issue.
Please let us know what the error is so we can help you to debug.
I will find some time later today to help!

I found the source of the problem, and if you have an explanation for why it's happening, I am very interested to know about it:
The parameter description in my create_proposal function had the type String. By replacing this type by Vec<u8> and during the appropriate conversions,  the problem was solved.  I couldn't find a similar  example anywhere (Missed it probably) so I think this could be a very useful example for future contract builders.

For tests involving block_number the workflow is unclear:

In the contract: what is the difference between self.env().block_number() and ink::env::block_number::<Environment>() ???
In testing environment: ink::env::block_number::<ink::env::DefaultEnvironment>() is changed by ink::env::block_number::<ink::env::DefaultEnvironment>();, but is not consistent with the contract block_number (obtained through an event for example).

As a result, I don't see how to affect the contract block_number in the testing environment.

@Daanvdplas  & @chungquantin , everything is working as expected now, thanks to you!
2 more tests to go!!

I added all the tests, so I think a review is needed at this point. :pray:

@chungquantin can you test cargo test in the dao folder please. for me it's hanging with the  Blocking waiting for file lock on build directory.

@chungquantin can you test cargo test in the dao folder and let me know if it works for you please. for me it's hanging with the  Blocking waiting for file lock on build directory.
Hello, I have the same problem with the fungible example: cargo test hangs forever at the following step:

   Compiling pop-drink v0.1.0 (https://github.com/r0gue-io/pop-drink#cfbc7639)
 [==] Checking clippy linting rules
    Blocking waiting for file lock on build directory
    Building [=======================> ] 785/786: fungibles(test)

If this is only me, then my dev environment might be the problem, but I need confirmation on this. cannot run any test at the moment... :disappointed:

@ndkazu pop-drink tests must be run with --release flag
cargo test --release

@ndkazu pop-drink tests must be run with --release flag
cargo test --release

Thanks! forgot about that one.

Aside from that, right now the proposal is only specific to the transfer functionality, it would be great to see the proposal that can serves more use cases. Maybe you can consider using RuntimeCall.

@chungquantin , I've been looking into chain_extension and call_runtime examples and from what I understood (correct me if I'm wrong...), you need to know which extrinsic in which pallet you're going to use to make the set-up => customizable runtime calls as proposals for the dao governance do not seem to be possible from what I see. If you have any suggestion on this front...

@chungquantin  & @Daanvdplas,  review requested: struggling with the use of a RuntimeCall for proposal enactment.

@chungquantin & @Daanvdplas, review requested: struggling with the use of a RuntimeCall for proposal enactment.

RuntimeCall version now working => Good step for a code review.


black click fix for nb

code-quality checks in CI are failing due to an incompatibility ot click with the newest black version.
This is applying #2353 to the notebook check too.
This PR follows the fix suggested in
https://github.com/psf/black/issues/2964
to restore code-quality CI functionality temporarily, until the incompatibility is fixed.

Could you bump black to black==22.3.0? for details see https://github.com/psf/black/issues/2964

ok, did that and removed the click pin

I think code quality is not failing anymore? see e.g. #2349

I think  we dont need this PR anymore, no? @lmmentel

This bumps black to the version that should have a fix so it's good for it to go in.

I think we dont need this PR anymore, no? @lmmentel

It's the permanent fix, the earlier fix was only temporary.
Well, until the next version breaks it...


Which prompt format we use  for PhoGPT without instruct model!

I run this code without instruct model, but the code may be adapt with instruct only.
Could you provide PROMPT format for model without instruct?

The base pre-trained model does not follow instructions: PROMPT = "{input_text}".
You would have to fine-tune the base model to follow instructions.

Btw, could you provide the prompt format for context-based question answering?

@ductuan-nguyen
PROMPT = "### Câu hỏi:\nDựa vào văn bản sau đây:\n{Insert context here}\nHãy trả lời câu hỏi: {Insert question here}\n\n### Trả lời:"


Separate the cross-repo code from the actual runs

I'm thinking we create a ManageIQ/manageiq-cross_repo gem.  Then separately we have a ManageIQ/manageiq-cross_repo-tests repo, which has just a .travis.yml file and a Gemfile, and is where the requests are executed.  This way we can have tests on the cross_repo framework itself.
Not sure on the names, but that's the general idea.  @agrare Thoughts?

Ha I started working on specs for this gem and was going to ask you what you wanted to call the "test" repo.  ManageIQ/manageiq-cross_repo-tests sounds good to me

Some initial specs https://github.com/Fryguy/manageiq-cross_repo/pull/23


Causal Specification Refactor?

Is the Causal Specification data class necessary? In all examples we have, the variable causal_specification = CausalSpecification(scenario, causal_dag) is created but never used. Other than for formal definitions (and maybe our unit tests), do we need it or should we remove it?

It appears that the Causal Specification was made as a data class to match the abstract idea of a 'causal_specification'. It was also a useful packing of the scenario and causal_dag for the CausalTestEngine, which had far too many attributes.
Now we don't have an engine I don't think it's as necessary from purely a code perspective. Not sure on how useful it is for it to match the phrasing of the paper though.
It looks like it is still used in the json front end & test suite. But this is just packing the two input classes then immediately unpacking them by the looks of it. So should be not too much to undo that and remove the class!


[BUG] Investigate inconsistency between scheduler and database

Please check if the bug has already been reported in the Issues Tab and mention any related issues here.
Describe the bug
Very rarely the scheduler tries to execute a job with a notification id that does not exist in the database. Ideally, this should not happen, since when a notification is deleted from the database it should also be deleted from the scheduler.
Relevant Logs-
2021-06-18 11:04:00,065 INFO  [quartzScheduler_Worker-2] org.quartz.core.JobRunShell: Job DEFAULT.message-jobdetail-c885ffcf-0bc6-4b20-9b35-919a0908113b-64839 threw a JobExecutionException:
org.quartz.JobExecutionException: org.radarbase.appserver.exception.InvalidNotificationDetailsException: The Notification with Id 64839 does not exist in project DynaMOBS for user c885ffcf-0bc6-4b20-9b35-919a0908113b
	at org.radarbase.appserver.service.scheduler.quartz.MessageJob.execute(MessageJob.java:103)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.radarbase.appserver.exception.InvalidNotificationDetailsException: The Notification with Id 64839 does not exist in project DynaMOBS for user c885ffcf-0bc6-4b20-9b35-919a0908113b
	at org.radarbase.appserver.service.FcmNotificationService.getNotificationByProjectIdAndSubjectIdAndNotificationId(FcmNotificationService.java:431)
	at org.radarbase.appserver.service.FcmNotificationService$$FastClassBySpringCGLIB$$8d21085e.invoke(<generated>)
	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:367)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691)
	at org.radarbase.appserver.service.FcmNotificationService$$EnhancerBySpringCGLIB$$8766759a.getNotificationByProjectIdAndSubjectIdAndNotificationId(<generated>)
	at org.radarbase.appserver.service.scheduler.quartz.MessageJob.execute(MessageJob.java:89)
	... 2 common frames omitted
2021-06-18 11:04:00,069 WARN  [quartzScheduler_Worker-2] org.radarbase.appserver.event.listener.QuartzMessageJobListener: The notification does not exist in database and yet was scheduled.

Priority
3
Difficulty
4
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Mobile App
The Mobile app ,if any, used with this app server

Name [e.g. RADAR-Questionnaire]
Version [e.g. 0.5.8]
Github repo [If applicable]

Additional context
Add any other context about the problem here.

should be fixed by #239


Unable to launch bash on ARMv6 architecture

docker run -ti resin/rpi-raspbian /bin/bash
docker run -ti resin/rpi-raspbian:jessie /bin/bash

Both of these fail.. this used to work.

Hi @alexellis,
Since we had some changes in the entrypoint script, if you want to run it locally you need to override the entrypoint. So docker run -ti --entrypoint=/bin/bash resin/rpi-raspbian:jessie will work

This is a breaking change :-/ I eventually worked it out but it lead to a lot of frustrated comments:
http://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/

So sorry for that but this docker image supposed to run on resin device.
We will find a way to update the entry script to support your case

It's testament to the quality of your image that it's being used as a base by most of the Docker/ARM community. Thanks for getting back - it would be great if you could look into this.
Thanks for putting this image out there.. I use it in my demos ->
http://blog.alexellis.io/contain-yourself-in-london/

@alexellis, in the meantime,  you can use this tag jessie-20160831 it's a date fixed tag and doesn't have the breaking change. So you can have a stable base image for your work.

Hey @alexellis, we have a PR to fix this issue https://github.com/resin-io-library/resin-rpi-raspbian/pull/39. Will let you know when it's merged

@alexellis pinging to let you know that this should be fixed now

@petrosagg awesome, thanks for the ping. Let me check.. just pull latest?

@alexellis yes, any of the moving tags should work (wheezy, jessie, latest)


Move AndroidManifest utility to be be public

Summary
Changes the AndroidManifest utility class to be public so that other packages can depend on and use its functionality. It should have been public in the original PR and this is correcting an oversight.
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Checked and agree with release testing considerations added to MR for the next release.

@rblenkinsopp based on what matt has tested here I'm happy with that.


Nothing is shown on top page

Chrome console log:
Uncaught SyntaxError: Invalid or unexpected token
application-6fc1c0b….js:14 Uncaught ReferenceError: WORKER_FILE_PATH is not defined
    at application-6fc1c0b….js:14
    at application-6fc1c0b….js:14
    at Nn (application-6fc1c0b….js:4)
    at Function.ah [as update] (application-6fc1c0b….js:5)
    at application-6fc1c0b….js:14
    at i (application-6fc1c0b….js:4)
    at application-6fc1c0b….js:5
    at application-6fc1c0b….js:5
    at Function.xa [as remove] (application-6fc1c0b….js:5)
    at l (application-6fc1c0b….js:14)

I tried clearing cookies and re-logged in but same result.

Thanks for reporting. This should be fixed now. Can you try again and confirm?

It is fixed now. Thank you.


Add a hint to additional requirements in the readme

Is your feature request related to a problem? Please describe.
Since the implementation of the Hermes actor, the crawler is dependent of scalafx. The OpenJDK does not support this package by default, so in order to make the crawler compile on OpenJDK, users have to install two additional packages :

libopenjfx-java
openjfx

Describe the solution you'd like
A subsection "Requirements" in the readme that informs users about the dependencies and necessary action
Describe alternatives you've considered
Maybe its possible to remove the dependency at some point @bhermann ?
Additional context
Further information: https://github.com/scalafx/scalafx-hello-world/issues/6

The dependency to JavaFX is introduced by Hermes/OPAL. Until they redesign their packaging, we won't get around this. I'll add it to the README.


Roll Flutter Engine from 2410cdf12c8f to a456ad0a7d78 (2 revisions)

https://github.com/flutter/engine/compare/2410cdf12c8f...a456ad0a7d78
2024-10-22<EMAIL_ADDRESS>[Impeller] eagerly flip backdrop back to onscreen. (flutter/engine#55983)
2024-10-22<EMAIL_ADDRESS>Typo in engine_binary_hashing.md (flutter/engine#55866)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[QUERY]POSThttps://management.azure.com/subscriptions/8ec2a5ad-1b40-4ce4-972d-c6fc70a3e299/providers/Microsoft.Devices/checkNameAvailability?api-version=2022-04-30-preview

Library name and version
Microsoft.devices api-version=2022-04-30-preview
Query/Question
When using the SDK sending the request to /subscriptions/8ec2a5ad-1b40-4ce4-972d-c6fc70a3e299/providers/Microsoft.Devices/checkNameAvailability?api-version=2022-04-30-preview
It will throw the exception says System.Collections.Generic..KeyNotFoundException : Unable to find a matching HTTP request for URL 'POST /subscriptions/8ec2a5ad-1b40-4ce4-972d-c6fc70a3e299/providers/Microsoft.Devices/checkNameAvailability?api-version=2022-04-30-preview'. Calling method Item().
But it only works when I send the request as version 2021-07-01.
Environment
Visual Studio Version 17.3.0
Hosting platform or OS and .NET runtime version:
global.json file:
C:\Users\huangc\source\repos\azure-sdk-for-net\global.json
Host:
Version:      6.0.8
Architecture: x64
Commit:       55fb7ef977
.NET SDKs installed:
3.1.422 [C:\Program Files\dotnet\sdk]
6.0.303 [C:\Program Files\dotnet\sdk]
6.0.400 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.28 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.28 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Extensions:0.14003795,Storage:0.09594156,App Services:0.064430885'
Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Client:0.5660876,Mgmt:0.4069098,Service:0.024790104'

Hi @firstaye-zz.  Thank you for reaching out and we regret that you're experiencing difficulties.   Unfortunately, I'm not able to determine how we can help from your description.   Would you please let us know which Azure SDK package and version your using?   Could you also please include a snippet of your code to demonstrate how you're using the SDK?

Due to the missing information, this is not actionable and cannot be triaged.   Closing.


Self contained packaging produces unknown dlls

I see dll entitled "sos_amd64_amd64_4.6.26628.05.dll" when publishing .net core application in self contained mode, what does this do?

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

ID: 06a17d5d-5f6e-d6bc-324b-af411a42ccb8
Version Independent ID: f58588d7-70f6-aa32-5c6d-ac3e7d72d87c
Content: .NET Core Application Deployment
Content Source: docs/core/deploying/index.md
Product: dotnet-core
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Hi @kudlatiger
I did a quick search around and found https://docs.microsoft.com/en-us/dotnet/framework/tools/sos-dll-sos-debugging-extension and some other stuff that talk about SOS. It seems these are debugging helpers. I found another reference: https://bret.codes/net-core-and-windbg/
I'm guessing that it's named sos_amd64_amd64_4.6.26628.05.dll  because it's the sos.dll file but named to be platform/version specific.
If this does not answer your question, please feel free to reopen/comment on this issue. Thanks!


Update rxjava

Is there an ETA to this getting merged in? Causing crashes on our app but don't want to fork if this is coming soon.
Thanks for the awesome library!

@joshafeinberg Just saw the issue that occurs here. I'll try to get this one out ASAP.

@joshafeinberg Just released v1.2.1 which should fix the issues with the RxJava version. In addition to updating the used RxJava version I also rolled back usage of Experimental APIs which should prevent issues like this in the future.


add-menu-item

Is there any sense in having an add-menu-item function? Could just add it in the regular way, but would be nice and clean to include it with Intervention.
Many thanks!

Hi @samburgers
Sure, just to add a blank wp-admin page?

My use case is that I need to set a link in the admin menu that goes straight to Edit a particular page (Homepage). I suppose it would just need to be a gateway to this:
https://developer.wordpress.org/reference/functions/add_menu_page/
Cheers!

Cool, so it'll essentially be a wrapper for that function.  I'll take a look closer to the weekend.

Sounds good, thank you again!

@samburgers added in 1.2.0 which I'll be releasing this week.

Added in 1.2.0
https://github.com/soberwp/intervention/blob/master/.github/add-menu-page.md


how can i use this with fastapi

hi, is there a method for using this lib with fastapi?

Sorry, something is wrong with my Github notifications
Unfortunately that's not a supported use case at the moment :P


Renewing Puppet Forge Approved Status

Hey hercules-team,
Here at puppetlabs, we are currently going through all of our Approved modules on the Puppet Forge. We have some feedback for your module if you would be interested in retaining the approved status. If you are keen on keeping your approved status please ensure you respond as soon as you possibly can.
Many Thanks,
The Puppet Approvals Committee.

Thanks for your message @lionce
I've started working on all the augeas providers modules, as per
https://github.com/hercules-team/augeasproviders_base/issues/4


$list->getOPML() should be html escaped

Otherwise it will not be possible to restore if formatting tags are used.
Right now I am doing this to backup properly:

    file_put_contents($dir . $date . '.opml.gz', gzencode(
      preg_replace_callback('/(text|_note)="(.*?)"/', function ($matches) {
        return $matches[1] . '="' . htmlspecialchars($matches[2]) . '"';
      }, $list->getOPML())
    ));

Hi,
thanks for your feedback!
I'll try to fix that soon. (Of course, feel free to open a PR if you've got some free time!)

Fixed in ec927f4.
Let me know if you still have issues.


Namespace Set: intersection methods added

Hi @markrogoyski,
This is a draft of PR.
Summary:

Methods Set::intersection(), Set::partialIntersection() added and covered by tests.
Methods Set::intersectionStrict(), Set::partialIntersectionStrict() added but have not covered by tests yet.
New util classes added: JustifyMultipleIterator, NoValueMonad, UsageMap.

If everithing is OK I will implement another methods of intersection functionality and cover them by tests.
Draw your attention: this PR is depends of previous.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

80 of 81 (98.77%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.526%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Set.php
17
18
94.44%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
420

Relevant Lines:
422

💛  - Coveralls

UPD: this branch is rebased from develop.

@markrogoyski Hi Mark!
A question about simmetric difference: how do you think, do we need full symmetricDifference() method only or both of symmetricDifference() and partialSymmetricDifference()?

Hi @Smoren,
Can you briefly explain what the difference is between the two, symmetricDifference and partialSymmetricDifference?
Thanks.

Hi @markrogoyski,

symmetricDifference(...$collections) returns elements from each collection which are not found in all the other collections.
partialSymmetricDifference($n, ...$collections) returns elements from each collection which are not found at least in $n other collections ($n < count($n)-1).

@markrogoyski,

Intersection methods added to Stream namespace.
Tests added for all the intersection methods in Set and Stream namespaces.

Hi @markrogoyski,
I've added the descriptions of intersection methods to README file.
Now I think this branch is ready to merge.

Hi @Smoren,
Thanks for working on the set operations. I have two questions.

Can you send me a link to a description and some examples of partial intersection? Briefly searching Google I didn't seem to find any authoritative articles on the topic. I'm familiar with the common set operations like union, intersection, difference and symmetric difference, but had not encountered partial intersection before, so I want to read up on it a bit first.

Regarding strict vs non-strict, I think by default "strict" operations should be the default. Modern PHP is all about increasing type safety, and this is the norm for other strongly statically typed languages. So, I have a proposals: make strict the default (e.g. intersection). If you want to support non-strict, make that require changing an optional parameter or using an alternate method (e.g. intersectionNonStrict).

Another option would be to simply not support non-strict operations, but I'm not sure if that would limit usage of the library or not. It would simplify the code and interfaces though.
Thoughts?
Mark

Hi @markrogoyski,
Thank you for the feedback!

Intersection methods renamed:

Set::intersection() => Set::intersectionNonStrict();
Set::intersectionStrict() => Set::intersection();
Set::partialIntersection() => Set::partialIntersectionNonStrict();
Set::partialIntersectionStrict() => Set::partialIntersection();
Stream::intersectionWith() => Stream::intersectionNonStrictWith();
Stream::intersectionStrictWith() => Stream::intersectionWith();
Stream::partialIntersectionWith() => Stream::partialIntersectionNonStrictWith();
Stream::partialIntersectionStrictWith() => Stream::partialIntersectionWith();

Tests of these methods renamed.
README updated.

About "partial intersection":
I also searched on Google and did not find articles about this. It is strange. Perhaps this operation has a specific name, which I do not know. However, even if this operation is not classical, it is very useful.
I'll give my own definition:

We have N sets.
An M-partial intersection of these sets is a set whose elements are contained in at least M initial sets.

In addition, the classical (complete) intersection of sets can be considered a special case of partial intersection when M = N.
This operation was required to me many times when solving different problems.
For example, to obtain the target audience for advertising, when it is enough for me that a representative of the target audience occurs in at least a few of the samples we have, and not necessarily in all.
So I hope that you will agree to include this operation in the package.

More examples of partial intersection.
For ease of perception, both the initial data and the results are presented in sorted form.
Also I've added test to demonstrate this behavior.
Given: sets A, B, C, D (N = 4).
For example:
$a = [1, 2, 3, 4, 5];
$b = [1, 2, 10, 11];
$c = [1, 2, 3, 12];
$d = [1, 4, 13, 14];

M = 1
It is equivalent to classical union operation (for any N).

$r = partialIntersection(1, $a, $b, $c, $d);
// [1, 2, 3, 4, 5, 10, 11, 12, 13, 14]

M = 2
It is equivalent to union($a, $b, $c, $d) - symmetricDifference($a, $b, $c, $d) (for any N).

$r = partialIntersection(2, $a, $b, $c, $d);
// [1, 2, 3, 4]

M = 3

$r = partialIntersection(3, $a, $b, $c, $d);
// [1, 2]

M = 4 (M = N)
It is equivalent to classical (complete) intersection operation (for any N).

$r = partialIntersection(4, $a, $b, $c, $d);
// [1]

M = 5 (M > N)
It is equivalent to empty set (for any M, N: M > N)

$r = partialIntersection(5, $a, $b, $c, $d);
// []

Thanks for the definition and concrete examples. It makes sense to me. Let's go with your suggestion of partialIntersection.

@markrogoyski, thank you Mark!
So I think this PR is ready to merge if you don't have another questions.

Suggestion: For the Stream intersection tests, could you add a unit test case or two where the intersection comes after a zipWith call? I think this would result in arrays of arrays and it would be helpful to have tests that document the behavior and show that it works.

All your suggestions are applied.
Tests of Stream namespace refactored:

array_pop() usage removed;
->zipWith()->intersectionWith() test cases added.

@markrogoyski,
BTW, what do you think about including the partial intersection functionality to your MathPHP library too?

Hi @Smoren,
I was reading the PHP documentation to see what the opposite of "strict typing" is, and it seems PHP uses the term "coerce." For example, to coerce a value, coercive typing, type coercion, etc.
See:

PHP Type Declarations (Strict Typing section)
PHP Type Juggling (Function Contexts section)

Seeing that PHP seems to use "coerce," and I did not find any usage of the phrase "non-strict typing," what do you think about renaming the methods to something like intersectionCoercive?
Sorry for yet another request. I think names are important in communicating the intent of a function so the user can understand what it does without needing to rely on documentation.
Let me know what you think. Thanks.
And regarding MathPHP, sure, I can add it to my to-do list and add it the SetTheory section. Or you can submit a PR if you want.
Mark

Hi @markrogoyski,
Totally agree with you. It's look more elegantly.
All the non-strict set method are renamed using Coercive word instead of NonStrict.

@markrogoyski,
About MathPHP: I would like to participate in the development of this package too. So I want to make a PR.
Do you have any suggestions on how best to frame it there?

@markrogoyski
BTW, now I think we have to to write about multisets logic in the documentation.
Is it a good Idea?

It definitely should be mentioned. Otherwise, it could be kind of unexpected. It makes sense once you know about it, because the input is not limited to pure sets, so it has a behavior that works on those inputs. I would put something simple like:
Note: If input iterables produce duplicate items, then multiset intersection rules apply.

Thank you for note text!
I've added it to the Symmetric difference methods in set_difference branch.
But i did not add notes to the documentation of intersection methods to avoid possible conflicts.

Hi @Smoren,
Can you explain what the expected behavior of partialIntersection is when $minIntersectionCount is 1 and the iterables are multisets? Also, can you please provide some unit test examples for those to test and document the behavior.
Thanks,
Mark

Hi @markrogoyski,
I've made another pull request with explanation of this behavior and unit test cases.


Changing the pattern doesn't regenerate the non-fixed keys

When I change the pattern of the key generator from [zotero] to [auth:lower][year] it doesn't cause all my non-fixed keys to be regenerated. I am using Zotero 5.0.27
You can find here the Report ID : ZFG6TIXP but I doesn't think it will be used full.

This is correct and is a behavior change against Zotero 4; under Zotero 5 it would require re-loading the whole database and I just couldn't get the performance right for larger libraries.
The functionality is still available by selecting everything, right-clicking, and choosing "Refresh key"; less convenient, I do realize.

I understand. That's works well too.


Octeract prices not working properly

For some reason, the Octeract prices don't match what they say.
It says (for Improved Download Speeds): Cost for next level: 1.00 Octeracts (Affordable in 2.43e11d10h28m)
I have: You have 4.11 / 10T Octeracts! +1 per 2.10e16 seconds
Can you also add a progress bar for Octeracts, because I plan to farm them until I get all the PL-AT calculators and the green daily at the minimum?

The prices are functioning as intended, since you have 4.11/ 10T octeracts that means you have 0.000000000000000411 of an octeract, which is nowhere near enough to afford that upgrade. Further more you are making 1 octeract every 2.10e16 seconds, to put that in perspective that is 1 octeract every 6659056 centuries.
The way it is displayed is a bit counter intuitive but the idea is that you are have a very smal fraction of a whole octeract, in this case it means you want the number to be smaller instead of the usual idea of the number being bigger There's a PR in the works that would hopefully help with this conception issue but for now just know that it is working as intended.


how to use '@import-normalize' in createGlobalStyle

A few days ago, create-react-app v3 released.
create-react-app recommand '@import-normalize' for appling IE9~
I started through 'yarn create react-app project --typescript'
I configured global style through 'createGlobalStyle'
global-style.ts
import {createGlobalStyle} from 'styled-components';

const GlobalStyle = createGlobalStyle`
   @import-normalize;

   html {
      body {

      }
   }
`

this is create-react-app official example
because I didn't use index.css or index.scss,
I should import in createGlobalStyle
@import 'normalize' is answser;
but I wonder why create-react-app recommand @import-normalize
help me I wonder reaseon
thank you

I think that's a question the folks over at create-react-app would gladly answer for you. It probably works because of some css-loader magic. Can you open a ticket with them (or ask on StackOverflow or some such). Good luck!


Upgrade omnibus-software to pull in Redis 2.8.21

What is chef-gem? I'm not aware of what that is, although the rest of this seems fine.
Instead of doing all these updates, could you not always just have done bundle update omnibus-software and only updated omnibus-sfotware?

What is chef-gem? I'm not aware of what that is, although the rest of this seems fine.

The 'chef' recipe was changed to install chef from source based on master and it is incompatible with older versions.  The 'chef-gem' recipe installs chef from gems and is compatible with the existing version pins.

Instead of doing all these updates, could you not always just have done bundle update omnibus-software and only updated omnibus-sfotware?

In general I think we should try to move things as far forward as is possible with the amount of time we have to dedicate to handling incompatibilities.  Since the CI pipeline for this passed, I think that these minor gem updates are all OK.

All points sounds good. I agree on the moving everything forward as much as possible.
I'm :+1: for merge.


Testhost is blocked on system error message dialog

Description
The testhost is blocked on a system error message dialog. I haven't analyzed the cause of the system error yet, but the problem here is that a system error dialog is shown at all. Running the tests in a build pipeline via Azure DevOps / VSTest task / vstest.console the task just hangs until the timeout is hit. This issue can only be diagnosed with access to the CI system to see that it's the system error dialog that causes the timeout.
Steps to reproduce
So far I haven't managed to produce a small sample that I can share. I'll update this post if I manage to produce a self contained repro.
Expected behavior
Testhost crashes and the error is logged.
Actual behavior
Testhost is blocked on system error message dialog
Diagnostic logs
There is no mention of the error in the logs, just polling on both sides.
vstest.console console output after clicking OK on the system error dialog
The active test run was aborted. Reason: Test host process crashed

vstest.console diagnostic log
TpTrace Verbose: 0 : 26720, 10, 2024/07/18, 14:01:59.835,<PHONE_NUMBER>90, vstest.console, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: <IP_ADDRESS>:61110 localEndPoint: <IP_ADDRESS>:61109 after 1006 ms

testhost
TpTrace Verbose: 0 : 13916, 11, 2024/07/18, 14:04:31.099,<PHONE_NUMBER>44, testhost.net472.exe, TcpClientExtensions.MessageLoopAsync: Polling on remoteEndPoint: <IP_ADDRESS>:61109 localEndPoint: <IP_ADDRESS>:61110 after 1013 ms

Environment
Windows 10
VSTest from Visual Studio installation
testhost.net472.exe / testhost.net472.x86.exe version 17.10.0-release-24177-07
vstest.console.exe 17.10.0-release-24177-07 ()

I don't think there is a way for us to influence this. It is the same deal with debug assertion messages (Debug.Assert). Unless the underlying framework implements a trace listener that does not forward the assert failure, the default will show an assertion pop-up, and will block the run.
Is it happening in any run? My impression is that when the session is not interactive you don't get these pop-ups, and imho interactive session is set only when you say you have UI tests in the mix (at least when using VSTest AzDO task).

We most likely cannot affect this, and it would be a new feature, or more likely a responsibility of the testing framework (e.g. mstest, nunit, xunit) rather than responsibility of this platform.
I would be curious if you come up with a solution, if yes we could consider it for testing platform / mstest (both residing in https://github.com/microsoft/testfx).
But at the moment this repo (vstest) is not accepting any new features.


Update handler section of the README

From what I remember it was the default handler, is it not the case anymore?

Seems that it changed. As new lambda function are created with index.handler

I think it depends on which template you start from, but mentioning this in the readme won't hurt, let's do it


Microsoft 365 - Maturity Model translation

Type of issue
Other (describe below)
Feedback
Hello there,
I’m interested in translating MM4M365 into French (I’d be willing to take on the task). Is that a possibility?
PS: Apart from being a practitioner of the model, I have experience as a professional business translator early in my career. That could be helpful.
Page URL
https://learn.microsoft.com/en-us/microsoft-365/community/microsoft365-maturity-model--intro
Content source URL
https://github.com/MicrosoftDocs/microsoft-365-community/blob/main/Community/microsoft365-maturity-model--intro.md
Author
@sympmarc
Document Id
59a88ea9-f6c1-d719-e033-43b3ddd02c30

@KevinStocky - I don't think we have a mechanism to provide different translations for this repo. I'm going to check with my Microsoft contact to make sure.

Hi Marc,
Thanks for your prompt reply. The question has two folds :

Possibility to translate the content to promote and use it more easily within Frensh speaking contexts;
Integration of translation in Microsoft learn for findability.

Kind regards !
Kevin Stocky
Managing Director
<EMAIL_ADDRESS>[A blue and white logo  Description automatically generated]https://kds-impact.com/
Meeting book a @./meetingtype/SVRwCe7HMUGxuT6WGxi68g2?anonymous&ep=mlink>
Mobile +33 6 8211 5197
Email<EMAIL_ADDRESS>Web kds-impact.comhttps://kds-impact.com/
KDS Imp’ACT - France
Digital Transformation
Management Systems
Microsoft Expert
ISAGO Agent
[A white text with a black background  Description automatically generated]                      [A white text on a black background  Description automatically generated]                      [A white text with a black background  Description automatically generated]
From: Marc D Anderson @.>
Sent: Thursday, July 18, 2024 6:43 PM
To: MicrosoftDocs/microsoft-365-community @.>
Cc: Kevin Stocky @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-community] Microsoft 365 - Maturity Model translation (Issue #960)
@KevinStockyhttps://github.com/KevinStocky - I don't think we have a mechanism to provide different translations for this repo. I'm going to check with my Microsoft contact to make sure.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-community/issues/960#issuecomment-2237058706, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASOB5EPRMSCWG4AEOJFAGJTZM7WBRAVCNFSM6AAAAABKH63UFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXGA2TQNZQGY.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Update README

Codecov Report

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

@@          Coverage Diff           @@
##           master      #7   +/-   ##
======================================
  Coverage    67.6%   67.6%
======================================
  Files           2       2
  Lines          71      71
  Branches        9       9
======================================
  Hits           48      48
  Misses         19      19
  Partials        4       4

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 ff4463b...bd15fd2. Read the comment docs.


Add Serialize and Deserialize to ID

This should allow types containing IDs to be serialized (eg. for saving to a database).

Thank you very much! 😀


Currency Converter

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
It's time-consuming and prone to errors when I need to manually convert currencies when dealing with international transactions or travel.
Use Case
This feature aims to streamline currency conversion for users, eliminating the need for manual calculations or reliance on external tools. It enhances user experience by providing a convenient and accurate way to perform currency conversions within our platform.
Benefits
No response
Add ScreenShots
No response
Priority
Medium
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I have starred the repository

@Skb08 Adding a new Project in this PR is not a valid contribution in this repo .
Sorry for any inconvenience .
But u can still make farther changes in the website(e.g - bug fix , feature add , documentation update ) & make new issues on this topics


[Feature]: Support ESModules Natively

🚀 Feature Proposal
ts-jest should support ESModules without the need for additional tooling, on both the jsdom and the node Jest environments. By not having this available, the testing environment becomes wildly different from the actual application, and can no longer be fully trusted.
Motivation
More and more libraries are converting away from using CommonJS syntax, and only releasing new versions for ESModules. This is fundamentally incompatible with ts-jest because it relies on libraries being available as CJS, so you end up needing to make manual mocks for those dependencies that look like this:
// eslint-disable
// @ts-ignore
export default function ({ children }) {
  return <>{children}</>
}
// eslint-enable

We've just recently had to make 3 mocks that basically look identical to this, because libraries we used did not support CJS anymore and the only thing that broke down was Jest. It's kind-of OK when these aren't the libs you're testing, but if you actually need output from one of them, you're pretty much out of luck.
Example
Ideally, ts-jest would be able to detect the use of ESModules in your package.json and act appropriately. If you are using ESM, it will also use ESM.

Hi, this is out of scope because we are a Jest transformer. We transform ts to js based on what Jest gives us. If Jest says “this file can be transformed to ESM module”, we will then do it.
Currently, Jest already supports ESM https://jestjs.io/docs/ecmascript-modules

Thanks @ahnpnl! I didn't see that documentation before, so I tried to follow it but encountered errors.
Here's my config:
module.exports = {
  preset: 'ts-jest/presets/default-esm',
  setupFilesAfterEnv: ['<rootDir>/src/test-utils/setup-tests.ts'],
  moduleNameMapper: {
    // Allow loading non-functional assets
    '\\.(css|less|scss|sass)$': 'identity-obj-proxy',

    // Allow loading static files
    '\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
      '<rootDir>/src/__mocks__/file-mock.ts',

    // Mock SVG files using SVGR
    '\\.svg$': '<rootDir>/src/__mocks__/svgr-mock.tsx',

    // TypeScript local paths
    '~/(.*)': '<rootDir>/src/$1',

    // vvv Commenting these mocks out cause my tests to fail because Jest is trying to interpret CJS as ESM. vvv
    /*'react-markdown': '<rootDir>/src/__mocks__/react-markdown.tsx',
    'remark-*': '<rootDir>/src/__mocks__/remark-plugin.ts',
    unified: '<rootDir>/src/__mocks__/unified.ts',*/

    // ESM needs a `.js` file extension
    '^(\\.{1,2}/.*)\\.js$': '$1',
  },
  slowTestThreshold: 30,
  coveragePathIgnorePatterns: [
    '/node_modules/',
    '<rootDir>/src/graph/operations.ts',
  ],
  timers: 'modern',
  testEnvironment: 'jsdom',
  globals: {
    'ts-jest': {
      useESM: true,
      babelConfig: {
        presets: [['@babel/preset-env', { targets: { esmodules: true } }]],
        plugins: [
          ['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }],
        ],
      },
    },
  },
}

Because my app uses React 17, I need the special Babel config there to perform the JSX transformations.
Speaking of which, I noticed that there's no docs for getting ts-jest to work with React 18. I'd be happy to write a setup guide so future users of this lib don't have to hunt through GitHub!

Thanks @ahnpnl! I didn't see that documentation before, so I tried to follow it but encountered errors.
Here's my config:
module.exports = {
  preset: 'ts-jest/presets/default-esm',
  setupFilesAfterEnv: ['<rootDir>/src/test-utils/setup-tests.ts'],
  moduleNameMapper: {
    // Allow loading non-functional assets
    '\\.(css|less|scss|sass)$': 'identity-obj-proxy',

    // Allow loading static files
    '\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
      '<rootDir>/src/__mocks__/file-mock.ts',

    // Mock SVG files using SVGR
    '\\.svg$': '<rootDir>/src/__mocks__/svgr-mock.tsx',

    // TypeScript local paths
    '~/(.*)': '<rootDir>/src/$1',

    // vvv Commenting these mocks out cause my tests to fail because Jest is trying to interpret CJS as ESM. vvv
    /*'react-markdown': '<rootDir>/src/__mocks__/react-markdown.tsx',
    'remark-*': '<rootDir>/src/__mocks__/remark-plugin.ts',
    unified: '<rootDir>/src/__mocks__/unified.ts',*/

    // ESM needs a `.js` file extension
    '^(\\.{1,2}/.*)\\.js$': '$1',
  },
  slowTestThreshold: 30,
  coveragePathIgnorePatterns: [
    '/node_modules/',
    '<rootDir>/src/graph/operations.ts',
  ],
  timers: 'modern',
  testEnvironment: 'jsdom',
  globals: {
    'ts-jest': {
      useESM: true,
      babelConfig: {
        presets: [['@babel/preset-env', { targets: { esmodules: true } }]],
        plugins: [
          ['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }],
        ],
      },
    },
  },
}

Because my app uses React 17, I need the special Babel config there to perform the JSX transformations.
The error I get is a Jest parse error on node_modules/remark-gfm/index.js, which is just import {gfm} from 'micromark-extension-gfm'.

I think this one requires transformIgnorePatterns. If parse error means Jest doesn't understand the syntax and transformIgnorePatterns would tell Jest to pass the file to ts-jest

Speaking of which, I noticed that there's no docs for getting ts-jest to work with React 18. I'd be happy to write a setup guide so future users of this lib don't have to hunt through GitHub!

I think the setup for React is similar to how to use Babel with ts-jest which explains why there wasn't any documentations. I haven't seen React 18 out yet btw, which I think can added into doc later if necessary.


ignoreVsCodeTheme setting isn't working anymore

IgnoreVSCodeTheme should force the python interactive window to always be white.
It's not working.

In the meantime, a workaround for the global setting:
sns.set_style(rc={'figure.facecolor':'white'})

Sorry about that. Ignorevscode theme will be fixed in our next insider's build

It seems like currently set ignoreVsCodeTheme to true will also affect the color of the code in the interactive windows. Is this expected?

Yes that's the intent. It should behave entirely like you have the default theme selected.
It's busted in the current release, but the insider's build should fix it that way.
Here's a screenshot of it working:

The release bits are only sort of working, not sure if that's what you were referring to or not.

oh...ok.I thought it just makes the plots white like the style of the plot you will get by default in the Jupyter while keeping everything match the dark theme you're using.

@StevenLi-DS how did you get the facecolor to be white rather than transparent? It seems like the default is full transparency, but I don't know what/where the setting for the alpha is.

I just used a seaborn function like shown in the screenshot above.  If it doesn't work, take a look at the following issue:
https://github.com/Microsoft/vscode-python/issues/3773

I just used a seaborn function like shown in the screenshot above. If it doesn't work, take a look at the following issue:
#3773

Huh, I did exactly that, but the facecolor for my figure is still transparent. I wonder if there's another setting somewhere that I'm missing. What backend are you using for matplotlib?

Never mind, I was running some line magic that apparently was overriding that particular setting. Thanks for your quick response!


MongoDB Runnning Problem using the instruction

Challenge Store Data in MongoDB has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
When we try to run mongodb in c9 using the command: mongod --port 27017 , we get error "ERROR: Insufficient free space for journal files". The screenshot is included:

To run mongodb successfully in c9 within the provided memory we should run mongodb using the following command: mongod --port 27017 --smallfiles

I type:
$ ./mongod --port 27017
$ learnyoumongo verify
And I get:
✗ Error connecting to mongo. failed to connect to server [localhost:27017] on first connect
Thanks!


The composer Shell Menu

Good day, am kind new to composer, the previous one i installed had a shell menu, but on the new one i downloaded, the menu are out. now i done know how to update dependency on various project on my pc.

Please see: https://github.com/composer/windows-setup/issues/53#issuecomment-202165776


As an employee, I want to generate a report listing all capital cities in the world organized by population size.

A capital city report requires the following columns:
Name.
Country.
Population.

SELECT City.Name AS Name, City.CountryCode AS Country, City.Population AS Population
FROM City
JOIN Country ON City.ID = Country.Capital
ORDER BY Population DESC;


Implement workflow tree tab draft

@wokeGit recursive workflows are now supported and not causing stack overflow error. Please take a look again


chore: add basic Markdown linting config

Description
Add configuration for simplified handling of Markdown (and hence repository documentation) linting.
List of proposed changes

Add NPM dev dependency:  markdownlint-cli2
Add markdownlint-cli2 basic configuration
Add NPM scripts to launch markdownlint-cli2 (for both linting and fixing)
Add DavidAnson.vscode-markdownlint to the list of VSCode recommended extensions (the extension is powered by the same linting engine behind markdownlint-cli2!)
Update VSCode settings to allow automatic linting/fixing of Markdown files on save when the DavidAnson.vscode-markdownlint extension is installed

How to test the changes

After updating local NPM dependencies, just run npm run mdlint for a linting dry run or npm run mdlint:fix to apply linter's suggestions. Revert the changes before proceeding to step 2.
After installing the above-mentioned VSCode extension, reach for a Markdown file affected by some non-conformity to the Markdown standard (e.g., the PULL_REQUEST_TEMPLATE.md file, missing a blank line at the beginning of the Modified packages section and including an exceeding blank line at the end), and save the file to observe the automatic changes.

Modified packages

[ ] flower-core
[ ] flower-react
[ ] flower-demo
[ ] flower-devtool

(The effects of applying the linter's suggestions have not been included in this pull request, so none of the packages have been effectively modified.)

Can we ignore changelog files? They are auto-generated, and markdownlint-cli2 is picking them adding unnecessary noise.
I also see a few node_modules (for instance packages/flower-devtool/node_modules/glob/README.md) paths when running npm run mdlint. Can you double check? Thanks.

@gispada, I've excluded changelog files and node_modules directories from the linting.
Let me know whether your consider useful or not, for this PR, to further reduce noise by suppressing reports for the MD013 rule, unless we want to set a different maximum number of lines (default: 80) right now with a further change on the configuration.


EmptyDataSet with one Section enabled

On a controller of my App, the first Section (One Row only on this section) of tableView is like a header and contains some info about user. Below that, tableview generates User's posts on the second section.
If user has no posts, i need this section and its unique row to appears, so i want emptydataset to be "connected"/"notified" by the data of the second section and its rows.
Is it possible to use DZNEmptyDataSet on that scenario?
I'd appreciate if you could help me with the code. (Swift)
Thank you for your awesome library and your support.

+1

Empty DataSet for TableView sections would be super helpful.... the problem is the tableview doesn't know how many sections there are until you tell it through the numberOfSections delegate, which would (I assume) make it tricky to implement empty dataset on it. The best that can be done is to put a descriptive section title (header) to say there's no data in this section.

#298 is maybe same. I want, too!


Update build.gradle

Gradle tasks are failing again... this fixes it... for now...

Hooray Jenkins reported success with all tests good!

Turns out it's not broken.. hmm.. Reopen if it happens again


Unify all of the sleep helper functions

coverage: 94.174% (-0.001%) from 94.175% when pulling fae59b51c6cd217590918149aaa2ac491d78ff30 on cody-unify-sleep-helper into 76588b18f2df04b314a1a76c8ac88692943b37e4 on main.


test: Follow up on Spark 3.4 diff

Which issue does this PR close?

Closes #.
Rationale for this change

Certain changes to address comments from https://github.com/apache/arrow-datafusion-comet/pull/166 were somehow excluded in the final commit. This adds them back.
What changes are included in this PR?

How are these changes tested?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.54%. Comparing base (4b66a78) to head (a23554c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #209      +/-   ##
============================================
- Coverage     33.54%   33.54%   -0.01%
- Complexity      769      770       +1
============================================
  Files           107      107
  Lines         35470    35517      +47
  Branches       7723     7751      +28
============================================
+ Hits          11899    11913      +14
- Misses        21079    21100      +21
- Partials       2492     2504      +12

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

cc @viirya

Thanks, merged


Update clippy annotation to use latest name

I'm really just testing out VSCode's PR features here 😃

👍


New release?

We might be due another release. A patch release would land #130 which is blocking thumbv8 in cortex-m-rt and other repos, while a minor release could also land outstanding #97, #126, and #127 (and perhaps we could do #106 as well).
Any thoughts @rust-embedded/cortex-m ?

Ping @rust-embedded/cortex-m

Any thoughts on minor vs patch? I'm happy to prep for either, though I'm not sure what precisely we'd have to do for the semver trick.

This is blocking something I'm working on. Anything I can do to push it out the door?
(I also need https://github.com/rust-embedded/cortex-m-rt/pull/167, which this blocks)

Let's get #97 in and go to 0.6.0. No point holding back.

SGTM

Do we have any consensus on this? There are 3 PRs waiting for the minor release.

https://twitter.com/42Technology/status/1099009843967471617
I can't publish the nRF9160 demo until we get this in, as I've had to vendor and patch the whole cortex-m.* set of crates.

Ping @rust-embedded/cortex-m - if there are no objections withing 12 hours from now, I will merge the PRs and do the 0.6.0 release.

We have a process for things like this. Using voting and the accepted reduced majority RFC you could have gotten a minor release approved in like 2 weeks, 2 weeks ago. In any case, this seems to be the tally for a new minor release:

[ ] @adamgreig
[x] @korken89
[x] @thejpster
[ ] @therealprof
[ ] @ithinuel
[ ] ~@japaric~ abstains

I will abstain from participating this time as I want to see the team handle a release without me.

I'm not sure what precisely we'd have to do for the semver trick.

The semver trick is documented here. Consider what happens if you mix code that depends on 0.5.x and code that depends on 0.6.0, whether the semver trick can be applied in this case or not and whether applying the semver trick actually helps or not.
Go team!

@korken89 We do have a voting majority. Still interested in cutting the release?

I can do the release, however I was thinking about what @japaric was talking about:

Consider what happens if you mix code that depends on 0.5.x and code that depends on 0.6.0, whether the semver trick can be applied in this case or not and whether applying the semver trick actually helps or not.

Are there any ideas here, as linking in 2 cortex-m crates might cause issues with symbol names (I am on a conference right now and can't give it a test). Has anyone given it a try?
I can test it more tomorrow when I am back home, and try to mitigate if there are issues.

Any more thoughts on this anyone?

@thejpster I put a point about upgrading the whole chain on todays agenda.

Perfect, I have been swamped with work and have not had time to do all the testing - I hope to get some time over soon to finalize this if no-one else has time to do it

@rust-embedded/cortex-m Is this issue resolved now ?

Yes, this is resolved


feat: add support for concurrent mode

This PR adds support for concurrent mode rendering.
Render functions will now only have these side effects:

Creating a cache entry (should be allowed)
Dispatching a GET request (should be allowed)

When calling a render function, it will return an optimistic result, without actually changing the observer state. The observer state will only be changed when new options are set/committed in an effect.
Unfortunately I was not able to keep the referential integrity of the result object between renders because we do not know which optimistic result will eventually get committed.
Fixes https://github.com/tannerlinsley/react-query/issues/1536

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I don't have a minimal repro at present, but I believe this change has broken useInfiniteQuery SSR in my app. Worked on 3.8.3, simply renders with data: undefined on 3.9.0.

Could you provide some more information? Does it only apply to infinite queries? What options are you using? Is your usage similar to https://github.com/tannerlinsley/react-query/tree/master/examples/nextjs ?

My specific setup is using react-ssr-prepass but that example is similar enough I believe. I'm working on a minimal repro.

And yeah, only useInfiniteQuery is misbehaving for SSR.

Digging a bit useInfiniteQuery now behaves like useQuery during SSR: It does not use the data.pages pattern as it does client-side.

Alright @boschni here's reproduction based on the given example: https://github.com/klarstrup/react-query/commit/c2434e563038a7adf9013b30fc916276c3efda3c

Sorry for spamming here, I'll make an issue,


Run govulncheck

https://github.com/golang/govulncheck-action

What for? We don’t have any non-testing third-party dependencies in the quic and http3 package.


[Compute] Better error handling of external tokens

Description

Resolve https://github.com/Azure/azure-cli/issues/16391
External tokens in Track 2 SDk have problem. I am still investigating why it is None.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute

This got me up and running again.

This got me up and running again.


Remove unused exercise README insert

This deletes the empty exercise README insert, and updates the exercise README template
to remove the reference to the insert.
If the track later requires some text to be repeated in all the exercise READMEs it can be
added directly to the config/exercise_readme.go.tmpl file.
See https://github.com/exercism/meta/issues/94

Since this is a purely janitorial task rather than a language-specific one, I'm going to go ahead and merge it.

Thanks!


Fixes mono/monotorrent#207

Thanks! Good catch!

I added tests in https://github.com/mono/monotorrent/commit/4f7383eff88546832d79d0989d996f78214df87e too. Now pausing is covered for the hashing, downloading and seeding states.


Not clear comment

https://github.com/senchalabs/connect/blob/fa8916e6350e01262e86ccee82f490c65e04c728/index.js#L38 What does "istanbul ignore next" mean? The only istanbul I know of is the city I live in.

https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md


LE Audio: ASCS ensure that notifications are sent

Is your enhancement proposal related to a problem? Please describe.
In ASCS we don't verify that all notifications are actually sent. Since this may cause issues for remote devices (and is in fact not spec compliant), we should ensure that all notifications (or at least the latest value) is sent as notifications.
Describe the solution you'd like
If a notification fails to be sent, it can either be re-triggered by using a k_work or similar, or the change request can be rejected.
This should also ensure that we correctly send notifications to re-connecting bonded devices when applicable.
Describe alternatives you've considered
N/A
Additional context
N/A

Done with ba6142050493eb5f6b0f1233cf4a313eb4d162b5


GitHub Actions

You can see the results of the Action runs on this branch here.
Looks like this was easier than I thought (yay for copying @sgibson91's workflows in mybinder.org-deploy!). This PR trades one Microsoft CI product (Azure pipelines) for another (GitHub actions). GitHub actions have more concurrency and capacity at the free tier, plus we don't have to manage a separate collection of permissions, which is a big plus.
includes #940
closes #941
Marked WIP for discussion, since we haven't actually decided to drop Azure, but this shows what it might look like.

I realized that the actions aren't running on this PR, so folks need a link to runs on my fork, which are here

I'd be happy to switch to GH Actions. The UI of the Azure pipelines confuses me (trying to find the button that lets me restart things is always a 5-10min exercise and sometimes I give up :( ) and the fact that I have to login to Azure with a separate account and don't get redirected back to where I was doesn't help. So a big 👍  from me.

One thing to keep in mind re: updating branches is when you turn on branch
protection GitHub surfaces a new button on PRs “update this branch with
master” that makes rebasing easy as a click for maintainers.  But, totally
get that we don’t want this in this project!  Just letting you know!
On Thu, Aug 13, 2020 at 12:14 AM Min RK<EMAIL_ADDRESS>wrote:

@minrk commented on this pull request.

In .github/workflows/test.yml
https://github.com/jupyterhub/repo2docker/pull/942#discussion_r469744154
:

+on:

push

pull_request

I also agree with @manics https://github.com/manics that the
require-up-to-date rule is a contributor-busywork vs test rigor trade-off
that doesn't quite pay off for our projects, but I now know it's an option,
which is great, thanks @hamelsmu https://github.com/hamelsmu!
Thanks for everyone's input! This is super valuable, as there's always a
variety of good ways to work with these tools. If I understood the latest
comments correctly, I think we want to keep both pull_request and push
triggers. Does that means there isn't more to do on this front?
It would definitely be useful to jot down some of the notes about events
and what they mean and what downsides there are, e.g. summarizing from this
discussion:

pull_request builds merge commits, which is useful as other PRs are
merged

push events can be sufficient and may eliminate the benefit of
pull_request building merge if branches are required to be up-to-date

requiring branches to be up-to-date adds some work for contributors,
in exchange for ensuring that tests have been run with exactly what
will result after merge. Downside: extra work for contributors if
maintainers take a while to merge PRs, as authors keep needing to update
their branch while waiting for maintainers to review & merge

push may not trigger on close/reopen PR, which is a common "poke CI"
practice, especially for contributors who don't have access to the "re-run
CI button" (is this correct?)

push & pull_request together can result in fairly redundant builds
(HEAD and MERGE may differ slightly) when a PR is made from within the
target repo

avoiding redundant builds by restricting push triggers to the
default branch make it harder to test one's own forks without opening PRs
(I do this a lot, including in writing this PR!)

Does that sound right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/repo2docker/pull/942#discussion_r469744154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALKJETYTSC552R5HBYYPPLSAOHFTANCNFSM4P3ARDMA
.

@hamelsmu I wasn't aware of that, definitely makes it a practical option! In the interests of getting this PR merged how about we keep the PR as it currently is, and make further changes in a followup? It's something we might want to discuss as a Team Compass issue so we don't end up with too many different CI and branch setups across the organisation.

By all means please don’t hold up this PR!  I was only commenting as an
FYI.  I think this PR is good to merge LGTM!
On Thu, Aug 13, 2020 at 7:28 AM Simon Li<EMAIL_ADDRESS>wrote:

@hamelsmu https://github.com/hamelsmu I wasn't aware of that,
definitely makes it a practical option! In the interests of getting this PR
merged how about we keep the PR as it currently is, and make further
changes in a followup? It's something we might want to discuss as a Team
Compass issue https://github.com/jupyterhub/team-compass/issues so we
don't end up with too many different CI and branch setups across the
organisation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/repo2docker/pull/942#issuecomment-673511938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALKJEVJK4DTL3MZJV2EQILSAP2BRANCNFSM4P3ARDMA
.

I'm learning a lot, @hamelsmu! Keep the insights coming :)

Merge?


Filter plots by region in the dashboard

Still related to #284

I thinks this is ready for review. The overall solution of mapping figure URLs to plot filenames is a mess (in particular because plotting module and the BD use completely different metrics), so it's clearly only a temporary workaround. At the same time this also include two relevant fixes,

only show regions with some data in the dropdown button
keep the last open tab in localstorage and re-open it when page is reloaded (e.g. a different region is selected).

Currently this aims to show graphs for all regions when that option is selected and otherwise show 1 plot for the selected region in the Covid+ tab.


Skip blobs from deprecated containers in replication

This PR blocks replication for deprecated containers.

nit: Could you change the name to something like Skip blobs from deprecated containers in replication? "Block replication" sounds not appropriate.

Codecov Report

Merging #1547 into master will decrease coverage by 0.09%.
The diff coverage is 65.38%.

@@             Coverage Diff              @@
##             master    #1547      +/-   ##
============================================
- Coverage     73.65%   73.55%   -0.10%
- Complexity     8144     8164      +20
============================================
  Files           573      574       +1
  Lines         44709    44817     +108
  Branches       5642     5673      +31
============================================
+ Hits          32929    32964      +35
- Misses        10120    10181      +61
- Partials       1660     1672      +12

Impacted Files
Coverage Δ
Complexity Δ

.../com/github/ambry/cloud/VcrReplicationManager.java
72.72% <ø> (ø)
15.00 <0.00> (ø)

...ry/replication/CloudToStoreReplicationManager.java
63.57% <ø> (ø)
11.00 <0.00> (ø)

...m/github/ambry/replication/ReplicationManager.java
89.74% <ø> (ø)
17.00 <0.00> (ø)

...ub/ambry/replication/ReplicationSkipPredicate.java
50.00% <50.00%> (ø)
2.00 <2.00> (?)

...va/com/github/ambry/replication/ReplicaThread.java
83.63% <66.66%> (-2.27%)
106.00 <0.00> (-2.00)

...ava/com/github/ambry/config/ReplicationConfig.java
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

...om/github/ambry/replication/ReplicationEngine.java
78.87% <100.00%> (+0.09%)
47.00 <0.00> (ø)

...main/java/com/github/ambry/server/AmbryServer.java
82.53% <100.00%> (+0.09%)
20.00 <0.00> (ø)

...in/java/com/github/ambry/cloud/CloudBlobStore.java
75.62% <0.00%> (-8.59%)
115.00% <0.00%> (+15.00%)
:arrow_down:

...n/java/com/github/ambry/clustermap/MockDiskId.java
80.00% <0.00%> (-5.72%)
12.00% <0.00%> (-1.00%)

... and 22 more

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 f8cbd4e...cb14773. Read the comment docs.


Wait for docker to start cadvisor.

Together with #8324, this pr should fix #8291 for cadvisor breakage in rebooting case.
cc/ @mbforbes @vmarmol
How validate the fix, here are the steps I did:

Bring my test cluster
$ go run hack/e2e.go --v --build --up

Run monitoring tests
$ go run hack/e2e.go --v --test --test_args="--ginkgo.focus=.Monitor."

Restart nodes, and wait for both are in Ready state

Rerun monitoring tests. Without this PR, it should be failed
$ go run hack/e2e.go --v --test --test_args="--ginkgo.focus=.Monitor."

Monitoring
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/monitoring.go:52
  verify monitoring pods and all cluster nodes are available on influxdb using heapster.
 /go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/monitoring.go:51
------------------------------
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 1 of 48 Specs in 100.451 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 47 Skipped I0515 14:04:54.588358   15763 driver.go:96] All tests pass

LGTM.

@yujuhong another example of how I was wrong with "start everything in New()" :)


fatalerror with cyrillic string

I get the fatal error while trying to init itemSuffix: Can't form Range with upperBound < lowerBound. Reproducing with same Cyrillic string inside text and suggestion ( "Москва" for example) I can suggest this fix:
fileprivate func filter(forceShowAll addAll: Bool) {
...
if item.title.lowercased().hasPrefix(textToFilter) {
...
  let itemSuffix: Substring = indexFrom < item.title.endIndex ? item.title.suffix(from: indexFrom) : ""
...
  }
}

Xcode version 10.2.1

i have same Error


Add "Editor without Mono" CI

In #47600, the Linux editor template was replaced with the Mono version. I think the main version is Standard, not Mono. Therefore, I propose to add it to CI.

Why do you think the existing jobs don't cover that area already? A Mono build would fail with all the same issues, plus with Mono-specific issues. I don't think there is any benefit from running it twice?

Correct if I'm wrong, but to use the Mono version it's necessary to install Mono and other software.

Yes, to use mono it is required to install additional software, but for now we have very limited CI time so I don't think that generating such binaries are necessary since you can find them here - https://hugo.pro/projects/godot-builds/

So you want to add it back to have build artifacts to use them? In that case, qarmin is correct, we have limited resources to run CI and the main purpose is to find build issues, not to compile publicly usable executables.

A better way to compile usable executables from CI would be to create separate workflows that are scheduled to run every day on the master branch. This means fully optimized CI builds can be compiled, since it doesn't matter as much if they take significantly longer to run.

I'd say don't bother with this, at least in the master branch, because soon there won't be two versions of Godot. Either the module will be included by default or it will be a native extension.

I periodically test those PRs that are interesting to me (most often those that are already merged into the master, but sometimes open ones too). Previously, I just used artifacts from PR, it was convenient.
The problem with Calinou builds is that it is not always obvious whether this PR is included in the build or not (you need to compare the hash of the commit you are interested in with the build hash).
Of course, if the project does not have the resources for this, then I will do such builds locally or in a separate branch in my fork.

If currently the project is really very limited in CI time, then I suggest closing it now, because this is really more of a convenience issue than an additional check (a bug that will reproduce in standard version but not in Mono is unlikely to ever occur).
If in the future the project has more resources, then we can always add this build in another PR.

Yeah for the time being I think it's best to keep as is. We're definitely allowed to add more builds on GitHub Actions, but they can't all run in parallel and we end up with a queue, sometimes having to wait several hours for a PR to pass CI if there have been a lot of PRs or commits before that. So we try to mix and match parameters to have good coverage of the codebase while keeping fast PR iteration time.
Note that the Mono editor build should be able to run without installing additional software, it's only to actually compile C# scripts that MSBuild or Dotnet CLI are needed. If that's not the case, that'd be a packaging issue we can probably fix.


Add documentation for Vips::CompassDirection

I liked how Vips::Interesting, Vips::Extend and others were documented, so I thought it would be nice to do the same for Vips::CompassDirection.

Oh, nice!


[✨ Feature Request]: to_logic_form() and edge_attr

Is your feature request related to a problem? Please describe.
The to_logic_form() method defined here doesn't seem to consider the 'edge_attr' attribute.
Describe the solution you'd like
Should't it initialize the edge predicate weights with the values passed to edge_attr? Something in the lines of
Relation.get(edge_name)(int(u), int(v), int(w))[1].fixed() for u, v, w in zip(self.edge_index[0], self.edge_index[1], self.edge_attr[:, 0])

Describe alternatives you've considered
No response
Additional context
No response

Hi, thanks for the feature request.
I added support for edge_attr in the latest version of PyNeuraLogic (neuralogic==0.1.1).
Here, you can check basic usage (and how features are encoded) in torch, NumPy, and native python tests.


Add 'Locale' faker

Codecov Report

Merging #319 (24e8802) into master (401556f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #319   +/-   ##
=========================================
  Coverage     94.87%   94.88%
- Complexity     1937     1940    +3
=========================================
  Files           203      204    +1
  Lines          3866     3871    +5
  Branches        383      383
=========================================
+ Hits           3668     3673    +5
  Misses          101      101
  Partials         97       97

Impacted Files
Coverage Δ

.../main/java/net/datafaker/service/files/EnFile.java
93.33% <ø> (ø)

src/main/java/net/datafaker/Faker.java
98.39% <100.00%> (+<0.01%)
:arrow_up:

src/main/java/net/datafaker/LocaleFaker.java
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Why do we need it use *.yml instead of java's embedded DateFormat#getAvailableLocales?

I thought it would be better to use locale.yml to maintain consistency (I mean that all fakers have a corresponding .yml ).

Not every faker uses yml, e.g. idnumbers generators, date time generators do not use them.
Right now java provides more than 1000 locales, i do not see a reason to not reuse it

I can't understand why in most test runs there is 1 Locale.baseLocale() fall

Could you give a name of test failing after 1000 iterations?

LocaleFakerTest.baseLocale()

javadoc for the java.util.Locale#toString contains an answer

If both the language and country fields are missing, this function will return

the empty string, even if the variant, script, or extensions field is present (you
can't have a locale with just a variant, the variant must accompany a well-formed
language or country code).

Croatian
Chechen (Cyrillic, Russia)
English (Malta)
Punjabi (Gurmukhi, India)
Albanian (Latin, Albania)
Northern Sami
Inari Sami
English (Macao SAR China)
Koyraboro Senni (Latin, Mali)
Cebuano (Philippines)
French (Belgium)
Sangu
Samburu (Latin, Kenya)
Bodo (India)
Serbian (Cyrillic, Bosnia & Herzegovina)
Arabic (Arabic, Egypt)

This is the result of Locale.displayName().  I don't know if this result is ok

Result of LocaleFaker.baseLocale():
sr_ME
ms_MY
doi_IN
en_VC
el_GR
mg_MG
rm_CH
seh_MZ
nl_BE
mzn_IR
ne_NP
ar_JO

Result of LocaleFaker.displayName():
Swedish
English (Antigua & Barbuda)
Chakma (Bangladesh)
Danish (Denmark)
Konkani (India)
English (Tanzania)
Vai
Lower Sorbian (Germany)
Spanish (Ceuta & Melilla)
French (France)
English (Sint Maarten)
Faroese (Faroe Islands)
Inari Sami (Finland)

By accident I noticed there is another class dealing with locales net.datafaker.service.LocalePicker
It's better to have one instead of adding more

@snuyanzin If it's better to have one, how to implement generation of random locales. As I see, LocalePicker is a service, and isn't accessible via Faker instance, which I don't think is acceptable, the solution I see is to add LocalePicker as a provider in Faker, what do you think?

There is no a real reason to have it not a provider.
We could convert it to provider and make it having methods to pick locale based on what is supported by datafaker and methods based on what is supported by java

Looking at such significant changes in the project, I think it is better to close this pull request and add this provider in the new one


Listen for Alarm On and Off

Hi,
Looking at the AlarmEvent enum, how can I know the alarm has turn ON or OFF whatever the reason.
Thanks

The HUB_STOP, HUB_STOP_BY_KEYPAD, HUB_STOP_BY_APP, HUB_STOP_BY_HAND types are OFF reasons, the rest are ON. Just check if it's any of these and then you should be fine.


Make strings "8-bit clean"

Now that strings know their length in Wren, that means we (should!) no longer rely on \0 as a terminator. That in turn would enable us to have that appear in the middle of a string. Lua calls this being "8-bit clean". Go also supports this.
Doing this would let users use strings for arbitrary immutable byte buffers, which seems useful to me. To support this, I think we mainly need:

Syntax for putting a zero byte in a string literal. \x0000 works, I think, but \0 would be nice.
Lots of tests for all of the existing string methods to ensure they do the right thing in the presence of zero bytes.

@MarcoLizza, is this something you'd be interested in taking a look at?

Yep! Fine by me!

Awesome, thanks! I figured this is probably more fun than poking around with internal number types. :)

Yep, I'm pretty confident it would be. ;)
Thank you, too.

For the records, I started working on it...

:+1:

Thanks, @MarcoLizza!

it's been a pleasure! :+1:


Draft: Opflow and Quantum Instance Mitigation

Please don't merge this branch yet, it is not finished.
This branch replaces the entire opflow usage in squlearn.
In the current state, everything should work in principle, but is not tested thoroughly!
Also there are some smaller improvements missing!

That is probably to much to review. :D


NoClassDefFoundError: org/consulo/module/extension/ui/ModuleExtensionWithSdkPanel

When I try to update plugins for Consulo I have got exception:
Exception in Consulo core.txt
and after restart plugins still have old version.
I deleted .ConsuloData folder, downloaded last versions of plugins and on startup I got this exceptions in my project:
plugins_exeptions.txt
I deleted .consulo folder in my project (Unity) and tries to import it again, but I have got this:
import_unity_project.txt

Please update plugins. You have too old plugins:)
You need search Plugin Directory(here https://github.com/consulo/consulo/wiki/Paths-to-system-directories), delete all plugins, and install new Unity plugin with dependencies

delete all plugins, and install new Unity plugin with dependencies

It works! Thank you! But I don't understand why deleting '.ConsuloData' directory did not help to me before. Anyway, thank you very much for fixes of the last few days. Now Consulo is the best IDE for Unity in my opinion. Good job! :)

Okey. Thanks


How to save the current position of the elements?

Hi there,
First of all thank you for sharing this wonderful library.
I would like to know, how can I save the current position of the elements in the dashboard?

Thanks in advance

Ok, I figured out, I need to listen the "moveEnd" event emitted by dash-item, then I can saved this payload in the Vuex Store.
Thanks a lot!

Ok, I figured out, I need to listen the "moveEnd" event emitted by dash-item, then I can saved this payload in the Vuex Store.
Thanks a lot!


Added README.md to provide more information about the files

Created a README.md to help users understand how to use the scripts in this folder.

Hi Anibal.  Thank you for submitting this pull request.  I admire your dedication to completing the job.  But there's one more task to complete before I can merge this pull request: to sign the CLA described above.  Now that you are no longer working for Google, signing the CLA is required to have this pull request accepted.

Hi Jeffrey,
I signed the CLA on 10/02/2017. When I go to the link it says the following. Let me know if you cannot see that information. Thanks.

Agreement
Name
Date Signed
Manage

Google Individual CLA
Anibal Santiago
Oct 02, 2017 18:26 PDT

Thank you Anibal!


Add sorting ascendingly functionality

By clicking table header column, sorting switches between ascending
order and descending order.
Closes #6

Thank you for your pullrequest. As you can see we have tests that run every time you add a commit to a pullrequest. Please fix the failing test and add a test that checks the new functionality. If you need any help with that let us know.

Thank you for contributing 👍

Thank you for your review. I'm glad to contribute.


Refactoring: standardise on "field" in the code

There's a mess of naming in the code, with "field", "column" and "variable" and "array" being used somewhat interchangably.
Standardise on using "array" specifically when talking about a Zarr array, and "field" otherwise.

That sounds great @Will-Tyler , would be excellent to get your help! I'm offline now for a week though, so won't be able to give input


Berkeley: Mechanical engineering workshop

@aculich could you note a few thoughts / pros and cons about your use of Binder in the event we recently spoke about? Stuff like something that would have made the use of binder more simple,  something you expected it to do that it didn't do, that kind of thing. I'd like to keep track of the experience folks have!

Not sure if this is actionable anymore, so going to close this :)


upgrade to go1.20

What type of PR is this?
/kind feature
What this PR does / why we need it:

upgrade to go1.20 and some cleanup

/assign @puerco @xmudrii @saschagrunert

[ ] need test-infra update: https://github.com/kubernetes/test-infra/pull/29001

/hold
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE

/retest

/test pull-tejolote-test

/unhold


Fermion module restructure

Fermion module restructure must follow these guidelines (not finalized):
There will be two supermodules: Core and Shell. All modules will be submodules to these two.
Core
Core will contain modules for core functionality. This functionality will be expanded from v1 to include the following:

[x] Grid
[x] Contextuals
[x] Responsive Tables
[x] Responsive Forms
[x] Input Controls (including Checkboxes/Radios)
[x] Buttons
[x] Navigation (header, nav, footer).
[x] Progress (basic only)
[x] Utilities

Shell
Shell will contain auxiliary presentational elements along. Functionality and elements will be expanded from v1 to include:

[x] Cards (functionality for generic container styles included)
[x] Tabs (functionality for tabs and more-generic carousel component, also stacked tabs will take place of accordions and collapses)
[x] Spinners
Alerts (functionality of modals using a more modern design paradigm, alerts and messages) - Will be added as a partial module to contextual probably.

Most of the restructure is complete. However a final restructure will take place to rebase Fermion around just one core.

The alert module will be moved to the contextual module.
button and checkbox will be merged into one module named input_control.
The spinner module will be added to the progress module.
All of the modules from shell wil be moved to core.
Folders and files will be renamed accordingly.

Module restructure is complete.


Getting translation issues while adding downloadable product to the cart from the home/listing page.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
Getting translation issues while adding downloadable products to the cart from the home/listing page.
Preconditions

Admin should have at least one downloadable product.

Steps to reproduce

Go to 'Shop'
Search the Downloadable product
Click on the Add to the Cart button
See the error

Expected Result
It should be shown the proper notification.
Actual Result
Getting translation issue. Here
Screenshots
No response
Additional context
No response

@Amitk-webkul Assign this issue to me

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


19 replace UI color way

Feels like there was a mistake in choosing the base repo for this pr..

not sure how this ended up in this repo!

no worries :)


Folder selector

Can I use this for folder selector? I want to save file to a specific folder selected by user.

I have the same need! Would be great to have this feature!

I have taken this on for my own usage:
    "react-native-file-selector": "https://github.com/crutchcorn/react-native-file-selector.git",

Then, just add chooseFolderMode: true, to the Show method
We're still waiting on https://github.com/nbsp-team/MaterialFilePicker/pull/72 to be merged before I can make a PR to this repo, however

I have taken this on for my own usage:
    "react-native-file-selector": "https://github.com/crutchcorn/react-native-file-selector.git",

Then, just add chooseFolderMode: true, to the Show method
We're still waiting on nbsp-team/MaterialFilePicker#72 to be merged before I can make a PR to this repo, however

chooseFolderMode: false don't work  can select folder

Given that I'm passing the variable directly to the Java method:
https://github.com/crutchcorn/react-native-file-selector/blob/master/android/src/main/java/ui/fileselector/RNFileSelectorModule.java#L81
It's likely a bug upstream in this PR:
https://github.com/nbsp-team/MaterialFilePicker/pull/72
Might want to report that there @wangfpp

@crutchcorn  Thank you   i resolved
if (chooseFolderMode) {
      picker = picker.withChooseFolderMode(chooseFolderMode);
}

@crutchcorn  感谢你的回复 我已经解决了
if (chooseFolderMode) {
      picker = picker.withChooseFolderMode(chooseFolderMode);
}

but folder is '/storage/' need click twice?
first click floder changed '/storage'
second click selected folder is '/storage'


Fixed model loading, now using an available device

Hi,
First of all I just stumbled upon your work and thanks for sharing it!
As I am using a nvidia graphic card and not a M1 chip I was unable to load any models until I added the already defined device as a parameter.
Everything works great after that

This completely slipped my mind thanks a lot for fixing it ❤


[python-package] [dask] fix mypy errors about Dask fit() return types

Contributes to #3867.
Resolves the following mypy errors.
python-package/lightgbm/dask.py:1178: error: Incompatible return value type (got "_DaskLGBMModel", expected "DaskLGBMClassifier")  [return-value]
python-package/lightgbm/dask.py:1381: error: Incompatible return value type (got "_DaskLGBMModel", expected "DaskLGBMRegressor")  [return-value]
python-package/lightgbm/dask.py:1553: error: Incompatible return value type (got "_DaskLGBMModel", expected "DaskLGBMRanker")  [return-value]

Switches the Dask estimators to returning self, so that e.g. DaskLGBMRegressor.fit() returns a DaskLGBMRegressor. This is useful for other user code and downstream libraries relying on LightGBM, to be able to do isinstance() checks and not need to rely on lightgbm-internal details like _DaskLGBMModel. It could also be relevant in the future is we add attributes to DaskLGBMRegressor, DaskLGBMClassifier, or DaskLGBMRanker that the other Dask estimators don't have.
It is, by the way, exactly the same approach the sklearn estimators use:
https://github.com/microsoft/LightGBM/blob/e666a4b412e00b1f9d8e3639e0896a271c0f0cd9/python-package/lightgbm/sklearn.py#L989-L1024
Related conversation: https://github.com/microsoft/LightGBM/pull/5672#discussion_r1107636706

@jmoralez what do you think about this one?
(no rush)


Add missing projects under 'Projects' section

Add missing projects under 'Projects' section
Currently, michalspano.com highlights only a few projects; however, this should be updated – it should contain, at least, the highlighted repos from GitHub, or beyond that!

The project's section has been updated as desired as of: a25fd56863b496b00b45937ed79acec3043f5020. Hence, the issue is closed.


Multiple user login after restart

Hello. Is it possible to start more than one user session automatically after reboot?
So system starts with user1 by default, and user2 is also logged in automatically.
Thanks

Not RDP Wrapper issue. This problem also exists on RDS.
Solution:
bat script:
mstsc /v:<IP_ADDRESS> ...

For correct arguments execute
mstsc /?


Add option to customize colors via bottomSheetColor and barrierColor.

The following PR adds some customization options. This can also be handy if the user wants to override the values set from the theme.

Add option to customize colors via bottomSheetColor and barrierColor.
Update example showcasing the new option.

@lucaspal Thank you for your contribution.


Question about reference count, when it's deleted?

When objects are deleted?
I guessed it's similar to COM.
So I guessed every created object has 1 reference and It will not be deleted
And I released every created object at the end.
But It's crashed sometimes.
So I tried to check the reference count, and the created object had 0 references.
I'm confused.
If created objects have 0 references when they are deleted?
Can I keep zero referenced objects across JsRunScript?
If I want to keep undefined value, Am I need to JsAddRef after JsGetUndefinedValue?

Objects you create have no references however CC scans the C stack and hence detects on-going use of any JS values that are in the C stack and will it free them.
You need to use JsAddRef for anything that you want to hold onto that isn’t going to stay in the stack.
That said I believe that the undefined value is unique to each JsContext and cannot be transferred between contexts - you don’t to JsAddRef undefined BUT once you release the context it will go.
Note also the documentation on the wiki is very good and covers all this stuff.

@rhuanjl Thanks for answers :)
I couldn't find about garbage collecting from the wiki. :(
In case, If I create temporal objects in the main function, will they are never deleted?
Am I need to set to JS_INVALID_REFERENCE after using it?

Most of this is explained in this article: https://github.com/microsoft/ChakraCore/wiki/JavaScript-Runtime-(JSRT)-Overview
Couple of things to note:

Most JsObjects you create will be tied to a context and a runtime be very careful with trying to access anything in a different context (it can be done but will take a bit more work)
If you create an object in your programme's main function and hold a pointer to it on the stack then it should be live as long as your programme runs.
To enable something to be collected without returning from the function that created it you do indeed need to overwrite the pointer to it either with something new OR with JS_INVALID_REFERENCE

@rhuanjl Thanks!