Admin-client compatibility with the future Keycloak server versions

closes #94

Sync from keycloak release/26.0 branch after https://github.com/keycloak/keycloak/pull/34293 is fixed, which should effectively fix #94 .

Some minor update in test and in README that we should sync from release/26.0 keycloak branch

@jonkoops Thanks for the comments and review!
BTW. I am able to set markdown editor in the intellij idea to do automatic line wraps (like EG. mentioned here https://www.jetbrains.com/help/idea/markdown.html#reformat ). I am not able to configure it in a way that it does not wrap files, but just show it in a way that they look like being wrapped (I am being to easily achieve that for example with "gedit" on linux, which does this automatically, but not with idea).


STO 2024-02-24 relnotes DOC-2654

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-812


can we use no vertical scroll only instead "dontUseScrolls"?

I did not find this in the documentation and issues

afraid not - the 'dontUseScrolls' doesn't just simply suppress the scrolling, the table is laid out in a different way (see the layout page in the documentation). If you want just scrolling in one direction (ie horizontally) then I suggest you work out the height of the table dynamically based on the number of rows. i'd rather not have the table change height by itself, it's design is to fill the div you put it in.

Ok, thanks

it's implemented by adding classes:
.nonVerticalSlider .ag-scrolls {height: unset;}
.nonVerticalSlider .ag-body {height: unset;}
.nonVerticalSlider .ag-body-viewport-wrapper {height: unset;}
.nonVerticalSlider .ag-body-viewport {height: unset;}
and grid defining as:

I assume that you can not set the height of the tags if for example the directive "no vertical scroll" is set

i just tried this out, it works!! thanks for the tip.

any ideas on having a max height?

I think algorithm must be very simple yet -
Only the assignment of CSS properties "max-height" if the user specified it

sorry, i had to take this out again. in the next release, this feature will be dropped. i have redesigned they way the layout works, and not it is no longer compatilble with your suggested solution.


Get expectations and diagrams branches to build in Scala.js and Scala native

Hi Chee Seng,
I made changes for the JVM, but didn't get to the other platforms. The two branches are:
https://github.com/scalatest/scalatest/tree/feature-move-diagrammed-assertions
and:
https://github.com/scalatest/scalatest/tree/feature-move-expectations
Please pull those branches and continue them, them make a PR back. Or somehow make PRs with the commits in those branches to 3.1.x, so I can merge it into 3.1.x when I merge your PRs.
Thanks.
Bill

And one more:
https://github.com/scalatest/scalatest/tree/feature-split-verbs-from-words
This moves matchers to they can be modularized. The branch name was just step 1, but I continue and got everything moved:
org.scalatest.Matchers => org.scalatest.matchers.should.Matchers
org.scalatest.MustMatchers => org.scalatest.matchers.must.Matchers
I also moved everything currently under words. Most of that was just used by matchers. The ones that were in that category I moved to org.scalatest.matchers.dsl. The rest, which were mostly used by some of the style traits, I moved to org.scalatest.verbs. Some of those were originally released in org.scalatest.verb without the s, and I wanted to get rid of the words package name now that we have a wordspec package name.
Anyway, all this seems to work fine on the JVM but I haven't had time to try Scala.js or Native (or Dotty). So please see if you can get all of these working on Scala.js and Native, and submit PRs back.
Tnx.
Bill

This is complete.


Running marathon-lb as docker wont start with latest build (group_https_by_vhost)

Hey Guys,
just setup a new cluster, everything was working fine until i got to marathon-lb which is running within docker. A simple (without all the parameters i am usually using) docker run command fails with the following message:
docker run -d -e PORTS=80,9090 mesosphere/marathon-lb poll --group external
2018-04-10 09:27:42,272 marathon_lb: setting default value for HAPROXY_TCP_BACKEND_ACL_ALLOW_DENY
Traceback (most recent call last):
File "/marathon-lb/marathon_lb.py", line 2105, in
args.haproxy_map)
TypeError: regenerate_config() missing 1 required positional argument: 'group_https_by_vhost'
[/marathon-lb/service/haproxy ./run] Reload finished
Did you experience similar behaviour? I am running v1.11.3 now again and everything seems to be running just fine. Am I missing something? Thanks in advance!

I am facing the same issue when pulling the latest marathon-lb , i am getting this:
Traceback (most recent call last):
File "/marathon-lb/marathon_lb.py", line 2105, in
args.haproxy_map)

TypeError: regenerate_config() missing 1 required positional argument: 'group_https_by_vhost'

I've addressed this in https://github.com/mesosphere/marathon-lb/pull/573 which will be included in the next release.


Enhancement: after_startup and after_shutdown hook

Summary
Issue #2375 mentions, that after_startup and after_shutdown hooks have been removed. However, it is a feature, which I need.
Right now, I'm developing a service for receiving web hooks. After application start, I need to inform remote service, that my server started accepting requests.
Basic Example
app = Litestar(
    [index],
    after_startup=[lambda: print("Application started up!")]
)

Drawbacks and Impact
No response
Unresolved questions
My current workaround is running desired function after asyncio.sleep together with ASGI server in asyncio.gather. Is there a better alternative?

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

Will lifespan work for your use case?

See discussions in #3598 and #3597.
Closing as duplicate.
@Alc-Alc is correct, using lifespan is the way to go here.


Wake on lan widget that sends WOL

Description
It would be cool to have a wake on lan applet, that way a user could power up other PCs on the same lan as the host from their dashboard
Priority
Low (Nice-to-have)

Found how this could be implemented:
https://github.com/Fraccs/ts-wol/blob/main/src/index.ts

That said, it would have some networking constraints I guess? I think WOL is an L2 protocol and may require a custom network if using docker

I just wanted to bump it, as it might be cool to have it. I currently use https://github.com/seriousm4x/UpSnap but having a whole app just to turn on and off my Synology sounds like overkill. 😄


not work - both camera and gallery

hi,
I try to allow access to both the camera and the gallery.
When I run the app it crashes
Would appreciate help.
i used with this code:
   ImagePicker.Companion.with(this)
                       .crop()
                       .cropOval()
                       .maxResultSize(512, 512, true)
                       .createIntentFromDialog((Function1) (new Function1() {
                           public Object invoke(Object var1) {
                               this.invoke((Intent) var1);
                               return Unit.INSTANCE;
                           }

                           public final void invoke(@NotNull Intent it) {
                               Intrinsics.checkNotNullParameter(it, "it");
                               launcher.launch(it);
                           }
                       }));

when i used with this code- only gallery was open and camera crashes:
ImagePicker.Companion.with(HomePageActivity.this)
                        .crop()
                        //.cropOval()
                        //.compress(1024)
                        .maxResultSize(1080,1080)
                        .galleryMimeTypes(mimeTypes)
                        .start();

Java language

Please put the crash logcat to the question as well.

Please download and open it in the Android Studio and compare it with yours; Probably you do not have the necessary imports.
https://github.com/Drjacky/ImagePicker/issues/19#issuecomment-838434841

im really sorry to bother you, but i work step by step with your video on youTube, and everything was fine except the access to camera so i tried to add the code you wrote for both and import all but still not working.
i tried to check the camera access alone and my app still crushes.

Please put the link to the video here.
Also, open the sample app I've mentioned above and take a screenshot of the whole screen including the errors.

link:

p.s.
the sample app get access only to gallery, and i dont have problem with this acess in my app.
i have struglle to get camera acess

That youtube is not from mine. He's just using my library.
Replace launcher with galleryLauncher + and you're in Fragment. So, to be able to refer to Activity, you cannot use this(like 72).
Add implementation 'androidx.fragment:fragment-ktx:1.3.6' and use requiredActivity
Or
use getActivity


Dvd s3e5

new episode

Whoops!
There were 12 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/shows/designer-vs-developer/podcast/DVDS1E01-creating-a-collaborative-environment.md#L36 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E02-balancing-creativity-with-user-testing.md#L38 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E03-Adopting-the-native-language-of-the-web.md#L37 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E03-Adopting-the-native-language-of-the-web.md#L47 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E04-are-designers-born-or-made.md#L36 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E04-are-designers-born-or-made.md#L44 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E05-who-is-responsible-for-design.md#L37 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS1E06-are-design-tools-fit-for-purpose.md#L40 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS2E03-improving-your-creative-confidence.md#L37 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS3E04-creative-ways-of-prototyping.md#L10 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS3E04-creative-ways-of-prototyping.md#L41 - Line must be at most 100 characters
src/content/en/shows/designer-vs-developer/podcast/DVDS3E05-using-the-gestalt-principles.md#L10 - Line must be at most 100 characters


xonsh: fix empty result

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 57.948%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
2993

Relevant Lines:
5165

💛  - Coveralls


misc: refresh rest api document

Description
REST API specification is updated, but the API document generated from openapi specification is not up to date. The new API document is generated.
Type of Change

[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[x] Documentation
[ ] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Codecov Report

Merging #442 (9449ed2) into main (34e39c9) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #442   +/-   ##
=======================================
  Coverage   14.87%   14.87%
=======================================
  Files          48       48
  Lines        2830     2830
=======================================
  Hits          421      421
  Misses       2380     2380
  Partials       29       29


Should local roles act as the engine for access groups?

Description
This analysis looks to decide whether today's local roles in Altinn can and/or should be used as the foundation for access groups.
This analysis is part of Epic https://github.com/Altinn/altinn-access-management/issues/82
In scope
No response
Out of scope
No response
Additional Information
No response
Analysis

[ ] Which problems will we inherit if we choose to use local roles as the engine rather than building a new one? (tech)

Prerequisite:

[ ] Not defined

Next steps:

[ ] In a team meeting, if any, create a list of prerequisites for this tasks to continue.
[ ] In a team meeting set the next steps.

Clarifications:
Not defined

[ ] What should we do with the groups that have been created if we decide to roll back? (tech)

Prerequisite:

[ ] Not defined

Next steps:

[ ] In a team meeting, if any, create a list of prerequisites for this tasks to continue.
[ ] In a team meeting set the next steps.

Clarifications:
Not defined

[ ] It must be possible to create a local role with a 3.0 service. We should have an abstraction that can cover both (tech)

Prerequisite:

[ ] Not defined

Next steps:

[ ] In a team meeting, if any, create a list of prerequisites for this tasks to continue.
[ ] In a team meeting set the next steps.

Clarifications:
Not defined

Conclusion
No response

Det er besluttet at lokale roller i Altinn 2 fases ut. Jeg mener derfor denne issuen ikke lenger er aktuell.

Ikke aktuell


134 cmd

@hermanschaaf started to write the command here, it's not ready yet but feel free to comment

Since this is still WIP and hasn't been worked on in a while, will close for now. If anyone wants to pick it up, let us know.


Authentication test

This is still a draft, you don't need to review.

Changes:

Use SendGrid to send forgot password email
Use email_spec to test
Move all %Howdy<EMAIL_ADDRESS>under the logo image to zlp-scheduler/app/views/layouts/application.html.haml for consistency

application.html is the default for rendering any page
we need to clean browser cache to see the difference

Note:

email_steps.rb  is generated from email_spec, and I only changed line 33
We need to set sender's email before delivering the product to the customer

modify the "from" in application_mailer.rb
create a sender  on SendGrid for the "from" email

We also need to setup sendgrid on Heroku before delivering the product to the customer

This looks great! On the moving of the Howdy, User! to the application view, would it be possible to remove that code from this pull request? We can discuss at scrum whether we want to consolidate that code, but I think it would be better to have it in its own PR if we decide to do that.

This looks great! On the moving of the Howdy, User! to the application view, would it be possible to remove that code from this pull request? We can discuss at scrum whether we want to consolidate that code, but I think it would be better to have it in its own PR if we decide to do that.

Thanks, I will move them to another PR.


Accounts and Transaction Page Flickers

https://github.com/aws-samples/aws-plaid-demo-app/assets/20403116/4abb4943-9350-4eb5-a492-57cfccaec72e
Seems to be on rapid refresh

I don’t consider myself a front end engineer by any stretch of the imagination. I’d be happy to review a PR to improve the existing Amplify app to fix these minor things.

This is a minor thing that can run up a huge aws appsync bill in moments. I suggest you find resources to help fix this.
Meantime, if I do happen to fix it, I will be happy to submit a PR.


SnapTop not working with ref giving tension error

Dear,
I'm using this package, but unfortunately the snapTo ref func not working for me,
it's giving me  snapPoint.tension error
below is the screenshot, I'm testing in IOS  16.4  iPhone 14.
using below package
"react-native-bottomsheet-reanimated": "^0.3.1"
with this package installed in separately was giving error
"react-native-interactable-reanimated": "0.0.15"
Component Code below
import React, {useRef, useState} from 'react'
import {Text} from 'react-native'
import BSheet from 'react-native-bottomsheet-reanimated'
import Ripple from 'react-native-material-ripple'

const BottomSheet = () => {

  const bottomRef = useRef(null)

  const onPress = () => {
   // calling below func on press
    bottomRef.current.snapTo(['16%', '80%'])
  }

    return (
      <BSheet
        keyboardAware
        ref={bottomRef} // here is the ref attached
        initialPosition={'16%'}
        snapPoints={['16%', '80%']}
        isRoundBorderWithTipHeader={true}
        header={
          <>
            <Ripple
              onPress={onPress}>
               <Text>
                 Drag Me
               </Text>
            </Ripple>

          </>
        }
        body={
          <View><Text>Body</Text></View>
        }
      />
    )
  } else {
    return null
  }
}

Screenshot
https://ibb.co/nkG7RK7

@adilsaeed31 please try like this bottomRef.current.snapTo(0);

Thanks, it's fixed.


[CLI] Skip automatic authentication on "auth" command

The title says it all.

+1

Holy jolly +1


concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

打扰您了，我在运行程序时在random_walk.py文件中的函数preprocess_transition_probs(sg)产生了报错，报错内容如下：
Traceback (most recent call last):
File "E:/pythonProject/Hyper-SAGNN/Hyper-SAGNN/Code/main.py", line 608, in
walk_path = random_walk(args, num, train_data)
File "E:\pythonProject\Hyper-SAGNN\Hyper-SAGNN\Code\random_walk.py", line 263, in random_walk
preprocess_transition_probs(G)
File "E:\pythonProject\Hyper-SAGNN\Hyper-SAGNN\Code\random_walk.py", line 110, in preprocess_transition_probs
alias_t = p.result()
File "D:\ZKJ\anaconda3\envs\tensorflow2\lib\concurrent\futures_base.py", line 428, in result
return self.__get_result()
File "D:\ZKJ\anaconda3\envs\tensorflow2\lib\concurrent\futures_base.py", line 384, in __get_result
raise self._exception
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
不知如何修改程序可以消除错误，再次对打扰您表示歉意。

Thanks for your interest in our work. My guess would be that your memory is not big enough for processing the selected dataset. Could you try the GPS dataset (the smallest one) to see if that works?

Thanks for your interest in our work. My guess would be that your memory is not big enough for processing the selected dataset. Could you try the GPS dataset (the smallest one) to see if that works?

Thank you very much for your help in your busy schedule. It's really a memory problem. In addition, can I ask about the application of this model to single cell Hi-C data set? I can't find the program associated with this.

We are working on adding extra features to the application of our model on scHi-C. The upgraded code will be released soon. Meanwhile, all the datasets used in the manuscript are cited. You should be able to find the datasets and convert them to the format similar to the format of other datasets stored here easily.  For instance, the Ramani et al. dataset can be found here: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE84920


Add option for formatting current date with US and EU date format, and option for day of the year

06/29 - Updated to add option for day of year (x/365).


DOCS-898: Synchronous Bucket Notifications, config API secret redaction

Closes #898

Adds a short section on synchronous vs asynchronous bucket notifications
Adds a note on specific configs which now return redacted data on mc admin config get
Found a few new webhook lambda envvars to add

ToDo:

Add a short section on bucket notification queue behavior and how sync/async affects it

STAGED

http://<IP_ADDRESS>:9000/staging/DOCS-898/linux/administration/monitoring/bucket-notifications.html#asynchronous-vs-synchronous-bucket-notifications
http://<IP_ADDRESS>:9000/staging/DOCS-898/linux/reference/minio-server/minio-server.html#envvar.MINIO_API_SYNC_EVENTS
http://<IP_ADDRESS>:9000/staging/DOCS-898/linux/reference/minio-mc-admin/mc-admin-config.html#mc-conf.api.sync_events
http://<IP_ADDRESS>:9000/staging/DOCS-898/linux/reference/minio-mc-admin/mc-admin-config.html#mc-conf.notify_nats.password

Merging. @Praveenrajmani @kannappanr if the section on bucket notif behavior on full queue is incorrect let me know and we will fix.


Show list of draft taxons

This shows the user a list of draft taxons. Also changes the interface to navigate between the lists of taxons in live/draft/deleted state.
Note that it's currently not possible for users to create draft taxons, they're instantly published on creation. Functionality to create drafts and publish them will be implemented in a separate PR.
Before

After

https://trello.com/c/8YH5l9kF

FYI I think this line is a bug https://github.com/alphagov/content-tagger/blob/master/app/models/content_item.rb#L21
-    @state = data.fetch('state', nil)
+    @state = data.fetch('publication_state', nil)

I noticed this when working on draft tagging but had to drop this and forgot to raise a PR. Can you address this here (assuming it is a bug as I thought)?

@MatMoore Hmm, good catch there. I'll fix that in a separate PR though, I think we're not using ContentItem in this flow (maybe there's some refactoring to be done to fix this).

Oops sorry, I thought you were but it was Taxon.


Task Hub name

Hello,
I noticed that durable function task hub name is not the default one which should be TestHubName as I did not defined a custom one.
It is now named [FunctionRessourceName]+Instance/History.
Is this naming convention new ?

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

ID: 4bda2389-aeb2-b28f-a646-082979122f88
Version Independent ID: 4fa3fdc7-4f59-ff5e-6e42-bc1ed2b2e306
Content: Task hubs in Durable Functions - Azure
Content Source: articles/azure-functions/durable/durable-functions-task-hubs.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

Hi @gitlebreton Thanks for reaching out. We will review and update as appropriate.

@gitlebreton I have assigned this to content author for further review and update as appropriate.


#786: Additional API input validation.

Fixes #786.

https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/26818

https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/26892 is next test run.


Use TCid instead of `Cid throughout the actor

Dependency: https://github.com/adlrocha/builtin-actors/issues/18
In the implementation of SCA we introduced the use of TCid to add implicit type-checking to the CIDs stored in the actor state. This needs to be introduced also in this actor after TCid is extracted to its own repo.

TCid module: https://github.com/adlrocha/builtin-actors/tree/master/primitives/src/tcid
Example of use of TCid: https://github.com/adlrocha/builtin-actors/blob/fa871a816314aa7ebbb908c8fd6aca1b6f62796d/actors/hierarchical_sca/src/state.rs#L39

This is being tackled by @cryptoAtwill as part of https://github.com/consensus-shipyard/ipc-subnet-actor/pull/7


NIFI-3434 - Introduce the ability to skip the packaging of zip and ta…

…r.gz archive via maven profile (i.e. -Pdir-only)
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[x] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

LGTM, will allow faster build when developing ;)
@trixpan @apiri Could we use this new profile in the travis builds to reduce the risk of timeout?

@pvillard31 Yes, please!

@pvillard31 @apiri done.
Please note I added a second commit as this helps keeping track of why the travis file was changed.


Player.sendMessage(TranslatableText)

Player.sendMessage(TranslatableText) send translation key. Is it ok?
I can get manually right translation, using TranslatebleText.getTranslation().get(Locale).

Please use IRC for questions like this.
You can use TranslatableText using any translations available on the client (e.g. the ones added by Mojang for Vanilla Minecraft and the ones added by client mods) but sending custom translations is not possible using TranslatableText.

The translatable key only works if the client has a translation for that key in his reourcepacks. If you execute the later code on the server the server will use his internal translations to translate it server side. If the side does not have a translation it will return/show only the translation key


Fix build for darwin

@CGNonofr I'm not sure if the sed command works like this in linux.
Regarding rsync I pretty sure linux has it installed.

Thanks! actually, you can even remove the sed and it's not useful anymore!

@CGNonofr Done!

I fixed the github action trigger, can you please rebase on main to check the build in the github action?

Ok it seems to work! One last thing, can you please follow the conventionnal commit convention?

Something like this? Not sure if I followed it correctly

Perfect! I would have probably labelled the sed removal by a clean instead of a fix but it's no big deal


Performance / fps issues on canvas resize

I've managed to get the canvas to resize with the page by following a few other examples, however I'm doing this by clearing and re-creating the engine every time the resize event is fired, which causes severe performance issues.
Is there another way to reset the engine? I imagine there is something else that needs cleared which I have missed.
The inital code:
 componentDidMount() {
    canvas = document.getElementById("canvas");
    canvas.width = window.innerWidth;
    canvas.height = window.innerHeight;

    this.setup();

    Matter.Engine.run(engine);

    window.addEventListener("resize", this.update.bind(this));
  }

Setup function (creates the engine and adds bodies):
setup(){
    //create engine
    engine = Matter.Engine.create({
      render: {
        canvas: canvas,
        options: {
          width: canvas.width,
          height: canvas.height,
          wireframes: false,
          background: '#ffffff'
        }
      }
    });

    this.draw();
  }

update function (updates canvas size then performs the setup again)
 update(){
    canvas.width = window.innerWidth;
    canvas.height = window.innerHeight;

    Matter.Engine.clear(engine);
    this.setup();

    Matter.Engine.run(engine);
  }

There shouldn't be any need to change the engine, since it isn't involved in rendering, just resizing the canvas should be fine.


Create Style Guide & Visual Components

Components such as Toggle, Buttons, Alert cards, radio button, paginations, tooltips

I worked on the grids, icons and text fields for the style guide


Fix typos

Fixed a couple typos in comments which I found while reading through the SHA code.

Checklist

(N/A)

Hmm. https://github.com/openssl/openssl/blob/master/CONTRIBUTING says that "Anything other than trivial contributions will require a contributor licensing agreement, giving us permission to use your code." But I think this contribution is pretty trivial. Do I really need to sign a CLA for this?

Done, thanks.


Adding Google Calendar API to add contest details as events on Calendar / Fix issue #481

Fix issue #481
Adding Google Calendar API to add contest details as events on Calendar

https://www.loom.com/share/dc4335b301994cdc8d34014bf90dd761

Here i have added an calendar icon so when user clicks on that particular icon, the contest details of that particular card will be added to his calendar, for this we just need the google OAuth2.0 Client ID which we can get though the cloud console, and Calendar API.
In the .env for the client we need to add
VITE_REACT_APP_CLIENT_ID=Oauth2.0_Client_id
VITE_REACT_APP_CALENDAR_API=Google_calendar_api_key

Make sure to add testing emails in the cloud console for OAuth 2.0.

https://developers.google.com/calendar/api/quickstart/js

Summary by CodeRabbit

New Features

Integrated Google Calendar API for adding events directly from the app.
Introduced Google Sign-In for enhanced user authentication.

Documentation

Updated the .example.env file to include new environment variables for API integration.

Style

Added new script tags to index.html for loading external Google APIs, affecting page load behavior.

@mendacium-a11y  Check these changes i have checked for linting issues and fixed them + also added reminder of 10mins earlier to notify the users.

check out the coderabbit reviews

@mendacium-a11y

check out the coderabbit reviews

Done ✅

@pranshugupta54 Here i have updated with the new method to add events to google calendar, this will not use Oauth 2.0 and its working great
Here is the attached video:

https://www.loom.com/share/4214c6bee04f44158a1da2f10399df87


Feature/deseng415

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-415

Feedback now records the url path of the submitter
Url path data is displayed in Feedback Tool section of Admin dashboard

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

:exclamation: No coverage uploaded for pull request base (gdx-dev@236ef36). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             gdx-dev    #2334   +/-   ##
==========================================
  Coverage           ?   68.54%
==========================================
  Files              ?      472
  Lines              ?    15593
  Branches           ?     1193
==========================================
  Hits               ?    10689
  Misses             ?     4695
  Partials           ?      209

Flag
Coverage Δ

metapi
76.75% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Zecwallet Lightclient service changes

This PR is just FYI to show the final RPC changes that Zecwallet lightclient has implemented.
This adds:

T address support
Info to get additional details from the server for creating + sending transactions

This one is outdated.


Re-Connect on Fail

Is there a way to use the agent to re-connect if there is a failed connection, or do I need to re-setup the agent from scratch? Or I can call startConnectivityEstablishment again after a fail?

better said, is there support for "ICE restart"?
https://tools.ietf.org/html/rfc5245#section-<IP_ADDRESS>

What is status of this issue? Is it already implemented, or is there some alternative approach instead? (relevant discussion: https://community.jitsi.org/t/jitsi-dev-ice4j-continuous-gathering-of-ice-candidates/11404/2)
If it is not available, what are the blockers? What should be changed in ice4j to support quick reconnections and ICE restart?


VS Code keeps displaying info alert: "The workspace folder contains TypeScript version 2.0.3." even though I removed TypeScript from my project

VSCode Version: 1.5.3
OS Version: OS X El Capitan 10.11.6

Steps to Reproduce: not sure how to reproduce, I started using VS Code with this project while having TypeScript. I always clicked to use 2.0.3 version. It asks every time I open VS Code. Now TypeScript is removed from the project and the question keeps appearing. Is it related to some leftover file or cache? Is there any way to disable it for this project? Or make it ask just once? If I click "Don't check anymore", will it still ask for other projects?
Please let me know if you need more info.

@alejandroiglesias thank you for opening this issue.
@dbaeumer can you advise here? I have tried recreating the issue and actually see the reverse of what OP sees. I cannot get the info message to appear even when I add TS to my workspace (tried reloading, restarting, removing all settings, etc.)
I am using the latest VS Code bits.

@waderyan Check your user settings for the setting to disable the check, which will be there if you ever clicked "don't show this again" or whatever it is.

Hey @roblourens, thanks for the tip! I did check settings and unfortunately did not see the setting.

@waderyan you could download latest typescript via npm
npm i -g typescript and then point the VS Code to the latest typescript in the settings.json file, in my case on macOS 10.12 it looks like this
  //  typescript settings
  "typescript.tsdk": "/usr/local/lib/node_modules/typescript/lib",

@waderyan I only warn if the version installed in the workspace folder differs from the one we ship. So if you installed TS 2.0.3 in the workspace there will not be a message.
@alejandroiglesias how did you uninstall typescript. You need to remove it from the node_modules folder as well. Simply removing the entry from the package.json is not enough.

@dbaeumer thanks. I didn't uninstalled Typescript myself, so just received an updated package.json when pulling my repo. It seems Typescript dependencies were still kept in node_modules/ dir and wanting Typescript. npm install kept installing it even after rm -rf node_modules/typescript/. Finally, rm -rf node_modules/ && npm install did a clean install without Typescript. That's a tricky treat of npm. Thanks to everyone for your comments and sorry for the false alarm.


Current Heat Output not showing

Hi!
I'm on 3.90.2 and the main branch (2024.11.19) of luxtronik2.
Somehow, the current heat output sensor seems to have disappeared. I'm pretty sure it was there on 3.90.1. I've downloaded the diagnostics and diff'd the two version, but I don't see a value similar to the current heat output (which I can still see in the webserver of the heat pump).
Any ideas where to look?

Oops, just had to enable and disable a couple of times.


Added test for setcmdpos()

This PR adds tests for function setcmdpos() which was not
tested according to codecov:
https://codecov.io/gh/vim/vim/src/master/src/evalfunc.c#L10362
https://codecov.io/gh/vim/vim/src/master/src/ex_getln.c#L6192

Codecov Report

Merging #2901 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2901      +/-   ##
==========================================
+ Coverage   75.57%   75.58%   +0.01%
==========================================
  Files          92       92
  Lines      134969   134968       -1
==========================================
+ Hits       102007   102020      +13
+ Misses      32962    32948      -14

Impacted Files
Coverage Δ

src/gui_beval.c
62.23% <0%> (-0.86%)
:arrow_down:

src/if_xcmdsrv.c
83.63% <0%> (-0.54%)
:arrow_down:

src/ex_cmds.c
79.38% <0%> (-0.09%)
:arrow_down:

src/term.c
59.56% <0%> (-0.06%)
:arrow_down:

src/window.c
82.14% <0%> (-0.04%)
:arrow_down:

src/if_py_both.h
76.59% <0%> (-0.01%)
:arrow_down:

src/evalfunc.c
83.97% <0%> (+0.07%)
:arrow_up:

src/os_unix.c
54.42% <0%> (+0.09%)
:arrow_up:

src/gui.c
49.25% <0%> (+0.1%)
:arrow_up:

src/gui_gtk_x11.c
47.98% <0%> (+0.14%)
:arrow_up:

... and 1 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 0cb8ac7...8e584b3. Read the comment docs.


prevent ui from showing on normal mode

When doing a change motion (i.e. cwabc<esc>) and repeating with ., it would trigger the UI and get stuck.

A check is added to not show the ui if in normal mode.

Merged.


Price attributes

Hi, shouldn't PriceAttributes  be used in
https://github.com/NdoleStudio/lemonsqueezy-go/blob/main/price.go#L41-L45
instead of VariantAttributes?

Yes it should be PriceAttributes thanks for the bug report @rostrovsky


Resolve alias fails - "Module not found: Error: Can't resolve"

Bug report

What is the current behavior?
Hi,
I am using webpack 5 via nextjs and need to resolve an import with an alias. However it fails. Here is the config, with two different options. Both resulting in different errors. It seems Option 2 is the right direction, but it still fails.
I upgraded to latest nextjs (10.2.3) and babel version (7.14.3).
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
      // Option 1 fails with Cannot find module. It seems this one does still compile with mapbox-gl
      // config.resolve.alias['mapbox-gl'] = 'maplibre-gl'
      config.module.rules.push({
        resolve:{
          alias: {
            ...config.resolve.alias,
            // Option 2 via rules fails with Module not found: Error: Can't resolve 'mapbox-gl'
            'mapbox-gl': 'maplibre-gl'
          }
        }
      })
      return config
    }

If the current behavior is a bug, please provide the steps to reproduce.
I am using nextjs with react-mapbox-gl and maplibre-gl. Since react-mapbox-gl normally works with mapbox-gl the usage of the maplibre-gl fork is possible via aliases as mentioned here: https://github.com/alex3165/react-mapbox-gl/issues/924#issuecomment-755377958
Since this issue seems to be mainly related to webpack and not nextjs, I am asking the question here.

What is the expected behavior?
Within the node_module "react-mapbox-gl" all instances of mapbox-gl imports should be replaced with maplibre-gl.
Is there maybe a better resolve condition than "mapbox-gl": "maplibre-gl" to replace a module import within a node_module?

Other relevant information:
webpack version:  5.? (unfortunately I do not know, which version nextjs uses, I assume one of the latest)
Node.js version: 14.15.5
Operating System: Windows
Additional tools: Babel 7.14.3, typescript 4.1.3

Please use Discussions for questions, you can use require.resolve('name-of-module')

Thanks for the fast reply! I categorized it as a bug, sorry for the inconvenience...
I assume you mean to use require.resolve within the alias to have a direct path to the module. This however, still leads to the same result.
  alias: {
    ...config.resolve.alias,
    'mapbox-gl': require.resolve('maplibre-gl')
  }

I can't reproduce it using pure webpack configuration (try it), please create example of the problem

I will try.
One thing came to my mind. When using next dev instead of compilation through build or export, the "Cannot find module" error appears on the screen. After reloading the page, the error disappears. Could there be a delay in resolving the alias that is not considered by compilation?

Could there be a delay in resolving the alias that is not considered by compilation?

I think no, this of course may be due to a bug in not official plugin

Can you run npm ls maplibre-gl? Do you use workspaces?

I have created a repository. I hope this one works for you: https://github.com/dennemark/next-resolve-alias-issue
Running yarn dev and yarn export lead to cannot find module error. However yarn build seems to work, but I did not check the result. Interestingly yarn dev does not resolve after reload of page, as it does in my other project. However the issue should be the same.
The error happens with or without workspace. npm ls maplibre-gl returns: `--<EMAIL_ADDRESS>

Even though the issue happens in above repository, it is probably good to mention my other config settings, concerning the delay.
      config.resolve.alias.process = 'process/browser'
      config.resolve.alias.stream = "stream-browserify"
      config.resolve.alias.zlib = "browserify-zlib"
      config.resolve.alias['mapbox-gl'] = require.resolve('maplibre-gl')
      config.plugins.push( new webpack.ProvidePlugin({
        process: 'process/browser',
        Buffer: ['buffer', 'Buffer'],
      }), )
      config.module.rules.push({
        test: /\.(woff|woff2|eot|ttf|otf)$/,
        use:{
          loader: 'url-loader',
        }
     })
    return config;

We don't have any delay...

Something in nestjs just use require('mapbox-gl') without webpack (so no aliases), if you look at stack trace - no webpack, I think SSR doesn't use webpack https://github.com/vercel/next.js/issues/877

No problem with pure webpack, also we have a lot of test for resolving, so something wrong/bug/undocumented on nextjs side, sorry we can't fix it here

I tried to use jsconfig.json with paths (found that this is done through him), but no luck too

I think Next.js uses externals for packages inside node_modules for SSR, so react-mapbox-gl is loading from node_modules directly, you can check this in stack trace:
- /home/evilebottnawi/IdeaProjects/next-resolve-alias-issue/node_modules/react-mapbox-gl/lib/map.js

and aliases doesn't work here, because webpack doesn't touch this file (otherwise you will get an error on bundled file in .next directory).

Thanks a lot for looking into this issue in such great length! The yarn dependencies solution might be the best option! I will have a look at it and let you know, how it worked out!

The solution via dependencies seems to work! I tried it with yarn within a yarn workspace environment and I did not experience any issues yet. So I see this issue as resolved.
Thanks a lot again @alexander-akait , your explanation was very helpful!


How to fix MIME type Error and key already exists in the object store.

Hello, @emkay @jdelStrother @marcus @jscheid @jdalton

I am working on React js project and using Webpack to try to create a build, I use this dependence
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0",
"webpack-dev-middleware": "^5.3.3",
"webpack-dev-server": "^4.11.1"
"sass-loader": "^12.6.0",
"scss-loader": "^0.0.1",
"style-loader": "^3.3.3",
"url-loader": "^4.1.1",
"file-loader": "^6.2.0",
"css-loader": "^6.8.1",
"html-webpack-plugin": "^5.5.3",

try to find a solution but not any perfect answer to fix that errors.

Sorry without reproducible test repo we can't help


**【RUGBY/TV】*Lyon-Stade Français En Direct Streaming Gratuit TV 13 octobre 2024

Top 14 – À quelle heure et sur quelle chaîne suivre le match Lyon – Stade français ?
Lyon-Stade Français : Scelzo de retour après 21 mois, Carbonel de nouveau titulaire... la composition du Stade Français
🔴📺 PASSER EN DIRECT==►► CLIQUEZ ICI POUR REGARDER EN DIRECT

🔴📺 STREAMING==►► CLIQUEZ ICI POUR REGARDER EN DIRECT

La Rédaction de Rugbyrama
Les Lyonnais reçoivent le Stade français ce dimanche soir.Les Lyonnais reçoivent le Stade français ce dimanche
Ce dimanche, le Lou reçoit le Stade français au Matmut Stadium Gerland. À quelle heure et sur quelle chaîne suivre le dernier choc de la 6ème journée ? On vous dit tout sur cette rencontre !
Après un début de saison plutôt satisfaisant, les Lyonnais se trouvent aux portes du top 6 et auront à cœur de rentrer dans ces six premières places. Voilà donc dans quelles conditions débarque le Stade français. Un défi de taille pour les Parisiens, un brin en dedans depuis le début du championnat. À la recherche de certitudes pour l’un, l’ambition de faire encore plus pour l’autre… Une affiche comme on les aime !
À quelle heure suivre Lyon – Stade français ?
Ce match sera l’affiche du dimanche soir ! Il faudra donc se tenir prêt à 21 heures pour suivre la dernière rencontre de cette sixième journée de Top 14.
Sur quelle chaîne suivre Lyon – Stade français ?
Comme toutes les rencontres de ce championnat il faudra aller sur Canal + pour suivre ce Lyon – Stade français. M. Trainini sera l’arbitre de cette rencontre.
Le LOU remanie largement son XV après sa défaite à La Rochelle, avec pas moins de 9 changements. La compo : Niniashvili - Dumortier, Radradra, Millet, Ioane - (o) Berdeu, (m) Couilloud - Okuya, Botha, Blanc-Mappaz - Guillard, William - Ainsley, Matavesi, Kaabeche.
L'affiche du dimanche soir oppose cette semaine des Lyonnais qui pointent à la 10e place avec 12 pts (3 V, 2 D), et restent sur un revers cinglant à La Rochelle (22-43). Face à eux, ils auront un Stade Français passé de demi-finaliste la saison passée à barragiste aujourd'hui, après 3 défaites en 5 journées. Seul le promu Vannes est derrière.
BONSOIR À TOUTES ET TOUS ! La 6e journée du Top 14 se boucle avec l'affiche entre le LOU et le Stade Français, que nous allons suivre ensemble.


Added Enhanced Password Generator using JS

fix #182
As discussed, I have upgraded the Password generator project and developed a new UI as well as functionalities for the same

Thanks for the PR. It has been merged.


patch: skip archived messages after one attempt

Currently, archived threads are a big problem: We fail to delete messages in an archived thread. This itself could be seen as a problem, but the bigger problem (IMO), is that these messages keep coming up when searching new pages, since they are still returned by the search call! This is a major problem when the number of archived messages hits 25, since a new page will return all archived messages, and no progress can be made.
This MR implements a kind of patch - if we fail to delete a message, and the reason is that the thread is archived , then we increment the offset.
This allows the fetch of the next page to skip these archived messages from the search results, allowing the overall deletion to make further progress.
Other MRs
https://github.com/victornpb/undiscord/pull/457 -> This hack fix doesn't help much, since the next search will yield these messages again.
https://github.com/victornpb/undiscord/pull/393 -> This is arguable more efficient, but has a lot of changes, so may take more time to review merge. In the meantime a patch to at least allow further progress on non-archived messages could be useful to some.

Before: Notice how the next page gets the archived messages again...

After: Next page continues off of last deletion (thanks to increment on offset)

Seems there are conflicts, let me rebase

FYI: RE: 2k changed lines on the compiled script, I just ran npm run lint:fix after merging latest master, I think #439 erroneously introduced those different line break stuffs

thank you for your contribution, looks good to me. A more long term solution would be trying to filter out threads entirely, idk if thats possible tho

FYI: RE: 2k changed lines on the compiled script, I just ran npm run lint:fix after merging latest master, I think #439 erroneously introduced those different line break stuffs

you are right, thank you


Switch CI to use GH actions

Merging this in as I think the config changes need to make it up to main before things work?


Incorrect imports in plugin-nested-docs readme

Documentation Issue
In the plugin-nested-docs readme, there's some sample code with the following imports:
import createParentField from "@payloadcms/plugin-nested-docs/fields/parent";
import createBreadcrumbsField from "@payloadcms/plugin-nested-docs/fields/breadcrumbs";

Using the most recent version of that plugin, it seems that createParentField and createBreadcrumbsField can be exported either from @payloadcms/plugin-nested-docs/fields or from @payloadcms/plugin-nested-docs/dist/fields/parent and @payloadcms/plugin-nested-docs/dist/fields/breadcrumbs, respectively.
It's possible I'm misunderstanding something, but if I am not, I believe those code samples may need to be updated.

@JessChowdhury are you sure it would include a src directory? Looking at node_modules/@payloadcms/plugin-nested-docs/ on my project, there does not appear to be a src directory.

@ChristianMay21 apologies I misunderstood the context here - you're correct that createParentField and createBreadcrumbsField can be exported from either @payloadcms/plugin-nested-docs/fields or directly from @payloadcms/plugin-nested-docs/dist/fields/parent and @payloadcms/plugin-nested-docs/dist/fields/breadcrumbs
I'll update the readme to use `@payloadcms/plugin-nested-docs/fields' as it is simpler.

Hi @JessChowdhury - no worries! I also thought that @payloadcms/plugin-nested-docs/fields was simpler, but when I tried to import it from there, I got a 'missing call signature' error from TypeScript when I tried to invoke the exported functions. For whatever reason, importing from the dist folder worked correctly.
It's possible that that was some sort of issue on my end, but my TypeScript environment is fairly standard, so I wanted to note it in case it was a general issue.

Hey @ChristianMay21 there was in fact an issue in the way we were exporting these field utilities. I've got a fix this queued up in #4462 (details there). This will allow you to use named imports as expected, like this:
import { createParentField } from "@payloadcms/plugin-nested-docs/fields";

Great - thanks for looking into it, and thanks for the fix @jacobsfletch !


Build(deps): Bump @patternfly/react-styles from 4.52.16 to 4.56.2 (#3395)

Pull request opened by the merge tool on behalf of #3395

Merged in fdb6724e1418544bca21217f9c523b7a49bd11da


Isort and Black formatting error

Isort and black formatting have not been done in many parts of the latest code.

Fixed in #11


Light Dark Mode Toggle

WHAT DOES THIS PR DO?

Implements the light and dark mode toggle
Allows the user to change from light to dark and vice versa from navigation menu
Saves user's choice in localStorage for quality of life

WHAT ISSUES ARE RELATED TO THIS PR?

#98
#103

HOW DO I TEST OUT THIS PR?

Run npm run dev in the web directory and click the light/dark mode button in the navigation bar to store your choice in local storage

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

Comparison is base (525ccaf) 100.00% compared to head (3c918e8) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main      #121   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            3         3
  Branches         1         1
=========================================
  Hits             3         3

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


[Work in progress] Separation of concerns using Surplus

Trying out new conventions using Surplus
This library allows us to write markup with JSX and handles internal state.
I've split code into controllers, views, models, and services.
This PR is to showcase the changes I've done, should not be merged before a broader discussion.

This relates to https://github.com/solid/solid-panes/issues/72

We've decided to use React for this purpose going forward.


Playing audio from UrlSource causes Exception on Android Emulator.

Playing remote audio (https://api.whatda.fit/sample-audios/MP Clapping Crunches 45.mp3) causes Android Exception.
Current bug behaviour
Exception:
V/MediaPlayer(18296): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(18296): cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer(18296): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(18296): cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaPlayer(18296): resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
V/MediaPlayer(18296): cleanDrmObj: mDrmObj=null mDrmSessionId=null
V/MediaHTTPService(18296): MediaHTTPService(android.media.MediaHTTPService@1d86dac): Cookies: null
V/MediaHTTPService(18296): makeHTTPConnection: CookieHandler (java.net.CookieManager@3104e09) exists.
V/MediaHTTPService(18296): makeHTTPConnection(android.media.MediaHTTPService@1d86dac): cookieHandler: java.net.CookieManager@3104e09 Cookies: null
E/MediaPlayerNative(18296): pause called in state 4, mPlayer(0xbaff4ed0)
E/MediaPlayerNative(18296): error (-38, 0)
E/MediaPlayer(18296): Error (-38,0)
E/flutter (18296): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MediaPlayer error with what:MEDIA_ERROR_UNKNOWN {what:-38} extra:MEDIA_ERROR_UNKNOWN {extra:0}
Expected behaviour
The audio should be played.
Steps to reproduce
await _audioPlayer.play(UrlSource('https://api.whatda.fit/sample-audios/MP%20Clapping%20Crunches%2045.mp3'));

Flutter 3.0.5, Android Emulator
On an iOS Simulator it works.

It happens in production for us. Typically when you use overlapping audio, so if you have a sound hooked up to a button, and then spam that button, the exception will happen.

This exception also causes onPlayerComplete to fire.

@Tobi696 can you test with current main in pubspec.yaml? Or test your link inside example project?
dependencies:
  audioplayers:
    git:
      url: https://github.com/bluefireteam/audioplayers.git
      path: 'packages/audioplayers'

I tried it also with previous commits and it played flawlessly.

@Gustl22 The problem was that my code looked like this:
await audioPlayer.play(...);
await audioPlayer.pause();

Basically, I wanted the audioplayer to download the mp3 in advance, but not play it instantly, so I called pause() instantly after play(). That is what caused the error on Android.

@Tobi696 can you test with current main? I think it is fixed there.

Unfortunately, I still get the same issue, here you have my full widget:
import 'package:flutter/material.dart';
import 'package:audioplayers/audioplayers.dart' as $ap;

class AudioPlayer extends StatefulWidget {
  final String audioUrl;

  const AudioPlayer({Key? key, required this.audioUrl}) : super(key: key);

  @override
  State<AudioPlayer> createState() => _AudioPlayerState();
}

class _AudioPlayerState extends State<AudioPlayer> {
  final _audioPlayer = $ap.AudioPlayer();

  @override
  void initState() {
    super.initState();
    loadAudio();
  }

  Future<void> loadAudio() async {
    await _audioPlayer.play($ap.UrlSource(widget.audioUrl));
    await _audioPlayer.pause();
  }

  @override
  void dispose() {
    _audioPlayer.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return const SizedBox();
  }
}

Just use it in a scaffold's body and pass 'https://api.whatda.fit/sample-audios/MP Clapping Crunches 45.mp3' as audioUrl.

Sorry I forgot to mention you also have to override the android dependency:
dependency_overrides:
  audioplayers_android:
    git:
      url: https://github.com/bluefireteam/audioplayers.git
      path: 'packages/audioplayers_android'

Also you cannot play audio without context within initState.
Wrap your code to be executed, when build was executed:
void initState() {
    super.initState();
    WidgetsBinding.instance!.addPostFrameCallback((_) {
        loadAudio();
    })
  }

The combination of using the dependency override and addPostFrameCallback() made it work for me.
Thank you a lot!


bug: Can not zoom/look western and eastern side borders

Bug Definition
Can not zoom or look eastern or western side of Turkey. For the east side when zooming we can not see the europian side of Istanbul and easter than the Bursa. For the west side we can't see Van region. Also in mobile  it is the same for Blacksea.
Its not an urgent issue but it should be resolved for further emergencies.
-- Please add discord contact information
** discord username: @notdepressedeveloper# 0919 **
## Bug environment
Describe the environment produces the bug. For example:
rc.afetharita.com
afetharita.com
Describe how you are producing the bug step by step

Go to map
Zoom in
Try going to most eastern or most western side
Bug appears

Expected Behaviour
We could be looking or zooming any part of the map.
Screen shots

Desktop Information

Operating System: Windows
Browser Chrome, Firefox

Mobile Phone Information

Devıce: Android, IOS
Version: Chrome, Safari

Additional Context
Its not an urgent issue but it should be resolved for further emergencies.

tested, I also experienced same thing, can start working after approval.

@sevilayerkan after looking around a little while I see that almost all of the points in Istanbul are pointing different cities (Hatay, Adıyaman etc.) and addresses are irrelevant . I'm not sure if we should even include it @sevilayerkan

@absolutezero13 I assumed we are developing this app to be available when ever our country needs it. if it is specific just to this disaster you are right. but if it will be in use for future disasters this app will be useless.

Hello, I glad you have the fix for that. There are also many pins for helping the people in need (for example you can check out the physiotherapy pin in Artvin).
In additon please don't get attached to current pins. we all know there will be new pins in the next event and our map won't be able to show them. my concern isn't for today. it is for future uses. @absolutezero13

As test team we checked your last pr in vercel. We really liked and appreciate your efforts. Thank you all ❤

Will be fixed by deploy of #985. Issue can be closed now


Changed env.exemple MATTERMOST_IMAGE_TAG to latest 6.0.2 release

Summary

Ticket Link

See PR #90


Allow timestamps to be string formatted

Jinja2 lacks the ability to nativey convert from unix time-stamp into human friendly specifiable string, e.g.
1438140192 -> 2015-07-29 03:23
This could be done internally by replacing the timestamp with a datetime object which would allow  {{ timestamp.strftime('%Y-%m-%d') }}
http://stackoverflow.com/a/4830620/806799

Addressed by #11.


New package: Microsoft.WindowsAppRuntime.1.4 version 1.4.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Dependency for https://github.com/microsoft/winget-pkgs/pull/127601

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

An error occurred trying to start process 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WinAppRuntime.Main.1.4_4000.1049.117.0_x86__8wekyb3d8bbwe\DynamicDependency.DataStore.exe' with working directory 'D:\TOOLS'. Access is denied.

@wingetbot waivers Add Validation-Executable-Error Validation-Domain

It seems this version somehow conflicts with Microsoft.DotNet.Runtime.6
winget list runtime
Name                                       Id                                         Version          Available Source
-----------------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 6.0.2… Microsoft.WindowsAppRuntime.1.4            < 1.4.3          6.0.26    winget
Microsoft .NET Runtime - 6.0.26 (x64)      Microsoft.DotNet.Runtime.6                 6.0.26                     winget
Microsoft Visual C++ 2015 UWP Desktop Run… Microsoft.VCLibs.Desktop.14                14.0.33321.0               winget

and then
winget update
Name                                             Id                              Version      Available  Source
---------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 6.0.26 (x64) Microsoft.WindowsAppRuntime.1.4 < 1.4.3      6.0.26     winget

the update is successful:
winget update Microsoft.WindowsAppRuntime.1.4
Found Windows App Runtime [Microsoft.WindowsAppRuntime.1.4] Version 1.4.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://aka.ms/windowsappsdk/1.4/1.4.231115000/windowsappruntimeinstall-x64.exe
  ██████████████████████████████  62.9 MB / 62.9 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.
Successfully installed

but then winget update again lists this package as to be updated:
Name                                             Id                              Version      Available  Source
---------------------------------------------------------------------------------------------------------------
Microsoft Windows Desktop Runtime - 6.0.26 (x64) Microsoft.WindowsAppRuntime.1.4 < 1.4.3      6.0.26     winget

What is the designated way I can fix this?


Deploying a Production App

I've built a slack app locally using the Bolt Framework.
Now I'm ready to host it on Google Cloud and make my app available to all slack workspaces.
I'm creating containers then creating a Cloud Run Server off containers for other servers I have, so I figured this would be no different which is in my case to just:

push an image of my Slack App to Google Cloud Container Registry
create a new Cloud Run Server off that container
Go back to my Slack App and update my Interactivity Url to use my server's live url instead of ngrok (which is only used for local development)

I do not have any slash command implementations, just a modal and form for people to fill out at this point so I figure this is all I really need to get this working in prod.

Hi, I also have some experience to deploy Bolt apps onto Google Cloud Run and it went smoothly. I'm glad to see that you already figured what to do out.
There is nothing specific to Bolt. So, you can consult the Google Cloud documentation for this.

I don't really need Bolt Google Docs.  Meaning...I'm just going to treat it as a Cloud Run Service and keep things simple.

How do I handle the situation where I do not deploy my .env but need to run the docker container locally and get:
Signing secret not found, so could not initialize the default receiver
export const app = new App({
	endpoints: {
		events: '/slack/events',
		actions: '/slack/actions',
	},
	token: process.env.SLACK_BOT_TOKEN,
	signingSecret: process.env.SLACK_SIGNING_SECRET,
	clientId: process.env.SLACK_CLIENT_ID,
	clientSecret: process.env.SLACK_CLIENT_SECRET,
	stateSecret: 'my-state-secret',
	scopes: [
		'app_mentions:read',
		'chat:write',
		'chat:write.public',
		'chat:write.customize',
		'channels:read',
		'channels:manage',
		'channels:join',
		'groups:write',
		'im:write',
		'users:read',
		'groups:read',
		'incoming-webhook',
		'im:history',
		'commands',
	],
});


Add egg fried rice recipe

Can we tighten up the excerpt and move some of the description into the article body? See screenshot:

updated


Improve gateway retry logic sending to orderers

Status >= 500 errors returned by orderers should retried on other orderers
resolves https://github.com/hyperledger/fabric-gateway/issues/517
Signed-off-by: andrew-coleman<EMAIL_ADDRESS>

@Mergifyio backport release-2.5

@Mergifyio backport release-2.4


Update BuildTools to 2.0.0-servicing-02026-05

This version is produced by the release/2.0.0 branch of buildtools, which we will want to use for release/2.0.0 of source-build.
It also contains a fix that I need for core-setup.  See https://github.com/dotnet/buildtools/pull/1693
@dotnet/source-build-contrib

Do we need to update any patches?

Do we need to update any patches?

I hope not.  We will see though.  My thinking is this buildtools version should "just work", since it is pretty close to the version we are currently using in buildtools.

Maybe it isn't as close as I first thought.  Looks like our current version was built on 21 June 2017 and the release/2.0.0 branch is more or less master from 3 Aug 2017.  Hopefully no breaking changes came in between those dates.

Looks like I'll need to move the core-setup SHA forward so we have https://github.com/dotnet/core-setup/pull/3051.

looks reasonable to me.

test RHEL7.2 Release

test RHEL7.2 Release

test RHEL7.2 Release

test RHEL7.2 Release

test RHEL7.2 Release (jenkins restarted/updated)

test RHEL7.2 Release
I'm getting a random error for not being able to download NuGet packages.  It seems to affect every other run.

test RHEL7.2 Release

test RHEL7.2 Release

Whooo hooo!


how perform transaction to smart contract?

Hi, How can I perform transaction to smart contract? Thanks

Hi, how can I interact with a smart contract? Thanks in advance

Hi all! To perform a transaction to a smart contract you need to use the performTransaction method and pass the data parameter. This parameter should be the encoded function call of the smart contract. To encode the function you need to use other tools like web3j.
I want to write a blog post explaining this but I'm currently limited on time. So, it might take some time before I share it publicly.

What if you don't want to pass anything in the value parameter of performTransaction? I've already tried to pass the value "0.0", it opens my wallet but no confirmation popup appears

@San4es-hue Hope the cheat code would be helpful for you.

@f4cker
What is tokenUri ?
Can you please provide more details about the code

@jayvs6341
As the code shows that the first list is a collection of input param, and the second list is a collection of output param, and all of this are according to functions declared in your contract

@f4cker
Can you please explian me,
Utf8String(tokenUri)
Here is what is tokenUri ?
Here is my code.
      val function = Function("transfer", listOf(Address(walletConnectKit.address),
            Utf8String("file:///android_asset/Token.json")
        ),
            emptyList<TypeReference<*>>() )

        val data = FunctionEncoder.encode(function)

        val web3j = Web3j.build(HttpService("https://polygon-mumbai.infura.io/v3/f7587fb94ddb497c90cb7edb88ad3395"))

        lifecycleScope.launch {
            withContext(Dispatchers.IO){
                val nounce = web3j.ethGetTransactionCount(walletConnectKit.address,DefaultBlockParameterName.LATEST).send().transactionCount
                kotlin.runCatching {
                    walletConnectKit.performTransaction("0xa8E59566Ab7c6FD5729f61388131099ce02d074E",value = "", data , nounce.toString())
                }
            }.onSuccess {
                Log.e("OnSuccess",":-"+it.result)
            }.onFailure {
                Log.e("onFailure",":-"+it.message)
            }
        }

I am getting following error.
Bad offset/length: offset=0 len=0 in.length=0
Can you please help me to sort it out, I am badly stuck at this.

@jayvs6341
There is no matter about the 'tokenUri', may be you should make the 'value' param send a "0" in 'performTransaction' method which I have refactored it and try it again.

@f4cker
error resolved.
But when it redirects to Metamask, it dont show the transaction approval dialog.
I have my own smart contract tokens. And I imported that tokens to polygon test net.
I have 100 tokens in my metamask and I want to send 10 to other address using my application.
If I try the default performTranscation function, it always sends the default test net currency. Like ether, matics etc.
How can I initiate transaction to send "MyToken" ?

@jayvs6341
That should be about the business, may be you should invoke the approve method in contract first to make sure your contract has the privilege to transfer tokens

@f4cker
yes, I have the function "transfer" to transfer the tokens, and I want metamask to approve the transaction.
If we go to metamask, we can manylly send the tokens correct,
Same think I want to invoke through Dapp, so it will redirect to metamask and then user just needs to approve it.

@jayvs6341
You didn't get it,  the approve method is just a transaction like transfer, you should invoke it with performTransaction to interact with the smart contract through MetaMask, and then the MetaMask would show the approval dialog for you to confirm the transaction.

@f4cker
Thanks a lot for your ongoing support.
Yeah, trying to understand
It would be very helpful, if you can provide me some thing like sample code

Hello @jayvs6341,
I tried your code . but I get and error on building :
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
note that I import the methods that you use from

implementation 'org.web3j:codegen:5.0.0'
and I'm using :
implementation 'dev.pinkroom:walletconnectkit:0.3.2'

please if you can help me and give us more details about your code if it works

Hi @San4es-hue
gas price sent to metamask transaction popup does not displayed

gas price null to invalid amount popup displayed

Did any one solve the problem. I been trying to implement the same but no luck. Can any one help.

Hi! I'm a security researcher @TruffleSecurity. I found a valid API key leaked in a comment in this Issue. I highly recommend rotating the API key immediately (not just deleting the comment). Here's a blog post I wrote on remediating these types of vulnerabilities: https://trufflesecurity.com/blog/remediate-leaked-api-keys-with-key-rotation.If you can't find the leaked API key, you can use the following TruffleHog command to automatically scan for it:trufflehog github --repo https://github.com/<your_username>/<your_reponame> --issue-comments --only-verifiedIf it's not clear where/what the security issue is, please let me know. I'd be happy to help. Please note that the API key might be in the past edit of a comment.(cc @jayvs6341)


Log severity levels are reversed and error logs silenced if logger.level is configured

Issue summary
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
The issue was that I kept seeing info logs from shopify-api even though I had set the log level to be LogSeverity.Warning:
const api = shopifyApi({
  apiKey: env.SHOPIFY_API_KEY,
  apiSecretKey: env.SHOPIFY_API_SECRET_KEY,
  apiVersion: LATEST_API_VERSION,
  scopes: ['read_products'],
  hostName: storefrontDomain,
  isEmbeddedApp: false,
  logger: {
    level: LogSeverity.Warning,
  },
});

This is the cli output that kept showing up:
[shopify-api/INFO] version 7.2.0, environment Node v18.16.0

I found out that the LogSeverity enum had shuffled the log levels around, setting Error to 0 and Debug to 3. And the way it's decided which logs to show will only show logs if the severity is greater than (>) the configured severity.
This is quite an issue since with the config above all error logs will be silenced, even though my intention is to only show warnings and errors.
Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 7b8f893..a431df9 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -1,9 +1,9 @@
 import { Session } from './session/session';
 export declare enum LogSeverity {
-    Error = 0,
-    Warning = 1,
-    Info = 2,
-    Debug = 3
+    Error = 3,
+    Warning = 2,
+    Info = 1,
+    Debug = 0
 }
 export declare enum ApiVersion {
     April22 = "2022-04",

This issue body was partially generated by patch-package.

@shopify/shopify-api version: 7.2.0
Node version: 18.16.0
Operating system: macOS Ventura 13.3.1

// Paste any relevant logs here

Expected behavior
If I configure the api client with logger.level = LogSeverity.Warning I expect to only see warnings and errors in the console, not debug or info logs.
Actual behavior
The reverse is true. Instead if I configure logger.level = LogSeverity.Warning all errors are silenced and instead I will see warnings, info and debug.
Steps to reproduce the problem

Configure shopifyApi({ logger: { level: LogSeverity.Warning } })
Observe that error messages are silenced

You are completely correct. I think I somewhere messed up here and misunderstood some caching going on, because I saw logs even though they were not supposed to be there.
Trying it out today, on a fresh project without cache gives me the result I expect.
Thanks for validating though!


Chralu/issue28

Fixes

[x] Fix production builds
Thanks to @kaumudpa for detecting & fixing that issue.

[x] Enable javascript chunks for a lighter load

[ ] Shrink JS bundle size.

@Chralu can we also please lock web3modal version @ 5.1.2?. We need to remove ^ as 5.1.3/4 is causing issues in graceful disconnect of connected wallet in android web.
Do try yourself on android chrome
Build with 5.1.3 - https://walletmodalts.web.app
Build with 5.1.4 - https://walletmodal1.web.app
Build with 5.1.2 - https://walletmodal3.web.app

@Chralu can we also please lock web3modal version @ 5.1.2?. We need to remove ^ as 5.1.3/4 is causing issues in graceful disconnect of connected wallet in android web.
Do try yourself on android chrome
Build with 5.1.3 - https://walletmodalts.web.app
Build with 5.1.4 - https://walletmodalts1.web.app
Build with 5.1.2 - https://walletmodalts3.web.app - This works perfectly

I'll check this soon 👍

@kaumudpa @web3modal 5.1.2 uses dependencies with highly critical issues.
I think we should create an upstream issue for disconnect issues on Android.
I create an issue on our repo as well to keep track of that.


FR: Interleaved data from two tables

Feature request: I just realized it's only pulling from the "entries" table. The "treatments" table is also needed. The best would be for the default export to include the date-sorted data from both tables, interleaved into the export.
In the Advanced section it might be useful for the user to be able to select (with checkboxes) if you want "Blood Glucose Readings" and/or "Treatments".

@jstarpl Was this fixed before the pull request to the main Nightscout repo? It doesn't seem that the "treatments" table is when I just tried https://jstarpl.github.io/nightscout-exporter/

No, I fixed that in the PR to the main Nightscout repo only. It turned out I didn't fully understand the data coming in and the original version (the one on GH pages) just pulled the wrong data.


Memory leak of route templates

FYI, there is a fairly serious memory leak of route templates (lodash templates) which is fixed in PR https://github.com/bleupen/halacious/pull/111

Merged in commit https://github.com/bleupen/halacious/commit/091c4c3a71c50c3845eeb61e496b71ff57120c99


Utilize IAM Roles for AWS Authentication when running inside of AWS

Is this a bug report or feature request?

Feature Request

What should the feature do:
Utilize IAM Roles to authenticate to the AWS API when available.
What is use case behind this feature:
As a engineer, I don't wish to concern myself with the details of securing/rotating security credentials, as such, I want to utilize IAM Roles assigned to the nodes that crossplane is executing on to authenticate to the AWS services.  Optionally I want to utilize kube2iam or kiam to manage which IAM role crossplane has access to.
Environment:
Crossplane running inside of a Kubernetes cluster on AWS, with or without kube2iam/kiam installed

@hasheddan is this fixed now with https://github.com/crossplane/stack-aws/pull/126?

@prasek yep! Thanks for flagging 👍

A question here. I see the Service account role support has been added that means you can annotate service account and that will in the end bring ENV variables like AWS_ROLE_ARN and AWS_WEB_IDENTITY_TOKEN_FILE to provider-aws pod which it will use to authenticate to AWS API. Which is good but it becomes really hard to do cross account assume. EKS webidentity is somehow fixed to that account where the EKS cluster lives. and assuming role in another account is done as 2 step process. What was I think instead meant here is with tools like kube2iam kiam its much more simplier to cross account assume without POD even knowing it all you do is add annotation to pod: iam.amazonaws.com/role: "arn:aws:iam::<account_id>:role/<role_name>" and if your kiam or kube2iam is able to assume that role it will give it to provider-aws via redirecting metadata call to <IP_ADDRESS>... all it needs to do is use aws-sdk with fallback to ec2rolecreds. What I think is missing really is a way  to annotate a provider-aws pod with proper annotation as that is done via ControllerConfig and Provider abstractions. Is there any way to define that now or really its needed to modify the crossplane logic?

What I think is missing really is a way to annotate a provider-aws pod with proper annotation as that is done via ControllerConfig and Provider abstractions.

@martin-ducar-gd as you mention, this can be done with a ControllerConfig (previously you could only annotate the Deployment and ServiceAccount, but the coming v1.1.0 Crossplane release will update ControllerConfig to have a spec.metadata field to annotate the Pod. You can see an example of doing that here.). I believe tou can fall back on default credential chain in provider-aws with source: None in your AWS ProviderConfig. Does this fit your use case?

Oh great that seems like exactly what might enable that functionality. Thank you


Update low level example to match current API

Two small changes to make the low level example run successfully:

Updated call to llama_cpp.llama_n_vocab to pass model instead of context
Combined previous llama_sample_repetition_penalty and llama_sample_frequency_and_presence_penalties into llama_sample_repetition_penalties with keyword arguments

Thank you!

@jsoma thank you

something like this is needed again


Modifications to App Insights module and Readme

All Submissions:

[YES] Have you followed the guidelines in our Contributing document?
[YES] Have you added an explanation of what your changes do and why you'd like us to include them?
[YES] I have updated the documentation accordingly.
[NO] I have added tests to cover my changes. (Tested manually)
[YES] My code follows the code style of this project.
[YES] I ran lint checks locally prior to submission.
[YES] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

What is the current behavior?

The app-insights module only prompts for instance name and resource group name, but does not offer the option to specify tags or application_type for the instance (defaults were being used instead)

What is the new behavior?

Removed defaults, so app-insights module also prompts for application_type and tags when creating a new instance
Improved detail in Readme

Does this introduce a breaking change?

NO

Any relevant logs, error output, etc?

See Readme changes for expected outputs

@erikschlegel I verified that terraform fmt runs on my localhost without any error.  Pushed a minor change to kick off another build to see if it succeeds.

Was asked to merge this by @aka-msft


How to catch the case where the solver doesn't converge?

In the case where the solver can't converge, we can somehow detect it via the verbose flag:
CFMMRouter.route!(router, verbose=(verbose == "true")
But the solver would still output results, that are wrong. Is there a way to catch programmatically the fact that convergence couldn't be achieved, instead?

For now, as a current workaround, you should check the optimality conditions! We're currently finding a longer fix for this, since the lbfgsb interface is unfortunately quite not clean. On the other hand, you can look at the struct itself and parse some of the returned conditions, but it's a bit of a pain as well.


Add Blazor.BrowserExtension

This library provides functionality to build a Blazor WebAssembly application into a browser extension.

Thank you!


Preprocesses based on day or night

I wanted to take a look at clustering images in an unsupervised manner into (ideally) images taken during the day and those taken during the night. This is going to be somewhat exploratory and would need to be piped into an ensembled classifying system for this to be of any use.

Well, we're splitting data after nearly exploding my machine on the kmeans clustering fitting, but it looks like the images have sort of split on night/overexposed and not overexposed categories rather than "day/night". This could still be helpful, there might be some transforms that can help recover from the overexposure seen in the one cluster.
Cluster0:

Cluster1:

I am curious how you would use this. Its interesting!

This would have to be feed into an ensembled classifier or we could use different transforms on the overexposed/bright images to maybe recover some information. Not sure if we'll get any boost in performance, though

I do wonder if feeding this into an ensembled classifier would increase performance. It looks like the clusters roughly correspond to over exposed and not over exposed, but we could increase the cluster count to at least 4 - one for the blue-ish images, one for color images, one for over exposed images, and one for night-time images. But this would take some time, and closing this out as it's not relevant anymore.


json_body doesn't seem to be working for YAML mocks (standalone)

Hi, I've just found the library and am trying to spin up a quick mock server.
I have the following YAML, but it doesn't seem to work as expected:
when:
  method: GET
  path: /health
then:
  status: 200
  json_body: |-
    {
      "status": "healthy"
    }

When I invoke the endpoint, I do get a 200 back, but the response body is empty. Am I missing anything?

I've installed version 0.7.0, but httpmock --version outputs 0.6:
    Replaced package `httpmock v0.7.0` with `httpmock v0.7.0` (executable `httpmock`)
mdevino:mocks$ httpmock --version
httpmock 0.6

@mdevino Thank you for opening this issue. I encountered the same problem today while starting to use the library for the first time. Hope the new image will be available soon.
As tmp workaround until the new docker image is available you can just replace json_body: with  just body:

Hi @alexliesenfeld. Thanks for the reply. Would body trim leading/trailing spaces (new lines, tabs, etc.)?

No, it will respond with original content.
This definition:
when:
  method: GET
then:
  status: 200
  body: '  hello  '

Will respond with:
curl localhost:5050
  hello  %


Add a base parameter to str()

Fixes #918.
I almost added a thousands-separator option while I was at it, but I realized there's too much to bikeshed, and there's a lot of locale-related complexity. I think this task is better delegated to Fluent (#216).

I am not 100% sure whether this is the ideal API long term (not a huge fan of the named parameter that only applies to certain types), but it is simple, clear and works, so I'm inclined to just merge it. When we work types and conversion a bit later, we can revisit the API decision.


chronological order of scheduling

when video files are not explicitly named like "s1e1.mp4" "s1e2.mp4", "s1e3.mp4" then how is the chronological order defined in the schedule?

Chronological ordering uses release dates primarily, and falls back to season, then episode to resolve a conflict with release dates. From media servers, all episodes should have release dates, otherwise NFO metadata can be used with local libraries. See https://ersatztv.org/user-guide/local-libraries/#episode-nfo-metadata

When the media is of type "Other Videos", and does not contain "NFO metadata" files and the file names do not follow a sequence, is any order defined? by the file creation date, for example ?


refactoring to modules

since the main.ts was blown up andn we lost a bit of control refactor to handle modules which bootstraps and register events by own. This also ensures code gets not mixed up that much.

merge beause it is required


history={browserHistory} is still creating hashes

Been stumped for about an hour, cant seem to change the history mode, it is always using hash no matter what.  I'm not getting error messages either.
the code:
import React from 'react';
import {render} from 'react-dom';
import { IndexRoute, Router, Route, browserHistory } from 'react-router';

import { Proto, NoMatch, List, Single, Layout } from './components';

render((
  <Router history={browserHistory}>
    <Route path="/" component={Layout}>
      <IndexRoute component={Proto} />
      <Route path="list" component={List}/>
      <Route path="/code/:id" component={Single}/>
      <Route path="*" component={NoMatch}/>
    </Route>
  </Router>
), document.getElementById('main'));

and I keep seeing the stupid /#/ - over and over it is so frustrating.  Not sure what is going on??  is there anything I'm missing??
THanks!
Matt

try importing it from history library
import browserHistory  from 'history/lib/createBrowserHistory';
let history = browserHistory();

try importing it from history library
import browserHistory  from 'history/lib/createBrowserHistory';
let history = browserHistory();

You can install the npm History package and make something like this:
import { createHistory, useBasename } from 'history'

const history = useBasename(createHistory)({
	basename: '/'
})

render(
	<Router history={history}>
        ....
)

You can install the npm History package and make something like this:
import { createHistory, useBasename } from 'history'

const history = useBasename(createHistory)({
	basename: '/'
})

render(
	<Router history={history}>
        ....
)

@m6g6a That will result in deprecation warnings. You should use the useRouter wrapper from react-router.
@MattMcFarland I'm not seeing this happening. Anything else going on with your setup? Have you checked for history usage elsewhere in your project? You don't need the history dependency now, so make sure it's remove (or is updated to 1.17.0).

@m6g6a That will result in deprecation warnings. You should use the useRouter wrapper from react-router.
@MattMcFarland I'm not seeing this happening. Anything else going on with your setup? Have you checked for history usage elsewhere in your project? You don't need the history dependency now, so make sure it's remove (or is updated to 1.17.0).

You probably don't have the 2.x RC installed. Make sure you're using docs that match your installed version.

You probably don't have the 2.x RC installed. Make sure you're using docs that match your installed version.

@talon you are right, I had the RC installed.  the funny thing is the docs dont match the docs on github.  anyway I managed to get it working using the createHistory method.  THanks!

@talon you are right, I had the RC installed.  the funny thing is the docs dont match the docs on github.  anyway I managed to get it working using the createHistory method.  THanks!

If you mean the 1.0.0 rc's, then that means you're upgrading to 1.0.3. In which case, the docs on master are for 2.0.0 (which is current in rc). Check out the 1.0.x docs: https://github.com/rackt/react-router/tree/1.0.x/docs

If you mean the 1.0.0 rc's, then that means you're upgrading to 1.0.3. In which case, the docs on master are for 2.0.0 (which is current in rc). Check out the 1.0.x docs: https://github.com/rackt/react-router/tree/1.0.x/docs

I installed @latest, but it does not have the latest docs, it stil is mentioning createBrowser

I installed @latest, but it does not have the latest docs, it stil is mentioning createBrowser

latest is 1.0.3

latest is 1.0.3

actually @latest is a user account 😈

actually @latest is a user account 😈

Ok when I do latest I see I am running
 "react-router": "^2.0.0-rc4",

which is messed up because it tells me to use browserHistory in an error message, but browserHistory is not included and is undefined.
The docs say to use browserHistory as well in some places, and in other places say to use the older method.
Maybe npm v3 treats latest tag different?

Pardon me while I conduct some thread necromancy here...
@MattMcFarland -- I was recently having the same issue with my project and solved it by deleting / reinstalling my node_modules folder.
I was using hashHistory from from the history library. I decided to change things up, so I removed it and imported browserHistory from react-router:
render((
  <Router history={browserHistory}>
    <Route path="/" component={Layout}>
        ...
    </Route>
  </Router>
), document.getElementById('main'));

Just like you, I still kept seeing /#/ in my paths. It made no sense and was driving me crazy. I went through my project and made sure there were no references to history or hashHistory. But this still kept happening.
Finally, I just deleted the node_modules folder in my project and re-ran npm install. Things now work fine. Hah!


read from string

how can i parse html from String?

You could do something like this:
String myString = "Hello world.";
Reader reader = new StringReader(myString);
URI uri = new URI(...); // Use whatever you like (but valid URI syntax).
HtmlView htmlView = new HtmlView(this);
htmlView.loadHtml(reader, uri);

@FriedrichFroebel Thanks to reply, but i dont understand me whats this line and how can i set that:
URI uri = new URI(...); whats it for?

The HtmlView class provides two load methods: One to read from a URL and one to parse a Reader. The method to parse the reader requires an additional baseUrl parameter (I do not know the purpose of doing this, but if you are interested in the reasons, you may find an answer when diving into the code).
I recommend you the read the corresponding Javadoc for the URI class.

The baseUri is needed to resolve relative links

@stefanhaustein @FriedrichFroebel i just read library source code, i dont understand why when we have html on string we have to use uri, could you tell me simple example to know how can i use that?

@stefanhaustein

The baseUri is needed to resolve relative links

then can i pass null, its right

i can't use simply this library, i think htmlview2 is simple than this library, for example:
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        htmlView = new HtmlView(this);
        ScrollView scrollView = new ScrollView(this);
        scrollView.addView(htmlView);
        setContentView(scrollView);

        try {
            String   myString = "
Hello world.
";
            Reader   reader   = new StringReader(myString);
            URI      uri      = new URI("http://google.com"); // Use whatever you like (but valid URI syntax).
            HtmlView htmlView = new HtmlView(this);
            htmlView.loadHtml(reader, uri);
        } catch (URISyntaxException e) {
            Log.e("err ", e.getMessage());
            throw new RuntimeException(e);
        }
    }

whats URI when i try to load html from string? with this sample my phone screen is white and i dont see hello world on that

Yes, it's just the base URL for resolving relative URLs. Asset directory seems like a valid choice, but I didn't want to provide a default to avoid potential security issues if users are not aware of this.
I think the problem with your code is the following line repeated in the try-catch block:
 HtmlView htmlView = new HtmlView(this);

It should be deleted there because it creates a second HtmlView that is not attached to anyting


Update from upstream

wearedev acceptance tests pass when using this branch. Will just go ahead and merge it :boom:


Feat/filter outlier in trainset

Can you state in plain English what this outlier filter does?
I am unable to understand it from the code (because I am not a dev) and the added comment also doesn't seem to answer it.

What does rating = rating and delta_t = delta_t actually mean?

Can you state in plain English what this outlier filter does?

I rewrite the comments in the last commit.

keep the items in trainset if they are not removed from filtered_items

Does this mean that if a card is removed from the pretrain dataset, then all its reviews will be removed from the trainset?

Does this mean that if a card is removed from the pretrain dataset, then all its reviews will be removed from the trainset?

Yes. It's consistent with the Python optimizer.

Does this mean that if a card is removed from the pretrain dataset, then all its reviews will be removed from the trainset?

Yes. It's consistent with the Python optimizer.

As I mentioned in https://github.com/open-spaced-repetition/fsrs-rs/issues/88#issuecomment-1738765850, this outlier filter is too aggressive (it removes too many reviews). This is fine for the pretrain function (because the pretrain method is fragile). However, the train function should have access to more reviews.
Let me explain with an example:
Let's say that for first_rating = 3 and delta_t = 9 days, there are 8 cards and for delta_t = 10 days, there are 100 cards.
Since the cards with delta_t = 9 is too low, the average R will be unreliable. So, it is desirable to filter this case in pre-train.
However, the further review history of these cards is not expected to be very different from those with initial delta_t = 10 days. So, it is not desirable to filter the further review history of these cards.
I agree that some sort of outlier filter is required for the trainset also. But, I think that the same outlier filter should not be used for both.

However, the further review history of these cards is not expected to be very different from those with initial delta_t = 10 days.

I don't think so. If a card is reviewed too early or too late, the first response will be unreliable. If we use the same model the calculate the initial memory state with the unreliable response, the subsequent training will be polluted.

If a card is reviewed too early or too late, the first response will be unreliable.

I agree, but 9 days can't be called "too early" when compared to 10 days.
This is the reason I am suggesting to use a less aggressive outlier filter for the trainset.

Taking the example of my collection (see first review data at the bottom of the comment),

For first_rating = 1, I think that it is reasonable to keep delta_t = 1 and delta_t = 2 (in my collection) in the trainset.
For first_rating = 2, the data in my collection is insufficient. So, I will not discuss about it.
For first_rating = 3, the initial stability is calculated as about 14. So, it doesn't make sense to ONLY keep the data with delta_t < 5 in the trainset.
For first_rating = 4, there is no major problem in how the outlier filter is working with my data.

If a card is reviewed too early or too late, the first response will be unreliable.

So, what about using an outlier filter based on the ratio between delta_t and stability for the trainset?
First review data: stability_for_pretrain.zip

The current outlier filter only removes 5% cards. Is it aggressive?

Yes (for trainset) / No (for pretrain)
See my above comment; it includes specific examples.

It's really hard to design a perfect solution for that. And I think 11	0.97	33 could be also included in pretrainset.

It's really hard to design a perfect solution for that.

Yes, but we can try to design a solution better than the current one.

As I said in #119 (comment), what if create another condition based on the ratio (or something similar) of the delta_t and stability and then remove the reviews of cards that fulfill BOTH the conditions.
(By both, I mean the ratio condition and the pretrain outlier condition.)

I recommend opening a new issue to discuss about it.


idProduct 1009

My ANT+ stick uses idProduct with 1009. Should we make this a bit more flexible, instead of only using product 1008?
https://github.com/SamyCookie/python-ant/blob/dev/src/ant/core/driver.py#L182

You're probably right, I made change at commit ad27e47e8bb3bfd553edf6dcfdae780ed04d815b


[WIP] Expand init

Fixes issue #215
Proposed Changes

[x] parameterizable target files

[X] parameterizable class files

[X] parameterizable components (jinja2, kadet, jsonnet)

@uberspot I'm not using a gmail account, count that be the reason for this comment?

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)?

@vaibhavk It is related to you agreeing that your code can be used without any restrictions in any way google finds necessary and other things mentioned in licenses. You just have to agree to it once.

@vaibhavk It is related to you agreeing that your code can be used without any restrictions in any way google finds necessary and other things mentioned in licenses. You just have to agree to it once.
Ah I see, but I signed it like 3 days ago, thanks for the support.
Can try by switching e-mail address once.

@vaibhavk You commited twice as Ubuntu

@adrianchifor  Now I have made several commits as vaibhavk, should I close this PR and start with a new one?

@vaibhavk You commited twice as Ubuntu

Yep, otherwise the cla/google verification will not pass.


chore: recreate merge commit for release 0.39.0

Description
We tried to recreate the merge commit in this PR https://github.com/autowarefoundation/autoware.universe/pull/9607, but it seems like we merged it with squash commit by accident.
This redo the creation of merge commit in the humble branch.
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

I merged it without review since the PR itself is same from https://github.com/autowarefoundation/autoware.universe/pull/9607 which was already approved.
I have also tested here with another branch before merging that merge commit works: https://github.com/autowarefoundation/autoware.universe/pull/9615