Infinite Loop - Internal Compiler Error when mapping recursive structure

I just was hit by a
* What went wrong:
Execution failed for task ':kspKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Internal compiler error. See log for more details

error, basically caused by this infinite loop:
at com.syouth.kmapper.processor.convertors.CollectionTypeConverter.buildConversionStatement(CollectionTypeConverter.kt:35)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildCodeBlockForDifferentTypes(PojoClassTypeConverter.kt:70)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildConversionStatement(PojoClassTypeConverter.kt:43)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildCodeBlockForDifferentTypes(PojoClassTypeConverter.kt:70)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildConversionStatement(PojoClassTypeConverter.kt:43)
        at com.syouth.kmapper.processor.convertors.CollectionTypeConverter.buildCodeBlockForDataClasses(CollectionTypeConverter.kt:66)
        at com.syouth.kmapper.processor.convertors.CollectionTypeConverter.buildConversionStatement(CollectionTypeConverter.kt:35)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildCodeBlockForDifferentTypes(PojoClassTypeConverter.kt:70)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildConversionStatement(PojoClassTypeConverter.kt:43)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildCodeBlockForDifferentTypes(PojoClassTypeConverter.kt:70)
        at com.syouth.kmapper.processor.convertors.PojoClassTypeConverter.buildConversionStatement(PojoClassTypeConverter.kt:43)
        at com.syouth.kmapper.processor.convertors.CollectionTypeConverter.buildCodeBlockForDataClasses(CollectionTypeConverter.kt:66)

The root cause was me needed to convert my uni directional relationship to a fully n:m relationship on the project I'm using kmapper for mapping. This is one of the mapper, being hit by the problem:
https://github.com/cetracker/cetrack-backend/blob/main/src/main/kotlin/de/cyclingsir/cetrack/part/storage/Mapper.kt#L32-L37
I setup a small example for demonstration purpose. It's all inside this commit:
https://github.com/cyc1ingsir/kmapper-examples/commit/592c99dfb22a8d3bdf7ed4a04e4f279284685c02
This also includes a workaround/solution(?) for the root cause:
Breaking the vicious circle with this mapping definition:
    fun map(dto: RecDtoPartA, @Bind relations: MutableList<AtoBRelationDomain>) : RecDomainPartA

and breaking up the mapping in smaller steps later on:
    val dtoPartB = findPartB()

    val partBMapper = PartBDto2DomainMapperImpl()
    val partAMapper = PartADto2DomainMapperImpl()

    val relationMapper = RelationDto2DomainMapperImpl()
    val domainRelations = dtoPartB.relations.map { relation ->
        relationMapper.map(
            relation,
            partAMapper.map(relation.partA, mutableListOf()),
            partBMapper.map(relation.partB, mutableListOf())
        )
    }
    val domainPartB = partBMapper.map(dtoPartB, domainRelations.toMutableList())

I wonder
a) if there is a way for this library to discover this sort of error and bail out before being stopped, making it more robust/resilient on user errors?
and b) if there is a more elegant solution for handling the root cause?

@cyc1ingsir Hi, thanks for the report. The loop happens there because the definition of your data structure is recursive so the mapper goes into infinite recursion as well. I don't think that there's any general fix for this but errors like that can be detected and error message can be improved. Loop can be detected via Topological sort algorithm for example.

How I solved the challenge within the project, I'm using kmapper in, in the end:
I've got this m:n relationship definition:
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/storage/PartPartTypeRelationEntity.kt
which I try to map to these two objects within the domain layer.
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/domain/DomainPart.kt
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/domain/DomainPartType.kt
e.g. for the mapping
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/domain/PartTypeService.kt#L33-L36
To break this infinite loop, the complete mapping is done like this:

a mapping function (inside the main - injectable - mapper component):
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/storage/Mapper.kt#L55-L57

the kmapper @Mapper
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/storage/Mapper.kt#L28-L32

an a helper function using the above mapper and injecting an empty list to break the recursion
https://github.com/cetracker/cetrack-backend/blob/061aee8f03fbf51c4f54a69b2e25912e48229d0e/src/main/kotlin/de/cyclingsir/cetrack/part/storage/Mapper.kt#L66-L71

The above definition of this many to many relationship is similar to this one:
https://vladmihalcea.com/the-best-way-to-map-a-many-to-many-association-with-extra-columns-when-using-jpa-and-hibernate/
I've not looked into how JPA is handling this recursion. I suspect, it's some sort of lazy access.
A similar mapping logic is defined for mapping the objects from an to the REST layer.
REST <- mapping -> domain <- mapping -> storage
If one looks closely at the above described solution, one might notice, that this is done for both members of the relation as well as the object defining the relation. Each from and to the layer in question.
I was quite happy, to have come up with a solution where all the mapping code could be placed closely together as well as being able hide the mapping logic from the service where the mapping is needed, reducing it to a simple call like this: partTypeEntities.map(mapper::map)

Fixed


you are awesome

What does the program do ?
it tells you that you are awesome
In what programming language it is written?
html and javascript

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/


Could we publish a version v1.0.2 with recent fixes?

@siemiatj Could you please npm publish a v1.0.2 off master after merging in this change? https://github.com/siemiatj/react-native-modal-dropdown/pull/46/files
This issue in particular has been a show stopper: Fixed Issue when initialScrollIndex failed #41
Causing issues on release builds so have had to ref the master branch instead of npm.
Issues that this fix addresses:
https://github.com/siemiatj/react-native-modal-dropdown/issues/40
https://github.com/siemiatj/react-native-modal-dropdown/issues/38

Done, thanks for the PR.


Update the links to Docker docs

The links currently lead to a 404 page. Closes #20.

Thanks for the fix!


Updated README to include mentions of forking repository

If a user wants to (easily) contribute, they should fork the repo, then clone their fork. The instructions should be updated to include the forking step if they wish to contribute.

Closed by #142


Practice: Balanced Team Roles & Responsibilities

Summary
An exercise to help participants enumerate, clarify and understand the responsibilities held by different roles in a balanced team. Has been used in various workshops to help client teams better understand the fluidity & level of collaboration implied by having balanced teams.
Progress and Publication Status

[ ] Already published on the Tanzu Developer Center.
[ ] Published internally or elsewhere; needs review for Tanzu Developer Center publication
[X] Partially written and/or draft in progress
[ ] Not yet written

Draft is here: https://docs.google.com/document/d/11pQu3Uuzxin1yUnB0v2vUsDjDKoI2QBjAbxRP4afVqs/edit
Maturity of this Practice

[ ] Very Mature: well established and widely used by our organization and others
[ ] Mature: have successfully used many times with many teams / projects
[X] Immature: have used several or many times but is evolving quite a bit with each usage
[ ] Incubating: have used a few times, still rapidly evolving, has promise but unsure if generally applicable across many teams

Resources
List anything here that might be helpful for writing this article.

Links to articles and blog posts
Links to presentations, videos, books, etc.

Contribution Guide
Please refer to the Tanzu Practices Contrition Guide for detailed instructions.

Regarding

[x] Immature: have used several or many times but is evolving quite a bit with each usage

Are we committed to updating this workshop as this method evolves? Or should we hold off for a bit while it evolves?


Updates the Course link to 2023

Lastest link of this course: https://cs50.harvard.edu/x/2023/#how-to-take-this-course

You can update it like this: [2022](link to 2022 website), [2023](link to 2023 website)

@PKUFlyingPig Okay, I have made the changes as you suggested.


[New Feature]: Adding media queries to ensure responsiveness

🎮 feature Request
I will implement a responsive design, so that the user gets a fulfilling experience whether they are on their desktop, tablet or smartphone. I would also improve colour scheme of the website.
Point down the features
•The website adjusts seamlessly based on the screen size.
•I would add a better colour scheme soothing to the eye while maintaining the individuality of the website.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@samarpitadas Could you please explain more what you want to do, if possible you can also add screenshot...
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channals for all projects...
Thank you :)

@samarpitadas Could you please explain more what you want to do, if possible you can also add screenshot...
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channals for all projects...
Thank you :)

https://github.com/GameSphere-MultiPlayer/Physi-c-Tech/assets/162856568/8b5a547b-ebd4-4403-ba8d-8c8c8ab166c3
As you can see this website is not responsive for smaller screens. I want to fix this issue using media queries.


GitHub Profiles

Project title
GitHub Profiles
Project Description
Want to Add GitHub Profiles Search App
Stack:

[x] Html
[x] CSS
[x] JavaScript

I am GSSOC'22 contributor. @khushi-purwar and @meinhoonharsh kindly assign me this issue

@shivam123-dev Assigned to You


'vscode' typings bleeding into monaco-languageclient interfaces

I need to hook into the MonacoLanguageClient middleware so I could handle Diagnostics in our application. However, when I tried to do so, the typings from vscode aren't available to the application as 'vscode' is not a dependency of the application itself.  There seems to also be a Diagnostic type in the monaco-languageclient library itself, but the interface we are interacting with comes directly from vscode-languageclient which is the problem.
This is the signature that is inside this file:
https://github.com/microsoft/vscode-languageserver-node/blob/153fa6316ab8991dfae25836780b66217f92efe2/client/src/client.ts#L448
The LanguageClientOptions interface comes from vscode-languageclient which references types from vscode.
And this is how I am trying to use it:

As you can see, I don't have access to the Diagnostic and Uri types from the vscode library.  Have you worked around that at all yet? I'm not sure what the consequences would be if I tried to install 'vscode' myself as there is already that compatibility library being monkey patched into the build via webpack.

UPDATE
I have tried just installing the latest version of vscode directly and so far everything seems to be working fine. Should vscode become a peer dependency now of this library or am I doing this wrong?

Check this out: https://github.com/TypeFox/monaco-languageclient/blob/602e7606c046036d3627b59064bbfb4b67e7d2e8/example/webpack.config.js#L36
The error is not related to vscode missing. Actually, it's another dependency.
The error was gone after I add this line to my webpack configuration.


Import On Demand doesn't work

The docs at https://at-ui.github.io/at-ui/#/en/docs/quickstart says I can import on demand like this:
import { AtInput } from 'at-ui' but AtInput is not exported, the correct is Input.
But even if I try to import just Input, it returns undefined:
import AtUI, {Input} from 'at-ui'
console.log('AtUI.Input:', AtUI.Input) // ok
console.log('Input:', Input) // undefined

Steps to reproduce
vue init at-ui/at-template at-ui-bug
cd at-ui-bug
yarn
yarn dev
// add above lines to src/index.js

the same problem.
Perhaps they don't support at all

Sorry, I just came back from vacation today. Very long vacation :(
I will fixed it recently.

#61


When first call encounter exception, the function always return exception

Notice the cache did not distinguish error from regular return, meaning if first try failed, all the subsequent call will fai.
Can we add a configure to allow only cache the success return?

The result of functions isn't stored if they throw errors, but rejected promises are indeed stored. What you're asking is covered by p-memoize, which is a mem wrapper
https://github.com/sindresorhus/p-memoize#cachepromiserejection


great  ariticle

i want to add  another example  PCl hardware ids. Thanks  to the authors for  article

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

ID: e29e581e-02a0-dab0-83db-25ae1ca1aebb
Version Independent ID: 21141809-e821-8e58-dcf2-be1d1bb9be87
Content: Step 1 The New Device is Identified - Windows drivers
Content Source: windows-driver-docs-pr/install/step-1--the-new-device-is-identified.md
Product: windows-hardware
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

For example, thePCI graphics  card Hardware id ( INTEL )

PCI\VEN_8086&DEV_5916&SUBSYS_1A001043&REV_02

VID_8086 is the identifier of the vendor intel
DEV_5916 is the intel HD graphics  620
REV_02 is the revision identifier of the device.
For example, thePCI graphics  card Hardware id ( NVIDIA )
2

. PCI\VEN_10DE&DEV_134D&SUBSYS_142E1043&REV_A2
VID_10DE is the identifier of the vendor nvidia
DEV_134D is the Nvidia Geforce 940mx
REV_A2 is the revision identifier of the device.

Thanks @RAJU2529 for the feedback.  I added some info in a4057b3 with other examples.


No actucal effects

After clicking the context menu item, the empty blocks still remains.
OS: Ubuntu22.04
Logseq version: 0.9.13
plugin version: v0.0.3
screenshots:
1.

Are you trying to trim whitespace from a block instead of removing an empty block?

the later

Can you post the original markdown content of the test case?

- kopkop
- jiojiojjo
-
-

You are trying to remove blocks from the top block (the page), which is not handled currently.
I will add a page menu item in the next version.

Indeed, this did worked.
- kopkop
- jiojiojjo
	- kpokopk
	-
	- kiopkopkpo
-

-> click Remove empty blocks
- kopkop
- jiojiojjo
	- kpokopk
	- kiopkopkpo
-

The new version has been released.

Can confirm it now works on page level!


Typo in documentation

Description
Typo. Sentence start with If, should be It.
Checklist:

[N/A] Securely signed commits
[N/A] Component(s) with PHPdocs
[N/A] Unit testing, with >80% coverage
[Y] User guide updated
[Y] Conforms to style guide

For future note, contributions need to be GPG-signed :-/

For future note, contributions need to be GPG-signed :-/

Noted. Thanks 👍


Failed to send message via FCM: SenderId mismatch

hello everyone.
I am trying to send a notification from ThingsBoard to my custom Flutter app. I Generated a project in FireBase and I set the key of ThingsBoard like the following link:
https://thingsboard.io/docs/pe/mobile/getting-started/
I use thingsboard_client: ^1.1.1 in my custom Flutter app, and I set FireBase in my app according to the following link:
https://firebase.google.com/docs/flutter/setup?hl=en&authuser=0&platform=android
Now, I can receive notifications from the FireBase console, But not ThingsBoard!
when I send a notification from thingsBoard, I get "Failed to send message via FCM: SenderId mismatch" error.

Please, let me know, how I can fix this problem.
I am using thingsboard 3.6.3, and flutter 3.19.4.

Hello @mahshadparsa.
Please ensure that you are using the same Firebase for both your mobile app and the backend. If you are using the Firebase CLI script, make sure you have selected the correct Firebase project during the configuration of your mobile app (Step 4.2).

Hello @ybeshkarov
I have just one project in my FireBase, and I used the key of that project for ThingsBoard and the google-service.json of that project for my custom Flutter app. But I can not get a notification yet.

Hello @mahshadparsa,
I encountered the same issue when my TB backend instance was using a key from a different Firebase than my mobile app. You might want to regenerate your Firebase Admin SDK key by following this guide (Step 4.1). Afterward, add this key as a sysadmin to your TB backend instance. Finally, confirm with the Firebase CLI that your mobile app uses the same Firebase.

Hello @ViacheslavKlimov
I checked the Firebase and  Firebase Cloud Messaging API is enable. Please let me know, how can I do a clean rebuild of my custom app in android studio?
About restarting TingsBoard I reinstalled it 3 weeks ago.

Hello @mahshadparsa,
To perform a clean rebuild of your custom app in Android Studio, follow these steps:

In your application's root path, run flutter clean.
In the same location, run flutterfire configure.
Finally, run flutter run. If you want to build a release version, use flutter run --release.

Based on the steps mentioned, I performed a clean rebuild of my custom app in Android Studio. But I just can receive a notification from the Firebase console, not from the Thingsbaord. In the Thingsboard, I receive the error
"User doesn't use the mobile app"!

@mahshadparsa, please try logging out and back into your mobile app.

I logged out of the mobile app and logged in again and I received the error "User doesn't use the mobile app" again! I restarted the Thingsboard again and it hasn't any effect.

@mahshadparsa, could you open an issue at: https://github.com/thingsboard/thingsboard/issues? It's related to the backend, not mobile.

Thank you @ybeshkarov
I opened this issue at: https://github.com/thingsboard/thingsboard/issues
https://github.com/thingsboard/thingsboard/issues/10602


Production build drops down top menu bar when cursor hovers.

Issue seen on:
Mac Mini running:
OS X Yosemite 10.10.5

@tnordberg mentioned that

the menu bar dropdown only seems to happen when the app launches as a login-item, when I launch manually that behavior isn't there.

This might be related to how macOS let's you launch a kiosk fullscreen window.  We'll have to do some more testing. Is this a priority right now for the Illumination display? In this case the user can't activate the menu bar, right?

That's correct. This isn't an issue for illumination.

This is Yosemite specific:
https://github.com/electron/electron/issues/1054
Electron marked this issue as won't fix, and I'll do the same. Yosemite is far enough back that we probably shouldn't worry about it for development. We can upgrade the OS on the Illumination display if we need to fix it there.

I should add that it's working correctly on newer versions of macOS.


Instructions for LocalAI

@OluchukwuON I don’t see instructions for LocalAI and examples. Can we get it added?

Any update? @OluchukwuON


Allow unbounded values for properties

We should support the case when a property is not bounded on one or both sides. This affects the ability to enumerate all states, so we should be able to extract the finite subspace too.

This should be addressed as a result of introducing constraints from #5, where the absence of constraints would cause the values to be unbounded.


Docs, Carousel: Replace "Delimiters" with "Bullets"

Description
In the previous pull request #3463 we deprecated the term "Delimiter" in favour of "Bullet".
I replaced the tests but not the docs.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Yeah thanks!


epic: EU Cloud

Reach out to other founders to see how they architected dual cloud.

[ ]

Closing until better spec'd out


Test humanizeBytes

please rebase. in case you need help;
git remote add upstream https://github.com/bleenco/ngx-uploader.git
git fetch upstream
git rebase upstream/master
git push origin master -f # you need to force push


Error from lenientConfiguration.getArtifacts() when dependency does not explicitly define default configuration

This issue might be related to the android sdk - but I believe it is in core gradle so I am starting here.
I am writing a gradle task that collections information from the ResolvedArtifacts. On a multi-project android build (such as sample-dependency-check-app), when calling lenientConfiguration.getArtifacts() the following errors are produced. When calling lenientConfiguration.getAllModuleDependencies() no errors are produced and a sample task works (however, I need the actual ResolvedArtifact not the ResolvedDependency).
Execution failed for task ':app:resolveArtifacts'.
> Could not resolve all dependencies for configuration ':app:debugAndroidTestCompileClasspath'.
   > More than one variant of project :mylibrary matches the consumer attributes:
       - Configuration ':mylibrary:debugApiElements' variant android-aidl:
           - Found artifactType 'android-aidl' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Required org.gradle.usage 'java-api' and found compatible value 'java-api'.
...

The quick fix is to have my end users explicitly set the default configuration when referencing a library in their multi-project build. In the sample-dependency-check-app/app/gradle.build they have a dependency defined as:
implementation project(':mylibrary')

If they update the dependency declaration to the following - lenientConfiguration.getArtifacts() works successfully in my task:
implementation project(path: ':mylibrary', configuration: 'default')

Expected Behavior
lenientConfiguration.getArtifacts() should not error when configuration: 'default' is missing (it is the default right?). If lenientConfiguration.getAllModuleDependencies() succeeds without the explicit default configuration - I am not sure why getArtifacts would error.
Context
I am maintaining the OWASP dependency-check-gradle plugin. This is a FOSS Software Composition Analysis tool that reports when a project is using known vulnerable libraries. Dependency-check requires analyzing the actual dependency file (i.e. JAR file in the case of Java).
Steps to Reproduce (for bugs)
source code: https://github.com/jeremylong/dependency-check-gradle
sample project: https://github.com/gmetal/sample-dependency-check-app
git clone https://github.com/gmetal/sample-dependency-check-app
cd sample-dependency-check-app
./gradlew dependencyCheckAggregate

Your Environment

Build scan URL: https://scans.gradle.com/s/vqlwitt3l65wk

There is a difference between asking for the components you depend on and asking for its artifacts. That's why the former succeeds while the latter fails.
There is no single list of artifacts for an Android project. Each project provides an AARs, a JAR, a classes folder, a resources folder etc). The Android team decided not to have a default fallback to prevent silent failures. If you just want the external dependencies (for which there is only one artifact), you can use an ArtifactResolutionQuery to only ask for those, based on what you find in configuration.incoming.resolutionResult.
Please don't use resolvedConfiguration. That API is old, slow and soon to be deprecated. Use configuration.incoming instead.

Ah yes I forgot that you can't ask for the acutal jar, my bad.
What you can do is use the incoming.artifacts {} API with the right attribute. Probably artifactType "jar" for your purpose. You might want to check with the Android team for details on which attributes they use and what values there are.
There basically is no single artifact model anymore. The Android team could decide to ditch AARs in favor of publishing 3 separate files and the plugin would keep working. So as a consumer you need to be explicit what you are interested in. Do you want classes, resources, manifests, whole AAR files etc.

No, there is a second overload that allows you to modify the attributes you are looking for.

@oehme truly appreciate your assistance with this! I could not find an overload for getArtifacts() - but I did find artifactView which works:
def artifactType = Attribute.of('artifactType', String)
def types = ['jar', 'aar']
types.each { type ->
    configuration.incoming.artifactView {
        attributes {
            it.attribute(artifactType, type)
        }
    }.artifacts.each {
        println "artifact file: ${it.file}"
    }
}

Last question - is there a way to get a list of the artifactType that are contained within the incoming artifacts?

We need to rename that method for clarity :)
There is currently no API to iterate over all the possible variants.  The error message should show you the different ones it tried to pick from though.


Fix documentation on auth flow configuration

Minor mixup in regards to what auth flow configuration is supported/required.
I was looking for a tool that supports SRP, and this minor mistake got my hopes up ;)

hey @mistaecko sorry about that! We did have a plan to add SRP login but never really got around to it. But if you're interested, we can definitely add it to this CLI.

@sungly, if cognito-cli had SRP support then our team would use it in our development workflow in order to obtain access tokens for interacting with the API via Postman or similar tools. I have not found any out-of-the-box solutions that provide SRP authentication. A common workaround is to enable USER_PASSWORD_AUTH, but this is not desirable in some environments.

@sungly, if cognito-cli had SRP support then our team would use it in our development workflow in order to obtain access tokens for interacting with the API via Postman or similar tools. I have not found any out-of-the-box solutions that provide SRP authentication. A common workaround is to enable USER_PASSWORD_AUTH, but this is not desirable in some environments.

@sungly, if cognito-cli had SRP support then our team would use it in our development workflow in order to obtain access tokens for interacting with the API via Postman or similar tools. I have not found any out-of-the-box solutions that provide SRP authentication. A common workaround is to enable USER_PASSWORD_AUTH, but this is not desirable in some environments.

@mistaecko I put a pr for adding SRP authentication https://github.com/sungly/cognito-cli/pull/25, please feel free to provide feedback. Once I get a review from @rocellaj, we can publish this.

@sungly, if cognito-cli had SRP support then our team would use it in our development workflow in order to obtain access tokens for interacting with the API via Postman or similar tools. I have not found any out-of-the-box solutions that provide SRP authentication. A common workaround is to enable USER_PASSWORD_AUTH, but this is not desirable in some environments.

@mistaecko I put a pr for adding SRP authentication https://github.com/sungly/cognito-cli/pull/25, please feel free to provide feedback. Once I get a review from @rocellaj, we can publish this.

@mistaecko we published an update to do SRP login. We hope that this can help your team with some local development :D

@mistaecko we published an update to do SRP login. We hope that this can help your team with some local development :D


Render to TextureRegion

Add an option to render to a texture region via a framebuffer.
This means we need to draw the tvg only once and then draw the framebuffer instead.

Implemented in aa81d527bead1b8847e1a3feab17975e99391f2f


Unity app crashes after calling StopRecording()

Sometimes when you call StopRecording() on VideoKitRecorder the app can crash with an error Thread 2: EXC_BAD_ACCESS (code=1, address=0x12e204010). This bug is only reproducible on iPhone 11 Pro (while on iPhone 14 Pro Max, everything is perfect).
The VideoKit version I was using is 0.0.19
I'm attaching the logs from a TestFlight user.

Fix coming in 0.0.20.

Fixed in 0.0.20.


Revise internal data structure

To prepare for an upcoming W3C compliance we should revise how we store / transform internal data to make this an easier process to adapt.
In short: Our internal tokens structure should be optimized to support more complex token structures.

@six7 FYI I am working on a proposal for this to support the current w3c spec, improve dev experience and improve typing

@six7 FYI I am working on a proposal for this to support the current w3c spec, improve dev experience and improve typing

Sounds great! 🔥


comm_logs_summaries() throws UnboundLocalError if texts data is empty while calls data is not empty

I was using forest on "Public Sample Beiwe Dataset" from Zenodo (source) and I ran into an error when running log_stats_main(). I see it tracks to comm_logs_summaries() which throws an error b/c a local variable does not get defined if texts data is empty while calls data is not empty. There are 0 texts and 1 call in this data.
I use Python 3.8.12 and forest version 0.1.1.
Reproducible example:
import pandas as pd
from forest.willow.log_stats import comm_logs_summaries
from platform import python_version

print(python_version())

ID = "6b38vskd"
text_data = pd.DataFrame.from_dict({})
call_data = pd.DataFrame.from_dict(
    {'timestamp': {0:<PHONE_NUMBER>649},
     'UTC time': {0: '2016-02-02T15:57:27.649'},
     'hashed phone number': {0: 'ZlGtb-SRRIgOcHLBD02d2_F049naF0YZbCx_CeP7jss='},
     'call type': {0: 'Missed Call'},
     'duration in seconds': {0: 0}}
)
stamp_start =<PHONE_NUMBER>
stamp_end =<PHONE_NUMBER>
tz_str = "America/New_York"
option = "daily"

stats_pdframe = comm_logs_summaries(ID, text_data, call_data, stamp_start, stamp_end, tz_str,option)

3.8.12
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
/var/folders/sk/c14blb7s493_7lgzdq0m3sjm0000gn/T/ipykernel_51047/4226467727.py in <module>
     19 option = "daily"
     20
---> 21 stats_pdframe = comm_logs_summaries(ID, text_data, call_data, stamp_start, stamp_end, tz_str,option)

~/opt/anaconda3/envs/forest_run/lib/python3.8/site-packages/forest/willow/log_stats.py in comm_logs_summaries(ID, df_text, df_call, stamp_start, stamp_end, tz_str, option)
     91         if option == 'daily':
     92             newline = [year, month, day, num_in_call, num_out_call, num_mis_call, num_uniq_in_call, num_uniq_out_call,
---> 93                   num_uniq_mis_call, total_time_in_call, total_time_out_call, num_s, num_r, num_mms_s, num_mms_r, num_s_tel,
     94                   num_r_tel, total_char_s, total_char_r,text_reciprocity_incoming,text_reciprocity_outgoing]
     95         if option == 'hourly':

UnboundLocalError: local variable 'num_s' referenced before assignment

Also, for future, what is the best way to show programmatically which forest commit/download date I am using?
FYI @patricknnamdi (who also graciously shared code with group/me to learn how to use forest)

Thanks for reporting this. What should the default value for num_s (and other similar variables like num_r) be if text data is empty?
You can get the current commit with git rev-parse HEAD.

Hi @hackdna I think they should be set to 0 (as they represent the number of texts sent, number of texts received, etc.), but I am tagging @kwcarlso so she could confirm.

@martakarass not sure if I fully understand the question, but yes text and call data can be disabled. However, the standard settings are for them to be turned on. The caveat is that this is only applicable to Android phones, so if there are no Android phones in a study, we will not collect any communication log data. Does that answer your question?

Hi @kwcarlso thanks! What do you think should be a default value of statistics such "number of texts sent" and similar in case there is no texts data? Are we OK to out 0 in the output (regardless whether the texts communication log data were (a) available for OS and not disabled, (b) available for OS but disabled, (c) not available for OS)?

My guess is that would make sense but I would confirm with @jponnela

FWIW, it looks like Jasmine is using pd.NA for missing data:
https://github.com/onnela-lab/forest/blob/main/forest/jasmine/traj2stats.py#L122
and
https://github.com/onnela-lab/forest/blob/main/forest/jasmine/traj2stats.py#L155

Hi @martakarass @hackdna @kwcarlso. I think we want to be able to distinguish between there being no call activity (i.e., call count, for example, is 0) and call / communication logs not being available at all. So if I'm understanding this question correctly, it seems to me that the default should be NA. What do others think?

@hackdna "linked a pull request that will close this issue 2 days ago" - just to confirm, can I close this issue? Thanks!

I've requested your review on that PR! :) If you approve the changes I will merge the code and that will automatically close this issue.


Data security and adaptability framework

Add the hardcoded data into a  separate text file.

Used the js file to temporarily decouple the data


first init on ays gives error

see playenv on github ays
when executing the first time it gives error (after ays destroy)
2nd time ok

pycache was not properly cleaned up


feat(preset-uno): Additional animation utilities

animation-{number}  Default to animation-duration
Define speed through cssVar

Last todo
closes #45

missing speed: /^animate-speed-(inherit|initial|revert|unset|linear|ease|ease-in|ease-out|ease-in-out)$/, we should cover  cubic-bezier and steps (https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function#syntax)?

For steps we can handle in another rule:
/^animation-steps-([1-9][0-9]*)-(jump-start|jump-end|jump-none|jump-both|start|end)$/

update test snapshots

jump

Can be included in speed:
/^animate-speed-(inherit|initial|revert|unset|linear|ease|ease-in|ease-out|ease-in-out|steps-([1-9][0-9]*)-(jump-start|jump-end|jump-none|jump-both|start|end))$/

For steps we can handle in another rule: /^animation-steps-([1-9][0-9]*)-(jump-start|jump-end|jump-none|jump-both|start|end)$/

Thank you for your advice.
I put this attribute in CSS variables. Because I don't think even the attributes you provide can fully meet the needs of users. Maybe CSS variables can allow them to customize and implement animation attributes

here basic regex for bezier-cubic:
/^animate-cubic-bezier-(0(\.[1-9])?|1)-((-)?[0-9]+(\.[0-9]+)?)-(0(\.[0-9])?|1)-((-)?[0-9]+(\.[0-9]+)?)$/

can you add also https://developer.mozilla.org/en-US/docs/Web/CSS/animation-play-state#syntax?

Emmm....
In fact, I have never used these global attributes to write animation.
It's hard to understand the purpose of these global APIs(for animation)@userquin

Emmm....
In fact, I have never used these global attributes to write animation.
It's hard to understand the purpose of these global APIs(for animation)@userquin

I have never use it... I just see the specs and ask

here basic regex for bezier-cubic:
/^animate-cubic-bezier-(0(\.[1-9])?|1)-((-)?[0-9]+(\.[0-9]+)?)-(0(\.[0-9])?|1)-((-)?[0-9]+(\.[0-9]+)?)$/

https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timing-function#values

In my opinion, we deal with so much logic to restrict users, or add an animation step we define. It does not bring any convenience to users. I think I'd prefer to implement it by customizing variables  @userquin
Global APIs has been added

@edwardnyc can you remove this comment // TODO: support custom speed, duration, delay from animation.ts module?

@edwardnyc FYI: I'm including https://windicss.org/plugins/community/animations.html


epsagon web has react peer dependency

As there is a specific package for React, I don't think the web version should have a dependency on React. This is listed as a peerDependency here
This causes an erroneous warning on install

+1
Having the same issue when trying to install (React 17)

+1


a question about Latency？

hi  I have a quension of how to get the latency...
when i read the paper, there is two constraints， flops and latency。how to get the latency of the given device.
forward to your answer!... thanks!

Hi, I use a look up table. Store the latency of each layer with different choices, then add them up for a network.


Add TensorRT-LLM connector for Langchain

@araza008 please resolve the conflicts

@araza008 please resolve the conflicts

conflicts resolved.

@araza008 please update based on the ci report

@araza008 please address CI issues


Hash mismatch on linux with matching hashes

Describe the bug
Bad state: Content hash on Dart side (-1867643805) is different from Rust side<PHONE_NUMBER>), indicating out-of-sync code. This may happen when, for example, the Dart code is hot-restarted/hot-reloaded without recompiling Rust code. (Note: This is just a sanity check. Even if content hash does not change, the code may still change and needs to be recompiled)
However, the content hash in both the generated dart and rust source are the same -1867643805
Steps to reproduce
no clue why this happens
Logs
logs are too long for post

Expected behavior
No response
Generated binding code
No response
OS
No response
Version of flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of clang++
No response
Additional context
Is the new rust library somehow not being used? I ran flutter clean, still same problem

Is the new rust library somehow not being used?

I suspect so. What about trying to delete the whole target directory in rust, which contains all compiled Rust files.

I did that, and now it works! I can't believe I didn't think of that 🤦. I suspect that would have resolved my other bug report that fixed itself upon wiping. You might want to document that as a troubleshooting step, or add it to the error message. Thank you!

(For potential future readers: The other issue is https://github.com/fzyzcjy/flutter_rust_bridge/issues/1863)

You are welcome, and happy to see that this checker does catch the problem in #1863!

You might want to document that as a troubleshooting step, or add it to the error message.

Looks reasonable, and feel free to PR to change the https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/website/docs/manual/troubleshooting.md :)

Close since fixed. Feel free to reopen if needed!


Add Starsmith Expanded Oracles

Project name: Starsmith Expanded Oracles
Project URL: https://preview.drivethrurpg.com/en/product/417619/Starsmith-Expanded-Oracles

Why it's awesome
Adds many oracles to Starforged.

Thank you!


Move certificationy console command to bin directory

I don't see the real value of this, what is your need ?

First of all, It is something like convention in Symfony console applications, see:
https://github.com/doctrine/doctrine2/tree/master/bin
https://github.com/symfony/symfony-standard/tree/master/bin
But the most major issue is when i try run this command from vendor directory:
php vendor/certificationy/certificationy-cli/certificationy.php start

I get this error:
PHP Warning:  require(/home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/vendor/autoload.php): failed to open stream: No such file or directory in /home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/certificationy.php on line 14
PHP Stack trace:
PHP   1. {main}() /home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/certificationy.php:0
PHP Fatal error:  require(): Failed opening required '/home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/certificationy.php on line 14
PHP Stack trace:
PHP   1. {main}() /home/spolischook/www/geekhub-php/exam/vendor/certificationy/certificationy-cli/certificationy.php:0

Hum ... I don't think it's a good idea to use certificationy-cli as a dependency, you should rely on certificationy library :)
More, I don't see why this fix your issue: I guess you are trying to do a web application right ?
Mickaël

I guess you are trying to do a web application right ?

Did you have one?
This can be used if you have private repository with your own secret q/a and cli as dependency for it. For web applications as well.
We need some tested tool for our students, so we prefer keep our q/a in secret.

However this is a bc break, so I can add bin application as synonym for current cli app.
See https://github.com/doctrine/doctrine2/blob/master/bin/doctrine

Feel free to re-open if


Purge Key Vaults after deleting resource group

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

For testing, I deployed .NET's sdk/keyvault/test-resources.json with @{enableHsm=$true} and tested out the Remove-TestResources.ps1 script with and without -Force. For the clean-up script, I created and deleted a Managed HSM (so it was left in  deleted state not related to my aforementioned resource group) and ran the script to delete 300-some KVs and that MHSM. May take a while to run, but I sourced my Resource-helpers.ps1 script and ran the two Get-* functions locally to examine the results. All looking good.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

If you want to override the logging in the clean-up script great - but I merely copied what you were already using (Write-Host for general "always log"). I don't want the TestResources scripts' logging changed. It's been like that in the beginning, long before moving to Azure/azure-sdk-tools. VSO already captures PS warnings and errors to using VSO tasks to write them is redundant.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


No depth translation

Hello
Great work by the way!
So i have been experimenting with the 3D visualization output and it seems that the depth is always constant no matter if i move towards or away from the camera.
The only thing which changes is the overall scale of the 3D pose. When viewed from an azimuth angle of 80 degrees as written in the code at vismos.py file, it looks like it is moving in the depth dimension but that is because of the scale which adds the trick to the human eye of changing depth. An example is show below.

But when viewed from 180 degrees, we can see that the depth in fact does not changes at all.

The axis are already fixed. Is there anything i am doing wrong? Thank you.

hey @mohammadasim98, are you have any ideas solving this issue? If I have the depth info from depth cam, do you think it could solve it? Thanks.


testing against php 7.4, locking dev deps

Codecov Report

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

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage     95.12%   95.12%
  Complexity       15       15
=========================================
  Files             1        1
  Lines            41       41
=========================================
  Hits             39       39
  Misses            2        2

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 c2dc840...da2804b. Read the comment docs.


Refactor deserialize_chat_template

Changes

The macro deserialize_chat_template returns two objects ChatTemplate and GenerationConfig.
These two objects are independent when instantiating from a impl ModelPaths.
Create new function to create ChatTemplate
Creating a GenerationConfig is a one liner, no function needed.
Also, fixed some documentation.

The current implementation of load_model_from_path uses the chat_template from the get_template_filename regardless if the Loader has been instantiated with a chat_template: Option<String> override (e.g. GGUFLoader.
I think the correct behaviour should be that if the use has provided a specific chat_template, use it instead of the one derived from get_template_filename.


HARP-8615: Add support for reading flat themes.

Flat themes are HARP themes where all the style declarations
are flattened in one single array. This change adds initial
support for loading flat themes by converting them to
HARP themes. The conversion is done so we can start experimenting
with this new file format without changing too much the HARP code base.
Signed-off-by: Roberto Raggi<EMAIL_ADDRESS>

Codecov Report

Merging #1264 into master will decrease coverage by 0.03%.
The diff coverage is 23.07%.

@@            Coverage Diff            @@
##           master   #1264      +/-   ##
=========================================
- Coverage   52.74%   52.7%   -0.04%
=========================================
  Files         249     249
  Lines       23086   23111      +25
  Branches     5120    5127       +7
=========================================
+ Hits        12176   12181       +5
- Misses      10910   10930      +20

Impacted Files
Coverage Δ

@here/harp-mapview/lib/ThemeLoader.ts
75.96% <23.07%> (-6.73%)
:arrow_down:

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 19db4c0...4b41848. Read the comment docs.


🚀 Feature: General contributing guide is missing

Which component is this feature for?
Anthropic Instrumentation
🔖 Feature description
This feature will explain how to contribute and outline the contribution workflow:

Fork the repository
Clone the repository
Make local changes
Pull changes to local repository
Create the pull request 6. Await approval

🎤 Why is this feature needed ?
If any new contributor wants to participate in the project, they need to understand the basic workflow for contributions, such as forking, cloning, etc. A detailed contribution guide will be more beneficial.
✌ How do you aim to achieve this?
By writing the documentation.
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

Sounds good @ankur0904!
This should be in https://github.com/traceloop/docs

@nirga
Thanks for the feedback. I will soon submit the PR.

@nirga @ankur0904
I have submitted the pull request where I updated the CONTRIBUTING.md file. I hope it gets merged soon, but I’m open to any feedback or changes that may be required.
Thank you!


Omnipod shutdown (UPLOAD-328)

Addresses UPLOAD-328.

@pazaan Made some changes as to not break the tests, ready for review now :smile:


Question about Docker and Volumes.

I think I need to mount a volume to store the images for the image program.  I'm using the Docker tutorial and a sample from streamlit.  Both samples use git clone, so the file isn't in my github.   The program is with the data folder.  I can create a volume but I'm not sure how the data "goes into" the volume?  The Docker tutorial example starts with an empty volume and then they move quickly onto to bind mounts.
(# app/Dockerfile

FROM python:3.9-slim

EXPOSE 8501

WORKDIR /app

RUN apt-get update && apt-get install -y \

    build-essential \
    software-properties-common \
    git \
    && rm -rf /var/lib/apt/lists/*

RUN git clone https://github.com/streamlit/streamlit-example.git .

RUN pip3 install -r requirements.txt

ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=<IP_ADDRESS>"])

@Zaubeerer

Yeah, the code you shared does not yet do anything related to the mounting 🤔
Actually, I would maybe first challenge a bit whether you really need to mount a volume, but I am not sure myself.
I could imagine, that the image can also be saved as bite object and then given to whatever function  requires the image input?


Inconsistent button labels. "New meeting" vs. "New Event" vs. "Create a new meeting"

We have buttons for the same things throughout that have different text. For instance some we have three buttons for creating a new meeting that show different things as listed in the title. We should probably make these consistent
@Quirinevwm - what is your opinion here?

d probably make these consistent
@Quirinevwm - what is your opinion here?

Yes I changed that to "new event" in the designs - it's shorter and fits better in a button. Will have a double check in transcript, I remember I spend some time on it. So the create and new meeting let's take that out!

Resolved


kots repl syntax not taking values

We have defined two conditions in kots manifest values.yaml that is being used in helm charts, but it is not taking the both the conditions at once, is there any way we can use AND operator in the syntax or can use two conditions one after the another which seems to be not in working, or am I using it wrongly?
Need help regarding this. Thanks in advance!
condition 1:
#     {{repl if ConfigOptionNotEquals "DOMAIN" ""}}
        hosts:
        - repl{{ ConfigOption `DOMAIN` }}
        tls:
        - hosts:
          - repl{{ ConfigOption `DOMAIN` }}
#     {{repl end}}

condition 2:
#     {{repl if ConfigOptionEquals "SecretName" "true"}}
        tls:
        - secretName: tls-cert
#     {{repl end}}

hi @gauravkcldcvr, could you please share the relevant parts of the config yaml file?

we have a manifest kots values.yaml file which looks like this below. But it's not taking both of the below conditions at once like mentioned below. Should validate both conditions. Can we not use multiple if blocks one after the another?
  values:
      ingress:
        enabled: true

        annotations:
          kubernetes.io/ingress.class: nginx
          nginx.ingress.kubernetes.io/ssl-redirect: "{{repl ConfigOptionEquals `tlsEnabled` `true` }}"
          nginx.ingress.kubernetes.io/configuration-snippet: |
            rewrite ^/services/monitor/(.*)$ /$1 break;
            proxy_set_header Authorization "";

#     {{repl if ConfigOptionNotEquals "DOMAIN" ""}}
        hosts:
        - repl{{ ConfigOption `DOMAIN` }}
        tls:
        - hosts:
          - repl{{ ConfigOption `DOMAIN` }}
#     {{repl end}}

#     {{repl if ConfigOptionEquals "SecretName" "true"}}
        tls:
        - secretName: tls-cert
#     {{repl end}}


Creating React Native / Expo bridge

I am writing a bridge for react native and expo.
The purpose of the bridge is to use the SDK without ejecting the expo application.
I had some issues implementing the SDK for IOS because the parameter of the authenticate method need a UINavigationController.
The methods that request a UINavigationController are passing the parameter to method that only need a UIViewController.
Can the parameter type be changed !
Thanks in advance

Hello. Thank you for your contribution.
Using UINavigationController is a requirement of on external 3D Secure library we depend on. It uses it to present its dialog screens. It makes an internal check and generates an error if no UINavigationController passed.
You can easily check that with 3DS test card number:<PHONE_NUMBER>000004. Code with your change will generate an error if you use this card.
Your application must be based on UINavigationController in order to use SecurionPay SDK, therefore I'm afraid I can't accept your PR, but you can easily embed every UIViewController into UINavigationController. I will add relevant information to README. Don't hesitate to ask when you need any extra support.

Hello. Thank you for your contribution.
Using UINavigationController is a requirement of on external 3D Secure library we depend on. It uses it to present its dialog screens. It makes an internal check and generates an error if no UINavigationController passed.
You can easily check that with 3DS test card number:<PHONE_NUMBER>000004. Code with your change will generate an error if you use this card.
Your application must be based on UINavigationController in order to use SecurionPay SDK, therefore I'm afraid I can't accept your PR, but you can easily embed every UIViewController into UINavigationController. I will add relevant information to README. Don't hesitate to ask when you need any extra support.


Slides: Why is the PDS pursuing a move to the cloud using a hybrid model? Why centralize under MCP?

💡 Description
Need to create a slide deck describing the rationale for the PDS moves towards utilizing cloud resources and a possible hybrid model in the cloud. Why we should all be using MCP in AWS instead of other cloud providers/platforms?
⚔ Parent Epic / Related Tickets
No response

Presented at last sprint review. https://docs.google.com/presentation/d/1ZphlCFvqSM6bqKjWQuYm2Tcs3QN6-R0_/edit?usp=drive_link&ouid=111291853515250351941&rtpof=true&sd=true


Cost model rates' goes beyond 2 decimal place support

Refactored format currency / units functions to allow separate fraction digit options. This allows us to format localized rates using 10 decimals.
Also added some validation and the ability to enter localized rates via different locales. For example,  1.234,56 in German is 1,234.56 USD.
https://issues.redhat.com/browse/COST-1884
German locale

Wizard price list (1 of 2)

Wizard price list (2 of 2)

Wizard review

Cost models Edit rate

Codecov Report

Merging #2231 (91f474e) into master (9c3ce3c) will increase coverage by 0.02%.
The diff coverage is 76.31%.

@@            Coverage Diff             @@
##           master    #2231      +/-   ##
==========================================
+ Coverage   70.58%   70.60%   +0.02%
==========================================
  Files         394      394
  Lines        7241     7257      +16
  Branches     1584     1582       -2
==========================================
+ Hits         5111     5124      +13
- Misses       2098     2101       +3
  Partials       32       32

Impacted Files
Coverage Δ

...nts/reports/reportSummary/reportSummaryDetails.tsx
13.26% <ø> (+0.39%)
:arrow_up:

src/locales/messages.ts
100.00% <ø> (ø)

.../pages/costModels/components/rateForm/constants.ts
100.00% <ø> (ø)

.../views/overview/components/dashboardWidgetBase.tsx
31.81% <0.00%> (-0.14%)
:arrow_down:

...tore/dashboard/awsDashboard/awsDashboardWidgets.ts
100.00% <ø> (ø)

...ashboard/awsOcpDashboard/awsOcpDashboardWidgets.ts
100.00% <ø> (ø)

.../dashboard/azureDashboard/azureDashboardWidgets.ts
100.00% <ø> (ø)

...oard/azureOcpDashboard/azureOcpDashboardWidgets.ts
100.00% <ø> (ø)

src/store/dashboard/common/dashboardCommon.ts
100.00% <ø> (ø)

...tore/dashboard/gcpDashboard/gcpDashboardWidgets.ts
100.00% <ø> (ø)

... and 9 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 9c3ce3c...91f474e. Read the comment docs.


Cancel watcher saga test always passes

The current test for canceling the watcher saga on location change always passes
it('should finally cancel() the forked getReposWatcher saga',
     function* githubDataSagaCancellable() {
      // reuse open fork for more integrated approach
       forkDescriptor = githubDataSaga.next(put(LOCATION_CHANGE));
       expect(forkDescriptor.value).toEqual(cancel(forkDescriptor));
     }
   );

and
it('should finally cancel() the forked getReposWatcher saga',
     function* githubDataSagaCancellable() {
      // reuse open fork for more integrated approach
       forkDescriptor = githubDataSaga.next(put(LOCATION_CHANGE));
       expect(forkDescriptor.value).toNotEqual(cancel(forkDescriptor));
     }
   );

both pass.
The test is gone with the latest conversion to Jest.
Unfortunately I don't have any recommendations on how to properly test that effect so I'm hoping others might have a solution.

Duplicate of #1235


RBFManager: fix mirroring and add manual entry feature

Fix some pain points encountered using the RBF manager. Typing in the exact numerical values can make it easier to get smooth transitions between RBFs.

Thanks @miabrahams  I will check the PR and merge ASAP

HI, @miabrahams  sorry for the long wait, finally I have merged your PR. Thank you very much for your contribution! 😄

Happy to help Miquel!


Horizontal scrolling glitch

For some reason, the horizontal scrolling on this theme kicks in too early.
On default Firefox, horizontal scrolling starts at ~20 open tabs.
On this theme, it already begins way too early at just 7 tabs. There is nothing to scroll anyway, so it takes up unnecessary space.
Also, it seems like the "New Tab" animations disappear when this horizontal scrolling glitch occurs. There are no animations at all.
For example, this is how it should look like, on default Firefox:

Also, The Close button hides too soon. Which is uneasy. Whereas firefox shows the close button No matter what. It would be better to support it.

Does this issue still happen now? The tabs were a little bit glitchy on Firefox 101, but it seems that upgrading to Firefox 102 fixed some issues.

Will check now.

Also, The Close button hides too soon. Which is uneasy. Whereas firefox shows the close button No matter what. It would be better to support it.

Are browser.tabs.tabMinWidth and browser.tabs.tabClipWidth both set to 66. The close button and tab overflow behaviour seems to be dependant on those settings.

The thing with this config, I can see the close button on every tabs but I can't see after 16 tabs are opened. But the tab overflow button which OP mentions about coming at 7 tabs comes at 16 tabs.
This is before using the latest commit.

The thing with this config, I can see the close button on every tabs but I can't see after 16 tabs are opened. But the tab overflow button which OP mentions about coming at 7 tabs comes at 16 tabs.

Firefox will hide the close button when the width of the tabs is less than browser.tabs.tabClipWidth (default: 140) or when the tabs overflow. The tabs will overflow when the width of the tab is the value of browser.tabs.tabMinWidth (default: 76) or less.
The close buttons disappearing on inactive tabs when overflowed is expected behaviour by default.

But the thing is after and before your commit, Overflow menu appears after 16 tabs which is better than OP stated.
Now, the Problem is I don't see close buttons on inactive/not using tabs when hovering over that tab.

Now, the Problem is I don't see close buttons on inactive/not using tabs when hovering over that tab.

That is expected behaviour by default. If the tabs are overflowed, the close buttons will be hidden on inactive tabs. I will be making a tweak to always show the close button.

But why not show on the specific tab alone when hover instead showing the button on every tab every time ?

That's it. Then. You could close this issue probably.

Yes, my issue is fixed now. Thanks a lot for your hard work Sir! Really appreciate your effort, this is probably the best and most polished Firefox theme right now.


Free buffer early when converting numerics

Description
TdsTypeNumericToDatum allocates a buffer for parsing incoming numeric data, but does not release this buffer. So it remains in MessageContext until the end of BCP import call.
Proposed patch frees this buffer before exiting TdsTypeNumericToDatum.
Backend memory usage when importing 1 million decimals (see details in linked issue) without the patch:

With patch applied:

Issues Resolved
#2455
Test Scenarios Covered
There are no functional changes, so no new tests.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Signed-off-by: Alex Kasko<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 72.548%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
41120

Relevant Lines:
56680

💛  - Coveralls

We should fix this in other dev branches also, BABEL_2_X_DEV and BABEL_3_X_DEV

Thanks for the review! I've filed PRs for 3x and 2x.

Related Jira: BABEL-4882


[Feature Req] Monitor values for change and emit the updated value

@nisrulz

Clarification-will it monitor and give json of each module? It will be good it can deliver device info whenever changes happening. Thank you!
Do you want to request a feature or report a bug?
feature
What is the current behavior?
need to call function and get info. but it would be nice if i can info whenever the changes happening.. let us say my device switched from mobile data to wifi , then the library will notify me about that event so that I can update my UI
If the current behavior is a bug, please provide the steps to reproduce.

similar to this library
https://github.com/appzy/DeviceInfo

In the current form, it cannot emit a value when the value changes. This can be a good feature to have though.
Also note EasyDeviceInfo is a bit behind on updates, it has some updates in develop branch but thats housekeeping.

@nisrulz Thanks for your response :) Happy Christmas :)


Release 0.2.1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Spot-checked the logs and everything looks good (where I looked).


Database files are incompatible with server after pulling new version of bacularis-standalone image

How am I supposed to upgrade Postgres database files inside my docker container after pulling new version of bacularis-standalone image?
Shouldn't this be handled automatically?
TIA.
waiting for server to start....2024-10-14 04:28:12.291 UTC [9] FATAL:  database files are incompatible with server
2024-10-14 04:28:12.291 UTC [9] DETAIL:  The data directory was initialized by PostgreSQL version 14, which is not compatible with this version 16.3.
 stopped waiting
pg_ctl: could not start server
Examine the log output.

Hello @kibeb,
Thanks for your report and ideas.
It is true that something has changed in the database format. We informed in the release notes 4.0.0 that we did major upgrade of the PostgreSQL server and that it requires manual running pg_upgrade.
Upgrading the database data after the database format change is not a trivial task that requires additional attention, specially for big databases with big data. I think it can be the reason why the PostgreSQL system package maintainers didn't take it on theirs shoulders but left it to manual running. In the Bacularis Project we do the same and we ask about maintaining it manually.
Best regards,
Marcin Haba (gani)

I am closing this issue. Thanks.


RFM - flac

The flac package is stuck on version 1.3.2 and is missing releases for 1.4.0, 1.4.1, 1.4.2, and finally 1.4.3.
Manually putting together the packages for these new versions is fairly easy but I haven't used windows for years now and am unable to actually test them. So I'm looking for a new maintainer to take over.
Current Maintainer

[x] I am the maintainer of the package and wish to pass it to someone else;

Checklist

[x] Issue title starts with 'RFM - ';

Existing Package Details
Package URL: https://community.chocolatey.org/packages/flac
Package source URL: https://github.com/Spunkie/chocolatey-packages/blob/master/automatic/flac/tools/chocolateyInstall.ps1

I'm pretty sure an updated chocolateyInstall.ps1 for this would look something like this:
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
    packageName   = 'flac'
    unzipLocation = $toolsDir
    fileType      = 'ZIP'
    url           = 'http://downloads.xiph.org/releases/flac/flac-1.4.3-win.zip'
    checksum      = '4cca0acfa829921ab647f48e83f4b40288f2018d7819f0b15230d3992c13c966'
    checksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs

$packageVersion = '1.4.3'
$installFolder = "flac-$packageVersion-win"

if (Get-OSArchitectureWidth -eq 64) {
	Remove-Item -Recurse (Join-Path "$toolsDir" (Join-Path "$installFolder" 'Win32'))
} else {
	Remove-Item -Recurse (Join-Path "$toolsDir" (Join-Path "$installFolder" 'Win64'))
}

Also awhile ago, a user reported in a comment that:

This installs the 64bit version on 32bit systems! It deletes the tools\win32 folder and links to the tools\win64 folder. Of course, there maybe something wrong in my installation. Does anyone else have the same problem?

But again I don't have a windows environment to actually investigate.

I'll pick this and the flac-frontend package up.

I've now been added as a maintainer of this package.


passed test 2

Challenge 2 passes! Feel free to complete and re-submit the rest of challenges when you have a chance. Thanks


Should field operations be defined in @eval?

@eval does things in global scope, is this the desired behavior?

Closing this as you do want to @eval in global scope so that the functions defined are available to be exported and available to users. It's a common Julia pattern.


User is unable to see the Company Communicator tab in Teams channel

User is not able to see the company communicator tab in the Team channel, this user has author rights and has the same permissions as other users who are able to see this tab.  When he wants to add it, he doesn't see the company communicator application. Any suggestion as to how to correct this issue is appreciated.

Hi @e-mujica ,
Thanks for raising the query. Please confirm on the below points.

Make sure that user id has been added to the authorizedCreaterUpns list present in the app service confiuration and each id should be separated by semicolon.

Have you checked on browser version of teams and tried accessing the application? What was the result?

Hi Sai,
The user is part of 'authorizedCreaterUpns', we see the same behavior in the browser version of Teams.  This user is also set as  an owner in the application team and channel.  Not sure why he doesn't see the tab, nor can he add it.  Any othe suggestions are appreciated.
Thanks,
-------- Original message --------
From: Sai Venkat @.>
Date: 2023-12-18 3:36 a.m. (GMT-05:00)
To: OfficeDev/microsoft-teams-apps-company-communicator @.>
Cc: Edwin Mujica @.>, Mention @.>
Subject: Re: [OfficeDev/microsoft-teams-apps-company-communicator] User is unable to see the Company Communicator tab in Teams channel (Issue #1271)
SECURITY CAUTION: This email originated from outside of The Town of Oakville. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi @e-mujicahttps://github.com/e-mujica ,
Thanks for raising the query. Please confirm on the below points.

Make sure that user id has been added to the authorizedCreaterUpns list present in the app service confiuration and each id should be separated by semicolon.

Have you checked on browser version of teams and tried accessing the application? What was the result?

—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1271#issuecomment-1859789108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6QIO3L2N274TCSDRUKTXNDYJ76BHAVCNFSM6AAAAABAWRBK46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZG44DSMJQHA.
You are receiving this because you were mentioned.Message ID: @.***>
Edwin Mujica
Systems and Messaging Administration Analyst
Information Technology Solutions
Town of Oakville |<PHONE_NUMBER>, ext.3119 | f:<PHONE_NUMBER> | www.oakville.cahttp://www.oakville.ca/
Vision: A vibrant and livable community for all
Please consider the environment before printing this email.
http://www.oakville.ca/privacy.html

Hi @e-mujica ,
Please share your mail id(outlook id) so that we can discuss the issue internally.

my email is<EMAIL_ADDRESS>

@e-mujica , I have sent you a mail. Please reply to that
Thank you.

Hi,
The id was already added  and we get the same results on the browser version of Teams. User is unable to access the application.
Thanks,
Edwin Mujica
Systems and Messaging Administration Analyst
Information Technology Solutions
Town of Oakville |<PHONE_NUMBER>, ext.3119 | f:<PHONE_NUMBER> | www.oakville.cahttp://www.oakville.ca/
Vision: A vibrant and livable community for all
Please consider the environment before printing this email.
http://www.oakville.ca/privacy.html
From: Sai Venkat @.>
Sent: Monday, December 18, 2023 3:37 AM
To: OfficeDev/microsoft-teams-apps-company-communicator @.>
Cc: Edwin Mujica @.>; Mention @.>
Subject: Re: [OfficeDev/microsoft-teams-apps-company-communicator] User is unable to see the Company Communicator tab in Teams channel (Issue #1271)
SECURITY CAUTION: This email originated from outside of The Town of Oakville. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi @e-mujicahttps://github.com/e-mujica ,
Thanks for raising the query. Please confirm on the below points.

Make sure that user id has been added to the authorizedCreaterUpns list present in the app service confiuration and each id should be separated by semicolon.
Have you checked on browser version of teams and tried accessing the application? What was the result?

—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1271#issuecomment-1859789108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6QIO3L2N274TCSDRUKTXNDYJ76BHAVCNFSM6AAAAABAWRBK46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZG44DSMJQHA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@e-mujica , I have sent a mail to the below one. Please check and reply

my email is<EMAIL_ADDRESS>

Hi @gsv022,
I don't know which email are you referring to, I don;t have any other one inadditon to the one I already replied.  Could we setup a time for a call, so we can go over this and perhaps resolve it?  We can do it through teams, you have my email pls propose a date and time if possible.  Thank you.

@e-mujica , We have sent you mail already. Please reply to the same thread. Here is the reference.

Hi @gsv022 ,
Sorry but I don't have that email, otherwise I would've replied. Can you please one again.
Thank you


Feat: Adding Hover effect in submit feedback button

Describe the feature
submit feed back Button does not have hover effect we can add hover effect like it has in logout button
Add ScreenShots
https://github.com/VanshKing30/FoodiesWeb/assets/123164129/b178a49d-d44d-4e21-9e56-d6ac5d3c7864
Please assign this issue to me under GSSoc
Record

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

Kindly assign me these issues for GSSoC.

@AMISH-KHAN Assigned you the issue, Raise the PR when done !!

@VanshKing30  I had some issues while setting up the backend.

Although I solved it by self as it require to set up .env which will have DATABASE_URL="you mogodb address"
but I did not find it on Readme.md file.
I can raise an issue regarding this and even solve this.
should I do it?

hey @VanshKing30  I kind of stuck here 😅

It would be great if you could assign me this issue..!


Support for multiple directories on "appSrcRoot"

Hi,
I'm working on a big project that has several modules, each one with its AndroidManifest.xml and its own source code directory. I've been able to launch the app with this extension, and I see the threads running and so, but I can only set checkpoints for files under appSrcRoot/src. Also, appSrcRoot needs to be a folder with a file AndroidManfest.xml that contains an activity that can be used as entry point. Is there a way to specify a list of directories for appSrcRoot? Can you point out how to implement that otherwise?
Thanks a lot for this extension!

Hi @juanrh - thanks for reporting this. At the moment, there's no way to set multiple source root folders, but it should be possible to update the extension to support this.
appSrcRoot is primarily used to locate source files used in the app - although it does expect AndroidManifest.xml to be in the folder, the extension can now extract the final merged manifest from the APK itself.
To support multiple source roots, src/debugMain.js will need updating to accept an array of appSrcRoot values and PackageInfo.scanSourceSync() will need to gather results from all the folders. Currently, the extension assumes each package maps to exactly one file path, but for multiple source roots, each package will need multiple paths.
I will look into supporting this in the next version.


Example use of Some of the attacks

Is your feature request related to a problem? Please describe.
Hi,
sorry to bother you. I would like to request if the contributors can either provide a detailed explanation or the examples to use different attack methods that utilize different classifier types such as CLASSIFIER_LOSS_GRADIENTS_TYPE, CLASSIFIER_TYPE, and CLASSIFIER_NEURALNETWORK_TYPE. It is difficult and challenging to know to find out what is the exact parameter need of the attack method and how one trained classifier (say VGG using Keras blackened) can be used against various attacks.
If is there any way we can convert the classifier types from one class to another, the solution towards that can also be helpful.
I think it can increase the functionality of the toolbox and the users can then use the toolbox exntensively.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @akshayag Thank you very much for your proposal. Although we have examples and tutorials in examples and notebooks supported with the ART documentation on readthedocs, I understand your proposal and think it would be very useful and the right time to create a more systematic introduction to all the new tools, methods, conventions and possibilities that were introduced in the recent releases. We'll try to provide material in this direction as soon as possible.
In the meantime, if you have specific questions, please feel free to ask them here!

I have also the same request. Could you provide more examples for more attacks with different models?

Closing because of inactivity, please reopen if still current.


Creat a test for VSnackbar component

Description

Curentlly there is no component test for the VSnackbar component.
the test should cover:
the comopnent is rendred if the prop isVisible is set to true. if set otherwise the component should not be rendered.
the component changes its size according to the size property
Resolution

[x] 🙋 I would be interested in resolving this bug.

any ideas on how to test css class that are part of <style module>?
i want to test if the size property is set to small the .small class is set on the component.
but as far as i understand jest cant test css class that are part of <style module>


Issues with supporting Cargo

Related to https://github.com/rust-lang-nursery/thanks/issues/8
Now that https://github.com/rust-lang-nursery/thanks/pull/57 has landed, we can have more than one project. But there's a problem: cargo's commits aren't being sorted into releases properly. The logs show commits being assigned multiple times, and then finally to master, since it's the last release that gets assigned to. My current guess is that the way that we assign commits to releases relies on Rust's branching model, which cargo doesn't share. More investigation needed.

We are going to have to do custom, per-project stuff here; let's close this in favor of the more general #8.


The maxRange value can't be updated dynamically

I've problem setting the maxRange dynamically.
Stackblitz simple example.
In my real app, I need to set up the maxRange based on value parameter's value. So if it changes over time, I need to update also the maxRange, e.g. further the user drags the first handle, the maxRange should be larger.
Any idea how to achieve this?

Hey we have the same problem, send help :)

export class AppComponent  {
manualRefresh: EventEmitter = new EventEmitter();
value: number = 40;
highValue: number = 100;
options: Options = {
floor: 0,
ceil: 1000,
step: 10,
minRange: 60,
maxRange: null,
pushRange: true,
enforceStep: false,
animate: false,
};
setNewMaxRange(val: number) {
const newOptions: Options = Object.assign({}, this.options);
newOptions.maxRange = val;
this.options = newOptions;
this.manualRefresh.emit();
}
}
You need to set new options in the following manner.  Link to the documentation for further reading. https://angular-slider.github.io/ng5-slider/demos#dynamic-options-slider

Above answer is correct, passing new options should be done by creating a new object.


Suggestion: Config option for 1.10 breeding behaviour

Hey guys, first off, I love this mod. It's been a while since I last played (1.10) and gave it another go some days ago in 1.12. I was completely confused when two 10/10/10 chicken produced 1/1/1 offspring. It also took a while until I found this post #63 . Would it be possible to add a config option whether you want to inherit stats? Basically a "use pre #63" option so you can decide for yourself if you want it more challenging.
I allready had a good look through the code while trying to figure out what's wrong and it wouldn't be much of a problem codewise. Also I unterstand the concerns for balance reasons, but having to start over every new chicken type is rather frustrating as it takes quite a while to get a 1/1/1 to 10/10/10, even with hatchery.

A config option would be very handy, as I'm working on a Super OP Pack of Doom (as Iskall85 would say), and want to have 10/10/10 chickens give 10/10/10 offspring. Having the ability to control what levels offspring can have would be nice but might be a bit more difficult to implement.


fix: update to lingua v1.6.4

fix: update to lingua v1.6.4

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

npm package (@latest dist-tag)
GitHub release
v16.28.21

Your semantic-release bot :package::rocket:


Virtual dom host

Add a host.zig for the client side, as well as the host.js that we already had. This gives us roc_alloc and friends in Wasm, and also acts as a handy place for glue code between Roc and JS.
Use Zig @embedFile in the server-side host to read host.js as a byte array at compile time. Much better than my previous workflow of manually copying and pasting it into HostJavaScript.roc!
Share Roc code between the client and server by making most of the app into an interface

I get different compiler errors for client and server hosts
$ roc build examples/virtual-dom-wip/example-client.roc
An internal compiler expectation was broken.
This is definitely a compiler bug.
Please file an issue here: https://github.com/roc-lang/roc/issues/new/choose
thread '<unnamed>' panicked at 'not expected', crates/compiler/unify/src/fix.rs:183:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ roc build examples/virtual-dom-wip/example-server.roc

thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
[1]    74868 abort      roc build examples/virtual-dom-wip/example-server.roc

$ roc build examples/virtual-dom-wip/example-server.roc

thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow
[1]    74868 abort      roc build examples/virtual-dom-wip/example-server.roc

I suspect this one is the same as https://github.com/roc-lang/roc/pull/4427#discussion_r1051613428

$ roc build examples/virtual-dom-wip/example-client.roc
An internal compiler expectation was broken.
This is definitely a compiler bug.
Please file an issue here: https://github.com/roc-lang/roc/issues/new/choose
thread '<unnamed>' panicked at 'not expected', crates/compiler/unify/src/fix.rs:183:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The problem is here:
https://github.com/roc-lang/roc/blob/1286878d3949783fe7df80dfcbb352aa987e80b0/crates/compiler/unify/src/fix.rs#L183
This is, as noted, not expected, because if two recursion vars are at the same depth, then they should never need fixing.. unless this is a case of two different recursive types intersecting at the same depth, which is a larger project that we need to do.

Thanks Ayaz!
There's another PR queued before this one, https://github.com/roc-lang/roc/pull/4787, that seems to fail CI in some mysterious way. But this current PR seems to fix it. So I think the best thing is to review separately, merge them together, then merge to main.


Fix  for Mac

❯ vagrant up
Bringing machine 'master-1' up with 'virtualbox' provider...
Bringing machine 'master-2' up with 'virtualbox' provider...
Bringing machine 'loadbalancer' up with 'virtualbox' provider...
Bringing machine 'worker-1' up with 'virtualbox' provider...
Bringing machine 'worker-2' up with 'virtualbox' provider...
==> master-1: Clearing any previously set network interfaces...
The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.
Address: <IP_ADDRESS>
Ranges: <IP_ADDRESS>/21
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:
https://www.virtualbox.org/manual/ch06.html#network_hostonly

Hi @harsha-s
Yesterday we have merged a major change to bring this to Kubernetes 1.24. As part of this change, we have changed the VM IP range to <IP_ADDRESS>/24 thus incorporating your change. We have also made it easier for people to change this on an individual  basis (see instructions in 01-prerequisites).


User is unable to download DMP into word

We have received an email from a user saying that the download of word does not work. The errror message was: parsing error Position: Komponente word/document.xml The download to pdf works perfectly.

I just gave this a try with a few plans and could not reproduce the error. Its possibly something specific to DMPonline or even a specific plan/template.

I will close this here and raise with Sam


can I upload it to solar2d free plugin directory?

Hey!
First of all thanks a lot for making this and that
I'm Vlad, leading developer of Solar2D. I was wondering if I can add your plugin into Solar2D directory.
Also, you miss license on your code. I usually I put MIT licese on everything, otherwise it may be dangerous to use your code.
Also, you don't have to use Solar2D native. You can only build plugin in Native, then use it in Simulator. Anyway. Humble requesst to allow me to add it as a plugin and please add license so I can do it safely.

Hi,
Of course, you can add this plugin to Solar2D directory.
And after you said, I added the MIT license.
And I will try the plugin in Native.
Thanks 👍

Done. I forked your repo, added "documentation" into readme and added to S2D directory. If you want, I can make a pull request.
Now it just works from build.settings.

Thank you, please make a pull request. And also i will create new plugins for some HMS kits.


Fix incorrect String type hint for @export

Fixes #42022
Now @exporting a String displays a LineEdit in the inspector as in 3.2.
One can use @export_type_string to get the node type selection popup

The fix is okay, I'm just not sure if we need the @export_type_string annotation. Is it actually useful for something?

I have no idea, I just replicated what was already possible in case someone needs it.

My plan is to add a custom export annotation that allows you to use any hint, which should be enough. In this case you don't really want the type to be String, it can be other types.
I now just realized that this fix was already included in #47131 (sorry, I didn't realize at the time there was open PR already). Not sure why this isn't reporting any conflict.


added missing translations for Estonian and Swedish

I think I spotted all new strings.

That's great, thank you!
I'm thinking maybe it's time we look for a more scalable solution for handling all these strings. What do you think?
I seem to remember you mentioned some tool we could use but I don't remember which, though.

Great. Yes, I have fond memories of TranslateWiki.
You can read about what they want from new projects to be added here. There is also documented a list of supported file formats, maybe we would find one of them suitable for PhysicalBits.
I'm willing to help you, it seems I somehow always find time for your project.

Great. Yes, I have fond memories of TranslateWiki.
You can read about what they want from new projects to be added here. There is also documented a list of supported file formats, maybe we would find one of them suitable for PhysicalBits.

Yes, thanks! It seems it supports JSON so I think we could integrate it relatively easily.

I'm willing to help you, it seems I somehow always find time for your project.

That's awesome, I'm very grateful for your help :)


Clean up UG

Codecov Report

Merging #208 (520f8a3) into master (931b377) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #208   +/-   ##
=========================================
  Coverage     73.00%   73.00%
  Complexity      582      582
=========================================
  Files            94       94
  Lines          1793     1793
  Branches        226      226
=========================================
  Hits           1309     1309
  Misses          403      403
  Partials         81       81

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 931b377...520f8a3. Read the comment docs.


Test Ansible 2.2+ with Python 3 support

Testing instructions are found here:
http://docs.ansible.com/ansible/python_3_support.html

Update note: I was having ssh authentication issues with Ansible 2.2. Dropping back to Ansible 2.1 solved them. Reading the Ansible tracker it seems that 2.3 may resolve the issue. On hold here pending Ansible 2.3 release.

Thanks for the update!

just tested with Ansible <IP_ADDRESS> on Ubuntu 16.04 with Python 3, it worked fine

Thanks @zonca! That helps a bunch.


After new version upgrade v6.0.1, getting JS error while listing files request or search

Before you start
Have you checked StackOverflow, previous issues, and Dropbox Developer Forums for help? Yes, nothing found w.r.t latest version
What is your question?
After latest version 6.0.1. I'm getting below error, this was working fine when I rollback to v5.2.1,
TypeError: Failed to execute 'fetch' on 'Window': Illegal invocation     at e.t.<computed> [as fetch] (:formatted:313)     at Dropbox-sdk.min.js:formatted:1302     at nrWrapper (:formatted:1046)
getting this error while fetching files from dropbox, login was successful, and access token was generated.
let dbx = new Dropbox.Dropbox({accessToken: service.getToken()}); dbx.filesListFolder({path: ''})
Screenshots
If applicable, add screenshots to help explain your question.
Versions

What version of the SDK are you using? 6.0.1
What version of the language are you using? JS
Are you using Javascript or Typescript? just JS
What platform are you using? (if applicable)

Additional context
Add any other context about the question here.

Thanks for the report! We'll look into it.

Can you give a little more context on how this is being used? It looks like since you are using the minified version you are trying to run this in the browser.  Could you include what browser and version you are using?

Can you give a little more context on how this is being used? It looks like since you are using the minified version you are trying to run this in the browser. Could you include what browser and version you are using?

I'm trying to load the sdk js using cdn with script tag.
<script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script>
we're using the latest chrome "Version 85.0.4183.121 (Official Build) (64-bit)"

I noticed you said that you were able to make a call to get the access token.  Was that with the current version or did you already have an access token.  The reason for asking is that if you were able to make a successful call, it wouldn't seem to be an issue with the way we have fetch setup.  However, if you have not been able to make any successful calls, that could be indicative of a larger problem.  If you can provide a larger snippet of code from the auth flow, that would be helpful.

Yes, I'm able to login to the dropbox and allow permissions to the app and get the access token in return through the callback URL, from which I'm able to extract the access_token the same is transferred to UI to set dbx object.
let dbx = new Dropbox.Dropbox({accessToken: service.hasToken()});

This should be fixed as of v6.0.2.  If this is not, please reopen this issue!

Thank you, the issue seems to fixed, but I see promise response structure is changed, I hope that is intentional.

@rogebrd - as @schandra-rpx points out, it seems to be fixed, but it's a fairly breaking change, and also filesListFolderContinue doesn't seem to return anything from the cursor returned from filesListFolder (even accounting for new format).
Using dbx 6.0.2 - rolled back to v5 for now.

filesListFolderContinue doesn't seem to return anything from the cursor returned from filesListFolder (even accounting for new format).

@digitaltoast Are you saying you're not receiving expected entries when using filesListFolder/filesListFolderContinue even with v6.0.2? That sounds like a different problem, so please open a new issue with the details so we can look into it. Thanks!

Regarding the changed promise response structure, we've fixed that back in the latest release, v7.0.0. Apologies for the confusion!

For reference, we've also added some information regarding the fetch usage here: https://github.com/dropbox/dropbox-sdk-js/blob/master/UPGRADING.md#5-default-behavior-for-fetch


Merge MR with Flutter 2 and Null-safety migration

Are you going to review my MR?
https://github.com/SAP/gigya-flutter-plugin/pull/8

Of course.
We currently have some other high-priority tasks but we will get there.
Sorry for the delay.

Great work.
Will be resolved shortly.


EmrEtlRunner: allow config.yml to be passed in on stdin

This allows an executor wrapper to do a pre-parse on the config object (useful e.g. for not storing credentials in the config file).

Was originally EmrEtlRunner: allow config.yml to be passed in on stdin. But this is impractical because e.g. the enrichments cannot be passed in on stdin too.


Handle blocklist on message update as well

This PR fixes #161

@elkowar can you also make it remove these unicode IDs pre-regexing:  200B 200C 200D 200E 200F

lets get this motato


Measurement controller and navigation  controller

Hi there
I want to add a ruler controller to my application, but I couldn't do that. When I click on the button I added to the toolbar, the ruler controller will be active. In my second click on button, ithe ruler will be deleted from the map.
Another question is, is there a navigation controller component in resium? (zoom in / zoom out) .
It contains several npm but they are not compatible with react and resium.
thank you for your help

Is the ruler controller implemented with yourself? I can't answer it clearly as I don't know the details of that.
For now, navigation controller is not available, because there is no official implementation. So you have to implement it yourself. I am planning to create navigator controller library for Resium, but I don't know when it will be ready.


Could you share some best practices for multiple render targets?

Hi Greggmen, while reading this paragraph in the article (https://webgpufundamentals.org/webgpu/lessons/webgpu-fundamentals.html), I am contemplating the potential utilization of multiple render targets for my specific scenario. Currently, I am engaged in 2D video rendering and have encountered situations where multiple canvases are created on the same display. Therefore, I would greatly appreciate it if you could share your experiences or provide any valuable insights regarding this topic.

I'm sorry I never responded. i'm not sure what you're asking for. Rendering to multiple canvases (covered here), is not the same as rendering to multiple targets.
To render to multiple targets is no different than rendering to 1 target. Just specify the target more than 1 target.

In the render pipeline descriptor add the formats of the targets

const pipeline = device.createRenderPipeline({
  label: 'our hardcoded red triangle pipeline',
  layout: 'auto',
  vertex: {
    module,
    entryPoint: 'vs',
  },
  fragment: {
    module,
    entryPoint: 'fs',
    targets: [
      { format: 'rgba8unorm' },   // target 0
      { format: 'rgba8unorm' },   // target 1
    ],
  },
});

Create or get a texture for each target.
NOTE: They must be the same size
You could call context.getCurrentTexture() from 2 different canvases if the canvases are the same size. It's uncommon to use canvases with multiple targets though. More common is various rendering techniques like "deferred rendering"

Assign the textures as colorAttachments in your render pass descriptor

const renderPassDescriptor = {
  colorAttachments: [
    {
      view: texture0.createView(),         // first target
      clearValue: [0.3, 0.3, 0.3, 1],
      loadOp: 'clear',
      storeOp: 'store',
    },
    {
      view: texture1.createView(),         // second target
      clearValue: [0.3, 0.3, 0.3, 1],
      loadOp: 'clear',
      storeOp: 'store',
    },
  ],
};

Make your fragment shader output to each location where @location(n) is target index n.

    struct MyFragmentShaderOutputs {
      @location(0) target0: vec4f,
      @location(1) target1: vec4f,
    }
    @fragment fn fs() -> MyFragmentShaderOutputs {
      var o: MyFragmentShaderOutputs;
      o.target0 = vec4f(1, 0, 0, 1);  // put red in target0
      o.target1 = vec4f(0, 0, 1, 1);  // put blue in target1
    }


Rename TryFromBytes methods for consistency with FromBytes

try_mut_from -> try_mut_from_bytes
try_read_from -> try_read_from_bytes
try_ref_from -> try_ref_from_bytes

Makes progress towards #871

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

Project coverage is 87.35%. Comparing base (8151bdb) to head (27f5262).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1475   +/-   ##
=======================================
  Coverage   87.34%   87.35%
=======================================
  Files          15       15
  Lines        5303     5307    +4
=======================================
+ Hits         4632     4636    +4
  Misses        671      671

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