[flutter_adaptive_scaffold] unnecessary rebuilds when checking if breakpoint is active

Steps to reproduce

invoke Breakpoints.<BREAK-POINT>.isActive(context) somewhere in your code.
interact with the app in a way that would change any property of MediaQuery, like changing the OS theme, opening the keyboard, etc.

Code sample
Code sample
class MyScreen extends StatefulWidget {
  const MyScreen({super.key});

  @override
  State<MyScreen> createState() => _MyScreenState();
}

class _MyScreenState extends State<MyScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Text('last rebuild: ${DateTime.now()}'),
            const TextField(
              decoration: InputDecoration(hintText: 'open keyboard to trigger rebuilds'),
            ),
            FilledButton(
              onPressed: () {
                Breakpoints.small.isActive(context);
              },
              child: const Text('press to trigger the bug'),
            ),
          ],
        ),
      ),
    );
  }
}

What target platforms are you seeing this bug on?
Android, iOS
OS/Browser name and version | Device information
Android 14
Does the problem occur on emulator/simulator as well as on physical devices?
Yes
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale en-SA)
    • Flutter version 3.19.5 on channel stable at /Users/waleed/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (3 weeks ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/waleed/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.86.2)
    • VS Code at /Users/waleed/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (3 available)
    • SM F731B (mobile)           • R5CW7235F3F   • android-arm64 • Android 14 (API 34)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64  • macOS 14.3.1 23D60 darwin-arm64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@waleedf112
I tried your code sample and observed that if we open and close keyboard, the timestamp changes. Is this what you are calling as unnecessary rebuild ?
If so, please check if this resembles your case or not, which also discusses about MediaQuery.of(context).

@waleedf112 I tried your code sample and observed that if we open and close keyboard, the timestamp changes. Is this what you are calling as unnecessary rebuild ? If so, please check if this resembles your case or not, which also discusses about MediaQuery.of(context).

they are similar, it's not only caused by the keyboard, changing the device's theme, system language, device orientation, also triggers a rebuild.
the root cause is the same, it's MediaQuery.of(context) that gets invoked within the isActive(context) method, modifying it to MediaQuery.sizeOf(context) fixes the issue.

Thanks for the update. Is it only occuring or specific to flutter_adaptive_scaffold or just using MediaQuery.of(context), and changing the device's theme, system language, device orientation, also triggers a rebuild ?

Thanks for the update. Is it only occuring or specific to flutter_adaptive_scaffold or just using MediaQuery.of(context), and changing the device's theme, system language, device orientation, also triggers a rebuild ?

MediaQuery.of(context) triggers a rebuild whenever any property changes like the device theme, language, etc. that's the expected behavior, but within the scope of flutter_adaptive_scaffold's method breakpoint.isActive(context), the only trigger should be the width of the device screen.
look at this PR.
as a user of the flutter_adaptive_scaffold package, I have no control over the rebuilds caused by the package.

Thanks for the update and potential fix. I was able to replicate the reported behavior.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (4 days ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.22.0-11.0.pre.15, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.22.0-11.0.pre.15 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 08bae320c5 (86 minutes ago), 2024-04-16 00:06:18 -0400
    • Engine revision 66ad802178
    • Dart version 3.5.0 (build 3.5.0-61.0.dev)
    • DevTools version 2.35.0-dev.8
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Use Hamcrest assertions instead of JUnit in integrations/cdi/datasource-ucp - backport 2.x (#1749)

Part of #1749
I've already signed OCA. It's an automation problem.
Original PR

/oca-checked

/trigger


Test against the newset version of ruby 2.1 (2.1.8)

I know the discussion about how to write .travis.yml
(https://github.com/amatsuda/kaminari/issues/520), but
now Travis CI runs against ruby 2.1.5 and I think which is not
we indend to test against.
I know it is boring work to update the file along with
every 2.1.x patch release, but it is necessary to keep
test environments to be latest :(

Thanks!


guest user and logged in user handling on cart page

Description
This PR fixes:

Delivery Form and Contact Form render based on auth (logged in user Vs  guest)  --> Fixed
TotalPrice Component always shows delivery charges when no item in cart --> Fixed
when Cart is Empty,  Cart page will render message "your Cart is Empty"
CSS on Contact Form and Delivery Info -> Fixed
Cart page CSS align as per wireframe.
add/remove to favorite form shopping cart -> fixed
guest user click on favorite icon -> does not do anything

This PR must be merge after PR #245
Fixes #246 #253
How to test?
npm run dev
got to http://localhost:3000/cart/
please clear your localStorage before testing by running localStorage.clear(); in your console
test with logged in user

contact form and delivery info shall render properly
add/remove favorite from cart

test without logged in

contact form and delivery info will be hidden, when user is not logged in.
nothing will happened on "add to favorite"

Checklist

[x] I have performed a self-review of my own code
[x] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[ ] This PR is ready to be merged and not breaking any other functionality

Also need to work on Responsiveness of the page.

if you are linking to cart page. Please give the right path to access cart page.

If we dont need the user id : need to remove from the menu path for this cart icon.

to: -
Accepted.  will remove the id from cart link

Hi Varsha Really good job 👍. I approved this PR. Just I want one things from you. Can you add .cart-page front of every CSS classes from cartPage.style.css? Simon was talked about that and still working about this CSS changes. Thank you

But you should fix merge conflict first

Done

Its working fine. Just need to remove the id part from its path on the Menu component.

done 👍

Thanks to all for reviewing and approve this PR 👍


CASMINST-5544: Be more precise in setting postgres leader pod variable

(cherry picked from commit 58d5a5c1c0f952e6d5d9267726cf7cdd54fec83a)
Description
Backport of https://github.com/Cray-HPE/docs-csm/pull/2708
The failure reported in CASMINST-5544 does not happen in csm-1.2, but that is just due to the fact that the variable is only dereferenced without double quotes. The variable itself still contains the extraneous whitespace. Therefore, it still makes sense to backport this fix so that the variable gets the correct value.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.0


Does any body have done same thing with Jetson Nano

Hi, Developers, I want to do the same thing in the Jetson Nano. Can you suggest what things I have to do?

Although the Jetson Nano uses the same type of camera as the Pi, the GPU is completely different.
This software has 2 main parts. The first is the web facing display and control which is held here in this repository. The second is the back-end raspimjpeg service (held at https://github.com/roberttidey/userland). This provides the interface to the camera and the GPU, and to respond to controls from the web front end.
I'd suggest you look first at the Jetson Nano SDK and in particular the V4L2 API to see how you can control it and provide similar facilities to the raspimjpeg process.


Can’t make ctrld work with Docker.

Hi folks.
I’m trying to setup ctrld with Compose.
Here is my yml:
version: "3"
services:
  ctrld:
    container_name: ctrld
    image: controldns/ctrld:1.3.1
    command: --config=/config/ctrld.toml
    restart: unless-stopped
    # dns:
    #   - <IP_ADDRESS>
    #   - <IP_ADDRESS>
    #   - <IP_ADDRESS>
    #   - <IP_ADDRESS>
    network_mode: "host"
    # ports:
    #  - <IP_ADDRESS>:53:53/tcp
    #  - <IP_ADDRESS>:53:53/udp
    volumes:
      - ./config:/config

The commented out lines were attempts that failed.
Here is my toml config file:
[service]
  log_level = 'debug'
  cache_enable = true
  cache_size = 4096
  cache_ttl_override = 60
  cache_serve_stale = true
  dhcp_lease_file_path = ''
  dhcp_lease_file_format = ''
  discover_ptr = false

[listener]
  [listener.0]
    ip = '<IP_ADDRESS>'
    port = 53

    [listener.0.policy]
      networks = [
        {        'network.0' = ['upstream.0']}
      ]

[network]
  [network.0]
    name = 'Everyone'
    cidrs = ['<IP_ADDRESS>/0']

[upstream]
  [upstream.0]
    name = 'Control D - pi4'
    type = 'doh'
    endpoint = 'https://dns.controld.com/<MY_PERSONAL_RESOLVER>'
    bootstrap_ip = '<IP_ADDRESS>'
    ip_stack = 'split'
    timeout = 500

Here’s what I see in the logs:
$ docker compose up
[+] Running 1/1
 ✔ Container ctrld  Created                                                                                0.2s
Attaching to ctrld
ctrld  | Nov 16 09:28:55.000 INF starting ctrld v1.3.1
ctrld  | Nov 16 09:28:55.000 INF os: linux unknown
ctrld  | Nov 16 09:28:55.000 INF using bootstrap IP for upstream.0 bootstrap_ip=<IP_ADDRESS>
ctrld  | Nov 16 09:28:55.000 DBG checking default route interface iface=eth0
ctrld  | Nov 16 09:28:55.000 DBG found ip with default route interface ip=<IP_ADDRESS>
ctrld  | Nov 16 09:28:55.000 DBG start hosts file discovery
ctrld  | Nov 16 09:28:55.000 DBG start dhcp discovery
ctrld  | Nov 16 09:28:55.000 INF starting DNS server on listener.0: <IP_ADDRESS>:53
ctrld  | Nov 16 09:28:55.000 DBG start arp discovery
ctrld  | Nov 16 09:28:55.000 DBG start mdns discovery
ctrld  | Nov 16 09:28:57.000 DBG sending doh request to: <IP_ADDRESS>:443
ctrld  | Nov 16 09:28:59.000 DBG sending doh request to: <IP_ADDRESS>:443
ctrld  | Nov 16 09:29:00.000 DBG start checking DNS loop
ctrld  | Nov 16 09:29:00.000 DBG sending doh request to: <IP_ADDRESS>:443
ctrld  | Nov 16 09:29:02.000 WRN could not send DNS loop check query for upstream: "Control D - pi4", endpoint: "https://dns.controld.com/<RESOLVER>" error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=B_….\": dial tcp <IP_ADDRESS>:443: i/o timeout”
ctrld  | Nov 16 09:29:02.000 DBG end checking DNS loop

…

ctrld  | Nov 16 09:29:09.000 DBG [bb367d] <IP_ADDRESS>:37724 -> listener.0: [::]:53: received query: A static.ui.com
ctrld  | Nov 16 09:29:09.000 DBG [b528eb] <IP_ADDRESS>:57918 -> listener.0: [::]:53: received query: A ping.ui.com
ctrld  | Nov 16 09:29:09.000 DBG [626229] <IP_ADDRESS>:57167 -> listener.0: [::]:53: received query: AAAA static.ui.com
ctrld  | Nov 16 09:29:09.000 INF [bb367d] , network.0, no rule -> [upstream.0]
ctrld  | Nov 16 09:29:09.000 INF [626229] , network.0, no rule -> [upstream.0]
ctrld  | Nov 16 09:29:09.000 DBG [626229] including client info with the request
ctrld  | Nov 16 09:29:09.000 DBG [626229] sending query to upstream.0: Control D - pi4
ctrld  | Nov 16 09:29:09.000 DBG [bb367d] including client info with the request
ctrld  | Nov 16 09:29:09.000 DBG [bb367d] sending query to upstream.0: Control D - pi4
ctrld  | Nov 16 09:29:09.000 INF [b528eb] , network.0, no rule -> [upstream.0]
ctrld  | Nov 16 09:29:09.000 DBG [b528eb] including client info with the request
ctrld  | Nov 16 09:29:09.000 DBG [b528eb] sending query to upstream.0: Control D - pi4
ctrld  | Nov 16 09:29:09.000 DBG [bb367d] sending request header header={"Accept":["application/dns-message"],"Content-Type":["application/dns-message"],"X-Cd-Ip":["<IP_ADDRESS>"],"X-Cd-Mac":[""],"X-Cd-Os":["3-2-"]}
ctrld  | Nov 16 09:29:09.000 DBG [b528eb] sending request header header={"Accept":["application/dns-message"],"Content-Type":["application/dns-message"],"X-Cd-Ip":["<IP_ADDRESS>"],"X-Cd-Mac":[""],"X-Cd-Os":["3-2-"]}

….

ctrld  | Nov 16 09:29:09.000 DBG [f86792] sending doh request to: <IP_ADDRESS>:443
ctrld  | Nov 16 09:29:09.000 DBG found hostname: "HomePod", ip: "fe80…" via mdns
ctrld  | Nov 16 09:29:09.000 DBG found hostname: "HomePod", ip: "192…." via mdns
ctrld  | Nov 16 09:29:09.000 DBG found hostname: "HomePod", ip: "fd59…" via mdns
ctrld  | Nov 16 09:29:09.000 DBG found hostname: "HomePod", ip: "fd59:…" via mdns

…

ctrld  | Nov 16 09:29:11.000 ERR [b528eb] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=2_EBAAA…\": dial tcp <IP_ADDRESS>:443: i/o timeout"
ctrld  | Nov 16 09:29:11.000 ERR [b528eb] all [upstream.0] endpoints failed
ctrld  | Nov 16 09:29:11.000 DBG [b528eb] received response of 29 bytes in 2.010673136s
ctrld  | Nov 16 09:29:11.000 ERR [bb367d] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=-IYBAA…\": dial tcp <IP_ADDRESS>:443: i/o timeout"
ctrld  | Nov 16 09:29:11.000 ERR [bb367d] all [upstream.0] endpoints failed
ctrld  | Nov 16 09:29:11.000 DBG [bb367d] received response of 31 bytes in 2.011439164s
ctrld  | Nov 16 09:29:11.000 ERR [8a9df5] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=3xUB…\": dial tcp <IP_ADDRESS>:443: i/o timeout"
ctrld  | Nov 16 09:29:11.000 ERR [60a9a0] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=OusBA…\": dial tcp <IP_ADDRESS>:443: i/o timeout"
ctrld  | Nov 16 09:29:11.000 ERR [60a9a0] all [upstream.0] endpoints failed
ctrld  | Nov 16 09:29:11.000 DBG [60a9a0] received response of 31 bytes in 2.007688392s
ctrld  | Nov 16 09:29:11.000 ERR [626229] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/<RESOLVER>?dns=fIkBA…\": dial tcp <IP_ADDRESS>:443: i/o timeout"
ctrld  | Nov 16 09:29:11.000 ERR [626229] all [upstream.0] endpoints failed
ctrld  | Nov 16 09:29:11.000 DBG [626229] received response of 31 bytes in 2.017269857s
ctrld  | Nov 16 09:29:11.000 ERR [8a9df5] all [upstream.0] endpoints failed

What am I doing wrong?

Tested with ctrld binary from dev channel directly:
$ sudo ctrld start --config /home/pi/ctrld/config/ctrld.toml
Nov 16 10:39:04.000 NTC Starting service
Nov 16 10:39:05.000 DBG waiting for ctrld listener to be ready
Nov 16 10:39:11.000 DBG ctrld listener is ready
Nov 16 10:39:11.000 DBG performing self-check
Nov 16 10:39:31.000 DBG self-check: [v1] backoff: 1069 msec
Nov 16 10:39:34.000 DBG self-check: [v1] backoff: 621 msec
Nov 16 10:39:36.000 DBG self-check: [v1] backoff: 846 msec
Nov 16 10:39:39.000 DBG self-check: [v1] backoff: 2056 msec
Nov 16 10:39:43.000 DBG self-check: [v1] backoff: 1367 msec
Nov 16 10:39:47.000 DBG self-check: [v1] backoff: 2124 msec
Nov 16 10:39:51.000 DBG self-check: [v1] backoff: 3125 msec
Nov 16 10:39:56.000 DBG self-check: [v1] backoff: 3280 msec
Nov 16 10:40:01.000 DBG self-check: [v1] backoff: 4275 msec
Nov 16 10:40:07.000 DBG self-check: [v1] backoff: 3612 msec
Nov 16 10:40:13.000 DBG self-check: [v1] backoff: 3496 msec
Nov 16 10:40:18.000 DBG self-check: [v1] backoff: 3512 msec
Nov 16 10:40:22.000 DBG self-check against "verify.controld.com" failed
Nov 16 10:40:22.000 DBG ================================
Nov 16 10:40:22.000 DBG listener address       : <IP_ADDRESS>:53
Nov 16 10:40:22.000 DBG last error             : read udp <IP_ADDRESS>:39220-><IP_ADDRESS>:53: i/o timeout
Nov 16 10:40:22.000 ERR ctrld service may not have started due to an error or misconfiguration, service log:
Nov 16 10:40:22.000 ??? ================================
Nov 16 10:40:22.000 ??? Nov 16 10:39:05.000 INF starting ctrld dev-b33ac34
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 INF os: linux Debian GNU/Linux 11 (bullseye) (6.1.21-v8+)
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG setting DNS for interface iface=eth0
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG dns: [rc=resolvconf resolvconf=openresolv ret=openresolv]
Nov 16 10:39:06.000 DBG dns: using "openresolv" mode
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG setting DNS successfully iface=eth0
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 INF using bootstrap IP for upstream.0 bootstrap_ip=<IP_ADDRESS>
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG checking default route interface iface=eth0
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG found ip with default route interface ip=<IP_ADDRESS>
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG start hosts file discovery
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG start dhcp discovery
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 INF starting DNS server on listener.0: <IP_ADDRESS>:53
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG start arp discovery
Nov 16 10:40:22.000 ??? Nov 16 10:39:06.000 DBG start mdns discovery
Nov 16 10:40:22.000 ??? Nov 16 10:39:08.000 DBG sending doh request to: <IP_ADDRESS>:443
Nov 16 10:40:22.000 ??? Nov 16 10:39:10.000 DBG sending doh request to: <IP_ADDRESS>:443
Nov 16 10:40:22.000 ??? Nov 16 10:39:10.000 DBG found hostname: "HomePod", ip: "fe80:…" via mdns
Nov 16 10:40:22.000 ??? Nov 16 10:39:10.000 DBG found hostname: "HomePod", ip: "fd59:…" via mdns
Nov 16 10:40:22.000 ??? Nov 16 10:39:10.000 DBG found hostname: "HomePod", ip: "fd59:…" via mdns
Nov 16 10:40:22.000 ??? ================================
Nov 16 10:40:23.000 DBG Restoring DNS for interface iface=eth0
Nov 16 10:40:25.000 DBG dns: [rc=resolvconf resolvconf=openresolv ret=openresolv]
Nov 16 10:40:25.000 DBG dns: using "openresolv" mode
Nov 16 10:40:25.000 DBG Restoring DNS successfully iface=eth0
Nov 16 10:40:25.000 NTC Service uninstalled

Tried using AdGuard Home and adding ControlD resolver as upstream.
Adguardhome  | 2023/11/16 09:47:08.965666 [info] upstream "https://dns.controld.com/<RESOLVER>" fails to exchange: couldn't communicate with upstream: requesting https://dns.controld.com:443/<RESOLVER> Get "https://dns.controld.com:443/<RESOLVER>?dns=AAAB…": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
```

Which seems similar to what ctrld is getting. Other DOH upstreams work just fine in AdGuard Home.

Which seems similar to what ctrld is getting. Other DOH upstreams work just fine in AdGuard Home.

So sounds like it's not ctrld problem, but your network having problem with connecting to ControlD upstream.
Could you resolve thing using other protocols?

So sounds like it's not ctrld problem, but your network having problem with connecting to ControlD upstream.

My understanding is quite the opposite. All other DOH clients I used were able to resolve and work with the ControlD upstream, being ctrld the exception here.

Could you resolve thing using other protocols?

Tried DOQ with the same results.

Bootstrap address (<IP_ADDRESS>) is wrong. The correct one is <IP_ADDRESS>

Bootstrap address (<IP_ADDRESS>) is wrong. The correct one is <IP_ADDRESS>
dig +short dns.controld.com
<IP_ADDRESS>

Thanks. Still didn't work.
My docker compose:
name: ctrld
services:
    ctrld:
        container_name: ctrld
        network_mode: host
        volumes:
          - /home/pi/ctrld/config.toml:/config.toml
        image: controldns/ctrld
        # command: --cd=XXXXX
        command: --config /config.toml

My TOML config:
[service]
  log_level = 'info'
  cache_enable = true
  cache_size = 4096
  cache_ttl_override = 60
  cache_serve_stale = true
  dhcp_lease_file_path = ''
  dhcp_lease_file_format = ''
  discover_ptr = false

[listener]
  [listener.0]
    ip = '<IP_ADDRESS>'
    port = 53

    [listener.0.policy]
      networks = [
        {        'network.0' = ['upstream.0']}
      ]

[network]
  [network.0]
    name = 'Everyone'
    cidrs = ['<IP_ADDRESS>/0']

[upstream]
  [upstream.0]
    name = 'Control D - pi4'
    type = 'doh'
    endpoint = 'https://dns.controld.com/XXXXX'
    bootstrap_ip = '<IP_ADDRESS>'
    ip_stack = 'split'
    timeout = 500

Still seeing error in logs:
Dec 10 22:14:08.000 INF starting ctrld v1.3.1
Dec 10 22:14:08.000 INF os: linux unknown
Dec 10 22:14:08.000 INF using bootstrap IP for upstream.0 bootstrap_ip=<IP_ADDRESS>
Dec 10 22:14:08.000 INF starting DNS server on listener.0: <IP_ADDRESS>:53
Dec 10 22:14:14.000 WRN could not send DNS loop check query for upstream: "Control D - pi4", endpoint: "https://dns.controld.com/xxxx" error="could not perform request: Get \"https://dns.controld.com/xxxx?dns=RlkBAAABAAAAAAAACDAzZGRiZjM4BHRlc3QAABAAAQ\": dial tcp <IP_ADDRESS>:443: i/o timeout"
Dec 10 22:14:24.000 INF [d4ddee] , network.0, no rule -> [upstream.0]
Dec 10 22:14:24.000 INF [54faf1] , network.0, no rule -> [upstream.0]
Dec 10 22:14:25.000 ERR [d4ddee] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/xxx?dns=rP4BIAABAAAAAAABBnJlZGRpdANjb20AAAEAAQAAKRAAAAAAAAAA\": context deadline exceeded"
Dec 10 22:14:25.000 ERR [d4ddee] all [upstream.0] endpoints failed
Dec 10 22:14:25.000 ERR [54faf1] failed to resolve query error="could not perform request: Get \"https://dns.controld.com/xxxx?dns=rP4BIAABAAAAAAABBnJlZGRpdANjb20AAAEAAQAAKRAAAAAAAAAA\": context deadline exceeded"
Dec 10 22:14:25.000 ERR [54faf1] all [upstream.0] endpoints failed
Dec 10 22:15:14.000 WRN could not send DNS loop check query for upstream: "Control D - pi4", endpoint: "https://dns.controld.com/xxxx" error="could not perform request: Get \"https://dns.controld.com/xxxx?dns=9QgBAAABAAAAAAAACDAzZGRiZjM4BHRlc3QAABAAAQ\": dial tcp <IP_ADDRESS>:443: i/o timeout"
Dec 10 22:16:14.000 WRN could not send DNS loop check query for upstream: "Control D - pi4", endpoint: "https://dns.controld.com/xxxx" error="could not perform request: Get \"https://dns.controld.com/xxx?dns=fdgBAAABAAAAAAAACDAzZGRiZjM4BHRlc3QAABAAAQ\": dial tcp <IP_ADDRESS>:443: i/o timeout"

Can your network and/or container even access/ping <IP_ADDRESS>? Based on the above, it cannot.


Bad __declspec(noreturn) example

The example on __declspec(noreturn) uses the attribute to avoid warnings regarding missing return statements. However, the example uses int main which is guaranteed by the standard to return 0 - even if no return statement is issued.
I suggest using any other function to illustrate the benefit of the functionality.

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

ID: 415b2ec5-015d-3db4-2fe1-2ec6f843757b
Version Independent ID: 3420886f-4874-cf7d-fc1b-4f42becf5d76
Content: noreturn
Content Source: docs/cpp/noreturn.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

True. Will add to the queue.


All the Emails are sending after restarting the tomcat container.

Hi ,
i was using the simple java mail to send email for my application.The below are my application details
Simple java mail version :  5.0.3
Spring version : 5.3.23
Java: 11
Tomcat : 9.0.54
Docker CE Engine : 18.09.0
Docker Compose : 1.23.2  or later
OS : Linux/Redhat
Code used
_// Email buileder
Mailer mailer = MailerBuilder
.withSMTPServer("smtp.host.com", 587<EMAIL_ADDRESS>"password")
.withTransportStrategy(TransportStrategy.SMTP_TLS)
.withSessionTimeout(10 * 1000)
.withProperty("mail.smtp.ssl.checkserveridentity","false")
.buildMailer();
mailer.sendMail(email);_
Error Scenario
After deployed the docker container , The application running was triggering mails and i was receiving the emails also after few minutes i'm not receiving any emails. After restarting the tomcat docker container the old emails and everything i was receiving.
Please look into this ASAP
Thanks.
Elavarasan S.

Yeah this has nothing to do with Simple Java Mail, which doesn't maintain any state between application restarts. Simple Java Mail will only ever send anything if instructed to do so by the application using it.


Chunked

Added chunking to requests to avoid server overload and reduce memory usage. Also added feature to remove duplicates found within batches. Duplicates are found using every value in a feature object (including geometry and objectID) so the feature count from the server might not match the number of records exported.

Decided against the distinct objects


Unreliable URI Versioning Check Regex

Minify version: 2.1.3
PHP version: 5.2.10

What steps will reproduce the problem?
1. Request minify resource such as http://servername/path/to/min.php?
g=main&1273622062
2. Check Cache-Control response header
3.

Expected output:
'Cache-Control	max-age=31536000, public'

Actual output:
'Cache-Control	max-age=1800, public'
Did any unit tests FAIL? (Please do not post the full list)
N/A

My Diagnosis:

The regex '/&\\d/' in min/index.php at Line 49 (ver: 2.1.3, 60 in 2.1.4
branch, 54 in trunk) will not match a $_SERVER['QUERY_STRING'] that has
properly escaped ampersands.

The following regex matches both escaped and unescaped ampersands in my
tests: '/(&|&)([\d]+)/'

Original code:
49. if (preg_match('/&\\d/', $_SERVER['QUERY_STRING'])) {
50.     $min_serveOptions['maxAge'] = 31536000;
51. }

My Replacement:
49. if (preg_match('/(&|&)([\d]+)/', $_SERVER['QUERY_STRING'])) {
50.     $min_serveOptions['maxAge'] = 31536000;
51. }

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 12 May 2010 at 1:35

You're double-escaping the ampersand.

This is the (perfectly valid) URL you want:
  http://mrclay.org/min/g=js&1273622062
This is the same URL escaped for HTML:
  <script src="http://mrclay.org/min/g=js&1273622062"></script>
The browser converts "&" to "&" during parsing, hence, the browser requests the
"right" URL and the original code matches fine.

Original comment by<EMAIL_ADDRESS>on 12 May 2010 at 4:57

Changed state: Invalid


Add search api integration for object store

Describe your changes :

I worked on the ..... because ...

Type of change :

[x] New feature

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@nahuelverdugo addressed your comments


Add FIPS build.

This PR adds a new Dockerfile using an Alpine base with OpenSSL compiled in FIPS-mode and a binary built with boringcrypto.
💔Thank you!

 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.

Probably fails on the file fixed in https://github.com/smallstep/step-kms-plugin/pull/118/commits/4bdb0d2e92264b4488d9faa30a0a76a5db18e132.

See https://github.com/smallstep/cli/pull/1076#pullrequestreview-1763148191

Closed in favor of #120


Fix typos in config_fast_builds.toml

From https://github.com/TheBevyFlock/bevy_new_2d/pull/317 plus a few other changes.

do you know why this file isn't checked by the typo CI?

CI uses the crate-ci/typos action, which has info on this in its FAQ: https://github.com/crate-ci/typos?tab=readme-ov-file#why-was--not-corrected

EDIT: Following this, it seems we have ignore-hidden set to true (which is the default value) so typos skips the .cargo/ directory.

Thanks!
I think it could be worth a try to check if disabling that doesn't raise too many issues

I think it could be worth a try to check if disabling that doesn't raise too many issues

The output seems good to me if we also explicitly exclude .git. I can make a separate PR for this.


feat: auto npm publish

support npm publish by Github Action automatically.

@skunight
you need to set ${{ secrets.NPM_TOKEN }} in settings / secrets / action.


Attempt to support variable($register) form

A naive attempt at #3
I successfully parsed a trivial example:
.data

list: .word 5, -6, 8, -4, 7, 3
len: .word 6

.text main:
  li $t1, 3
  j get_n

get_n:
  lw $t2, len
  blt $t1, 1, end bgt $t1, $t2, end
  subi $t1, $t1, 1
  mult $t1, $t1, 4

  lw $t3, list($t1)

end:
  li $v0, 0
  syscall

Compilation is currently untested... Is the easiest way to test this to compile saturn with this version of titan?

Testing this now locally.

Confirmed this works, merging locally.


XIVY-12741 Add images to inscription view news

good; but I'd consider to do it again in white .. I think our news website is mainly white ... and also the screenshots taken so far.

 Let's do it again in light :)


cli.utils.runWatch timeout is too long?

Right now, there's a 500ms debounce timer on runWatch() that makes the rebuild happen 500ms after the last event has been seen.
I understand that the intention is to try to wait a bit before doing an unnecessary rebuild if multiple files are being saved. But there are two issues:

500ms is a small eternity for fast save-rebuild-reload feedback (and there's also the actual build time).
FSWatcher ASyncIterator will do the right thing if multiple files are being detected at the same time. I.e., if we do any setTimeout it will happen after all the FSWatchers are done. The FSWatcher async iterator will always happen before (if it actually detects a file change).

I've tested this on my machine by editing multiple files and saving them all (with "save all" on my editor).
With a setTimeout(callback, 0) I still get a single reload that detects all the changes before (the 2 events for each file, etc).
No matter what the debounce time is, it probably won't be fast enough for multiple manual saves, so we are only really ready for automatic saves (i.e., save all). I understand that theoretically there may be machines that take XXms to save files, but that's probably not common (or at least not very relevant for save-rebuild?).
That said, I'd suggest moving this to 0, but I'd be happy with either a much much smaller number (less than 10ms?) or with a way to set this with a config. WDYT?

Hi, @fserb
Yes, perhaps 500ms is too much. Maybe the native Deno.watchFS works better now, but previously in my computer, it returned multiple iterations with different files or the same file multiple times. So after make a change (or even without making a change but just opening a file), Lume built the site twice or more times. Perhaps it depends on the OS (in my case I have a iMac with SSD).
Anyway, the debounce can be much more smaller (100 or 200ms is enough, I guess) because we are using two watchers: one for the src folder to build the site and other for the dest folder to reload the browser so, in the worst case, the time to wait to see a change in the browser after saving is the double (for 500ms of debounce, you should wait 1000ms).
I'll change that (or if you want to work on a PR, feel free). But I won't release a new version this week because I'll be out the next 4 days.


Failed to load resource: the server responded with a status of 404 (Not Found) for both index.js and index.css

Hi,
npm run dev starts electron, loads index.html but nothing is shown on the page. Error shown in the title written to the console for index.js and index.css. On any source change the app restarts but the page is blank again.
electron-esbuild version is 4.0.0.
One thing I noticed is main.js and preload.js are copied to both dist/main and dist/renderer directories but index.js and index.css are not. index.html is copied to dist/renderer too. Presumably that is the cause of being able to load html but not to load js and css.
Thanks in advance.

Hi, can you share me a repository?

Thank you for the reply.
Here it is: https://github.com/MuratOzsoyler/test-electron-esbuild.git

Let me check it later. I thini found one possible solution.

Ok, this is a regression from electron-esbuild@4
Thanks to you, I'll fix it.

Fixed in 4.0.1

Working as expected now.
Thank you for your efforts and building this awesome tool. I'll play with it for sometime I suppose.
Regards...


Use -delete instead of | xargs rm

Pull Request Checklist

[x] Have you read How to write the perfect pull request?
[x] Have you read through the contributor guidelines?
[x] Have you squashed your commits?
[x] Have you added copyright headers to new files?
[x] Have you suggest documentation edits?
[x] Have you added tests for any changed functionality?

Fixes
Fixes #xxxx
Purpose
What does this PR do?
Background Context
Why did you take this approach?
References
Are there any relevant issues / PRs / mailing lists discussions?
Handles bash separators etc. correctly.

Thanks


Add forth

Adds the forth exercise.
This was a tough (and fun!) one to implement (granted I wrote a Lexer), so I gave it a difficulty of 3 (although I'm not sure how that gets used).  I am open to suggestions on the example implementation.  I am not sure if the input should be an array or just a string, I am leaning towards a string since that is more natural for parsing a language.
Forth.evaluate(": DUP-TWICE DUP DUP ; 1 DUP-TWICE")

vs
Forth.evaluate([": DUP-TWICE DUP DUP ;", "1 DUP-TWICE"])

I removed the hardcoding of "tests" in the template, I think that is best left up to the generator implementation.
It was also a PITA to parse the json for this exercise, so that might be a bit messy.
I also had an issue which I noticed from https://github.com/exercism/xcrystal/pull/57 where I needed to fix empty arrays, so there might be some way to reduce that duplication going forward.

so I gave it a difficulty of 3 (although I'm not sure how that gets used)

I think this will be used for sorting or searching or something. Not sure if any of that is implemented yet.

Is this exercise available in other tracks? I couldn't find it.
Or... is there a way to list all exercises regardless of a language?

Is this exercise available in other tracks? I couldn't find it.

Yup, we can find the answer at: http://x.exercism.io/problems/forth

is there a way to list all exercises regardless of a language?

The answer to this one is all directories in https://github.com/exercism/x-common/tree/master/exercises


Update Unsupported Appium features

Removed installApp and UpgradeApp mentions as it is now supported
https://docs.saucelabs.com/mobile-apps/automated-testing/appium/test-app-upgrades/

Checked in dev https://docs.dev.saucelabs.net/dev/test-configuration-options/ looks good!


Batch size dramatically drop when training EfficientNetB4 comparing with InceptionV3

[Environment] GeForce RTX 2080 11GB
The max batch size dramatically drop to 8 in training EfficientNetB4 with 1 GPU, while the bacth size is 64 in training InceptionV3.

EfficientNetB4 vs InceptionV3
Params 19M vs 24M
Input size 380 vs 299
Max Batch size 8 vs 64

Thanks for any help.

Hi, yes this is not so memory efficient due to swish activation


Refresh Button

Refresh Button definetely required for the resource packs.
And if possible, even a texture preview system on MiEx so we can test the resource pack if works or not instead of 1000 times exporting to blender because solid color change on the MiEx not completely enough to see a difference.

A refresh button has been added to MiEx. You can get the latest version with this button here: https://github.com/BramStoutProductions/MiEx/releases/tag/v1.6.0


metrics:wait all metric data ready

If the metrics data consume slowly. we should wait

@alex-zaitsev

@sunsingerus please review

@sunsingerus

@sunsingerus

Implemented as timeout-ed value in version 0.14.0
To be released soon


CFP: mac spoofing protection

Cilium Feature Proposal
Thanks for taking time to make a feature proposal for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your proposed feature related to a problem?
In current implementation, there is no mac spoofing protection. It adds security concerns when ENABLE_ARP_PASSTHROUGH is present since ARP will be
Describe the feature you'd like

source mac of traffic from the container should match pod-side veth mac
arp response from the container should match pod-side veth IP and mac

(Optional) Describe your proposed solution

add feature flag for mac spoof check
expose pod-side veth mac to bpf code through macro like NODE_MAC
check source mac address for the traffic in from-container
check arp response in from-container

For longer proposals, you are welcome to link to an external doc (e.g. a Google doc). We have a Cilium Feature Proposal template to help you structure your proposal - if you would like to use it, please make a copy and ensure it's publicly visible, and then add the link here.
Once the CFP is close to being finalized, please add it as a PR to the design-cfps repo for final approval.

@aojea

Thanks for logging this request @shen-cloud.
I don't think it will be actionable without some more information though - currently the justification section is not complete.

In current implementation, there is no mac spoofing protection. It adds security concerns when ENABLE_ARP_PASSTHROUGH is present since ARP will be

If you could please update this with some more detail, including explaining more why you feel that this creates security concerns, and how your proposed approach will manage those concerns, then we may be able to proceed.

Updated the justification section. Please let me know if you need more clarifications.

Thanks for that @shen-cloud, this seems reasonable. I'll mark this with the correct labels so that it can proceed. I recommend trying to make it to a community meeting to talk about this CFP if you would like to speed the process up.

In current implementation, there is no mac spoofing protection. A malicious pod in a Kubernetes cluster can use the ARP protocol to spoof the IP address of another pod on the same node.

@shen-cloud AFAIK this can only happen when the veth interfaces are connected to a bridge, if the interfaces are connected to the host directly I think the mac spoofing attack is not possible
 ip route
default via <IP_ADDRESS> dev eth0 proto dhcp src <IP_ADDRESS> metric 1024
<IP_ADDRESS> dev gke5704b41048c scope link
<IP_ADDRESS> dev gkeb6e004a4593 scope link
<IP_ADDRESS> dev gke6c0ff2ef011 scope link
<IP_ADDRESS> dev gkeeb651ff9e59 scope link
<IP_ADDRESS> dev gke56d91121867 scope link
<IP_ADDRESS> dev gkec9033c7b339 scope link
<IP_ADDRESS> dev gkeb2afbac543c scope link
<IP_ADDRESS> dev gke59f0af01da9 scope link
<IP_ADDRESS> dev gke7f1834ff0dd scope link
<IP_ADDRESS> dev gke56ac0065a20 scope link
<IP_ADDRESS> dev gke4b1eadb3301 scope link
<IP_ADDRESS> dev gkee5340c752c5 scope link
<IP_ADDRESS> dev gke080d905f1a3 scope link
<IP_ADDRESS> dev gke4f04b641acc scope link
<IP_ADDRESS> dev gke4d71cb5889d scope link
<IP_ADDRESS> dev gke5e0b9a91f25 scope link
<IP_ADDRESS> dev gkefdeae4002b6 scope link
<IP_ADDRESS> dev gke1f6d7f4d677 scope link
<IP_ADDRESS> dev gkecaf864712ac scope link
<IP_ADDRESS> dev gkeedd6637cbaf scope link
<IP_ADDRESS> dev gke8a4191b7cd9 scope link
<IP_ADDRESS> dev gke748404942ab scope link
<IP_ADDRESS> dev gke677c5c25764 scope link

please keep this open as the commit is currently in review


Customize search component and blog results

Copied search components from Nextra and customized search to include blog post content in results.

LGTM from a usage perspective -- tagging @josephschorr for the JS review


PERF-#6710: Don't materialize index in _groupby_shuffle internal function

What do these changes do?

Length materialization is in most cases cheaper than index materialization.

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #6710
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

Length materialization is in most cases cheaper than index materialization.

It depends on which cache is available right now. If we're willing to do this kind of optimization, I would propose to add a __len__() method for ModinDataframe that would compute the length either using index or row lengths cache, depending on which information it has materialized right now

Length materialization is in most cases cheaper than index materialization.

It depends on which cache is available right now. If we're willing to do this kind of optimization, I would propose to add a __len__() method for ModinDataframe that would compute the length either using index or row lengths cache, depending on which information it has materialized right now

@dchigarev I added __len__.


[Question] Exclude Certain flavor & Build Type

My project currently has 17 flavor & 4 build type, that means 68 combination of build type & flavor task and additional task generated for each combination. I have managed to exclude flavor & build type using the following script
gradle.taskGraph.whenReady { graph ->
    if (project.hasProperty("onlyDebug")) {
        def targetTaskPatterns = [
                /(?i).*androidTest.*/
                , /(?i).*UnitTest.*/
                , /(?i).*Release.*/
                , /(?i).*Benchmark.*/
                , /(?i).*BenchmarkKotlin.*/
                , /(?i).*MockKotlin.*/
                , /(?i).*Mock.*/
                , /(?i).*Production.*/
                , /(?i).*PreSubAutomation.*/
                , /(?i).*Preprod.*/
                , /(?i).*Sit04.*/
                , /(?i).*Sit03.*/
                , /(?i).*Sit02.*/
                , /(?i).*Sit01.*/
                , /(?i).*Publicsit.*/
                , /(?i).*Sandbox2.*/
                , /(?i).*Sandbox.*/
                , /(?i).*Integration06.*/
                , /(?i).*Integration05.*/
                , /(?i).*Integration04.*/
                , /(?i).*Integration03.*/
                , /(?i).*Integration02.*/
                , /(?i).*Integration01.*/
        ]

        graph.allTasks.each { task ->
            targetTaskPatterns.each { pattern ->
                if (task.name =~ pattern) {
                    println("Match pattern to disable")
                    println(task.name)
                    task.enabled = false
                }
            }
        }
    }
}

However, it seems task "> A failure occurred while executing com.autonomousapps.tasks.ComputeAdviceTask$ComputeAdviceAction"
still expect all flavor and build type to be compiled somehow because i got this error
"app/build/reports/dependency-analysis/integration01DebugTest/graph/graph-compile.json (No such file or directory)"
Is there a way to exclude certain flavor & build type so i can run this plugin faster without compiling all combination of flavor & build type ?
Thank you

Aditionally, I was able to make it run only 1 combination of build type & flavor by manually comment out build type & flavor.

What i am looking for is like Sonarcube configuration where you can choose certain build flavor so you dont run all combination of build types and flavor
sonarqube {
    androidVariant 'dev01Debug'
    ...
}

Thanks for the question. Your methodology for excluding variants (disabling tasks) is not the right way to go about it. Instead, please use the appropriate AGP API. See the docs here.

If anyone having the same problem with me, i have found a solution:

Separate your build types & flavor into separate file.
in build.gradle, apply from the files, for example :

apply from: '../buildsystem/buildtypes.gradle'

if you want to run only 1 build type and 1 flavor, just create copy of buildtypes.gradle & flavors.gradle with different name with only 1 build type & 1 flavor inside.
replace the original buildtypes.gradle & flavors.gradle if you wish to build 1 build type and 1 flavor in a jenkins pipeline

Thanks for the question. Your methodology for excluding variants (disabling tasks) is not the right way to go about it. Instead, please use the appropriate AGP API. See the docs here.
Alternatively, you could use the flag -Pdependency.analysis.android.ignored.variants=variant1,variant2,variant3 to ignore specific Android variants. This is since v1.18.0.

Thank you, i'll check this out

Variant exclusion does not work for all use cases. For example, as far as I can see, disabling instrumented tests can only be achieved by disabling their tasks (and dependency.analysis.android.ignored.variants does not help here)

I found a workaround for this: exclude this plugin from blanked task disabling. I do this by checking javaClass.name.startsWith("com.autonomousapps"). It's not ideal, but at least it doesn't crash.

Hey, I could check your hypothesis this week.
If I could reproduce I would even try to figure out and fix this behaviour.

👋 @sboishtyan and thanks so much for jumping right into that to help out, much appreciated. I am really looking forward to whatever insights you can find on this issue, good luck! 🍀

@ParaskP7 Could you provide a set up branch for me. Because according to your README file I should setup a project. But I think it would be better if you do it for me.
And also we could use that branch in the future for reproduce problems

👋 @sboishtyan !

@ParaskP7 Could you provide a set up branch for me. Because according to your README file I should setup a project. But I think it would be better if you do it for me.

For sure, I actually left you a note on that on my initial comment above, see below:

[!NOTE]
You will find these changes within the build/dependency-analysis-android-gradle-plugin branch, just in case you would like to clone/pull the repo/branch and experienced it for yourself.

As such, you can use this branch.
FYI: In general, the only think you would really need after cloning this repo is to copy-paste the gradle.properties-example file into gradle.properties and that's it, as simple as: cp gradle.properties-example gradle.properties
Let me know how that works for you! 🙏
PS: Please ignore all the other setup steps (like the OAuth2 Authentication and Configuration Files sections) as those are for when you actually want to test the project. This setup is not needed for building purposes.

And also we could use that branch in the future for reproduce problems

Exactly! 💯

Hi @ParaskP7
So I checked out your branch
Then I commented code in ignored_variants.gradle
Then I added a line to gradle.properties
dependency.analysis.android.ignored.variants=vanillaDebug,vanillaRelease,wasabiDebug,jalapenoDebug,jalapenoRelease
Then I ran ./gradlew --dry-run buildHealth
And then I saw the expected output that everything except wasabiRelease was excluded from the analysis
worked_output.txt
So, I propose you apply those changes and check the output.
In case of incorrect result please add an extra commit to your branch where you configure thedependency.analysis.android.ignored.variants property

👋 @sboishtyan and thank you for looking into it, much appreciated! 🙇

Then I added a line to gradle.properties
dependency.analysis.android.ignored.variants=vanillaDebug,vanillaRelease,wasabiDebug,jalapenoDebug,jalapenoRelease
Then I ran ./gradlew --dry-run buildHealth
And then I saw the expected output that everything except wasabiRelease was excluded from the analysis
worked_output.txt

Ah, actually, you are right, with this dependency.analysis.android.ignored.variants configuration that you present above, those variants are indeed being excluded. I didn't realize that you need to add each variant like that. For some reason, I was trying the following configuration instead:
dependency.analysis.android.ignored.variants=release,vanilla,jalapeno
I was (incorrectly) thinking that the above is enough to exclude all the release build type kind of variants, and then the vanilla + jalapeno product flavor kind of variants. However, it seems that we need to explicitly add each variant in that configuration. Thanks so much for this clarification. 🙏
Btw, just for completeness purposes, for me to be able to run buildHealth the way I intended it to, I also needed to add debug into the dependency.analysis.android.ignored.variants configuration you shared. Otherwise, the debug build type on all library related modules would NOT be excluded. Maybe this is what confused me in the first place... 🤷
So ultimately, what is working for me and this project is the following configuration, that is if I want for the dependency analysis to run for the wasabiRelease app variant and the release lib variants only:
dependency.analysis.android.ignored.variants=debug,vanillaDebug,vanillaRelease,wasabiDebug,jalapenoDebug,jalapenoRelease

FYI: For this other WordPress-Android project that I am also working on, which has a more complicated product flavor configuration, based on above, I had to then apply the following configuration, it worked: 🎉
dependency.analysis.android.ignored.variants=release,wordpressVanillaDebug,wordpressVanillaRelease,wordpressWasabiDebug,wordpressWasabiRelease,wordpressJalapenoRelease,jetpackVanillaDebug,jetpackVanillaRelease,jetpackWasabiDebug,jetpackWasabiRelease,jetpackJalapenoRelease
The above would run the dependency analysis for the jetpackJalapenoDebug app variant and the debug lib variants only.
Again, I was initially trying something like the below, thinking it should work:
dependency.analysis.android.ignored.variants=release,wordpress,vanilla,wasabi
Question (❓): Wouldn't the above configuration be feasible with an update. Or, is it better to be explicit, enumerating exactly which variants one would like to ignore, wdyt? 🤔

No matter, your answer solved my issue and any concerns. I can now effectively use this dependency.analysis.android.ignored.variants=xyz configuration. Thanks you so much for all the work! 🥇
Suggestion (💡): Btw, do you think it is maybe worth adding a wiki page explaining all what we discussed here? Maybe also providing to any readers with examples on how to properly use this configuration, especially when product flavors are involved.

@ParaskP7 I agree that without the context it's easy to misinterpret what set as a value to a flag.
@autonomousapps What do you think about adding extra explanations and examples to flag dependency.analysis.android.ignored.variants
I could add a PR and also add a link to this issue

My thinking with the original property name is that "variant" in the Android world has always referred to the full variant name, that is, the combination of buildType and flavor. The way this is implemented is very simple:
androidComponents.onVariants { variant ->
  if (variant.name !in ignoredVariantNames) {

I worry about the complexity of handling buildType vs flavor separately, and trying to somehow interpret the user's meaning. Better documentation would certainly be useful though. I appreciate the feedback 👍
For the record, PRs are also welcome, but I may decide not to accept a patch if I think the additional complexity is too much to maintain (I'm the sole maintainer of this project).


To do

[x] Htop
[ ] Vpn
[ ] Test every component
[ ] Install ownCloud (just use rc.local, should be easy to setup.)
[ ] Add owncloud move data dir option
[ ] Samba
[ ] Backups
[x] Landscape-common (have a whiptail that shows the system stats)
[ ] Change country repo options
[ ] Vnc
[ ] Firewall rules for every atomic package
[ ] Change all terminal questions and ok's to whiptails
[x] Figure out progress bars
[ ] Figure out how to multi select without using another output file ( like ubuntu server install, ssh, lamp etc)
[x] Blkid
[x] Df -h
[x] wlan connection

@enoch85 what prerequisites does the vm have? In order to have it installed with the MultiInstaller when grabbing your rc.local?

Rc.local is not needed anymore. Everything is handeled in owncloud_install_production.sh.
You need a clean Ubuntu 16.04 server with OpenSSH preinstalled.

Cool thanks. How about libreoffice? Webmin?
Op do 12 mei 2016 12:07 schreef Daniel Hansson<EMAIL_ADDRESS>
Rc.local is not needed anymore. Everything is handeled in
owncloud_install_production.sh.
You need a clean Ubuntu 16.04 server with OpenSSH preinstalled.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ezraholm50/MultiInstaller/issues/2#issuecomment-218714701

--
Met vriendelijke groet,
E. Holm

No, everything is done inside the install script. :) Though Webmin is failing right now after the upgrade to Ubuntu 16.04. I reported a bug and they are working on it.

Great saves a lot of trouble! Could you link me to the issue? I only had an
error with the backup somerset repo... but its gone now. I got 4 working
webmins on 4 16.04 vm's..?
Op vr 13 mei 2016 08:42 schreef Daniel Hansson<EMAIL_ADDRESS>
No, everything is done inside the install script. :) Though Webmin is
failing right now after the upgrade to Ubuntu 16.04. I reported a bug and
they are working on it.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ezraholm50/MultiInstaller/issues/2#issuecomment-218964128

--
Met vriendelijke groet,
E. Holm

It fails on new installations, the old one still works (becuase it's based on .deb), but the hash sum fails in apt-get so there are no updates.
Here you go: https://sourceforge.net/p/webadmin/bugs/4742/

Thanks! So meanwhile dpkg to install it... I'll follow the bug. Thanks
again.
Op vr 13 mei 2016 08:50 schreef Daniel Hansson<EMAIL_ADDRESS>
It fails on new installations, the old one still works (becuase it's based
on .deb), but the hash sum fails in apt-get so there are no updates.
Here you go: https://sourceforge.net/p/webadmin/bugs/4742/
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ezraholm50/MultiInstaller/issues/2#issuecomment-218965258

--
Met vriendelijke groet,
E. Holm

That's not a good idea, becuase that would lead to users with old Webmin installs as they are not upgraded during apt-get update/upgrade. I'd rather leave it out for now.

Yeah i get it, when webmin is accessed you'll be notified that theres an
update and you can do it from there. I get your point though..
Op vr 13 mei 2016 09:02 schreef Daniel Hansson<EMAIL_ADDRESS>
That's not a good idea, becuase that would lead to users with old Webmin
installs as they are not upgraded during apt-get update/upgrade. I'd rather
leave it out for now.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ezraholm50/MultiInstaller/issues/2#issuecomment-218966929

--
Met vriendelijke groet,
E. Holm

Yeah, I thiught of that aswell. But naah :)


Bundle signer does not correctly verify artifact if bundle content is DSSE

Description
As noted in https://github.com/sigstore/sigstore-go/issues/256:
If BundleOptions.TrustedRoot is set to a trusted root, then sign.Bundle will attempt to verify the bundle against the given trusted root. If the bundle content is DSSE, the artifact provided to the verifier is the PAE bytes of the envelope, however, the verifier requires that if WithArtifact/WithArtifactDigest is provided, the digest is compared against the subjects in the attestation, not the PAE bytes of the DSSE.
The routine that does this verification should be updated to extract the subject digest and use WithArtifactDigest when the provided content is a DSSE.
Version

Could we update the Content interface to include a function to return a subject digest?


Condiitonal Expression

Hi @ralphhanna,
Conditional Expression evalution seems to be wrong.

In my appServices.ts, I have the below:
async TestServiceCall(input, context) {
        const { isAbort } = input;
        if (isAbort === '0') {
            context.item.data.ErrorCode = null;
        } else {
            context.item.data.ErrorCode = 'Abort';
        }
    }

Result:

Although the condition is not true, it's taking the wrong flow path.
Please look into this? Thanks.

What release are you using
In 2.0.0 you need to add $ in condition

Ah alright @ralphhanna.
Is $ symbol required in front of start or end inline scripts in Execution Listeners too as they are JS expressions?

As a result of your question, I had a change of mind!!!!
Sorry, It looks much simpler not to add '$' for condition and others that are explicit JavaScripts
'$' is only required for:

Assignment Attributes, that can be simple strings or scripts (with $)
Loop values
Input/Output values of types Text

Please see https://github.com/bpmnServer/bpmn-server/blob/rel2.0.0/docs/scripting.md and review
Awaiting your feedback
Thanks

Hi @ralphhanna,

Sorry, It looks much simpler not to add '$' for condition and others that are explicit JavaScripts

I agree. The document seems nice which covers all the usecases.
Just to clarify on your example for Input/Output, now the latest version supports all types of Input/Output -> Text, List, Map & JavaScript explicitly instead of using Text for all types. Am I right?
Thanks.

@ralphhanna Following the above, I tested these recent changes.
I don't see any problems with functionalities. But there is a very minor issue when displaying the instance details.

Although I provided key/value pairs for the Map variable in the model, the instance details doesn't display it while all other types of data get displayed properly.

Thanks.

Correct, new release support all allowed types list,map,text and Script
Thanks for noticing it,
JSON.Stringify does not support map, so now I use array, here is the result

Hi @ralphhanna,
I don't think the last two commits by you are reflected in the npm package.
Could you please verify this? Thanks.

Done,
Thanks


View Food Usage Screen

https://www.figma.com/file/xjKua7FWHKMDXYMjk3iyK3/Flutter-Assembly---Food-Expiry-Tracker?node-id=73%3A2


Classification problems of KAN

Notice that you present the classification problem in example3, but treat the problem as a regression problem.
My question is, is there any way KAN can limit the output to 0-1 in classification problems (like sigmoid)? If not, is the situation in example3 more akin to treating different labels as consecutive values?
When I test the data, I found that with the noise of the sample larger, the curve of the formula was not like the distribution of the sample, nor the decision boundary ,so Im confused.
Im new to deep learning, so I would appreciate it if you could point out my mistakes in my understanding. Thanks!

The sigmoid can be used. Since the KAN module provides a foward method, using it like the old nn.Linear() didn't cause too many problems.
"
from kan import KAN
from torch import nn
class Model(nn.Module):
Model. def init(self):
super(Model, self).init()
self.KAN = KAN([dim,dim*2-1,1])
def forward(self, x):
output = self.KAN(x)
output = nn.Sigmoid()(output)
output = torch.squeeze(output)
return output"
After creating the code in this way, we proceeded to train and the classification learning went well on our dataset!
Translated with www.DeepL.com/Translator (free version)

The sigmoid can be used. Since the KAN module provides a foward method, using it like the old nn.Linear() didn't cause too many problems.
"
from kan import KAN
from torch import nn
class Model(nn.Module):
Model. def init(self):
super(Model, self).init()
self.KAN = KAN([dim,dim*2-1,1])
def forward(self, x):
output = self.KAN(x)
output = nn.Sigmoid()(output)
output = torch.squeeze(output)
return output"
After creating the code in this way, we proceeded to train and the classification learning went well on our dataset!

@pop756 Thank you for your reply, I'm new to torch so i'm not skilled. I'll have a try as your way, thank you.

The sigmoid can be used. Since the KAN module provides a foward method, using it like the old nn.Linear() didn't cause too many problems. " from kan import KAN from torch import nn class Model(nn.Module): Model. def init(self): super(Model, self).init() self.KAN = KAN([dim,dim*2-1,1]) def forward(self, x): output = self.KAN(x) output = nn.Sigmoid()(output) output = torch.squeeze(output) return output"
After creating the code in this way, we proceeded to train and the classification learning went well on our dataset!

Hey. Can you make available the rest of the code to train the model? Thank you!


Swipe back gesture freeze UI

When Keyboard is visible, swipe back gesture causes UI to run infinite loop of layout updates. App becomes unresponsible. Issue appears ONLY when keyabord is VISIBLE. Disabling interactive pop gesture recognizer of navigation controller solves this problem.

Hi @ykorshev, thanks for the report.

🚀  QMChatViewController (0.6.5) successfully published
📅  May 2nd, 18:24
🌎  https://cocoapods.org/pods/QMChatViewController


Improvement to listening algorithm

Possibly replace rec.listen with rec.listen_in_background and use callbacks
Since listen is blocking and does not operate when functions like recognise_google are being called, it is better to use listen_in_background.
Further, instead of using else if statements, I suggest using a lookup table or (as I've implemented it) an Excel file

Good one advice, iam gonna experiment with listen_in_background.


UPSTREAM: : apiextensions: internal.kcp.io/validate-name annotation

We need this to store rbac objects as CRs in the cache server.

/lgtm


add global stager

stager is a great way to manager CPU threads, but only stager for tmp directory is not enough to manage threads efficiently if I have multiple HDDs or SSDs, so I add a global stager, to use with multiple SSDs, and keep ALL threads used by running ploting won't exceed thread number of the computer.

If you want to limit overall threads, how about we talk about a global thread limit?  I had suggested this a few days ago.  Feel free to open up a ticket.

that would be nice.


Matlab: include 'svm.h' instead of '../svm.h'

The Matlab Makefile already has .. on the -I option for the compiler
so this was not required.  This was only required for the make.m Matlab
and Octave script, so it was modified to include .. on the search path.
This change is required to build the mex files using a libsvm library
different than the one in this distribution.  Maybe a system-wide install
of libsvm, or just another version for testing.

Can this very simple pull request be reviewed? I have another one but it is dependent on this being accepted first.

@carandraug
I have tested this commit on Matlab 2009b and Matlab 2015a, and it work on 2009b, but not on 2015a.
"svm.h" will not be found when compiling in 2015a.
I think the reason is, in 2015a, Matlab use "g++" to compile svmtrain.c, then CFLAGS has no effect.
But in 2009b, Matlab use "gcc" to compile svmtrain.c and works right.
I am not sure the reason why the behaviors are different from each other.
but I think if using "-I" option in mex command, things will be right, just like this,
https://gist.github.com/infwinston/f3920f735cd65348a6f5
BTW, there are unnecessary to add "-I" for "libsvmread.c" and "libsvmwrite.c".
Best

I don't have Matlab to try it. But if in 2015a CFLAGS are ignored, does it mean that the whole CFLAGS does nothing and should be changed to what?

Yes, in 2015a CFLAGS does nothing , but in the 2009b, matlab will use "gcc" and apply CFLAGS. There will be some mistakes if removing CFLAGS.
I am not sure the behaviors of other versions and fail to find official documentation on this issue.

@infwinston well, I made the changes as you suggested. It still works fine in Octave. About Matlab I can't tell but it should run at least as well as before.

Why is this being closed? The fix here has been applied to   cjlin1/liblinear@3b49e53557f0356e339f94ed118994ce9065068c but that is a separate library?
Will it be applied to libsvm?

Why is this being closed? The fix here has been applied to   cjlin1/liblinear@3b49e53557f0356e339f94ed118994ce9065068c but that is a separate library?
Will it be applied to libsvm?

Internally we have done the update, so I close the case.
In the past we only published code here when a new version is released.
The disadvantage of this setting is that outside people don't see
our latest changes...
Carnë Draug writes:

Why is this being closed? The fix here has been applied to cjlin1/
liblinear@3b49e53 but that is a separate library?
Will it be applied to libsvm?
—
Reply to this email directly or view it on GitHub.*


Build failure: hyprlandPlugins.hypr-dynamic-cursors

Steps To Reproduce
Steps to reproduce the behavior:

build hyprlandPlugins.hypr-dynamic-cursors

Build log

Build Log
error: builder for '/nix/store/k0mg7dy1n7x3sy2mckrbax55hbhy9cpl-hypr-dynamic-cursors-0-unstable-2024-11-19.drv' failed with exit code 2;
       last 25 log lines:
       >                  from ./src/mode/ModeRotate.cpp:1:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > In file included from ./src/mode/../config/config.hpp:3,
       >                  from ./src/mode/ModeStretch.cpp:3:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > In file included from ./src/mode/../config/config.hpp:3,
       >                  from ./src/mode/ModeTilt.cpp:3:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > In file included from /nix/store/a9pkffqx2hp3falyz61g82vfnjd8z29a-hyprland-0.45.2-dev/include/hyprland/src/plugins/PluginAPI.hpp:32,
       >                  from ./src/other/../globals.hpp:3,
       >                  from ./src/other/Shake.cpp:1:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > make: *** [Makefile:8: dynamic-cursors.so] Error 1
       For full logs, run 'nix log /nix/store/k0mg7dy1n7x3sy2mckrbax55hbhy9cpl-hypr-dynamic-cursors-0-unstable-2024-11-19.drv'.

Additional context

Metadata

system: "x86_64-linux"
host os: Linux 6.12.4, NixOS, 25.05 (Warbler), 25.05.20241213.3566ab7
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
nixpkgs: /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source

Notify maintainers
@fufexan @JohnRTitor

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

This package builds successfully on current nixpkgs master

I guess it's the same for hyprtrails plugin

also seeing the same error trying to build hyprexpo. the problem appears to be in the hyprlang config parser.
error: builder for '/nix/store/g1agrn4z8yqyqncr0z51plsv0rxxylfn-hyprexpo-0.45.0.drv' failed with exit code 2;
       last 25 log lines:
       > Running phase: buildPhase
       > build flags: -j16 SHELL=/nix/store/p6k7xp1lsfmbdd731mlglrdj2d66mr82-bash-5.2p37/bin/bash
       > [ 75%] Building CXX object CMakeFiles/hyprexpo.dir/main.cpp.
o
       > [ 75%] Building CXX object CMakeFiles/hyprexpo.dir/overview.cpp.o
       > [ 75%] Building CXX object CMakeFiles/hyprexpo.dir/CMakeFiles/3.30.5/CompilerIdCXX/CMakeCXXCompilerId.cpp.o
       > In file included from /nix/store/a9pkffqx2hp3falyz61g82vfnjd8z29a-hyprland-0.45.2-dev/include/hyprland/src/plugins/PluginAPI.hpp:32,
       >                  from /build/hyprexpo/globals.hpp:3,
       >                  from /build/hyprexpo/overview.hpp:5,
       >                  from /build/hyprexpo/overview.cpp:1:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > make[2]: *** [CMakeFiles/hyprexpo.dir/build.make:104: CMakeFiles/hyprexpo.dir/overview.cpp.o] Error 1
       > make[2]: *** Waiting for unfinished jobs....
       > In file included from /nix/store/a9pkffqx2hp3falyz61g82vfnjd8z29a-hyprland-0.45.2-dev/include/hyprland/src/config/ConfigManager.hpp:26,
       >                  from /nix/store/a9pkffqx2hp3falyz61g82vfnjd8z29a-hyprland-0.45.2-dev/include/hyprland/src/Compositor.hpp:11,
       >                  from /build/hyprexpo/main.cpp:5:
       > /nix/store/3k3jkg26hd7nzisrhjb6xdczs8hg6ap8-hyprlang-0.6.0-dev/include/hyprlang.hpp:11:10: fatal error: print: No such file or directory
       >    11 | #include <print>
       >       |          ^~~~~~~
       > compilation terminated.
       > make[2]: *** [CMakeFiles/hyprexpo.dir/build.make:90: CMakeFiles/hyprexpo.dir/main.cpp.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/hyprexpo.dir/all] Error 2
       > make: *** [Makefile:136: all] Error 2
       For full logs, run 'nix log /nix/store/g1agrn4z8yqyqncr0z51plsv0rxxylfn-hyprexpo-0.45.0.drv'.
error: 1 dependencies of derivation '/nix/store/w20pcxnpnmm4yjdsz98w6r3irvydmar9-hm_hyprhyprland.conf.drv' failed to build
error: 1 dependencies of derivation '/nix/store/gjjv5qsjim4gbg5npv3i9n93593a20ah-activation-script.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j616g8b6d4nk8ky461yl4l6x1sf5flr2-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y79fx12grngqp5dii3k57xv9rplr0qnj-unit-home-manager-jonnie.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/aqgmclmrs5xjwrplgp4h7l3ppsrpmklg-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ha82v4gl9lz3fwb34si77sb8dbm45hfg-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/daj7q4sbi418k94j80fqf14j238f6cbm-nixos-system-rhea-25.05.20241217.d3c42f1.drv' failed to build

Most of the time the reason for not building is: Hyprland version is bumped recently, but the plugin wasn't.
Once the plugin update is available we just bump it and that fixes the build.

Indeed, hyprland 0.46 was just released, although it has not actually hit nixpkgs unstable yet. Hyprlang has however been updated. Presumably this will all come out in the wash.

This is why we test building dependent packages before we merge....

Usually what happens is that these plugins are only updated in upstream repos after a Hyprland update (they do not follow Hyprland-git for some reason).
It was decided by Hyprland maintainers on Nixpkgs (me, fufexan and others) that Hyprland update will not be held back just because a plugin failed to meet Hyprland release schedule.
If you encounter a build failure due to an outdated plugin, consider making a PR updating the particular plugin (if available). Then tag us, so we can review and merge. Consider also becoming a maintainer of these plugins here on Nixpkgs, as they do not get enough attention.


Add folder in docs to contain state voter file descriptions

Rather than store each state's voter file documentation in Dropbox, can they go in national-voter-file/docs/state-voter-file-data-descriptions? (right now it seems they may be just floating around in slack messages...)

I can do this real quick


[129] Issue #129 - March 7, 2019

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

https://twitter.com/johnsundell/status/1096107124009123840

I’m super excited to announce that my next guest on the @swiftbysundell podcast will be @tkremenek from Apple! 🍎😀
We’ll talk Swift 5, ABI stability, and we also want to give you this special opportunity to ask Ted your questions about Swift — by replying to this tweet 👍

https://twitter.com/UINT_MIN/status/1098628355539124224
Sent with GitHawk

Vapor team has plans to work on version on top of NIOTS
https://github.com/vapor/websocket/issues/29#issuecomment-466152764

https://forums.swift.org/t/possibility-to-makes-functions-required/20799
Pitch: Possibility to makes functions required

Throwable accessors: https://forums.swift.org/t/throwable-accessors/20509
Here's my WIP PR: https://github.com/apple/swift/pull/22749
Soon we'll have throwable getters/setters in computed properties and subscripts 🙂

https://twitter.com/SmileyKeith/status/1099499507958476800
Sent with GitHawk

https://forums.swift.org/t/a-swift-takes-flight/20845
Swift for Windows next steps.

Great talk explaining that there is Obj-C underneath when using Swift https://www.dotconferences.com/2019/01/daniel-jalkut-just-enough-objective-c

Found a great blog post in Internets :P
https://basthomas.github.io/conforming-to-sequence
Sent with GitHawk

Thanks, but it’s not really related to Swift open source. 😛
Sent with GitHawk

@weissi deep dive how to create high-performance systems in Swift
https://www.youtube.com/watch?v=iLDldae64xE

Finally: a new Swift emotional support dog:
https://twitter.com/jckarter/status/1100431977755234306

https://twitter.com/johnsundell/status/1100455984391245824

Exciting news! 😀 My podcast episode with @tkremenek from Apple is OUT! 🍎🎉
5⃣ Swift 5 and ABI stability
🚀 The Swift Evolution process
📦 Module stability & frameworks
🅰 Underlying String changes
🍏 Apple’s internal use of Swift
@ApplePodcasts link: https://itunes.apple.com/us/podcast/swift-by-sundell/id1267161825?mt=2#episodeGuid=590b40b75016e10ca7fbff78%3A59823ecac534a526009cda28%3A5c752d35085229b90051f247

https://forums.swift.org/t/subscripting-in-string-extension-to-access-substrings-and-characters-with-int-types/20905
Pitch: Subscripting in String extension to access substrings and characters with Int types

https://forums.swift.org/t/swift-to-participate-in-gsoc-2019/20937
Swift has been selected as a participating open source project 11 in Google Summer of Code 2019
Sent with GitHawk

https://github.com/apple/swift-evolution/pull/990#issuecomment-11
A re-pitch of the protocols dropped from SE-0237, with motivating example.
Sent with GitHawk

https://forums.swift.org/t/availability-and-the-standard-library/20932

https://github.com/apple/swift-evolution/pull/991#discussion_r261128434 String improvements proposal

https://forums.swift.org/t/pitch-an-official-style-guide-and-formatter-for-swift/21025

https://instabug.com/blog/test-driven-development-tutorial/ TDD tutorial in iOS

https://twitter.com/SwiftServerConf/status/1101348968200577024

At raywenderlich.com, we’ve supported Swift ever since Apple announced the language, and now we’re putting our support behind the burgeoning server-side Swift community with a brand new site devoted to things such as new and up-to-date courses on Kitura and Vapor, as well as tutorials about testing on Linux, how to deploy to Docker and Vapor Cloud, how to build robust web apps and APIs, backend persistence, and more.
https://www.raywenderlich.com/server-side-swift

https://forums.swift.org/t/swift-4-2-3/21089

SE 0068 is almost here
https://github.com/apple/swift/pull/22863

https://medium.com/khaledelmorabea/test-driven-development-tutorial-on-ios-8e7d8dc6af87

https://twitter.com/swift_unwrapped/status/1092423588982996992

https://twitter.com/swift_unwrapped/status/1092423588982996992

That one was already mentioned in episode 127 😄
That being said... there is a new episode :)
https://spec.fm/podcasts/swift-unwrapped/279806

https://github.com/apple/swift-evolution/blob/master/proposals/0243-codepoint-and-character-literals.md review

https://forums.swift.org/t/protocol-assoctype-t-shorthand-for-combined-protocol-and-associated-type-constraints-without-naming-the-constrained-type/21217
Protocol<.AssocType == T> shorthand for combined protocol and associated type constraints without naming the constrained type

https://forums.swift.org/t/pitch-contiguous-strings/21206
Pitch: Contiguous Strings

Looks like SE-0240 will be for review.
https://github.com/apple/swift-evolution/pull/939/files/0883a9ad9e0a74b1e866a14a0637eb99feba68e4..3bb78f18d025558622b86c07ac92fc71dc2a3349

I’ll be writing most of the issue tomorrow 😊
Sent with GitHawk

https://forums.swift.org/t/se-0244-opaque-result-types/21252
SE-0244 in review - Opaque Result Types

https://forums.swift.org/t/development-open-for-swift-4-2-4-for-linux/21287

Throwable accessors: https://forums.swift.org/t/throwable-accessors/20509
Here's my WIP PR: apple/swift#22749
Hopefully soon we'll have throwable getters/setters in computed properties and subscripts 🙂

Please give me a reminder to include this in the next issue (once it is merged). Awesome stuff @theblixguy!

Will do!

https://twitter.com/slava_pestov/status/1103415204795346945

https://www.youtube.com/watch?v=s65BigoMV_I&t=9s


Seeing double observations in new obs search

What's happening is I load the obs grid view, look at it for a few seconds, by then new observations have been added and when I scroll down to fetch the next few observations to show, some of the previous observations are fetched again.
We should add some condition depending on sort (e.g. where id > lastID), or use the Elasticsearch Scroll feature

Not sure if it's the same bug/root cause, but I get doubles on the photo browser pages too, e.g.
https://www.inaturalist.org/taxa/801476-Doridina/browse_photos

A few more details here: https://groups.google.com/forum/#!topic/inaturalist/gavb3OkjLq4
This happens in the list view as well. The key commonality seems to be that this always occurs when sorting by "faves".
The screenshot includes a block of 3 photos which are immediately repeated, but it's also common to find 1 duplicate separated by 10 or more other photos which are not duplicated. Worryingly, if you compare between reloads you will find that some observations are missing instead of duplicated.


The README should mention that this action produces annotations

I had been aware of this action for some time, but never bothered to use it because this
     - uses: actions/setup-node@v3
       with:
         node-version: "18"
     - run: npm install -g pyright
     - run: pyright my_code

wasn't that difficult to configure, but now I've realized that your action actually produces annotations that appear in the PR! This is definitely your killer feature!

I thought I had that info but clearly not!


Build issue with docker v1.10

Image build dies with error immediately following the MAINTAINER line using docker v1.10.
Sample Dockerfile:
FROM debian:wheezy

MAINTAINER me

Sending build context to Docker daemon 1.783 MB
Step 1 : FROM debian:wheezy
 ---> 48304f60c1b9
Step 2 : MAINTAINER me
network  not found

@cmoad Hi, thanks issue :)
I tested now, but this problem could not be reproduced :(
See asciinema: https://asciinema.org/a/35707
Could you tell me the version of related of docker family?

docker
docker-machine
boot2docker
docker-machine-driver-xhyve

Create vm  with --debug flag will be displayed docker-machine-driver-xhyve version
e.g. docker-machine --debug create --driver xhyve xhyve-test

I repeated all the steps and was unable to get the error this time. I'm using homebrew for all components. docker v1.10. docker-machine v0.6.0. docker-machine-driver-xhyve v0.2.2. I guess we can call this one a glitch. Thanks for the fast response and great work on this project. It's much nicer than using vbox on osx.

@cmoad I was relieved to hear that :tada:
Thanks!!
I will keep trying my best :)


The provided checkpoint

Hi, the provided checkpoint is trained for the unsupervised case or the supervised case?

Hello, it is the supervised model.


Fix build on Linux

@emoon I just started looking at this code - so maybe these aren't the "right" fixes. Let me know and I'll modify if needed.

Thanks for the fixes!
I will bring up the Linux monkey again (hopefully today) so I will catch these issue.


Differences between model.py and model_search.py

I noticed a couple of discrepencies between cnn/model.py and cnn/model_search.py:

https://github.com/quark0/darts/blob/master/cnn/model_search.py#L18 - extra batchnorm
https://github.com/quark0/darts/blob/master/cnn/model_search.py#L32 - affine=False in stem
no auxiliary head in model_search
no drop_path in model_search

Are there particular reasons for these choices (particularly the first two)?  Or are they bugs/arbitrary decisions?
~ Ben
EDIT: Same question applies to different choices in hyperparameters in the search vs. final training (batch size, init_channels, etc)

These decisions are not arbitrary. It's useful to have batch norms for all candidate ops (with learnable affine parameters disabled) to ensure their outputs are comparable during architecture search, which would make it easier for the algorithm to figure out the relative importance of each op. Auxiliary towers and pathwise dropout are additional augmentations that are only enabled during final evaluation.

Got it, thanks.  Do you think it's bad to use the extra batchnorms and affine=False mentioned above in final training?
Thanks
~ Ben

Not necessarily, but it's good to stay with common practices for fair comparisons with other models.


Fixed transparency issue in SignColumn.

Changing the SignColumn to be transparent when the config has transparency turned on. Otherwise you'll get a solid block in-between git signs.

@cgoboncan-ebsi thanks!


Minor changes made to support QNX 6.6

The following changes make it possible to compile and run llvm and clang on a QNX 6.6.0 system. The changes themselves are pretty self explanatory. The QCC compiler used is a front end for GCC 4.7.3 or 4.9.3. You need a licensed copy of the QNX 6.6.0 platform to verify and check.

@dibsonmuad This is just a mirror, try: https://reviews.llvm.org/


feat: add package manager source to library

This makes it easier to track which package manager a package comes from for non-Homebrew packages, which could be located in multiple places. I've also added a new method to get a flat list of package name strings from the linkage data.

@Gankra and i discussed, want to circle up with @mistydemeo when back from vacation to get this in

Whoops i rebased the wrong PR, don't mind me.

This passes cargo test and cargo clippy, so we can get it in any time.

can we make a call to get this in or close this? it's been open for a while and it'd be good to make a decision on it.

@mistydemeo i think it's a really good idea so the next extra second we have, let's try to get this in!


Dev Test: Vector Addition: Equations 1.1.0-dev.5

Dev Test
Mentions: @arouinfar @KatieWoe @kathy-phet
Simulation links

github repository for issues <= Yes, this is vector-addition.
phet top-level directory
sim: all_phet.html

Test Matrix
Please include all (non-screen reader) feature testing in these records if applicable.

[x] Latest macOS, Safari (Time = 1hr ) (Tester = NS )
[x] Latest iOS, Safari (Time = 1 ) (Tester =  AM )
[x] Windows 10/11, Firefox (Time = .75 ) (Tester = NS)
[x] Windows 11, Chrome (Time = 2) (Tester = KW)
[x] Latest Chrome OS, Chrome (Time = 1hr ) (Tester = NS )

Light testing, or optionally skip if time crunch:

[ ] Latest macOS, Chrome (Time = ) (Tester = )
[ ] Windows 10, Chrome (Time = ) (Tester = )

Features included

PhET-iO
Dynamic Locale
Alternative Input
UI Sound
Sonification
Description
Voicing

Focus and Special Instructions
This sim is the Equations screen from the Vector Addition sim, and was built from the identical code.   So please do https://github.com/phetsims/qa/issues/1163 first, and then you can do a dev-lite test on this sim.
Issues to Verify
These issues have the "status:ready-for-review" label. Unless an issue says to close after verifying, assign the
issue back to the developer.

[x] https://github.com/phetsims/vector-addition/issues/280
[x] https://github.com/phetsims/vector-addition/issues/284

For QA...

General features

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Memory test isn't bad, but it is trending up.

Calling QA

Thanks QA! No issue to address. Onward to RC testing...


Deliverable Planning Meeting, Friday, Jan 5, 1:00 pm, Discord

Topics

[x] Design Doc: System design tasks assignment

Attendance

[x] @qstommyshu
[x] @yex33
[x] @marischan888
[x] @jiaoa3
[x] @KehaoHuang

Tasks (done by Jan 7 6:00 PM)

[ ] Figure out the requirements of Connection Between Requirements and Design section @yex33 @marischan888 @KehaoHuang
[ ] Project Overview section @yex33 @marischan888 @KehaoHuang
[ ] Other sections(except Timeline, Reference materials) @jiaoa3 @qstommyshu
[ ] Reflections for System Design. @qstommyshu @yex33 @marischan888 @jiaoa3 @KehaoHuang


Ortelius tutorial page

The Ortelius Tutorial and free sign-up page needs to be reviewed for accuracy, and edited.

completed by me -


Fix Skeleton Bounding Box Timing issue

https://forum.babylonjs.com/t/bounding-box-does-not-compute-correctly/38448/4

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13561/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13561/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13561/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13561/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13561/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13561/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13561/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13561/merge#BCU1XR#0


Properly handle multiple changes to path wrapping

This came along the discussion of https://simtk.org/projects/arms_hand_model where some muscles undergo multiple wrapping changes (engaging/disengaging) going from one frame to the next. Results from API are correct but the OpenSim GUI visualizer doesn't handle the changes gracefully.

Single wrap objects per path are handled without issue, the issue comes about because visualizer can't create new wrap/intermediate points on the fly but rather change attributes/transforms of pre-created points. More elaborate book-keeping is needed to make sure wrapping changes are reflected correctly in visualizer.


⚠ DesiTorrents has degraded performance

In d6414b0, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 9241 ms

Resolved: DesiTorrents performance has improved in 85880f3.