Bootstrap 5 direction?

Hi;
Firstly, I'd like to thank you for your work.
Is there plan to port your library to BS5, when it goes public?
Thanks!
..Ben

Hi @BenHayat , yes the intent is to support Bootstrap 5, and have at least have beta versions available by Bootstrap beta 1.(Currently alpha 1 as I type this).
From my experience with Bootstrap v4, alpha versions can and do change a lot, so I'm reluctant to do too much work prematurely and have a lot of churn, but any help here is appreciated if people are using v5 with this.
From a quick look using v5 CSS with Sveltestrap docs, most everything seems okay.  Two noticeable issues are InputGroups and CustomInputs.  I'll hopefully have more time soon to start a v5-dev branch and can start tracking more formally.

Hi @BenHayat and others interested, I've strated a V5 branch:
https://github.com/bestguy/sveltestrap/compare/v5?expand=1
Seems straightforward so far, so I will try to finish compatibility with Bootstrap 5 Alpha 1 and do an alpha release of  sveltestrap v5 in next couple weeks

We nearing completing of v5 alpha 3 parity: https://github.com/bestguy/sveltestrap/compare/v5?expand=1
but still missing Form changes that impact FormGroup, Labels & Inputs.  Hopefully should be ready for an alpha 3 pre-release this weekend or next week.

@bestguy Is it possible to publish the alpha versions of sveltestrap supporting bootstrap v5 alpha?

Hi @mmrath, yes, however I'd like to complete alpha3 parity (forms and inputs are currently in progress). I hope to have a pre-release this weekend

@mmrath  @BenHayat and others, we've published<EMAIL_ADDRESS>which should give parity to Bootstrap 5 alpha 3.
To try, please note you'll need to npm install<EMAIL_ADDRESS>Specify the exact version when installing, as these have a beta tag.
You'll also need to include Bootstrap v5 as your CSS such as: https://v5.getbootstrap.com/docs/5.0/dist/css/bootstrap.min.css,
since there are breaking changes in Bootstrap, and will not look right using v4 Bootstrap.  I'll write up release notes soon on the details.
There are likely bugs so please let us know if you find any.

Updated to<EMAIL_ADDRESS>to update to latest Bootstrap alpha 3 parity

Updated to<EMAIL_ADDRESS>to update to correct some issues.
npm install<EMAIL_ADDRESS>

Updated to<EMAIL_ADDRESS>to add Accordion
npm install<EMAIL_ADDRESS>

Hello @bestguy
Thank you for the job well done!
I'm interested in BS5 beta due to the RTL support.
I was wondering if you started working on updating the V5 branch to support BS5 Beta.
Please let me know if help is needed. I would at least help with testing as an early adopter in my multi-lingual CMS.
Regards,

Hello @kefahi ,
Yes we are mostly compatible with beta 1, there was just a change to the utility class names and I have a PR for that.  I will try and release beta 1 this weekend.

Hi @kefahi,
We've published<EMAIL_ADDRESS>which should include the new RTL changes.  Please try out and let me know if you see any issues.

We've published<EMAIL_ADDRESS>which now includes Popover and Tooltip updates from v4.

We've published<EMAIL_ADDRESS>which now includes Popover and Tooltip updates from v4.

We've published<EMAIL_ADDRESS>which now includes Popover fixes and now includes Bootstrap Icon support

We've published<EMAIL_ADDRESS>which now includes Popover fixes and now includes Bootstrap Icon support

We've published<EMAIL_ADDRESS>which now includes Popover fixes and now includes Bootstrap Icon support

Thank you for the amazing work!
I tried the latest version on a simple setup and came across two issues.

InputGroupAddon is missing entirely. Is this intentional? if so what is the alternative.
Bootstrap Icons are loaded via hardcoded link. I would rather leave this to the developer to decide (in the same way how bootstrap css files are served).

Please let me know if you want me to open tickets.
Once again, thank you!

We've published<EMAIL_ADDRESS>which now includes Popover fixes and now includes Bootstrap Icon support

Thank you for the amazing work!
I tried the latest version on a simple setup and came across two issues.

InputGroupAddon is missing entirely. Is this intentional? if so what is the alternative.
Bootstrap Icons are loaded via hardcoded link. I would rather leave this to the developer to decide (in the same way how bootstrap css files are served).

Please let me know if you want me to open tickets.
Once again, thank you!

Hi @kefahi, yes regarding 1, these have been removed in Bootstrap v5: https://getbootstrap.com/docs/5.0/forms/input-group/
Order comes from the children you put in the InputGroup. InputGroupAddon container is no longer needed.
On 2, hmm yes that might be better, although unlike bootstrap css there is no "themes" for icons.  Let me look at this over next days, and creating issue is fine for this one for tracking.

Hi @kefahi, yes regarding 1, these have been removed in Bootstrap v5: https://getbootstrap.com/docs/5.0/forms/input-group/
Order comes from the children you put in the InputGroup. InputGroupAddon container is no longer needed.
On 2, hmm yes that might be better, although unlike bootstrap css there is no "themes" for icons.  Let me look at this over next days, and creating issue is fine for this one for tracking.

We've published<EMAIL_ADDRESS>which now includes Row cols support.

We've published<EMAIL_ADDRESS>which now includes Row cols support.

Hello, I wanted to let you know that the more recent bootstrap 5.0.0-beta2 is working with sveltestrap 5.0.0-beta.1-4 without any noticeable issues.

Ah thank you!  I'll look at their release notes

We've released<EMAIL_ADDRESS>to match Bootstrap v5 beta 3.
Adds the new Offcanvas component and numbered ListGroup.

Released<EMAIL_ADDRESS>to pick up some corrections to Tooltips, Popover, & Dropdown released on master.

Released<EMAIL_ADDRESS>to pick up additional corrections released on master and to remove deprecated Uncontrolled* components.

Sveltestrap 5 has been released! 🎉
https://github.com/bestguy/sveltestrap/releases/tag/v5.0.0
Please try v5.0.0 out and start a new issue if you experience any problems.
npm install sveltestrap@5
Thank you all for the use and help!

@bestguy Awesome news! thank you.
Here is a simple bi-lingual CMS website (Arabic/English) I built on Svelte/Bootstrap5/Sveltestrap. It is still under active development.
RTL is working really nice; the language switching widget is at the bottom (footer).
https://demo.imx.sh/

Lovely!  Nice work friend, glad you are able to put this to good use.


WeaponsMeleeList and ObjectTypeWeapon

Added Gutter "Ripshank" [WEAP:0026D95E] to WeaponsMeleeList [FLST:00021AD2], used in 3rd and 4th ranks of Skill_MartialArts "Martial Arts" [PERK:002C5554] for damage reduction condition function IsWeaponInList
Added ObjectTypeWeapon [KYWD:000F4AEA] to Ripshank, OsmiumKnife "Osmium Dagger" [WEAP:0026D966] and BarrowKnife "Barrow Knife" [WEAP:0026F181], this keyword is used by VendorItemsWeapons [FLST:001BF7DC], several dialogue INFOs that check if the player is armed and pretty much all the other non-ship weapons in the game.

The files were deserialised from MeleeWeaponsFix.esm using Spriggit 0.24

Thank you, these fixes will be included with 0.1.8.


Fix recovery middleware to render gitea style page.

The recent change to recovery middleware will always output trace log content to web browser when panic. It's a regression.
This PR introduced some new middlewares to chi and will fix that and take them back.

[x] Introduce new render middleware from https://github.com/unrolled/render.
[x] Introduce new locale middleware which could get the current language.
[x] Session middleware has been copied and modified to https://gitea.com/go-chi/session.
[x] Login user panic page should know user information.
[x] code.gitea.io/gitea/modules/auth/sso has been refactored so that both macaron and chi could use that.
[x] Improve the Recovery middleware, now it will try to render a friendly UI at first, if panic again, fallback to original method

Codecov Report

Merging #13857 (c7a09e3) into master (4ef7512) will decrease coverage by 0.10%.
The diff coverage is 26.75%.

@@            Coverage Diff             @@
##           master   #13857      +/-   ##
==========================================
- Coverage   42.32%   42.22%   -0.11%
==========================================
  Files         726      733       +7
  Lines       77684    78060     +376
==========================================
+ Hits        32883    32958      +75
- Misses      39403    39695     +292
- Partials     5398     5407       +9

Impacted Files
Coverage Δ

modules/auth/auth.go
61.53% <ø> (-2.51%)
:arrow_down:

modules/auth/sso/reverseproxy.go
9.52% <0.00%> (ø)

modules/middlewares/cookie.go
0.00% <0.00%> (ø)

modules/middlewares/locale.go
0.00% <0.00%> (ø)

modules/middlewares/redis.go
2.15% <2.15%> (ø)

modules/templates/base.go
28.57% <28.57%> (ø)

routers/routes/recovery.go
29.41% <29.41%> (ø)

modules/middlewares/virtual.go
32.29% <32.29%> (ø)

modules/auth/sso/basic.go
51.06% <50.00%> (ø)

routers/init.go
45.79% <50.00%> (-4.61%)
:arrow_down:

... and 26 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 4aabbac...c7a09e3. Read the comment docs.

@6543 All done.

@techknowlogick Could you review this again?

:tada:

:tada:


Add support for programlisting that have a role and an include section

From this:
<programlisting role="JAVA"><xi:include href="extras/root_entity_ref_bnf.txt" parse="text"/></programlisting>

we get this now:
[source,java]
----
include::{sourcedir}/extras/root_entity_ref_bnf.txt[]
----

Thanks! Nice enhancement!

A pull request is the best way to say thank you.
-----Original Message-----
From: "Dan Allen"<EMAIL_ADDRESS>Sent: 12/5/2015 10:02 PM
To: "opendevise/docbookrx"<EMAIL_ADDRESS>Cc: "Vlad Mihalcea"<EMAIL_ADDRESS>Subject: Re: [docbookrx] Add support for programlisting that have a role andan include section (#13)
Thanks! Nice enhancement!
—
Reply to this email directly or view it on GitHub.

I agree!

I added support for the subtitle node, which is used in the Hibernate user guide. I also set a default value for sourcedir if not specified via the API (default to current directory).


Feat: Added new design for search results page(no results found)

Fixes Issue
This PR closes #2175
Changes proposed

added the new design for the search results page(no results found)

Screenshots

Note to reviewers

I added a button component for improved consistency, and can be used across the codebase wherever applicable, promoting maintainability
made an update to the tailwind.config.js file by adding new colors that were used for building the Search page

noticed i'm having conflicts with the origni/dev branch. please why is this so? and how can I fix it?


feat(robustness): add liveness check and readiness check

What type of PR is this?
/kind feature
What this PR does / why we need it:
For better robustness
Which issue(s) this PR fixes:
Issue #462
The connectivity of etcd and APIServer seems to be a build-in feature

I have read the CLA Document and I hereby sign the CLA


Do not validate SDK when building appbundle

Description
Do not validate SDK when building appbundle.
We don't do this for APK, and should not need for AAB.
This is preventing the usage of Gradle feature to automatically download Android
SDK components, by verifying the presence of e.g. "adb".
Android Debug Bridge is unnecessary for building an AAB.
Related Issues

#28076 (regression)

See #28355 (PR).
Tests
Test added.
Verified manually by testing against empty ANDROID_HOME directory (licenses only).
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

@dnfield do you think we need tests for this change?

Yes.  We should have a test for this code path that verifies we don't try to validate the SDK, so someone doesn't add it back in :)

@dotdoom are you still interested in writing tests for this and landing?

@christopherfujino I was trying to replicate the test from a similar PR, but there's too much drift and I lack knowledge to finish it soon.
Can someone give me a hand with finding the right place to put the tests in? I was searching in packages/flutter_tools/test but couldn't find existing appbundle tests there.

It looks like the code needs to be refactored a bit, so it can be tested. e.g. remove the dependency on the implementation of buildGradleProject. This is typically done via an interface that provides this functionality. Then, in the test you can provide a "fake" implementation that doesn't call Gradle.  Is this something you would like to explore?

Thanks for the pointers. I was trying to replicate the tests done in #28355 but realized that it's way more involved than expected. Besides, I can't find any existing tests for this file. Will keep working, and if I can't figure it out this weekend I will close PR and create an issue instead.

And now I'm stuck trying to run the tests I added.  Here's what's failing:
packages/flutter_tools$ ../../bin/flutter test test/general.shard/application_package_test.dart
00:10 +0 -1: loading ~/src/flutter/flutter/packages/flutter_tools/test/general.shard/application_package_test.dart [E]
  Failed to load "~/src/flutter/flutter/packages/flutter_tools/test/general.shard/application_package_test.dart":
  Compilation failed
  Test: ~/src/flutter/flutter/packages/flutter_tools/test/general.shard/application_package_test.dart
  Shell: ~/src/flutter/flutter/bin/cache/artifacts/engine/linux-x64/flutter_tester

Extract from running with -v:
[  +45 ms] <- compile /tmp/flutter_test_listener.FTVEKJ/listener.dart
[ +169 ms] -> result f9547c46-8de7-4cb0-aae7-aa47e6f07833
[ +179 ms] -> Error: Could not resolve the package 'flutter_test' in 'package:flutter_test/flutter_test.dart'.

Indeed, adding flutter_test to pubspec.yaml in attempts to fix it locally does not get me anywhere, as flutter tool gets rebuilt and fails on circular dependency.
I read through Setting up the Framework development environment, Running and writing tests and Tree hygiene. Some answers on Stack Overflow. No luck. Help?

Got it by reverse-engineering CI config. FWIW, flutter pub run build_runner test and running tests from within VSCode both work.
Unfortunately it turns out that, as @blasten correctly says, this code is not testable as it is now. Did some refactoring, but I've little clue as to where the test files should go. PTAL.

Looks like #39457 was merged out of order and now this PR has lots of conflicts. I am going to rebase it now.

@blasten @dnfield a friendly ping

And now there are conflicts again.
The time I've already wasted on adding tests to this innocent change already exceeds what a simple code removal needs, by a good chunk. I am removing the tests now.
This is blocking our workflow for more than a month now. Please merge. I may send another PR to add tests if I find time for that.

@dnfield, as the only reviewer: a friendly ping.

@dotdoom In build_appbundle_test.dart, you can mock AndroidSdk and assert that validateSdkWellFormed isn't called, and reinitialize is called. e.g.
// Add this to the Gradle group:

group('AndroidSdk', () {
  testUsingContext('validateSdkWellFormed() not called', () async {
    final String projectPath = await createProject(
        tempDir,
        arguments: <String>['--no-pub', '--template=app'],
      );

    await expectLater(() async {
      await runBuildAppBundleCommand(projectPath);
    }, throwsToolExit(message: 'Gradle task bundleRelease failed with exit code 1'));

    verify(mockAndroidSdk.validateSdkWellFormed()).called(0);
  },
  overrides: <Type, Generator>{
    AndroidSdk: () => mockAndroidSdk,
    FlutterProjectFactory: () => FakeFlutterProjectFactory(tempDir),
    GradleUtils: () => GradleUtils(),
    ProcessManager: () => mockProcessManager,
  },
  timeout: allowForCreateFlutterProject);

  testUsingContext('reinitialize() called', () async {
    final String projectPath = await createProject(
        tempDir,
        arguments: <String>['--no-pub', '--template=app'],
      );

    await expectLater(() async {
      await runBuildAppBundleCommand(projectPath);
    }, throwsToolExit(message: 'Gradle task bundleRelease failed with exit code 1'));

    verify(mockAndroidSdk.reinitialize()).called(1);
  },
  overrides: <Type, Generator>{
    AndroidSdk: () => mockAndroidSdk,
    FlutterProjectFactory: () => FakeFlutterProjectFactory(tempDir),
    GradleUtils: () => GradleUtils(),
    ProcessManager: () => mockProcessManager,
  },
  timeout: allowForCreateFlutterProject);
});

@dotdoom  - thanks for the PR.  This definitely looks like a good change.  Do you think you can get the test that @blasten  has suggested in? It will help make sure no one regresses this change later.

I appreciate your help, but I hope you have seen above that I don't have time to invest into this right now.  The rebases alone already costed me more than creating that horrendous workaround in our Docker image.  I tried to make @blasten's suggestion work this morning, but couldn't.

Sorry that this has been a frustrating process for you.
Nevertheless, we really can't merge this without a test.  If getting the test working is proving troublesome, we can take over the change - it's definitely one we should make.
It looks like some of your previous changes were making some more wide ranging changes that don't quite match up with the style guide (https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo). You may have also been getting tripped up by dartfmt, which we don't use in this repository (it's discussed further in the style guide).
If you aren't able to add a test for this, someone will be able to take this over.  Let us know.

Thanks @dnfield. Indeed I skimmed through style guide too fast and did not read the dartfmt part. TIL.
Created #41098 so anyone can take it over. Please feel free to close this PR for garbage collection.
If no one does before me, I am still planning to revisit and add tests later (e.g. next month if I get lucky).


Added proof of iso from section and retraction

I believe that the last pushed resolves both the empty lines, and adds the where clauses where needed


Can't close/exit ANSYS AEDT Desktop - freeze with release_desktop(save_project=False, close_desktop=True)

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug

Steps To Reproduce
import sys
import atexit
from pyaedt import *
import pyaedt
pyaedt.settings.use_grpc_api=False

desktop = Desktop(
        specified_version= version,
        aedt_process_id = aedt_process_id,
        new_desktop_session=False,
        non_graphical=False,
        close_on_exit=False,
        student_version=False,
    )
q = pyaedt.Q3d(projectname=pyaedt.generate_unique_project_name(),specified_version="2023.2",non_graphical=False,new_desktop_session=True)
q.release_desktop(save_project=False, close_desktop=True)

Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
Jupyter Notebook from ANSYS AEDT

Hi @onyx22574 ,
THis code has one small issue, when you try to create the Q3D app, you specified that you want to create a new_desktop_session, so it tries to open a new AEDT. But PyAEDT for now can not control more than one AEDT session at the same time, so if you had already the "desktop" object created, you will have the error you are facing. This is the correct script:

To avoid this kind of confusion, I would use load_project method if you want to open an specific project with a "desktop" object create:
https://aedt.docs.pyansys.com/version/0.7/API/_autosummary/pyaedt.hfss3dlayout.Hfss3dLayout.load_project.html#load-project
Or if you want to create an empty Q3D design, you can just not create the "desktop" object, and call directly:
q = pyaedt.Q3d(projectname=pyaedt.generate_unique_project_name(),specified_version="2023.2",non_graphical=False,new_desktop_session=False)
It is up to you. Please close the issue if you do not have more questions.
Thanks


[demo] - update to 1.12 release including new flagd UI

For deploying https://github.com/open-telemetry/opentelemetry-demo/pull/1725.
The flagd-ui needs to be in the smae container with flagd so they can share an emptydir volume which containes the jsonfile for flags. flgad-ui can write it, and flagd will pick it up instanly and distributes the new flag changes.
I'm not very proficient with helm, please provide some input if this approach is fine or we can do this more neatly.
I added just a object block for the schema, would be neater to validate the entire inner block, but this is well beyond my jsonschema understanding 😃

@klucsik I updated your branch to work in a way that feels more natural with the rest of how the demo is setup.
This changes to using an array for the sidecarContainers property. It also adds a new property called additionalVolumes at the component level, which can be used to define volumes referenced from any of the pod's container volume mounts. I also removed some schema restrictions around defining both init and sidecar containers.

I can install the chart in this PR. I can also run ct against it locally on my system and it works just fine, but our CI tests are failing. I could use some help to understand why our CI fails in GHA but not locally.
The differences I can see are:

helm version (3.16.2 locally vs 3.9.4 in GHA)
ct version (3.11.0 locally vs 3.10.1 in GHA)
environment (MacOS locally vs Linux in GHA)

I can help investigate this week

I believe the issue is using tpl inside range: https://github.com/helm/helm/issues/5979.  @puckpuck @klucsik can you update the Setup step in .github/workflows/lint.yaml and .github/workflows/demo-test.yaml to use helm 3.14.4

@puckpuck I'll wait to merge until you approve


after compilation. corrupt file. just wow

Describe your bug here.

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
PlayState.hx

(problem is fixed, closing issue)


Android Basics issue:

URL of codelab
https://developer.android.com/codelabs/android-basics-kotlin-write-instrumentation-tests?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-basics-kotlin-write-instrumentation-tests#3
In which task and step of the codelab can this issue be found?
Writing your first instrumentation test
Describe the problem
onView(withId(R.id.tip_result))
.check(matches(withText(containsString("$10.00"))))
should be
onView(withId(R.id.tip_result))
.check(matches(withText(containsString("10.00"))))
without the dollar sign.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@mikelsc
Thank you for reaching out to us. The typo is fixed and will be published soon.


No access to internet on Android

So, the issue's title speaks for itself, suddenly I've lost the ability to send http requests. Nothing special that can possibly break things up was made to application's code. Also, I did not change AndroidManifest since app creation (~3 months ago). On iOS everything works fine, both on real devices and simulators.
Here's the manifest:
<manifest
  xmlns:android="http://schemas.android.com/apk/res/android"
    package="ru.mts.torgmobile">
  <uses-permission android:name="android.permission.INTERNET"/>
  <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="МТС Торги"
        android:icon="@mipmap/ic_launcher">
    <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
      <meta-data
                android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
                android:value="true" />
      <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>
      </intent-filter>
    </activity>
  </application>
</manifest>

flutter doctor output:
[✓] Flutter (Channel dev, v1.4.4, on Mac OS X 10.14.5 18F96h, locale en-RU)
    • Flutter version 1.4.4 at /Users/vanelizarov/flutter
    • Framework revision 3b3f6c7a04 (2 days ago), 2019-03-27 13:56:23 -0700
    • Engine revision 0d83a2ecd1
    • Dart version 2.2.1 (build 2.2.1-dev.2.0 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/vanelizarov/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 10.2, Build version 10P107d
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.4.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

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

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
    • iPhone Xʀ                 • 96D9C935-0DD3-47BA-A9E3-F640322197D6 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

For http requests I use http package version 0.11.3+17 (I'm not able to use the latest version because I also have openapi installed which prevents me from it)

Created blank flutter project to test if something is wrong in my app's configuration.
Here's the pubspec.yaml and main.dart:
name: http_verify
description: A new Flutter project.

version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.2
  http: ^0.11.3+17

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  void initState() {
    super.initState();

    http.get('https://httpbin.org/get').then((r) {
      print(r.body);
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Container(),
    );
  }
}

Everything works fine, on both operating systems.

Possibly there's a problem with root certs for api I'm using

Yeah, that was a problem with ssl-certificates. Closed.

@vanelizarov can you explain the problem with your ssl-certificates?
I am having the same issue:
Old android apps are failing to connect. New installations are working fine. This only occurs in Android (iOS are doing great).
My app is in installed on clients and I an kind of desperate.

@lgfranco my local api instance was not running over https. I've added some certs to gain ability to send requests over https and now it works. Also, If I remember correctly, I've also re-generated my app through flutter create

Thank you, @vanelizarov, but it's not my case. I am running on https..
I just configured my connection to accepted certificate error.
It's strange. Occurs only in Android, it's intermittent and if you. uninstall the app and install it back it returns to work. I can't reproduce it in a development device to know exactly what's going on.
But thank you again!

Try checking connectivity of device. Make sure device is connected to Internet.
In my case every things where they should be but the device was not connected to internet.
You can use inbuilt chrome browser to check internet if it's not working. Add <IP_ADDRESS> in computers DNS.


Allow flaky tests to pass or fail and mark web tests as flaky

Description
There are still some intrinsic flakiness issues in the web tests that need to be resolved. These should not block the build or rollers.

Landing to fix build


Fixes #991 - State dropdown shows error even value is preselected

@bhaskaryasa
please review and merge. no need to validate if value is selected.


Interpolation of values in vectors

Hi,
There is customer interest in the ability of Atoti to perform complex business calculation, such as interpolating the values in a vector based on time points corresponding to each item in the vector.
Currently, we have an example which relies on python to preprocess the input data and generate the interpolated vector before loading into Atoti. But this would not sell for our target prospect.
Could I request R&D to take a look at the logic and evaluate whether :

Can this be implemented in current Atoti version (I might have not found the right solution).
If not, can any new feature in future version of Atoti help to support this use-case?
2a. If feasible, how soon can the new feature be made available?

In short, the data contains vectors of PnL. Each value in the vector corresponds to a time point (with a date). The aim is to load these PnL vectors based on a standard set of time points. As the original vector is not aligned to the standard time points, we need to interpolate the PnL value based on the nearest adjacent time points from the standard time points set.
The aforementioned example can be found in github here. Specifically, the logic for interpolation is in xvaAccelerator.py.
The example was implemented in ActiveViam-ee 0.3.0.
Please let me know how I can assist the team to expedite the evaluation of this request.
Thank you.
Regards,
Ming Kong

Hello,
Could you provide an example input value(s), the expected output and an explanation of how to go from one to the other ?

Hi Fabien,
Here's a simplified example:
Input data is defined by PnL for 100 time points, and 1000 scenarios.
The most granular record contains:
[TradeId],[TimePoint],[PnL Vector]
where:
[PnL Vector] is a vector of 1000 PnL for each scenario.
[TimePoint] is an int corresponding to one of the value below.
Another file provides the dates corresponding to each TimePoint:
[TimePoint],[Date]
The TimePoints may not be continuous, example, 1,2,3,5,10,20,50,...
Example TimePoint 10 corresponds to 22-01-2018, TimePoint 20 corresponds to 01-02-2018.
The business requires the PnL for each TimePoint to be shifted earlier by example 5 days.
Let's say after shifting 5 days, the PnL corresponding previously to 01-02-2018 (TimePoint 20) now corresponds to 27-01-2018. So we need to compute the PnL on 27-01-2018 based on the PnL found on 22-01-2018 (TimePoint 10) and 01-02-2018 (TimePoint 20). This is done by linear interpolation (for example).
This is in short, what is implemented to get the interpolated PnL for all TimePoints on the original vectors.

You can have a look at date_shift which lets you shift on a date hierarchy and has a parameter to choose how to interpolate missing values.

Hi Fabien, can the offset parameter for date_shift be based on a variable, such as a level in the cube, or another measure? The 5 days in above example is actually based on which some group that the trade belongs to. So, for some trades, it could be 10 days or some other numbers.

Hello, you cannot provide a measure for the offset at the moment, I will create a another issue for that ! (note that your measure values will have to be valid offset input, i.e. strings like "1D", "2D", "3M"...)
Otherwise I think interpolating vectors works, have a look at this example where each vector has the value of the day so it is easy to follow:
import atoti  as tt
import pandas as pd
import datetime as dt

df = pd.DataFrame({
    "date": [
        dt.date(2020,1,1),
        dt.date(2020,1,3),
        dt.date(2020,1,5),
        dt.date(2020,1,6),
        dt.date(2020,1,9),
        dt.date(2020,1,10),
    ],
    "v": [[1.,1.],
          [3.,3.],
          [5.,5.],
          [6.,6.],
          [9.,9.],
          [10.,10.]]
})

session = tt.create_session()
cube = session.create_cube(session.read_pandas(df, store_name="test"))
m, h, l = cube.measures, cube.hierarchies, cube.levels

m["shifted"] = tt.date_shift(
    m["v.SUM"],
    on=h["date"],
    offset="1D",
    method="interpolate"
)

cube.query(m["v.SUM"], m["shifted"], levels=l["date"])

date
v.SUM
shifted

2020-01-01
[1.0, 1.0]
[2.0, 2.0]

2020-01-03
[3.0, 3.0]
[4.0, 4.0]

2020-01-05
[5.0, 5.0]
[6.0, 6.0]

2020-01-06
[6.0, 6.0]
[7.0, 7.0]

2020-01-09
[9.0, 9.0]
[10.0, 10.0]

2020-01-10
[10.0, 10.0]
None

Hello @mingkongwoo
Can you try the dateshift intertpolate with the workaround to shift differently depending on a measure and tell me if that works for you ?

Thanks Fabien for the suggested workaround. I'll have a look if this is possible, but as Romain said, the offset is mostly likely from a hierarchy, so I'll have to see if it can be tweaked as a measure.

Hi Fabien,
I implemented the workaround as suggested and I think it's almost working.
There is an issue downstream of this interpolated measure which gives me unexpected result and I'm not sure what the cause is.
The notebook "xva-collateral-atoti.ipynb" is in github here:
https://github.com/activeviam/perso-mwo-python-activepivot-xva-collateral/tree/full_atoti
The measure after shifting and interpolation is m["Shifted MtM Details"].
After that, it is chained to m["collateralbalance1"], m["collateralBalance2"] and finally m["Collateral Balance"].
When I visualise m["collateralbalance1"], I can see the correct values that comes from m["Shifted MtM Details"].
But when I visualise m["Collateral Balance"], it seems the values of m["collateralbalance1"] becomes all zeroes.
I am slicing a specific CSA with MPR "-30D" to simplify the check.
Would you be able to have a quick look and see if I missed something? You should be able to run the notebook directly after u checkout the branch.
Please feel free to contact me on Slack to get more details from me if it's not clear from the description here.
Thanks
Regards,
Ming Kong

Just to add to the above:

I use level in the condition of the workaround to shift differently that you suggested instead of measures. Could this be the problem?

If I do not use the above workaround, and just assign a native measure m["MtM.SUM"] to m["Shifted MtM Details"], then I do not see the downstream measure m["collateralbalance1"] become all zeroes.

# Calculate collateral balance based on CSA parameters like thresholds and haircuts
m["collateralBalance1"] = tt.where(
    (m["Shifted MtM Details"] != None) & (m["Shifted MtM Details"] > m["CptyMax"]),
    (m["Shifted MtM Details"] - m["CptyThreshold.VALUE"] + m["IndependentAmount.SUM"])
    * m["Haircut.VALUE"],
    tt.where(
        (m["Shifted MtM Details"] != None) & (m["Shifted MtM Details"] < m["BankMax"]),
        (
            m["Shifted MtM Details"]
            + m["BankThreshold.VALUE"]
            - m["IndependentAmount.SUM"]
        )
        * m["Haircut.VALUE"],
        m["IndependentAmount.SUM"],
    ),
)

Your where measure has quite a lot of intermediary steps. When debugging it I advise you to define the intermediary steps as measures and display them to see which step fails.
I have added the measures representing the conditions to your pivot table:
m["c1"] = (m["Shifted MtM Details"] != None) & (m["Shifted MtM Details"] > m["CptyMax"])
m["c2"] = (m["Shifted MtM Details"] != None) & (m["Shifted MtM Details"] < m["BankMax"])

These are almost always false so it returns m["IndependentAmount.SUM"] which is 0.0
I have no idea what you expect to be working differently so I let you investigate and tell me which step exactly is not what you expect

I try to define the intermediary steps as measures as such:
m["c2"] = (m["Shifted MtM Details"] != None) & (m["Shifted MtM Details"] < m["BankMax"])

m["collateralBalance When Shifted MtM above CptyMax"] = (
    m["Shifted MtM Details"] - m["CptyThreshold.VALUE"] + m["IndependentAmount.SUM"]
) * m["Haircut.VALUE"]
m["collateralBalance When Shifted MtM below BankMax"] = (
    m["Shifted MtM Details"] + m["BankThreshold.VALUE"] - m["IndependentAmount.SUM"]
) * m["Haircut.VALUE"]

m["collateralBalance1"] = tt.where(
    m["c1"],
    m["collateralBalance When Shifted MtM above CptyMax"],
    tt.where(
        m["c2"],
        m["collateralBalance When Shifted MtM below BankMax"],
        m["IndependentAmount.SUM"]
    ),
)

But it's throwing an error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-43-7128e1720a99> in <module>
     10 ) * m["Haircut.VALUE"]
     11
---> 12 m["collateralBalance1"] = tt.where(
     13     m["c1"],
     14     m["collateralBalance When Shifted MtM above CptyMax"],

~\Anaconda3\envs\atoti-0.4-plus\lib\site-packages\atoti\_functions\measure.py in where(condition, true_measure, false_measure)
    232
    233     else:
--> 234         raise ValueError(
    235             "Incorrect condition type."
    236             f" Expected {Union[BooleanMeasure, LevelCondition, MultiCondition]}"

ValueError: Incorrect condition type. Expected typing.Union[atoti._measures.boolean_measure.BooleanMeasure, atoti._level_conditions.LevelCondition, atoti._multi_condition.MultiCondition] but got <class 'atoti._measures.named_measure.NamedMeasure'>.

This is due to the bug #94, named measures cannot be used in the where. Just don't use m["c1"] and m["c2"] in the where

Hi Fabien,
I finally got the expected results after re-arranging the measure chain. I"m not sure if this is the best solution though, so I've abstracted a simplified example for your review and advice.
If you could pull from this full_atoti_test branch, you will find a ShiftExample.ipynb notebook which reads data from test_data folder.
The underlying measure is Value.SUM.
It is shifted by different number of days according to the CSAId, into measure Shifted Value.
I want the first 3 dates to have fixed value of -1, the remaining dates will have the shifted value, as shown in measure balance4 in the following screen grab.

I can choose to show the total aggregated across all CSAId, as in the following screen.

I did this by a chain of measures where I had to use one measure to check for the first 3 dates and return -1
m["TimePoint"] = lvl["TimePoint"]
m["balance1"] = tt.where(
    m["TimePoint"] < 3,
    -1,
)

and then chain it below to check if empty value, return the shifted value.
m["balance3"] = tt.where(m["balance2"] != None, m["balance2"], m["Shifted Value"])

When I try to combine them in one measure, I get partially correct result (only first 3 dates return -1, the rest are empty).
Could you see if this can be done so that the measure chain is simpler? Or generally any areas of improvement in the way the measures are defined?
Thanks.
Regards,
Ming Kong

Hello you can simplify a bit your merasures.
First define a timepoint measure with the single value so it is defined for each date without the need to express the timepoint level:
m["TimePoint"] = tt.agg.single_value(data_store["TimePoint"])

Then for each CSAId you can take either the shifted value or -1, and finally sum it:
m["balance"] = tt.agg.sum(
    tt.where(
        m["TimePoint"] >= 3,
        m["Shifted Value"],
        -1,
    ),
    scope=tt.scope.origin(
        lvl["CSAId"]
    ),
)

If that's OK for you can we close this issue ?

Thanks. Closing this issue.


research: ansible error message ansible_fact_cache permissions

could the following have any negative impact? It occurs on a prod customer system.
[WARNING]: error in 'jsonfile' cache, configured path (/tmp/ansible_fact_cache) does not have necessary permissions (rwx), disabling plugin

From Ansible:
Cache plugins allow Ansible to store gathered facts or inventory source data without the performance hit of retrieving them from source.

A disabled cache plugin decreases performance. On my local testmachine I find
$ ll /tmp
drwxrwxr-x  2 alf  alf  4096 Mar 14 11:16 ansible_fact_cache/

My best idea for a fix is to enhance user permission of /tmp/ansible_fact_cache/ to rwx

ok, thanks, but for security reasons I would really not like to do this.


Treesitter breaking update breaks markdown with colorscheme?

I have a link to my issue here, this link is a direct link to the comment where I figured out why.
https://github.com/NixOS/nixpkgs/issues/282614#issuecomment-1905664121
This is the thread that told me about it
https://github.com/MDeiml/tree-sitter-markdown/issues/131
But yeah treesitter made breaking updates that require colorscheme changes

OH! let me pin it forward and see then. nixpkgs wont get the update for another week or so.

Yep!! fixed!!


Support re-assignment of another failure domain when the machine failed to provision

Issue #352
Description of changes: CAPC chooses a random failure domain to deploy worker machines. When this VM deploy fails, irrespective of the type of error, CAPC will keep re-attempting to deploy a VM until CAPI replaces the owner machine. This change introduces a failure domain balancer with fallback mechanism, primary balancer selects failure domain from network with most free IPs and if it fails it fallbacks to random failure domain selection.
Testing performed:
make test
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test

/uncc chrisdoherty4

@jhaanvi5 What is the status/ETA for this PR?
I am going through the open issues and tasks for the next release of CAPC (v0.5.0). It would be good to have an estimate to decided whether to include this in v0.5.0 or not.
cc: @g-gaston @vignesh-goutham @vivek-koppuru

@vishesh92 Figuring this out, I think this is done for the most part so it would be great to get your review as well on this. This came as an ask so need to follow up based on whether any of these changed can't make it to the v0.5.0 release, but we would love to have it included pending review from you all!

@vishesh92 Figuring this out, I think this is done for the most part so it would be great to get your review as well on this. This came as an ask so need to follow up based on whether any of these changed can't make it to the v0.5.0 release, but we would love to have it included pending review from you all!

@vivek-koppuru I reviewed this PR a little bit and have same questions as @g-gaston . Could you please resolve/address the comments? This PR also has some conflicts now.


One more fix for the maboss containers

One quick fix for the maboss containers :

Fix the singularity container, which was missing the python libraries.
Pinned down the maboss C bindings to version 1.0.0b17, as the 1.0.0b18 introduced a bug.

I added two more fixes :

To the build_model_from_species oci-container : I had removed the download_database.py script, but forgotten to remove the copy and the call in the recipe.
To the physicell_covid19 oci-container : I added the python libraries needed for the replicate_analysis.

And one more fix :

The print_result oci-container was missing pyyaml python package

There is still one issue for me in the oci-containers : the single_cell container gives me an error message with Seurat :
Error: package or namespace load failed for 'Seurat' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 namespace 'htmltools' 0.5.5 is already loaded, but >= 0.5.7 is required
Execution halted


python311Packages.pykrakenapi: 0.3.1 -> 0.3.2

Diff: https://github.com/dominiktraxl/pykrakenapi/compare/v0.3.1...v0.3.2
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 268775 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.kraken
python310Packages.pykrakenapi
python310Packages.pykrakenapi.dist
python311Packages.pykrakenapi
python311Packages.pykrakenapi.dist


BUG: Many JAX tests fail on A100 because of TF32 math

Quite a few tests in the JAX test suite fail because of defaulting to TF32 math on A100.
The right fix would be to override the precision of the matmul/conv operations in those tests.
There's already a mechanism for this which works on TPU: jax.default_matmul_precision, and it could be used as a decorator on the relevant tests:
@jax.default_matmul_precision("float32")
def test(...):
   ...

This decorator has the effect of setting the precision attribute on HLO Dot and Conv operators. However, it seems that unfortunately this attribute is not yet plumbed through XLA and doesn't work.

@sudhakarsingh27

@pschuh once your CL goes in, can you reassign this bug to me and I'll take care of updating the tests?

The right fix would be to override the precision of the matmul/conv operations in those tests.

I'm not sure if this issue is still alive, but I think it would be better to change the default of the CUDA backend to respect the user's input datatypes (float32 in this case) by default instead of changing the tests.
PyTorch had a similar experience which caused issues for non-ML users.
https://dev-discuss.pytorch.org/t/pytorch-and-tensorfloat32/504

Indeed, this has been a persistent source of debate on TPU for a long time, which by default uses bf16 inputs with f32 accumulation for matrix multiplications (#7010). Either you default to low precision and scientific users opt into high precision, or you default to high precision and neural network users opt into low precision. No choice makes everyone happy.  One has a correctness footgun and the other has a performance footgun.
On TPU, we default to low precision but I am quite tempted to change it. On GPU we do the same thing (TF32 by default on Ampere).
Either way there are two issues here (a) make the mechanism for overriding the default precision work correctly on GPU and (b) what should the default be.
Let's scope this issue to "making the tests pass" for the moment, and have the other discussion on #7010.

Ah, that makes sense. I didn't see the older issue (#7010).

Let's scope this issue to "making the tests pass" for the moment

Sure. Seems reasonable. I just worry that can become a little "sticky" when in. But is likely a minor issue.
[tangent]
My slightly biased point of view (and how I found this issue) comes from me testing Graphcore's IPU against these implementations and getting larger differences than I expected.
[/tangent]

#13262 explicitly opts into high precision everywhere it seemed to matter for A100 in my tests. This does not preclude switching the default later.


能简单跟我们讲讲dva是如何封装的么

最近在看源码有点晕呼呼的，想让给讲讲思路 。谢谢~

co-ask

There is simplify fork version of dva.  It will help you to understand the concept. But reading the dva source code is not that hard.

这个我来写个详解吧。


Remove typo second domains directory in default domainHome

Working on getting these content changes into a current PR.  Will close this one once the new PR is ready.


v0.1.0

Fix: https://github.com/containers/youki/issues/2039

Codecov Report

Merging #2061 (51f1b47) into main (ebef6db) will decrease coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2061      +/-   ##
==========================================
- Coverage   64.82%   64.81%   -0.01%
==========================================
  Files         129      129
  Lines       14765    14765
==========================================
- Hits         9571     9570       -1
- Misses       5194     5195       +1


README/finishing touches

Add a proper README file, structure it in accordance with good readme practices, use the template readme  saved in the prework

make sure it includes what the challenge requires, as well as sources to the original code repo

add the original project readme file in as a guideline, call it something like guidelines.md
add more finishing touches, such as:

make sure everything that is supposed to be in the repo is there

add a screenshot of the finished page

completed in PR #7


[GOBBLIN-1361] Avoid conflicting ivysettings.xml in classpath

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
https://issues.apache.org/jira/browse/GOBBLIN-1361
Description

[x] Here are some details about my PR, including screenshots (if applicable):
We have seen many cases that when we need to load ivysettings.xml from classpath, there's already one provided by pending applications (e.g. Hive has one of its jar containing the ivysettings.xml), it is quite tricky to avoid conflicts with existing settings file. Instead we added a new file name to be loaded in the DownloadUtils to avoid conflicting names with guarantee of backward-compatibility.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@jack-moseley  @htran1  Can you help take a look ? thanks.

@jack-moseley  @htran1  Can you help take a look ? thanks.

Codecov Report

Merging #3202 (9ed8eaf) into master (2e60f22) will increase coverage by 37.12%.
The diff coverage is 47.26%.

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

Codecov Report

Merging #3202 (9ed8eaf) into master (2e60f22) will increase coverage by 37.12%.
The diff coverage is 47.26%.

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


Mnesia :bad_type error

Recently I changed the credential config from default ets to mnesia explained in the readme guide.
It has worked in dev, but error is popped out in prod. (Release made via Distillery and :mnesia is included in :extra_applications.
Any clue?
console
 9월 24 09:29:11 nohogu1 nohogu[4506]: Loading nohogu...
 9월 24 09:29:11 nohogu1 nohogu[4506]: Starting dependencies..
 9월 24 09:29:11 nohogu1 nohogu[4506]: Creating database if not exists...
 9월 24 09:29:11 nohogu1 nohogu[4506]: Running migrations...
 9월 24 09:29:12 nohogu1 nohogu[4506]: Success!
 9월 24 09:29:12 nohogu1 nohogu[4506]: 09:29:12.159 [info] Already up
 9월 24 09:29:14 nohogu1 nohogu[4506]: 09:29:14.948 [info] Running NohoguWeb.Endpoint with Cowboy using http://<IP_ADDRESS>:4000
 9월 24 09:29:14 nohogu1 nohogu[4506]: 09:29:14.994 [info] Application nohogu exited: Nohogu.Application.start(:normal, []) returned an error: shutdown: failed to start c
 9월 24 09:29:14 nohogu1 nohogu[4506]:     ** (EXIT) an exception was raised:
 9월 24 09:29:14 nohogu1 nohogu[4506]:         ** (CaseClauseError) no case clause matching: {:aborted, {:bad_type, Pow.Store.Backend.MnesiaCache, :disc_copies, :"nohogu@
 9월 24 09:29:14 nohogu1 nohogu[4506]:             (pow) lib/pow/store/backend/mnesia_cache.ex:144: Pow.Store.Backend.MnesiaCache.table_init/1
 9월 24 09:29:14 nohogu1 nohogu[4506]:             (pow) lib/pow/store/backend/mnesia_cache.ex:54: Pow.Store.Backend.MnesiaCache.init/1
 9월 24 09:29:14 nohogu1 nohogu[4506]:             (stdlib) gen_server.erl:374: :gen_server.init_it/2
 9월 24 09:29:14 nohogu1 nohogu[4506]:             (stdlib) gen_server.erl:342: :gen_server.init_it/6
 9월 24 09:29:14 nohogu1 nohogu[4506]:             (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
 9월 24 09:29:16 nohogu1 nohogu[4506]: {"Kernel pid terminated",application_controller,"{application_start_failure,nohogu,{{shutdown,{failed_to_start_child,'Elixir.Pow.St
 9월 24 09:29:16 nohogu1 nohogu[4506]: Kernel pid terminated (application_controller) ({application_start_failure,nohogu,{{shutdown,{failed_to_start_child,'Elixir.Pow.Sto
 9월 24 09:29:16 nohogu1 nohogu[4506]: [1B blob data]
 9월 24 09:29:16 nohogu1 nohogu[4506]: Crash dump is being written to: erl_crash.dump...done

config.ex
# Authentication
config :nohogu, :pow,
  user: Nohogu.Users.User,
  repo: Nohogu.Repo,
  web_module: NohoguWeb,
  web_mailer_module: NohoguWeb,
  mailer_backend: NohoguWeb.PowMailer,
	messages_backend: NohoguWeb.Pow.Messages,
	routes_backend: NohoguWeb.Pow.Routes,
	cache_store_backend: Pow.Store.Backend.MnesiaCache,
	session_store: {Pow.Store.CredentialsCache, ttl: :timer.minutes(60), namespace: "credentials"},
	session_ttl_renewal: :timer.minutes(30),
  extensions: [PowResetPassword, PowEmailConfirmation, PowPersistentSession],
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks

endpoint
  plug Plug.Session,
    store: :cookie,
    key: "_nohogu_key",
    signing_salt: "SOME_KEY"

  plug Pow.Plug.Session, otp_app: :nohogu

Distillery doesn't include the :mnesia app by default, so you'll have to explicitly state that it's an included application in your mix.exs for it to be built into your release:
defmodule MyApp.Application do
  use Mix.Project

  # ...

  def application do
    [
      mod: {MyApp.Application, []},
      extra_applications: [:logger, :runtime_tools],
      included_applications: [:mnesia] # <--- Add to :included_applications
    ]
  end

  # ...
end

I'm not sure if it'll be picked up in :extra_applications.

Also, if you experienced a failed start of your app the first time you deployed, because mnesia wasn't available, then remove the initialized mnesia data files in production and restart with the fixed version. I've experienced that these initialized files can't be used if the whole app is halted.

FWIW, I had trouble get this running myself the first time around. This was a production app with a few hundred daily visitors. The mnesia errors are difficult to read, but ever since I got the mnesia files initialized properly it has been working 100% of the time.

@jung-hunsoo did you get this working?

@danschultzer Oh sorry. I've been in other issues..
Yeap, it's working now. Both dev and prod works fine. Actually I don't know it's working properly. At least it showed no error.


Correct way to send AsyncReplayBuffers to new processes

I'm trying to do multi-GPU DistributedDataParallel training using an AsyncPrioritizedSequenceReplayFrameBuffer, and I'm having trouble passing a buffer created in the parent to child processes.  When I directly pass the buffer at initialization I receive the error
   File "/home/schwarzm/anaconda3/envs/pytorch/lib/python3.7/multiprocessing/spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
_pickle.UnpicklingError: NEWOBJ class argument isn't a type object

When I wrap the buffer in a cloudpickle wrapper before passing it, I instead see TypeError: can't pickle mmap.mmap objects.
From what I can tell, the function launch_optimizer_workers is directly passing such a buffer to it the created worker processes via self.algo -- is there some trick necessary to make this work?  Does each worker need to create a new copy of the buffer at process startup?  Launching workers with fork appears to avoid this issue, but it in turn makes it impossible to use CUDA in the child processes.

Hi, sorry for the slow reply!  This looks the same as #99, which talks about using spawn instead of fork, and it’s probably a problem with the namedarraytuple types.  Currently working on an alternative for this!

Hey @MaxASchwarzer, just pushed a bunch of work to master which introduces the NamedArrayTuple which should work with spawn as an alternative to namedarraytuple.  Want to give that a try and see if it works?  I think the simplest place to make the change will be to add the new kwarg like the following, inside your replay buffer wherever it calls: buffer_from_example(...,use_NatSchema=True), hopefully not too many edits for you.

Hi, @astooke , i 'v run into the same problem, already update code according to #99,
like in replays.py:
batch = SamplesFromReplay(all_observation=self.extract_observation(T_idxs, B_idxs, T + self.n_step_return), ...)
should edit to? -->
batch = SamplesFromReplay(all_observation=buffer_from_example(self.extract_observation(T_idxs, B_idxs, T + self.n_step_return)), ...)
BufferSamples = namedarraytuple("BufferSamples", field_names)
shoud edit to? -->
BufferSamples = NamedArrayTuple("BufferSamples", field_names)
am I doing it right?
NamedArrayTuple() seems got different params with namedarraytuple()

Almost!  Instead of
BufferSamples = NamedArrayTuple(...),
use:
BufferSamples = NamedArrayTupleSchema(...)
Then when you call x = BufferSamples(...), x will be an instance of NamedArrayTuple.

@astooke Got it, It's working!
one more question, I am trying envs fast to step but very slow to reset(like 30 secs), is there any way make collectors entirely async(one env reseting does not effect others envs sample), any advice?

@mxwells Oops somehow I missed your last question for a bit.  That is a very slow reset!  First thing to do would be to use any of the WaitReset collectors. These will skip env instances which need to reset during sampling, and will instead reset them in the background while the algorithm is training the agent.  (the data in a sample batch after the env hits done will be invalid, and all that masking is in place in the algos if you look for valid_from_done())
If even that seems too slow, maybe there is some scheme where you keep extra environment instances on hand, and only reset once all of the extra ones are used up, so you do them together and there is less straggler effect.  Could get kinda complicated.
Or if you can do anything to the env to speed up the reset :D  ?

cool! it was really helpful.

Great!
One thing to watch out for, if you're storing samples to a replay buffer and training from there, the usual uniform-sampling from replay might return invalid samples if you use the WaitReset collectors.  This could be fixed by adding a valid mask field to the replay buffer, storing into that using the result from valid_from_done() in the algo, and then using the stored valid value to mask to the training batch.
Come to think of it I should probably implement this, or if you'd like to give it a go let us know!

yeah i'd like to, might take sometime cuz i wanna let this extra environment idea lend first :D


Fix test failures resulting from Nokogiri bump (CVE-2022-24836)

This PR fixes white space test failures on ruby 2.6x and 2.7x
A further PR will be needed to address the errors on ruby 3.1.1

This PR was to address the ruby 2.x test failures. The ruby 3.x error will be resolved in a separate PR


feat: set all Staging services to use Lambda API

Summary
Switch the Staging API_HOST_NAME to use Lambda API for
all services.  This will allow us to test the behaviour before
rolling the change out to Production.
Related

#1053

What are you changing?

[ ] Releasing a new version of Notify
[x] Changing kubernetes configuration

Provide some background on the changes

Give details ex. Security patching, content update, more API pods etc

If you are releasing a new version of Notify, what components are you updating

[ ] API
[ ] Admin
[ ] Documentation
[ ] Document download API
[ ] Document download frontend

Checklist if releasing new version:

[ ] I made sure that the changes are as expected in Notify staging
[ ] I have checked if the docker images I am referencing exist

[ ] api lambda (requires Notification-Production / AdministratorAccess login)
[ ] api k8s
[ ] admin
[ ] documentation
[ ] document download API
[ ] document download frontend

Checklist if making changes to Kubernetes:

[ ] I know how to get kubectl credentials in case it catches on fire

After merging this PR

[ ] I have verified that the tests / deployment actions succeeded
[ ] I have verified that any affected pods were restarted successfully
[ ] I have verified that I can still log into Notify production
[ ] I have verified that the smoke tests still pass on production
[ ] I have communicated the release in the #notify Slack channel.

make diff-staging

< API_HOST_NAME=http://api.notification-canada-ca.svc.cluster.local:6011
---
> API_HOST_NAME=https://api.staging.notification.cdssandbox.xyz


Loadout and cosmetics don't save, even in-game

Tested with the latest commit of cso2-master-server and both cso2-launcher Release 0.60 and the latest launcher commit, neither loadouts nor cosmetics can be used in-game.
The F-loadouts can be selected in-game, but take no effect.
The cosmetics apply in the main menu, but the match selection screen and in-game default to the default character model.
None of the changes save upon exiting the game.
A console log of the master server can be found here. (edited to hide user name)

Works on my Raspberry Pi. Probable cause of this issue is the laptop (previous hosting device)'s extremely outdated CPU and lack of features.


📖 Add Michael Captain as a reviewer

What this PR does / why we need it:
Since Jan left the project, currently we have no one on the reviewers' list in the repository. For that reason, this PR removes Jan (@jan-est) from the reviewers' list and proposes to add Michael (@macaptain) to the list as agreed offline.

/assign @fmuyassarov @kashifest @russellb @maelk

/test-v1b1-integration

/cherry-pick release-0.1


Add rpc cheatcode: integrate cast rpc as cheatcode

Component
Forge
Describe the feature you would like
ref #2051
cast rpc allows sending rpc requests like  cast rpc eth_getBalance "0xa0ee7a142d267c1f36714e4a8f75612f20a79720" "latest"
it'd be useful to have this as general purpose cheatcode and also have some dedicated helper functions for eg. anvil_impersonateAccount
perhaps we can move this to a new Rpc Interface contract, wdyt @mds1 ?
Additional context
No response

Yea a vm.rpc cheat seems useful, in the past I've used ffi to deal tokens on anvil as part of a forge script but this would definitely be more convenient. Two questions:

What would be the UX? vm.rpc(string memory urlOrAlias, string memory method, string memory params)?  You'd have to format the JSON string manually which is a bit clunky but not terrible.
Should this be disabled by default?

an array of strings is probably sufficient, same as cast rpc works rn.
since this is POST I think we'd need another permission for this

Henlo, is there any way I can help implement this?

Would this cheatcode work with the in-process node? It'd be useful to call eth_estimateGas without needing to spin up a standalone Anvil node (ref #6590). I'm not familiar with Foundry's internals so I don't know if this is feasible :)

@sam-goldman I believe this cheatcode was actually implemented but not documented:
https://github.com/foundry-rs/foundry/blob/master/crates/cheatcodes/src/evm/fork.rs#L221
Did not try it out myself yet.

Correct @Tudmotu — this is implemented, just undocumented. I'd be great if someone takes it up, else I'll add the docs to the book soon :).

Closing as done & documented


maxsize windowrule broken

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland 0.45.0 built from branch main at commit bb160cfe377da2d2b2e4431a3399fa60114f3911 dirty (makefile: add stub to discourage direct make).
Date: Wed Nov 13 02:26:25 2024
Tag: v0.45.0-17-gbb160cfe, commits: 5450
built against aquamarine 0.4.5

flags set:
debug

System Information:
System name: Linux
Node name: milkbar
Release: 6.11.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 17:57:56 +0000

GPU information:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1) (prog-if 00 [VGA controller])
0c:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/ghost/.config/hypr/hyprland.conf: Read Succeeded
# Hyprland config file

# Environmental variables
#env = XDG_SESSION_TYPE,wayland
#env = XDG_SESSION_DESKTOP,Hyprland
#env = XDG_CURRENT_DESKTOP,Hyprland
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt6ct
#env = SDL_VIDEODRIVER,x11
env = CLUTTER_BACKEND,wayland
env = MOZ_ENABLE_WAYLAND,1
env = ECORE_EVAS_ENGINE,wayland_egl
env = ELM_ENGINE,wayland_egl
env = _JAVA_AWT_WM_NONREPARENTING,1
env = NO_AT_BRIDGE,1
env = XCURSOR_SIZE,24
#exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

#monitor = DP-1, 1920x1080@144, 1440x0  , 1
#monitor = DP-2, 1440x900@60  , 0x340   , 1
monitor = DP-1, 1920x1080@144, 1920x0  , 1
monitor = DP-2, 1920x1080@60 , 0x100   , 1
monitor = DP-3, 1440x900@60  , 3840x320, 1

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =
    numlock_by_default = true

    follow_mouse = 1

    touchpad {
        natural_scroll = false
    }

    sensitivity = -0.75 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 0
    gaps_out = 0

    border_size = 0

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = dwindle
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 0

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    shadow {
        enabled = false
        #range = 4
        #render_power = 3
        #color = (1a1a1aee)
    }

    blur {
        enabled = false
        #size = 3
        #passes = 1
    }
}

animations {
    enabled = false

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_status = master
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = false
}

misc {
    force_default_wallpaper = 0
}

binds {
    movefocus_cycles_fullscreen = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
#device:epic-mouse-v1 {
#    sensitivity = -0.5
#}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
windowrulev2 = noblur,class:^(xwaylandvideobridge)$

windowrulev2 = renderunfocused,class:^(looking-glass-client)$

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Workspace Bindings
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod, KP_End, workspace, 11
bind = $mainMod, KP_Down, workspace, 12
bind = $mainMod, KP_Next, workspace, 13
bind = $mainMod, KP_Left, workspace, 14
bind = $mainMod, KP_Begin, workspace, 15
bind = $mainMod, KP_Right, workspace, 16
bind = $mainMod, KP_Home, workspace, 17
bind = $mainMod, KP_Up, workspace, 18
bind = $mainMod, KP_Prior, workspace, 19
bind = $mainMod, KP_Insert, workspace, 20

bind = $mainMod SHIFT ALT, left, movecurrentworkspacetomonitor, l
bind = $mainMod SHIFT ALT, right, movecurrentworkspacetomonitor, r
bind = $mainMod SHIFT ALT, up, movecurrentworkspacetomonitor, u
bind = $mainMod SHIFT ALT, down, movecurrentworkspacetomonitor, d

bind = $mainMod, mouse_down, workspace, e-1
bind = $mainMod, mouse_up, workspace, e+1

# Window Bindings
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, KP_End, movetoworkspace, 11
bind = $mainMod SHIFT, KP_Down, movetoworkspace, 12
bind = $mainMod SHIFT, KP_Next, movetoworkspace, 13
bind = $mainMod SHIFT, KP_Left, movetoworkspace, 14
bind = $mainMod SHIFT, KP_Begin, movetoworkspace, 15
bind = $mainMod SHIFT, KP_Right, movetoworkspace, 16
bind = $mainMod SHIFT, KP_Home, movetoworkspace, 17
bind = $mainMod SHIFT, KP_Up, movetoworkspace, 18
bind = $mainMod SHIFT, KP_Prior, movetoworkspace, 19
bind = $mainMod SHIFT, KP_Insert, movetoworkspace, 20

bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d

bind = $mainMod, R, submap, resize
submap = resize
binde = SHIFT, left, resizeactive, -10 0
binde = SHIFT, right, resizeactive, 10 0
binde = SHIFT, up, resizeactive, 0 -10
binde = SHIFT, down, resizeactive, 0 10
binde = , left, resizeactive, -5 0
binde = , right, resizeactive, 5 0
binde = , up, resizeactive, 0 -5
binde = , down, resizeactive, 0 5
binde = ALT, left, resizeactive, -1 0
binde = ALT, right, resizeactive, 1 0
binde = ALT, up, resizeactive, 0 -1
binde = ALT, down, resizeactive, 0 1
bind = , escape, submap, reset
submap = reset

bind = $mainMod SHIFT, Q, killactive
bind = $mainMod, F, fullscreen
bind = $mainMod, E, togglesplit # dwindle
bind = $mainMod, P, pseudo # dwindle
bind = $mainMod SHIFT, SPACE, togglefloating

bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Media Bindings
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% #increase sound volume
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% #decrease sound volume
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
bind = , XF86AudioPlay, exec, playerctl play
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous

# Program Bindings
bind = $mainMod, Return, exec, uwsm app -- kitty
bind = $mainMod, D, exec, uwsm app -- kickoff
#bind = $mainMod, D, exec, uwsm app -- tofi-run | xargs hyprctl dispatch exec
bind = $mainMod SHIFT, M, exec, loginctl terminate-session "$XDG_SESSION_ID"
bind = , PRINT, exec, uwsm app -- hyprshot -m region -o /tmp -f $(date +%s%3N).png
bind = ALT, PRINT, exec, uwsm app -- hyprshot -m window -o /tmp -f $(date +%s%3N).png
bind = $mainMod, PRINT, exec, uwsm app -- hyprshot -m output -o /tmp -f $(date +%s%3N).png

# Global Hotkeys
#bindn = , Control_L, pass, ^(discord)$
bindn = , F10, pass, ^(com\.obsproject\.Studio)$

# Startup Programs
exec-once = uwsm app -- mako
exec-once = uwsm app -- waybar
exec-once = uwsm app -- easyeffects --gapplication-service
exec-once = sleep 3 && uwsm app -- keepassxc
exec-once = [workspace 1 silent] uwsm app -- librewolf
exec-once = [workspace 9 silent] uwsm app -- brave
exec-once = [workspace 7 silent] uwsm app -- discord
exec-once = [workspace 3 silent] uwsm app -- kitty
exec-once = [workspace 8 silent] uwsm app -- kitty
exec-once = sleep 3 && pactl set-sink-volume @DEFAULT_SINK@ 85%
exec-once = sleep 3 && pactl set-sink-volume easyeffects_sink 100%
exec-once = sleep 3 && pactl set-source-volume @DEFAULT_SOURCE@ 85%
exec-once = sleep 3 && pactl set-source-volume easyeffects_source 100%
exec-once = uwsm app -- send-ctrl-to-xwayland /dev/input/by-id/usb-04d9_USB_Keyboard-event-kbd

# Hacks
#windowrulev2 = nomaximizerequest,class:(mpv)

======Config-End========

Description
I have xwaylandvideobridge installed and running, and am using the ruleset from the wiki to fix the window as instructed,
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
windowrulev2 = noblur,class:^(xwaylandvideobridge)$

However, recently, maybe in the last month or so, I've noticed something in the middle of my screen (invisible) blocking my interaction with the window below that didn't used to be there. Turns out it's the xwaylandvideobridge window.
hyprctl clients confirms its size to be 100,100 which should not be the case,
Window 601095aec410 -> Wayland to X Recording bridge — Xwayland Video Bridge:
        mapped: 1
        hidden: 0
        at: 2830,490
        size: 100,100
        workspace: 1 (1)
        floating: 1
        pseudo: 0
        monitor: 0
        class: xwaylandvideobridge
        title: Wayland to X Recording bridge — Xwayland Video Bridge
        initialClass: xwaylandvideobridge
        initialTitle: Wayland to X Recording bridge — Xwayland Video Bridge
        pid: 1882
        xwayland: 1
        pinned: 0
        fullscreen: 0
        fullscreenClient: 0
        grouped: 0
        tags:
        swallowing: 0
        focusHistoryID: 3

Currently my solution is to send it to workspace 20 and ignore it.
How to reproduce
Start xwaylandvideobridge with the suggested windowrules and check hyprctl clients or interact with the center of the workspace it's in.
Crash reports, logs, images, videos
No response

uhhh, iirc xwayland windows are allowed to do funky stuff otherwise they freak out, idk if we can fix this


Export the charts to a graphic file format

Is there a way by which we can export the charts generated by this library to a graphic file format ?

That would be great! Any help ?


False If resulting in next handlebars block not being evaluated correctly

First of all great work on the c# handlebars engine. We have come across a bug where by when an if block results to false the preceding handlebars pure html block is not evaluated correctly.
Here is a failing test we have written to simulate the issue described.
[Test]
public void FailingBasicTripleStash()
{
string source = "{{#if a_bool}}{{{dangerous_value}}}{{/if}}Hello, {{{dangerous_value}}}!";

var template = Handlebars.Compile(source);

var data = new
{
a_bool = false,
dangerous_value = "
There's HTML here
"
};

var result = template(data);
Assert.AreEqual("Hello,
There's HTML here
!", result);
}

Thanks,
We Are Colony Dev Team.

When I run the test, I get an encoded output instead of the expected un-encoded output. Is that also what you see?

Yes so here it the result of the test when I am running it.
Expected string length 36 but was 52. Strings differ at index 7.
Expected: "Hello, There's HTML here!"
But was:  "Hello,
There's HTML here
!"

Updated NuGet 1.1.3


Feature/visual feedback improvements

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bump indirect deps

Description
Bump indirect deps

Codecov Report
Patch and project coverage have no change.

Comparison is base (75df55d) 100.00% compared to head (4a302c3) 100.00%.

: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.
Additional details and impacted files
@@            Coverage Diff            @@
##            master       #29   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          201       201
=========================================
  Hits           201       201

Flag
Coverage Δ

featurestests-Linux
74.62% <ø> (ø)

unittests-Linux
65.67% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


bug(cdk/menu): With NVDA enabled, keyboard focus doesn't show up

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
keyboard focus is not working on CDK menu. But seems cdkMenuBar is working fine..
Reproduction
Steps to reproduce:

https://material.angular.io/cdk/menu/examples#cdk-menu-standalone-menu
check below GIF for the issue

Expected Behavior
With NVDA enabled, keyboard focus can't be focused on first item. And arrow key should be working fine
Actual Behavior
With NVDA enabled, keyboard focus doesn't focus on first item.  And arrow key not working fine
Environment

Angular: 15
CDK/Material: 15
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

@crisbeto If you are the right person for this, could you help me check on this? Actually, I did checked the DOM element,  all the aria role seems right in the trigger button and menu.
I don't know why? Currently, I use cdkMenuBar has only one cdkMenuItem  as a workaround.  But from my team member testing, seems cdkMenuBar has the same issue in macOS VoiceOver. But standalone menu working fine on VoiceOver..


1603 - Design Parking System

Description of the Problem
Design a parking system for a parking lot. The parking lot has three kinds of parking spaces: big, medium, and small, with a fixed number of slots for each size.
Implement the ParkingSystem class:
ParkingSystem(int big, int medium, int small) Initializes object of the ParkingSystem class. The number of slots for each parking space are given as part of the constructor.
bool addCar(int carType) Checks whether there is a parking space of carType for the car that wants to get into the parking lot. carType can be of three kinds: big, medium, or small, which are represented by 1, 2, and 3 respectively. A car can only park in a parking space of its carType. If there is no space available, return false, else park the car in that size space and return true.
Code
class ParkingSystem:
    def __init__(self, int big, int medium, int small)

    def addCar(self, int carType) -> bool

Example 1:
Input
["ParkingSystem", "addCar", "addCar", "addCar", "addCar"]
[[1, 1, 0], [1], [2], [3], [1]]
Output
[null, true, true, false, false]
Link To The LeetCode Problem
LeetCode

Please assign this issue to me


Display FW_CODE along with FW_VERSION

@moinmoin-sh I have added these constants to each of the firmwares at the top of the sketches. The version is just used for display purposes but the FW_CODE is used to generate the MQTT client id (e.g. <FW_CODE>-<MAC_ADDRESS>).
Currently you have URC hardcoded in the LCD library - it might be good to pass FW_CODE along with FW_VERSION when initialising the LCD and using this instead?

You're right. This is one of the left overs from the OLED lib. So we're going to pass 2 parameters to draw_logo(FW_CODE, FW_VERSION)

Yeah - or potentially FW_NAME (would need to be added) to be more
descriptive?
Would be nice to see OXRS-SHA-StateMonitor-ESP32-FW pop up to make it
very clear what is running.
On 5/09/2021 9:44 pm, moinmoin-sh wrote:

You're right. This is one of the left overs from the OLED lib. So
we're going to pass 2 parameters to draw_logo(FW_CODE, FW_VERSION)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SuperHouse/OXRS-SHA-LCD-ESP32-LIB/issues/1#issuecomment-913119084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGTR2TLG3AXJ4CS3246OILUAM3WRANCNFSM5DOS627Q.

I basically agree, but there is limited width on the display. I'm using mostly mono (fixed width) fonts for structured and predictable display. For Name and Version a proportional font coud be used to be able to display more characters per line. Name and version should not use more that one line on the display and also the font shouldn't be smaller. Need to test how long the string can be

Yes - agree - could it scroll?
On 5/09/2021 9:56 pm, moinmoin-sh wrote:

I basically agree, but there is limited width on the display. I'm
using mostly mono (fixed width) fonts for structured and predictable
display. For Name and Version a proportional font coud be used to be
able to display more characters per line. Name and version should not
use more that one line on the display and also the font shouldn't be
smaller. Need to test how long the string can be
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SuperHouse/OXRS-SHA-LCD-ESP32-LIB/issues/1#issuecomment-913121081,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGTR2VOFAOVJ7H5PU6HGQ3UAM5GVANCNFSM5DOS627Q.

Scrolling is not delivered by the lib. The disadvantage I see is that scrolling would require permanet display updates (SPI data transfer) . This increases the loop time (= decreases the scan rate of the MCP's) which in turn effects responsitivity and debouncing.
An alternative could be to show the full version string at startup and replace it later on with the structured screen

Ok - lets see how long it can be - open to suggestions for the best way forward - you know this stuff better than me!


expect_i18n doesn't work inside server functions

^^

Because the context is not inside the server, but in the client. Raises:
thread '<unnamed>' panicked at leptos-fluent/src/lib.rs:337:27:
I18n context is missing, use the leptos_fluent!{} macro to provide it.

Despite the context is created both sides, on SSR and CSR.
I'm not sure if it would be possible to set the context on server side using the web server frameworks, or if something like that is possible to do with Leptos. Do you know about an example of a server side context?
Anyways, it is even a good practice to translate something in your API? You can always store the translations in the client and return a code from the server function.

@mondeja In my particular use case I need to get a list of all languages (IDs) and the fallback language. I know I can just read ./locales dir, but it's not very neat.

For languages:

Pass them as argument to the server function, expect_i18n().languages. Pros: no memory in the server. Cons: more bandwidth usage.
Read from the locales dir or your languages file. Pros: less bandwidth usage. Cons: slower, handcrafted.

For the fallback language, opened https://github.com/XAMPPRocky/fluent-templates/pull/71 to expose it from fluent_templates. The bandwidth usage would be really minimal in this case, so I would pass as an argument to the server function. After the release of that PR, it would be available at expect_i18n().translations.fallback.
I'm open to other alternatives but doesn't seem doable to store the whole translations context in the server, not even in other more complicated use cases.


what's the format of ner_dataset.pk or how to generates it

thanks for asking :-)
first run pre_seq/gene_map.py; then run pre_seq/encode_data.py, which would give you ner_dataset.pk.


request: Add enumeration diagnostics to output

When using --each-feature or --feature-powerset, its not often clear where the progress is in the overall scheme of things.
It would be nice if these flags added diagnostic info showing something like:
info: `cargo hack --each-feature` target 4 of 10

info: `cargo hack --each-feature` target 4 of 300

Fixed in 0.3.4.


Detect printer paper ended

I have CUSTOM Engineering TG2480H printer in kiosk.
Can I programmatically detect what printer paper is ended?
When I extract paper roll from printer - web administrator page shows what a printer in idle state. But not shows what is no paper

That's because cupsd does not poll the printer constantly to see what its state is, just when there is a job active. And then it depends on the printer driver or backend to report that paper is out...


Auth instead of Database

Instead of using the database to handle user authentication, the application should leverage a dedicated authentication service or middleware (such as Google, Firebase or a similar auth provider) to verify users' identities and manage their access.

Opened a PR https://github.com/SRN-SE-Fall24/CookSmart/pull/4 for this issue.

I've merged the PR.
Remove the alerts of signup and login maybe?

Yes will remove those in a separate PR.


WIFI password viewers

Script Title - Able to see passwords of connected wifis
what will change - Adding script
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

Hello @pawangeek, I would like to work on this, can you assign this to me? please.

okay, fine


Spelling errors in English words: respone ==> response

Spelling errors in English words: respone ==> response

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (8af3617) 83.09% compared to head (b736550) 83.09%.

Files
Patch %
Lines

debug/debug_trace.go
0.00%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #382   +/-   ##
=======================================
  Coverage   83.09%   83.09%
=======================================
  Files          48       48
  Lines        1946     1946
=======================================
  Hits         1617     1617
  Misses        261      261
  Partials       68       68

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


Automatic login support request

I request this, because someone I know is still using freenode, but  would consider leaving, but this is a feature he says that libera chat doesn't have.
And he says he doesn't have time to constantly login manually...
If you want to say that I am the one requesting it, fine, but yeah...
I wondered if you could add this option.

Hi, a fellow Libera user here. I'm not sure what's meant by "automatic login"; SASL perhaps? Libera has instructions for SASL and also for CertFP. Hope this helps.

I'll check this out, thanks, I'll close for now in case this is what he wants... :)
Appreciated!


Support flag for status policy

The default behavior is still to use --status-policy=all. The option is there for users that want to avoid the status behavior for various reasons. In our case, we use kpt live apply in our CI/CD pipelines, but don't need it saving statuses for all resources into the inventory. Thus, we want to be able to pass --status-policy=none.
I created a partner PR in https://github.com/kubernetes-sigs/cli-utils/pull/637. The idea is to have that merged first and then rely on that flagutils func in this PR.
If this flag has been intentional withheld from users, can we consider having this flag hidden instead?

Rebased on main; the failing checks seems unrelated and go generate works locally after rebase.

Failure looks unrelated; let me know if I should rebase again.

/retest

Thank you @fsommar - there's some code repetition here in the existing code (it looks like we started live.NewClusterClientFactory but never really finished it).
I'm OK to merge as-is, but I also am checking whether I have permissions to merge https://github.com/kubernetes-sigs/cli-utils/pull/637

Looks like I don't have permissions, so I'm going to apply hold & approve & lgtm.  If you want to merge before the cli-utils PR, just remove the hold :-)
/approve
/lgtm
/hold

I've upgrade to the latest cli-utils release with my changes and cleaned up the history.
/assign justinsb

/hold cancel

The PR that removes Porch from the repo has merged. Can you rebase this one and it should address most of the test failures?

It went through without tests running 😅 At least they were passing locally. I noticed too late that I accidentally included the go version files in the porch directory after rebasing


⚠ Bofrost.de has degraded performance

In 5732c5d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1451 ms

Resolved: Bofrost.de performance has improved in 651d8dc after 13 minutes.


Fix .more dissapearing on chrome >= 45

At the time of writing chrome>=45 broke navigation positioning when
using the .more class making the parent container position relative
fixes this issue.
Unfortunately submenu's don't work either in chrome>=45 but I don't have
enough time to look at it right now.
fixes #332

By broken @DropsOfSerenity means the .nav-link.more don't show on Desktop, but they do on mobile. Hovering in one of the .nav-link.more while on mobile, and going back to Desktop (resizing the window) seems to fix the issue: all .nav-link.more and .submenu work as expected.
This fix, doesn't fix nested .submenus.

@leonelgalan thanks for the clarifications.

This is a little over my head but apparently our Wordpress friends reported it first: https://code.google.com/p/chromium/issues/detail?id=509179 and it will be fixed on Chrome 47.
Two workarouds are suggested: chrome://flags/#disable-slimming-paint solution or #adminmenu { transform: translateZ(0); }. Of course can't change the settings in all users' computers and #adminmenu is a wordpress element, which I'm not sure to what refill's element to apply.
On Wordpress bug tracker there is a third solution that worked well with refills: $('#js-navigation-menu').hide().show(0);, since we already have a .js file, I don't see the harm, as a work around.

@DropsOfSerenity thanks for fixing this. @leonelgalan I'm looking into your comment now.

@DropsOfSerenity, @leonelgalan ooops, this issue is still valid. I had to revert this PR since on the iPhone, the menu just kept open all the time. Or did I do it wrong? Please advice if you find anything!

Yeah, and remember that as written this PR won't fix nested .submenus and my fix is barely a workaround.

@Magnus-G Yeah i'm unsure of what can entirely fix this, I tried some of the fixes in @leonelgalan and none of them worked consistently on my end of things.

Turning on disable-slimming-paint had no effect on my menus – still not visible.
I am also unable to see the menus using Chrome 47.0.2510.0 canary (64-bit). I'm wondering if ours might be a different problem from the Wordpress issue.

I haven't had enough time to look at this again yet since i'm on a different project now. It seemed to be that the hover of the sub-submenu isn't registering. When I manually toggle hover state in the dev tools the sub-submenu appears.

Using the latest Chrome 46.0.2490.80 (64-bit) (Desktop) and Chrome 46.0.2490.76 (Mobile) the only thing that has work for me is:
# As of 3fba715bfcbc78ea449e0645af08ed3dec7a6220
$(document).ready ->
  # ...
  $('#js-navigation-menu').hide().show()
  menuToggle.click()

Without the second line the menu will show open on mobile phones. This far from a fix, but it might help someone.