swipe tabs

Task/Issue URL: https://app.asana.com/0/72649045549333/1205842534063579/f
Tech Design URL:
CC:
Description:
Add swipe tabs functionality.
Steps to test this PR:
Internal User:

This feature is behind the internal user flag.  When this is off then swipe tabs should not work on any device.

Phone:

When on Home Screen with no tabs: no scrolling
When on a single tab on a web page: swiping left will launch a new tab.  Note that if there are favourites they will not be shown until a 'preview' of the tab has been captured, so will show Dax the first time you swipe to a new tab
Swiping between pages will show a preview if one has been captured.  Web pages not loaded yet will start to load (same as if opening from the tab switcher).
Switching orientation will scale the preview, but won't align it with the scroll position on the page in the other orientation.
Check the fire button
Check opening a new tab from long press the tab button
Check opening a new tab from the tab switcher

iPad:

Swipe tabs will only show when in the "iPhone view" - e.g. the small split screen view.
When in iPad view no swiping should work and the tabs bar should be visible

Themes:

Check light and dark mode.

OS Version:

Should work for all supported OS. Ideally check 14, 15, 16 and 17 (I've tested 16 and 17 as don't have device/simulator for 14/15 - ping me if it's a problem and I'll get them).

@brindy One issue I'm running into today is a pretty persistent flickering when changing tabs:
https://github.com/duckduckgo/iOS/assets/183774/a8063bd3-0f55-4c78-a300-68408346388c


All settings deleted without warning

Today I found K-9 mail with no accounts at all on my device. There were 3 accounts set up for the past few years. Never had any issues with that. I was wondering why I'm not getting any notifications on my smartwatch anymore so I opened the app on the phone. It suggested me to import settings or continue creating an account.
This thing has just forgotten everything! How can that be? Was there a broken update recently that just messed everything up? How can I get my settings back? It will take a lot of time to set it up again properly.
Environment
K-9 Mail version: Unknown, the information is currently not accessible. Latest version from Google Play store.
Android version: 7.1.1
Account type (IMAP, POP3, WebDAV/Exchange): 3x IMAP
Please take some time to retrieve logs and attach them here:
Inaccessible, also does not apply because the error is not reproducible.

Duplicate of #750


Extra Perception Warning

Description
Show unnecessary perception tracking runtime warning. You can check that I capture all store accesses.

Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
Not show warning
Actual behavior
Show warning
Steps to reproduce

Run
Tap on "Tap" button
You see runtime warning
BadPerceptibleWarning.zip

The Composable Architecture version information
1.10.3
Destination operating system
iOS 17.4.1
Xcode version information
15.3
Swift Compiler version information
swift-driver version: <IP_ADDRESS> Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)

Hi @nmalevich, the problem is in ActivityIndicatorView. If you comment that out you will see it works. And the reason there is a problem is because ActivityIndicatorView takes a binding and it accesses the state in its body, and of course there is no WithPerceptionTracking over there.
Really it's not clear why ActivityIndicatorView even takes a binding. It never writes to the binding. It would be better if it took a simple Bool, and then you would not have this problem.
Since this is not an issue with the library I am going to convert it to a discussion. Feel free to continue the conversation over there.


idea

Hello, can you make it so that the recipes are saved after restarting the server? That would be very sweet of you.

I don't know what you mean, but maybe it's work like saving a recipe to a file after adding or editing it...

Pls help

So I'll sum it up correctly. I create a new recipe and when I restart my server the recipe is gone so it was automatically deleted? It's on my localhost And on my main server like this... Please help

So I'll sum it up correctly. I create a new recipe and when I restart my server the recipe is gone so it was automatically deleted? It's on my localhost And on my main server like this... Please help

Basically, everything will be saved after stop command

Mhm that's kind of stupid.. Could you maybe change that?

Planned in rewrite version.

Okay Thanks! 👍


Allow multiple curvs per pool

Would be nice if you could havecategories of maps in a pool each with the ability to set their own respective curve
an example where this would be useful is where you have 2 common types of maps in the pool (E.G. (speed and acc) or (long and short poodles)) where the expeted accuracy of the maps is often off by 2-5% from each other

I just realised I already made this issue my appologies


inner parser error when using local rewrite

Looks like a bug to me.
require "domains.k"
module TEST
  rule  <in> (L1:List => .List) ListItem("off") </in>          // inner parser error!!!
  rule  <in> L1:List ListItem("off") => ListItem("off") </in>  // this is fine
endmodule

We've changed the K grouping syntax to use backtics to avoid conflicts with user syntax in languages like Scheme, as documented here: https://github.com/kframework/k/wiki/!!!-Module-System . But, List isn't a user sort so there's no reason not to add a bracket production using parentheses. Once we add module-based implementation we may switch back to adding parentheses along with the other K syntax.

I see. Thanks for the explanation. Closing it.


Implement variables extension (RFC 5229)

Support syntax checking for the variables extension
Source:
https://tools.ietf.org/html/rfc5229

This is resolved as of commit 3233ffc


Editing a team competition using the web UI deletes all participants

When modifying a competition, for example changing the title of the competition, changing the competition metric, or renaming teams, every participant is removed.
Steps to reproduce:

Create a Competition with teams using the Web UI
Try to then edit that competition using the Web UI
All participants are deleted

This is related to https://github.com/wise-old-man/wise-old-man/issues/1077 in which it's stated there was a fix merged in https://github.com/wise-old-man/wise-old-man/pull/1078 but this is still not the case, as I'm experiencing this issue.

That's not good at all, looking into it right now. I'll follow up with a fix

This doesn't seem to be happening with regular classic competitions, will try with team competitions.

Thanks for the heads up, the fix should be live in 3-4mins

Thanks for the amazing response time!


feat: Update the table widget to v2 in suggested widget list

Description

With the new table widget the suggested widget should use the new version and not the older version.

Fixes #15256
Fixes #15263
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Locally

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=9cee612

/ok-to-test sha=4176278

/ok-to-test sha=9f9c8e6

/ok-to-test sha=9f9c8e6

/ok-to-test sha=9f9c8e6

/ok-to-test sha=9f9c8e6

/ok-to-test sha=9f9c8e6

/ok-to-test sha=2d7f9f4

/ok-to-test sha=2d7f9f4

/ok-to-test sha=9f57c56

/ok-to-test sha=e95f9e9


loguru: speed-up tests phase

Description of changes
Speed-up test by a factor of 6:

use pytest-xdist (59s -> 22s)
remove slow rotation test (22s -> 8s) (will revert if unwanted)

This isn't a life-changing change, but it's still a nice to have improvement.

before

============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0
rootdir: /build/source
configfile: tox.ini
testpaths: tests
collected 1496 items

tests/test_activation.py ..............................                  [  2%]
tests/test_add_option_backtrace.py .                                     [  2%]
[...]
tests/test_standard_handler.py ................                          [ 99%]
tests/test_threading.py .....                                            [100%]

====================== 1465 passed, 31 skipped in 59.65s =======================

after

============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0
rootdir: /build/source
configfile: tox.ini
testpaths: tests
plugins: xdist-3.5.0
16 workers [1424 items]  m
........................................................................ [  4%]
........................................................................ [ 10%]
[...]
........................................................................ [ 96%]
......................ss..............................                   [100%]
======================= 1398 passed, 26 skipped in 8.83s =======================

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please use the full attrpath python311Packages.loguru in the commit and PR title to trigger ofborg

error: builder for '/nix/store/x90ihyksfsh0prakm3gx20kksr7fnv40-python3.11-python-utils-3.8.2.drv' failed with exit code 1;
       last 10 log lines:
       >             pass
       >
       > >       assert i == result
       > E       assert 1 == 2
       >
       > _python_utils_tests/test_time.py:84: AssertionError
       > =========================== short test summary info ============================
       > FAILED _python_utils_tests/test_time.py::test_timeout_generator[0.01-0.006-0.5-0.01-count-2] - assert 1 == 2
       > ========================= 1 failed, 33 passed in 4.08s =========================

Weird test failling, seems to not be related with loguru logging

I checked the test, it strikes me as timing sensitivity/flakyness. How did you produce the failure?

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

2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

41 packages failed to build:

cura
portmod
portmod.dist
python311Packages.angr
python311Packages.angr.dist
python311Packages.angrcli
python311Packages.angrcli.dist
python311Packages.angrop
python311Packages.angrop.dist
python311Packages.awswrangler
python311Packages.awswrangler.dist
python311Packages.baselines
python311Packages.baselines.dist
python311Packages.gradient
python311Packages.gradient.dist
python311Packages.numpy-stl
python311Packages.numpy-stl.dist
python311Packages.progressbar2
python311Packages.progressbar2.dist
python311Packages.python-utils
python311Packages.python-utils.dist
python311Packages.xnatpy
python311Packages.xnatpy.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist
python312Packages.gradient
python312Packages.gradient.dist
python312Packages.numpy-stl
python312Packages.numpy-stl.dist
python312Packages.progressbar2
python312Packages.progressbar2.dist
python312Packages.python-fx
python312Packages.python-fx.dist
python312Packages.python-utils
python312Packages.python-utils.dist
python312Packages.xnatpy
python312Packages.xnatpy.dist
trueseeing
trueseeing.dist
twitch-chat-downloader
twitch-chat-downloader.dist

106 packages built:

changedetection-io
changedetection-io.dist
conjure
datatrove
datatrove.dist
deltachat-cursed
deltachat-cursed.dist
flexget
flexget.dist
gnome-frog
home-assistant-component-tests.aussie_broadband
home-assistant-component-tests.hive
instawow
instawow.dist
ki
ki.dist
mokuro
mokuro.dist
patray
patray.dist
pentestgpt
pentestgpt.dist
python311Packages.aria2p
python311Packages.aria2p.dist
python311Packages.bubop
python311Packages.bubop.dist
python311Packages.ciscoconfparse
python311Packages.ciscoconfparse.dist
python311Packages.fastembed
python311Packages.fastembed.dist
python311Packages.item-synchronizer
python311Packages.item-synchronizer.dist
python311Packages.loguru
python311Packages.loguru-logging-intercept
python311Packages.loguru-logging-intercept.dist
python311Packages.loguru.dist
python311Packages.manga-ocr
python311Packages.manga-ocr.dist
python311Packages.mobi
python311Packages.mobi.dist
python311Packages.notify-py
python311Packages.notify-py.dist
python311Packages.pinecone-client
python311Packages.pinecone-client.dist
python311Packages.pyaussiebb
python311Packages.pyaussiebb.dist
python311Packages.pyhiveapi
python311Packages.pyhiveapi.dist
python311Packages.pyosohotwaterapi
python311Packages.pyosohotwaterapi.dist
python311Packages.pytablewriter
python311Packages.pytablewriter.dist
python311Packages.pytest-md-report
python311Packages.pytest-md-report.dist
python311Packages.python-fx
python311Packages.python-fx.dist
python311Packages.qiling
python311Packages.qiling.dist
python311Packages.riscof
python311Packages.riscof.dist
python311Packages.riscv-isac
python311Packages.riscv-isac.dist
python311Packages.toggl-cli
python311Packages.toggl-cli.dist
python312Packages.aria2p
python312Packages.aria2p.dist
python312Packages.bubop
python312Packages.bubop.dist
python312Packages.ciscoconfparse
python312Packages.ciscoconfparse.dist
python312Packages.fastembed
python312Packages.fastembed.dist
python312Packages.item-synchronizer
python312Packages.item-synchronizer.dist
python312Packages.loguru
python312Packages.loguru-logging-intercept
python312Packages.loguru-logging-intercept.dist
python312Packages.loguru.dist
python312Packages.mobi
python312Packages.mobi.dist
python312Packages.notify-py
python312Packages.notify-py.dist
python312Packages.pinecone-client
python312Packages.pinecone-client.dist
python312Packages.pyaussiebb
python312Packages.pyaussiebb.dist
python312Packages.pyhiveapi
python312Packages.pyhiveapi.dist
python312Packages.pyosohotwaterapi
python312Packages.pyosohotwaterapi.dist
python312Packages.pytablewriter
python312Packages.pytablewriter.dist
python312Packages.pytest-md-report
python312Packages.pytest-md-report.dist
python312Packages.riscof
python312Packages.riscof.dist
python312Packages.riscv-isac
python312Packages.riscv-isac.dist
python312Packages.toggl-cli
python312Packages.toggl-cli.dist
resonance
syncall
syncall.dist
varia
wapiti
wapiti.dist

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

2 packages marked as broken and skipped:

chatgpt-retrieval-plugin
chatgpt-retrieval-plugin.dist

147 packages built:

changedetection-io
changedetection-io.dist
conjure
cura
datatrove
datatrove.dist
deltachat-cursed
deltachat-cursed.dist
flexget
flexget.dist
gnome-frog
home-assistant-component-tests.aussie_broadband
home-assistant-component-tests.hive
instawow
instawow.dist
ki
ki.dist
mokuro
mokuro.dist
patray
patray.dist
pentestgpt
pentestgpt.dist
portmod
portmod.dist
python311Packages.angr
python311Packages.angr.dist
python311Packages.angrcli
python311Packages.angrcli.dist
python311Packages.angrop
python311Packages.angrop.dist
python311Packages.aria2p
python311Packages.aria2p.dist
python311Packages.awswrangler
python311Packages.awswrangler.dist
python311Packages.baselines
python311Packages.baselines.dist
python311Packages.bubop
python311Packages.bubop.dist
python311Packages.ciscoconfparse
python311Packages.ciscoconfparse.dist
python311Packages.fastembed
python311Packages.fastembed.dist
python311Packages.gradient
python311Packages.gradient.dist
python311Packages.item-synchronizer
python311Packages.item-synchronizer.dist
python311Packages.loguru
python311Packages.loguru-logging-intercept
python311Packages.loguru-logging-intercept.dist
python311Packages.loguru.dist
python311Packages.manga-ocr
python311Packages.manga-ocr.dist
python311Packages.mobi
python311Packages.mobi.dist
python311Packages.notify-py
python311Packages.notify-py.dist
python311Packages.numpy-stl
python311Packages.numpy-stl.dist
python311Packages.pinecone-client
python311Packages.pinecone-client.dist
python311Packages.progressbar2
python311Packages.progressbar2.dist
python311Packages.pyaussiebb
python311Packages.pyaussiebb.dist
python311Packages.pyhiveapi
python311Packages.pyhiveapi.dist
python311Packages.pyosohotwaterapi
python311Packages.pyosohotwaterapi.dist
python311Packages.pytablewriter
python311Packages.pytablewriter.dist
python311Packages.pytest-md-report
python311Packages.pytest-md-report.dist
python311Packages.python-fx
python311Packages.python-fx.dist
python311Packages.python-utils
python311Packages.python-utils.dist
python311Packages.qiling
python311Packages.qiling.dist
python311Packages.riscof
python311Packages.riscof.dist
python311Packages.riscv-isac
python311Packages.riscv-isac.dist
python311Packages.toggl-cli
python311Packages.toggl-cli.dist
python311Packages.xnatpy
python311Packages.xnatpy.dist
python312Packages.aria2p
python312Packages.aria2p.dist
python312Packages.awswrangler
python312Packages.awswrangler.dist
python312Packages.bubop
python312Packages.bubop.dist
python312Packages.ciscoconfparse
python312Packages.ciscoconfparse.dist
python312Packages.fastembed
python312Packages.fastembed.dist
python312Packages.gradient
python312Packages.gradient.dist
python312Packages.item-synchronizer
python312Packages.item-synchronizer.dist
python312Packages.loguru
python312Packages.loguru-logging-intercept
python312Packages.loguru-logging-intercept.dist
python312Packages.loguru.dist
python312Packages.mobi
python312Packages.mobi.dist
python312Packages.notify-py
python312Packages.notify-py.dist
python312Packages.numpy-stl
python312Packages.numpy-stl.dist
python312Packages.pinecone-client
python312Packages.pinecone-client.dist
python312Packages.progressbar2
python312Packages.progressbar2.dist
python312Packages.pyaussiebb
python312Packages.pyaussiebb.dist
python312Packages.pyhiveapi
python312Packages.pyhiveapi.dist
python312Packages.pyosohotwaterapi
python312Packages.pyosohotwaterapi.dist
python312Packages.pytablewriter
python312Packages.pytablewriter.dist
python312Packages.pytest-md-report
python312Packages.pytest-md-report.dist
python312Packages.python-fx
python312Packages.python-fx.dist
python312Packages.python-utils
python312Packages.python-utils.dist
python312Packages.riscof
python312Packages.riscof.dist
python312Packages.riscv-isac
python312Packages.riscv-isac.dist
python312Packages.toggl-cli
python312Packages.toggl-cli.dist
python312Packages.xnatpy
python312Packages.xnatpy.dist
resonance
syncall
syncall.dist
trueseeing
trueseeing.dist
twitch-chat-downloader
twitch-chat-downloader.dist
varia
wapiti
wapiti.dist

I checked the test, it strikes me as timing sensitivity/flakyness. How did you produce the failure?

It was produce while trying to run nixpkgs-review, thought my pc frooze a bit after while building another package so i couldnt upload results

Thanks for confirming, i opened https://github.com/NixOS/nixpkgs/pull/320304


Improve HTTP-based test framework for CMP etc.

When adding various test cases to test/recipes/80-test_cmp_http_data/ in #19948
I found some issues that are improved here:

80-test_cmp_http.t: fix server port and confusion client vs. server config
apps/lib/http_server.c: improve diagnostics, e.g., on port number already in use

I'm not sure if this should be backported, yet tentatively added the respective tags.
Checklist

[ ] documentation is added or updated
[x] tests are added or updated

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

@t8m hope you saw that I've meanwhile addressed your above comment?

@t8m ok now?

@paulidale please reconfirm

This pull request is ready to merge

Somehow this got merged 5 days ago without mention in this conversation and without closing this PR.
So closing this PR now.
Thanks @t8m and @paulidale for your reviews and approvals.


TextFormField becomes unresponsive after flutter driver test is run

While writing integration tests using Flutter Driver, I observed that if a test inputs Email and Password in TextFormField widget and completes remaining steps in the test and stops the application instance, next time if you try to open the target app and manually try to type something in same Email and Password fields, the fields becomes unresponsive and doesn't display any data.
Steps to Reproduce

Have a login screen with Email and Password fields implemented using TextFormField widget with respective hint texts and a simple RaisedButton as login.
Write a flutter driver test to input email and password and then tap on login button to go to next screen.
When the flutter driver test completes successfully and stops the application instance, open the app again and try to manually input something in email and password fields and notice that no action takes place and no input is displayed.

Logs
There are no errors or logs generated in the terminal.

[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 1.5.4-hotfix.2 at /Users/deeptibelsare/Documents/Flutter-sdk/flutter
    • Framework revision 7a4c33425d (8 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/deeptibelsare/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit
      https://flutter.dev/setup/#android-setup for detailed instructions.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 2.0.0
    ✗ ios-deploy out of date (1.9.4 is required). To upgrade with Brew:
        brew upgrade ios-deploy
    • CocoaPods version 1.7.0.beta.3

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

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26)
      (emulator)

! Doctor found issues in 2 categories.

I had that same issue few days ago for exactly the same case scenario. You can fix it by uninstall the app and running (without flutter_driver) normally.

Can you attach a test case that demonstrates the issue? Without code to reproduce the problem it's hard for us to make significant progress.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Add support for Mastodon a href validation

Thanks to @charlee-dev and @bitspittle for supporting me during the implementation! <3

👏


Explicit this parameter

The main use case for lazy values is no-arg methods. No-arg methods actually have an argument, which is this. Expliciting that argument will allow for removal of lazy values, with immense advantages in terms of simplified implementation. It will also allow users to implement their own no-arg methods, which is currently impossible because there is no syntax to define lazy values.
Syntax example:
let Box = fix fn Box, s ->
  let this.value = parseInt s 10,
    this.next = fn this ->
      new Box (this.value + 1) in this
in

console.log (new Box "5").next.next.value  # prints 7

This is quite easy to fix using the following steps:

make this a regular identifier rather than a keyword;
make the field access operator bind the first parameter if the accessed field is a closure;
remove lazy values.

Note that this actually makes it possible to call this with an arbitrary name. E.g.:
let Box = fix fn Box, s ->
  let this.value = parseInt s 10,
    this.next = fn self ->
      new Box (self.value + 1) in this
in

console.log (new Box "5").next.next.value  # prints 7

This is not necessarily bad.

A first implementation is provided in https://github.com/71104/lambda/tree/this.
Problems:

console.log has length 0 in Node v4.4.3, therefore it is no longer possible to log anything to the console.

All operators now marshal to native functions that expect the first operand in this. This is extremely bad because it's totally unexpected from an average user and it is also incompatible with the current implementation of List's prototype. E.g., {1, 2, 3}.max <= fails miserably.

Possible solution for problem 2: make this a keyword again and marshal "implicitly" any parameter whose name is "this".
Example marshals:

fn x -> ... → function (x) { ...
fn x, y -> ... → function (x, y) { ...
fn this -> ... → function () { ...
fn this, x -> ... → function (x) { ...
fn this, x, y -> ... → function (x, y) { ...
fn x, this, y -> ... → function (x) { return function (y) { ...
fn x, this -> ... → function (x) { return function () { ...

Problem 1 doesn't really have a solution. The following workaround:
let console_log = console.log in console_log.apply {console, "hello world"}

does not currently work due to a problem in apply, but it may be considered acceptable as soon as apply starts working again.

To solve problem 1, c0cf75b85cfec5104750021807bc032c1a681cd2 forces the arity of native functions to at least 2. This causes problems with default prototypes, which are currently implemented as native nodes. For example, the reverse method of lists now has arity 1 after being bound to this, and, as a result, the following:
{1, 2, 3}.reverse

returns a closure instead of {3, 2, 1}. Applying a further dummy argument works:
{1, 2, 3}.reverse 0  # yields {3, 2, 1}

but it's definitely not intended.

bindThis also needs to be implemented for types and invoked by FieldAccessNode.getType.

Reopening due to undesired side-effect:
Math.pow.length                             # 2

let Math.lol = Math.pow in Math.lol.length  # 1

let Math.lol = Math.pow in Math.lol 2       # 0

let Math.lol = Math.pow in Math.lol 2 3     # runtime error

This is actually intended, by design; and it would also behave like that with Lambda objects/methods. The field access operator binds the first argument of the method, so its arity is decreased by 1. I guess I have to get used to it.


Missing Attributes should not cause an exception

If the Opencage REST API changes and new attributes are added. My Java Wrapper will break because its configured that way.

@faferreyra thanks for the PR.


Configurable recenter hotkey/gesture/button-sequence

Some headsets drift under normal operation. Typically, this is alleviated through the use of a recenter hotkey (example: holding recenter button in daydream) or compositor menu action (example: recenter menu option in GearVR).
This is a suggestion to add configurable mappings from hotkeys, button-sequences, and maybe gestures(?) to dynamically run reset-yaw via a button press or sequence.
Potential configuration example:
{
  "resetYawHotkeys": {
    "/me/head": {
      "sourceButtonInterface": "/path/to/button/interface"
    },
    "/me/hands/left": {
      "sourceButtonInterfaces": [ "/path/to/button/interface/1", "/path/to/button/interface/2" ]
    }
  }
}

So in the above example, when the user presses the button mapped to "/path/to/button/interface", the server resets yaw on /me/head, effective for all clients (including analysis plugins). When the user presses "/path/to/button/interface/1" and "/path/to/button/interface/2" at the same time, then the server resets yaw for /me/hands/left for all clients (including analysis plugins).

Can you put a EXAMPLE with real project,  I dont understand how works relative paths.  I have a Kinecvtv2 and my idea is when open  the left Hand is reseted the YAW.


Failed to set Endpoint via EndpointProdiver or endpointUrl in S3Client

Describe the bug
I tried to update my codes to use the latest AWS SDK Kotlin 0.20.1-beta, found the endpointResolver is removed.
I have tried to used the following two approaches to set endpoint, but failed.
S3Client {
       // other config.
        endpointProvider = properties.endpoint?.let { url ->
            EndpointProvider { params ->
                Endpoint(url)                }
        }
}

or set it via endpointUrl.
S3Client {
       // other config.
        endpointUrl = properties.endpoint?.let { Url.parse(it) }
}

The properties.endpoint is http://localhost:4566/ in local testing env.
Expected behavior
It should work as EndpointResolver.  The old config worked well in a previous version.
 endpointResolver = properties.endpoint?.let {
            StaticEndpointResolver(
                AwsEndpoint(it)
            )
       }

Current behavior
I got the exception like this when calling the S3Client in my codes.
	error=exception while calling s3 with unknown operation: Unable to find operation for request to service s3: PUT /

Steps to Reproduce
I used a localstack to mock all AWS locally, so I need to setup the endpoint to http://localhost:4566
Possible Solution
No response
Context
No response
AWS Kotlin SDK version used
0.20.1-beta
Platform (JVM/JS/Native)
Java 17
Operating System and version
Windows 10

Hi, I was able to reproduce this. Our recent Endpoints 2.0 update had to change some things regarding bucket names in the request URL. We strip the bucket names from URLs due to how S3 parses them internally. That is the reason why you are getting the PUT / error, the bucket name is being stripped from the request.
To fix this you have to use endpointUrl and configure forcePathStyle to true

S3Client {
       // other config.
        endpointUrl = properties.endpoint?.let { Url.parse(it) }
        forcePathStyle = true
}

Yes, my endpoint does not included a bucket name, the bucket name is configured by another property.

Adding forcePathStyle = true make my tests work again on local machine.
But in my original config, endpoint is optional, only for the localstack for testing purpose.
Not sure this property(forcePathStyle = true) will affect the production config(only use AWS credential and bucket name, no endpoint there).

If put the bucket name on the url, that means there is no need to set bucketname in the s3 operations?
I have checked the examples in this repo and the official doc https://docs.aws.amazon.com/sdk-for-kotlin/latest/developer-guide/kotlin_s3_code_examples.html, there is no examples demos how to build a S3 Client using the new Endpoint.

@lucix-aws Hi, in the latest version of the AWS SDK forcePathStyle has been removed (https://github.com/awslabs/aws-sdk-kotlin/commit/f6502eb10273ea70bc33712d0d350c1c472266ff) which is a workaround mentioned https://github.com/awslabs/aws-sdk-kotlin/issues/842#issuecomment-1426140171
Is this workardoung no longer required?

Updated to 0.35.0-beta, use forcePathStyle, it does not work as expected, I also post a question on discussions.


Regression: start date on members chart X axis disappeared

Issue
The left end of the X axis of the members chart should display the start date of the selected date range (as the right end of the axis is fixed "Today", e.g. for "30 days" range it should be (today - 30 days)). ATM there's nothing there.
Formatting of the start date should be: D MMM YYYY (similar to the one in the tooltip)

Hello, can I take this issue?

Sure thing

I'm having troubles about which file generates the members view? Could you please inform me about it?

I think I've found the necessary files to fix this issue.
It looks the startDateLabel variable set to empty string.
https://github.com/TryGhost/Ghost-Admin/blob/213b44bf9ca7ca4d930b4d14d78ea1fdd2c0d9a1/app/components/gh-members-chart.js#L21

I've submit a PR #1644 for this issue.


Create main.dart

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Manual testing

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

pls accept this

Please rename the PR properly and attach the corresponding ticket


How to change the styling of elements?

I'm not able to override the styling of the elements. Say for example I want to remove the black gradient on hover of arrow buttons, I am not able to override that in the component css file.
Any help how to do that?

You can override the styles from your styles.css (or .scss) file in the src folder


vs code not auto indenting in C#

VS Code Version: latest of now (don't know where that number is stored...)
OS Version: Windows 10

Steps to Reproduce:

create C# file "test.cs"
Create a function to test intending, when you hit first enter it will indent but then it won't unless there was an intend already there behind your cursor, and if you did ctrl+shift+enter that indent won't affect it
Please see the video because texts are confusing
(this doesn't happen in .js)

https://user-images.githubusercontent.com/64459068/180196045-4dfc699c-45f8-4b5d-9751-4c77106b8399.mp4

Hello?

I have the same issue

Currently the auto indent feature in VS Code is regex based, which doesn't really understand the scope (function, statement) etc. Formatting works more consistently in this scenario, so I would recommend to enable formatting on type or save. Closing this as we don't expect to get around it in the near future.


Improve NMAP lock issues

The following changes should help in preventing the device tracker and NMAP platform crashing the bus.
The changes to nmap_tracker.py are mainly indentation changes after the lock has been removed (which is not needed because of the Throttle annotation). Only difference is adding --host-timeout 5 to the options.

Coverage decreased (-0.02%) to 66.39% when pulling 4484baa8666febec62fb0af1340626381b1a8e84 on nmap-lock into ec557f8d44609f72d07500157741858b44555ca2 on dev.

+1; lgtm


Create a new Rails API app called 'hello-rails-back-end'.

INn this pull Request

[x] Created a new Rails API app called 'hello-rails-back-end'.

@HAMMAS-SALEEM
Thank you for the review I sent you a screenshot of the page displayed on my side

Hi @frnega,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

The Pull Request has a proper title and description. ✔
You have added a descriptive Readme file. Good Job. ✔
There is no linter error is present. ✔
Project has met all the technical aspects you needed for this project. Keep rocking! ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Feed Page: Request Position from user and send it to server.

When loading the feed, it should get the user position from the browser.
If the user allows the browser to retrieve it, it will update the user with the coordinates (PATCH /user/) and request the feed again.
It should also update the User with the permission option chosen (Browser not supported, permission denied, permission allowed).

This is the code made by @s-nt-s for retrieving the user position


Remove right white panel, when no webcams were recorded.

Also, do you know a way to increase quality in the deskshare?
text is sometimes hard to read.

Hi,
I am not sure if I get your issue correctly or how it's related to bbb-mp4 extension.


JAX cholesky failed, while numpy succeeded

When I use jax.linalg.cholesky on a particular (large) covariance matrix of shape (37k,37k) jax is returning nan's while numpy is successfully returning a decomposition. I expected that jax mimics numpy in it's linear algebra operations. Note, we have set jax to 64-bit.
how to reproduce it
Get covariance matrix ~ 11GB from @Joshuaalbert (ssh or google drive are acceptable). It's very expense to compute so this is the only reasonable method of providing the data for the MVCE.
import numpy as np
from jax import numpy as jnp
from jax.config import config
config.update("jax_enable_x64", True)

cov = np.load("./big-cov.npy")

jitter = 1e-6
L_np = np.linalg.cholesky(cov + jitter * np.eye(cov.shape[0]))
assert not np.any(np.isnan(L_np)) # actually not necessary because numpy would complain instead of returning nan's

L_jax = jnp.linalg.cholesky(jnp.asarray(cov) + jitter * jnp.eye(cov.shape[0]))
assert not jnp.any(jnp.isnan(L_jax))

What hardware platform is this?
Is it possible this is a cousin of https://github.com/google/jax/issues/10420 ?
On CPU, the kernel we call is dpotrf from LAPACK. You can call it directly via scipy.linalg.lapack. Does it succeed or fail?

I'm just some passing observer, but your numpy example adds 1e-6 on the diagonal whilst the JAX example adds 1e6, so they're not doing the same thing.

@hawkinsp This is on CPU.
cov = np.load('./dtec_covariance.npy')
L = jnp.linalg.cholesky(cov) # fails with Nans
L = lapack.dpotrf(cov) # succeeds

Thanks @patrick-kidger that was a minor typo when transcribing. The problem is still unchanged.

What if you call jnp.linalg.cholexky with symmetrize_input=False?

jnp.linalg.cholesky(cov,symmetrize_input=False) gives me a cholesky() got an unexpected keyword argument 'symmetrize_input'.

You need to use lax.linalg.cholesky to control symmetrize_input

Looking at the np.linalg.cholesky and jnp.linalg.cholesky implementations, it seems the main difference is that numpy assumes your input is hermitian and proceeds, while jax.numpy symmetrizes your input before proceeding (via lax.linalg.cholesky). So if there are differences in outputs, I'd look into whether your input is actually hermitian, and whether JAX's symmetrization step is causing problems.

L = lax_cholesky(cov,symmetrize_input=False) gives nans too.

Well, those are my best guesses. Without a way to reproduce the issue myself, I don't have any other ideas. Best of luck!

Well, one second there. It seems to me this information can already be used to rule out some things.
Numpy's cholesky succeeds. Therefore the matrix is pos-def AND numerically stable.
Therefore, perhaps it makes sense to consider #10420. To that end, I can see if slicing to less than (32767,32767) solves it. One sec.

Regarding understand if it's related to #10420, the same thing happens on a smaller slice of the matrix.
cov = np.load('./dtec_covariance.npy')
cov = cov + 1e-6*np.eye(cov.shape[0])
L = np.linalg.cholesky(cov[:15000,:15000]) # works
L = lapack.dpotrf(cov[:15000,:15000]) # works
L = jnp.linalg.cholesky(cov[:15000,:15000]) # fails
L = lax_cholesky(cov[:15000,:15000],symmetrize_input=False) # fails

I think at this point the best thing you could do is share the matrix with us so we can reproduce the problem.

Ok, this was a false alarm. It was due to 64-bit mode not being turned on properly. In my testing setup I import jax earlier and run a jax primative (which set the 32bit), and then later when this test is run try to set 64bit (which doesn't work). So the tests were an unfair comparison between numpy in 64bit and jax in 32bit. Sorry about the time consumed on this one.

Happy it worked out!

Happy it worked out!


Add publish script.

Using the bintray-release, along with their instructions for publishing to Maven Central

LGTM 🚢


Ensure we install latest version 4 of web3.py

Fixes #7

Pull Request Test Coverage Report for Build 393

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 94.552%

Files with Coverage Reduction
New Missed Lines
%

gnosis/safe/tests/test_real_nodes.py
5
66.67%

Totals

Change from base Build 391:
-0.2%

Covered Lines:
2794

Relevant Lines:
2955

💛  - Coveralls


Linking inconsistency between closed app and open app deep link

When I do the following deeplink myApp://detail/123 (123 being an ID) with the app being closed and the following config
screens: {
  detail: {
    path: 'detail/:id',
  },
},

I'll get the correct state
{"key": "detail-SbcExuYkpp6-Y4u9rYWjO", "name": "detail", "params": {"id": "123"}}

but if the app is already open (foreground or background), and I send another deeplink, then this is the state I get
{"key": "detail-vqAsOQ3ZBfydQjUCcpX9e", "name": "detail", "params": {"initial": false, "params": {"id": "123"}, "screen": "detail", "state": undefined}}

So for some reason, you get a nested params

Make sure to upgrade to latest version. And open issues in the main repo. This repo is for docs only.


Add generated paginators for cloudtrail

Codecov Report

Merging #1649 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1649   +/-   ##
========================================
  Coverage    92.39%   92.39%
========================================
  Files           53       53
  Lines         9797     9797
========================================
  Hits          9052     9052
  Misses         745      745

Continue to review full report at Codecov.

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


fix(connectors): fixes MGDCTRS-753, use optimistic locking in connector updates

Description
Added optimistic locking using connector version in where condition to ensure the connector didn't change just before the update.
Verification Steps
CI tests should pass.
Checklist (Definition of Done)

[X] All acceptance criteria specified in JIRA have been completed
- [ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
- [ ] Documentation added for the feature
[x] CI and all relevant tests are passing
[ ] Code Review completed
- [ ] Verified independently by reviewer
- [ ] Required metrics/dashboards/alerts have been added (or PR created).
- [ ] Required Standard Operating Procedure (SOP) is added.
- [ ] JIRA has created for changes required on the client side

Can we add a basic test with 2 request with the same version and check that the second one fails?

we can not in the easy way I described, unfortunately.


Detect and bubble up terminal errors in server main loop

If something goes wrong in the async processing in the server the loop will terminate with an exception.  This wires up recording the error message, and detection in the other entry points so we can report the failure to the user, and restart the server.
Verified happy-path on Mac.  Still need to find or synthesize one of these hang scenarios to actually validate the primary logic.

I am happy to see capturing errors here, but I'm not sure how to test this yet.
Relaying errors on model load is handled by the exception catching logic here:
https://github.com/ollama/ollama/commit/b80661e8c78e115ed9b41391c87fdb7f1a7f69ec
Model load errors happen before the main event loop.
The main errors I know cause the server to generate forever or get "stuck" as in:
https://github.com/ollama/ollama/commit/3e22611200e9fdc44d24976cce7b36197448c972
or a slot not being released.

This wont be relevant once we merge #3218 so closing.


Missing Feature - Edit Account Button Move to Left of Accounts

In previous versions of the Toolkit you could move the "Edit Account Button" to the right side of the accounts to make it easier to not click on. That feature is missing from v1.20 and the button is back in the default location with no option to move it.

@ljford7 we prematurely removed the feature it will be re-added in our next release! #951

Thank you!

Fix is available in release 1.3.0. Feel free to reopen if necessary.


Configure error when Fortran is not enable

Using -DTrilinos_ENABLE_Fotran=OFF should disable the fortran api. Right now it produces the following error:
CMake Error: CMake can not determine linker language for target: dtk_fortran_api
CMake Error in DataTransferKit/packages/Adapters/Fortran_API/src/CMakeLists.txt:
Exporting the target "dtk_fortran_api" is not allowed since its linker
language cannot be determined

Weird, I always configure with Fortran OFF, but have not seen this error.

i didn't even know that was an option. we should fix the cmake to support that.

I did not list Fortran in the list of dependencies of the Fortran_API...

@aprokop I bet you had that silly -D Trilinos_ASSERT_MISSING_PACKAGES=OFF flag at the time.

@dalg24 True. But also, don't you have to enable Fortran_API explicitly in the configuration script?

Here is how to reproduce what @Rombur reported.
[container]$ cd $TRILINOS_DIR/DataTransferKit
[container]$ mkdir build && cd build
[container]$ ../scripts/docker_cmake -D Trilinos_ENABLE_Fortran=OFF

which yield
[...]
-- Configuring done
CMake Error: CMake can not determine linker language for target: dtk_fortran_api
CMake Error in DataTransferKit/packages/Adapters/Fortran_API/src/CMakeLists.txt:
  Exporting the target "dtk_fortran_api" is not allowed since its linker
  language cannot be determined

CMake Error: CMake can not determine linker language for target: dtk_fortran_api
CMake Error in DataTransferKit/packages/Adapters/Fortran_API/src/CMakeLists.txt:
  Exporting the target "dtk_fortran_api" is not allowed since its linker
  language cannot be determined

CMake Error: Cannot determine link language for target "dtk_fortran_api".
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_Fortran_LINK_EXECUTABLE
-- Generating done
-- Build files have been written to: /scratch/source/trilinos/release/DataTransferKit/build

I looked at ForTrilinos, and surprisingly they also don't have Fortran dependency in their Dependencies.cmake. Not sure why. So I don't even know if you can drive it from Dependencies, or if you have to add logic to the package's CMakeLists.txt.


Upgrade ArgoCD to 2.7

Upgrade ReadMe
https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/2.6-2.7/
Things to check

[x] Configure RBAC to account for new extensions resource
[x] Upgraded Helm Version
[x] Upgraded Kustomize Version
[x] Notifications: ^ behavior change in Sprig's semver functions
[x] Tini as entrypoint
[x] Deep Links template updates
[ ] Support of helm.sh/resource-policy annotation
[ ] Check your Kustomize patches for --redis changes
[ ] argocd applicationset CLI incompatibilities for ApplicationSets with list generators

RBAC changes
No action required, as we're not using asterik in our project definitions, examples:

Read Only project
ReadWrite project

We, as Org admins, use ArgoCD default project permissions.

HELM version
Helm version has been upgraded from 3.10.3 to 3.11.2.

Kustomize version
Kustomize version has been upgraded from 4.5.7 to 5.0.1.

Notifications: ^ behavior change in Sprig's semver functions
No obvious effects to our setup.

Tini as entrypoint
Internal change in ArgoCD images/container setup

Deep Links template updates
Improvements to deep links.

Support of helm.sh/resource-policy annotation
Improvement, new feature.

Check your Kustomize patches for --redis changes
We're using default config, no changes to redis server name in our setup.

argocd applicationset CLI incompatibilities for ApplicationSets with list generators
argocd cli had issues with applicationset in cli version < 2.7.3.

PR #417 merged to main. Start testing ArgoCD 2.7 on devsecops cluster. Move ticket back to in progress

DEVSECOPS-TESTING cluster has been updated to 2.7.
App creation incl. using AVP is working as expected. After approval I'll push the currently missing GH tag ArgoCD-v2.7.14-c0_AVP-v1.16.1 to main branch and update to other envs.

Pushed missing GH tag to main branch. ArgoCD instances will be updated accordingly during the day.


Update rotenso_ronix_heatpump.yaml

Change range temperature from 16 to 31

@cykus, as you originally submitted this device, do you have any comments on this change?

I only copy and paste from other device. In my app smart I have only to 31 degrees celsius, but I not sure or device support Fahrenheit temperature.

Thank you for confirming

i set it to 88 because of debug info on iot tuya, as @piotrek2555 said in app i can set it only to 31c
temp_set | Integer | {   "unit": "℃",   "min": 160,   "max": 880,   "scale": 1,   "step": 5 }
on debug info i see second dps for Fahrenheit, but i don't know have tu use two set_temps
temp_set_f | Integer | {   "unit": "℉",   "min": 61,   "max": 88,   "scale": 0,   "step": 1 }


Not working with sandbox mode selected

For sandbox mode is there any special clients id and secret to set? Or this is my default one from instamojo?

issues solved


Release: v0.2.5

Codecov Report

Merging #255 (d66d171) into main (e3b437d) will decrease coverage by 5.82%.
The diff coverage is 50.42%.

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   85.70%   79.87%   -5.83%
==========================================
  Files          50       61      +11
  Lines        3175     3682     +507
  Branches      617      705      +88
==========================================
+ Hits         2721     2941     +220
- Misses        335      599     +264
- Partials      119      142      +23

Flag
Coverage Δ

unittests
79.87% <50.42%> (-5.83%)
:arrow_down:

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

Impacted Files
Coverage Δ

meerkat/columns/audio_column.py
100.00% <ø> (ø)

meerkat/columns/file_column.py
91.25% <ø> (ø)

meerkat/columns/image_column.py
93.33% <ø> (ø)

meerkat/mixins/io.py
85.41% <0.00%> (-3.72%)
:arrow_down:

meerkat/ops/concat.py
94.44% <ø> (ø)

meerkat/ops/kmeans.py
0.00% <0.00%> (ø)

meerkat/tools/registry.py
0.00% <0.00%> (ø)

meerkat/version.py
0.00% <0.00%> (ø)

meerkat/ops/embed/bit.py
26.44% <26.44%> (ø)

meerkat/ops/embed/transformers.py
26.66% <26.66%> (ø)

... and 25 more

Continue to review full report at Codecov.

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


Added 2 methods for getting all temps

Gets all the temps instead of just one, really nice to have the ability to get more than one of the temps and GPUs

Thank you so much for using the library and thank you for the PR!
I mentioned some minor changes above, but once they are fixed this should be ready to merge.
Could you also squash your commits into once commit with a commits name following Conventional Commits. Something like feat: added new methods to get temperatures of multiple CPUs and GPUs.  Sorry for not including this in the README.


Setting up InfluxDb in the config

All the samples I was able to find were specifying Report.ToInfluxDb in the code like this:
.ConfigureMetricsWithDefaults((hostingContext, metricsContext) => metricsContext.Configuration
                    .ReadFrom(hostingContext.Configuration)
                    .Report.ToInfluxDb(.../manually read settings/)

Is there a way to automate it, so the settings for Report are read from the appsettings.json similar to generic AppMetrics settings in .ReadFrom(hostingContext.Configuration)?

ATM there is no extension to taking a configuration instance, easiest way would be to bind an instance of the influx options to your configuration section and pass in that

Could you please point me to a sample of how this (or something remotely similar) could be done?

var options = new InfluxDbOptions();
configuration.GetSection(nameof(InfluxDbOptions)).Bind(options);

I'm a little confused whether it's possible to integrate reading a section into the following sample:
                .ConfigureMetricsWithDefaults((hostingContext, metricsContext) => metricsContext.Configuration
                    .ReadFrom(hostingContext.Configuration)
                    .Report.ToInfluxDb(hostingContext.Configuration.GetSection("InfluxDb")["BaseUri"],
                        hostingContext.Configuration.GetSection("InfluxDb")["Database"],
                        TimeSpan.FromSeconds(2)))


scrollBy not working as intended

Which OS ?
iOS
Version
Which versions are you using:

react-native-swiper v? 1.5.12
react-native v0.?.? 0.48.3

Expected behaviour
When opening up, it should should load up on the center Index (or pane) with a big "Home" in text on the screen. it should allow swiping left and right, showing "Left" or "Right" on screen.

Actual behaviour
When opening, it renders on the home index (it shows it in the Pagination so) but renders the topmost pane code-wise (which is the left)

##Code

+1

I suspect it could be something to do with setting the initial index. Try removing the prop index from the swiper.

@007agentHP Could you elaborate on what the ref prop does and where it appears in the documentation?


Implement class in core directory

Implement class into core directory's files, except deployCommand files.

this should resolve #1


Fixing the priority of the test data in the push_context

Adding missing priority field in the push_context test data
Test data a-medium-priority should have priority 10. It is currently relying on the default priority.

Thanks @hzxuzhonghu .


RAM memory error

Godot version
3.5 rc1 win64
System information
windows 10, Intel Pentium CPU N3700, 4gb ram
Issue description
when i opened a project, the project manager window stopped working. when i close the other window, it stops working again and an error regarding to RAM memory appears.
the first time i did that, a lot of windows from godot apeared and each one consumed and 0.3% cpu and 100mb ram ish.
Steps to reproduce
open godot, the only other windows opened are from chrome.
open a project
close the project manager (due to its malfunction)
close the window
see the memory error
Minimal reproduction project
No response

Can you try 3.5 RC 2?

Give version 3.4.4 Stable a go see if the same issue occurs there, if so that means there is something wrong with your hardware setup.


Squirt support?

Doesn't seem to work with https://squirt.io: TypeError: sq is undefined frame.outer.js:380:1.

On which website do you use this bookmarklet?
I tried the provided example : https://zenhabits.net/ I it's works for me

For me it doesn't. I'm on Nightly, I'll have to try on another version.

Never mind, I don't test with the extension, but directly from the bookmark menu

It doesn't work for me from the menu because of https://github.com/cameron/squirt/issues/181.

CSP is a problem that bookmarklets-context-menu try to reduce, but would give you an other kind of error like : Content Security Policy: The page's settings blocked the loading of a resource at self

Just to make sure, does that bookmarklet work for you after b03b3709562c1dace5bdb05a2fdb276a7252178e?

@lnicola Yes it's now work on page without CSP, but it's still doesn't work on page with CSP (like https://github.com or https://facebook.com log an kind of error Content Security Policy: The page's settings blocked the loading of a resource at [...]). Because Squirt load a subresource, but sadly (as you can read it on the README):

CSP still applied to subresources (like scripts, styles, medias, etc.). That means with a super strict CSP "none", you can't use any additional scripts, styles nor medias.

I don't get CSP errors, but squirt.io doesn't work for me.

Because Squirt load a subresource

Oh, all right, then.


NSNull Length exception thrown while invoking multiSet on target AsyncLocalStorage - unhandled exception crashes app on iOS

Is this a bug report?
Yes

Have you read the Contributing Guidelines?
Yes
Environment

Environment:
OS:  Win 10 1703 OS Build: 15063.674
Node:  4.6.1
Yarn:  --
npm:  5.5.1
Watchman:  --
Xcode:  --
Android Studio:  --
"expo": "^22.0.2",
"react": "16.0.0-beta.5",
"react-native": "^0.49.5",
"react-native-auth0": "^1.2.1",
"react-native-canvas": "^0.1.20",
"react-native-maps": "^0.17.1",
"react-navigation": "^1.0.0-beta.19"

Target Platform: iOS (11)
Steps to Reproduce
NSNull unhandled exception leading to total application crash when attempting to call AsyncStorage.setItem('justAString').
Cannot try/catch/finally to prevent crash, suggest adding exception handler.
Expected Behavior

An error message should have been thrown with the promise associated with setItem.
Actual Behavior

Expo displays this exception and stack trace for less than a second before crashing the Expo instance.

Reproducible Demo

import React, { Component } from 'react';
import { AsyncStorage } from 'react-native';

replaceLocal('StringParam')

export async function replaceLocal(key,newObj){
    try {
        let stringObject = JSON.stringify(newObj)
        AsyncStorage.setItem(key,stringObject)
    } catch (error) {
        console.log(error)
    }
}

still a problem on setItem on existing key

I am having this exact same issue. I already check that the value being stored isn't null

Same here. It works fine when loading build in expo but fails in TestFlight.
Values are empty strings.

I am having this same issue while storing a json file in the async and then using it later. Is there any way to get past this

The issue is still present.

Issue still present

Issue still present.

Facing the same issue. Anyone can help?

I am experiencing the same issue!

For anyone still experiencing the same problem, check all parameters.  An example of where the problem could occur would be calling a reducer from another reducer.  A mistake would be to access a payload's prop inside the first reducer and then attempt to access a non-existent prop within the reducer being called.
@ZachCurtis  You are calling the replaceLocal function with one parameter when it requires two.  If you console.log(newObj), you will see that it is undefined.

hi,
use JSON.stringify(value) solved my problem.
AsyncStorage.setItem("myKey", JSON.stringify("myValue"));


Failed to Fetch

Hello, I'm trying to deploy ollama and the app on a clound server. I confirm ollama is installed and can generate output with prompt:

I start ollama service with this command:

I start the application by first running
npm run build
then
npx serve@latest out
I can access the application and see the home page but each time I upload a pdf file, I get following error:

The clound server is on Ubuntu 22.04.3, with node version 20.11.0 and npm version 10.2.4
Thanks for the help!

From what I observed from developer's tool, those returned 404 in the log are actually loaded fine:

I set a breakpoint at the line where the fetch failed, the vairable value passed to the fetch call looks totally correct to me:

but the fetch failed anyway:

Is this on a live server? The OLLAMA_ORIGINS server needs to match exactly what your live domain is.
I've also just added browser-only mode which doesn't require any CORS setup if that's interesting to you!


[App configuration] Implement configurable button component

[ ] Refactor ActionableButton composable to a configurable Button component
[ ] Update ServiceCard to display service action buttons
[x] Update profile configs to render Household visit button

Closed via https://github.com/opensrp/fhircore/pull/1541


Revert PR 56087

This reverts #56087.
Fixes #57843
Fixes #57781
Fixes #57357
Reopens #49171
Not sure if I'm reading the baselines correctly, but since this is removing the perf baseline, I guess the new baselines would have caught this regression as before the revert, there are some 3.2k types, but after, it's under the 100 type threshold? And similarly for symbols.

FWIW this will likely not cherry-pick without manual intervention because of the baseline change.

Sent #57850 for 5.4.


Expose ports and create public IP

Following a brief discussion with @dte, having a method in the API to expose ports will be useful. I'm creating a public server and need to expose specific ports when the machine is started. I'm using sudo ufw allow 33100, but it would be nice to have them programmatically setup up when booting the machine.
Also, having a way to enable or set up the public address will be nice too!

You can use a startup script to expose ports:  https://github.com/Paperspace/paperspace-node/blob/master/scripts.md
There is an option to assign a public ip as well; see the "assignPublicIp" property under
https://paperspace.github.io/paperspace-node/machines.html#.create

assignPublicIp : true does not result in a publicip for me.
Also,t here appears to be no api route to get the list of owned ip addresses or to assign them to an already provisioned machine. (You can do this bit in the web console by hand)


Publish releases based on git tags

Something you may find useful is to automatically build and publish packages to PyPI based on git tags. A few reasons you might like to do that are:

Lets you take advantage of PyPI Trusted Publishers (instead of API tokens or username/password)
Gives you the option of giving other contributors the ability to publish releases (with tag push permissions on the repo)
Makes sure a tagged commit is always the same one used to build a given PyPI release (relevant for any downstream builds for other packaging systems)

You don't necessarily need those things for a smaller project like this, but if you're interested I can help set that up with GitHub Actions. Instructions for setting that up on the PyPI end are here.

I have zero (ok maybe 0.1 now 😄 ) experience with releasing, so I'd happily take that advice. Would you be willing to set that up? Thanks!!

I'd like to release 0.3.0 sooner rather than later because we want to use this project for the sprint tomorrow, but this is something I'll definitely want for the next release. So - I'll read the docs and try to set that up afterwards. Thanks again!


fix(notification):- get notification details

…and swagger description
Description
fix for data unavailability of notificationtopicid to linked type id    ###…
Why
Endpoint was throwing exception if there was no link data for notificationtypeid and notificationtopicid
Issue
CPLP-2934
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines

[x] I have performed a self-review of my own code

[x] I have successfully tested my changes locally

[x] I have commented my code, particularly in hard-to-understand areas

@Phil91  Added Unit Test

@qxz2mqe  can you please check the "description"  and "why" of the pr - seems to be a draft content

@jjeroch  Updated the description but I don't understand Draft Content??


1.7.0 completely breaks my vscode

System information

OS: Win 10 Pro / 64bit
TypeScript Hero version: 1.7.0
VSCode version: 1.17.2

Description

Unable to type in any file
GIT / Source control not working
Extension host terminated unexpectedly.

The extension ends up using 2GB+ memory and crashes.
I have few JS built by Webpack in my workspace. It always crashes with one of them in the stack trace.
[Extension Host] debugger inspector at %cFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
%c
<--- Last few GCs --->

[7348:0000023CFFE53240]    37242 ms: Mark-sweep 2057.4 (2138.5) -> 2057.4 (2138.5) MB, 1192.9 / 0.0 ms  allocation failure GC in old space requested
[7348:0000023CFFE53240]    38488 ms: Mark-sweep 2057.4 (2138.5) -> 2057.3 (2122.5) MB, 1245.4 / 0.0 ms  last resort
[7348:0000023CFFE53240]    39871 ms: Mark-sweep 2057.3 (2122.5) -> 2057.4 (2122.5) MB, 1381.7 / 0.0 ms  last resort

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000000EBAB72B959 <JS Object>
    1: /* anonymous */(aka /* anonymous */) [<readacted>\.vscode\extensions\rbbit.typescript-hero-1.7.0\node_modules\typescript-parser\TypescriptParser.js:~70] [pc=0000014239097FA9](this=0000037772C82311 <undefined>,o=000001FD8238AEE1 <String[91]: <readacted>\public-html\common\js\at-home\at-home.app.693f226ff88508f2515d.js>)
    2: arguments adaptor frame: 3->1
    3: map [...

Is there a way to make it typescript only?

I figured out that setting typescriptHero.resolver.resolverMode to TypeScript solves the out of memory crashing issue caused by parsing of JS files.
However, the issue of not being able to type in any file (delete/backspace works!) right after the boot up until the TSH resolver finishes still exists.

Holy.

This must be a big workspace (aka project) right?

It is not that big. ~15K lines of TS.

598 ts files.  node_modules excluded.

Also having an issue since the 1.7 update. Fairly large project but didn't have issues prior to 1.7. Setting typescriptHero.resolver.resolverMode to TypeScript as suggested above seems to provide a reprieve for now.

Do you all use code-insiders build with multi-root workspaces? or just normal ones?
Since they build multi-root workspaces, I had to recode some of the indexing logic. Maybe that's the crux there.

I have the normal one. Haven't switched over to multi-root even once.
I think creating a web app project, where Webpack outputs to the project's folder/sub-folder should reproduce the issue. If it matters, I also have the source maps enabled for the output. Though I haven't tried it on a standalone small project, this is what is happening on my system.

The sad point is, when I use the extension (develop compiled version) I don't have any issues. But the actual codebase I'm working on is not that big.
I'll have a look and try to reduce the memory footprint. I assume the filter that ignores files is broken. Maybe I need to switch to globs so I don't even find files that are not supposed to be indexed.

For me, files that Webpack outputs were not excluded from the filter. If the extension can heuristically figure out that a given JS file coming from bundlers like Rollup, Webpack, etc., that will be great. That won't solve the issue fundamentally but hopefully, will not crash the extension.
@Chippi Can you tell us about the files which crash the extension? Does setting the resolver to Typescript solved your issue?
In my case, the memory footprint for Typescript only mode doesn't look bad. The issue looks more like an infinite loop with a memory leak somewhere. The CPU is consistently high, and the RAM usage grows linearly.

@Dante-101 The parser runs through the node tree recursively. So with a veeeery big file (like a webpack compiled result) it does run for a long time and eventually runs into the memory issues. So this could be the error. I don't know if I can heuristically find such files, but at least make some default assumptions like build/** out/** dist/**

Fair enough. I believe adding that to documentation will help.
Also, do you have any explanation for the issue of not being able to type in any file (delete/backspace works) right after the VS Code boot up until the TSH resolver finishes?

@Dante-101 done some testing now.
"typescriptHero.resolver.resolverMode":"TypeScript" seems to fix the crash issue. However, tons of cpu is being used on ts file open, but I guess It's necessary.

I opened up my fork of DefinitelyTyped and the extension crashed even with the above-mentioned settings.
[Extension Host] debugger inspector at %cFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
%c
<--- Last few GCs --->

[21128:0000019A0CE93200]    63152 ms: Mark-sweep 2053.1 (2109.7) -> 2053.1 (2109.7) MB, 1069.3 / 0.0 ms  last resort

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 000000BCAB2AB959 <JS Object>
    2: createChildren [<redacted>\.vscode\extensions\rbbit.typescript-hero-1.7.0\node_modules\typescript\lib\typescript.js:~90652] [pc=00000054339B54BA](this=000001B308123F89 <a NodeObject with map 00000116AC645229>,sourceFile=000001DA7F782311 <undefined>)
    3: getChildren [<redacted>\.vscode\extensions\rbbit.typescript-hero-1.7.0\node_modules\typescript\lib\typescript.js:~90708] ...

Not sure if it matters, the error with code and signal:
Extension host terminated unexpectedly. Code:  3  Signal:  null
Any ideas?

This still happens to me. Where can I download a 1.6.0 VSIX from to downgrade?

@Dante-101 most definitely because of the wrong excludes.
@MadaraUchiha uhm. Don't know actually. I'm working on it. Just need to write some tests for it, but then it should be ready to ship.

For all interested, TSH 1.6.0 can be downloaded here and installed via "Install from VSIX": https://marketplace.visualstudio.com/_apis/public/gallery/publishers/rbbit/vsextensions/typescript-hero/1.6.0/vspackage
Make sure that auto updates are off.  Thanks for the tip!

@buehler I don't understand, is this fixed? Is it safe to upgrade to 1.7.0 now? Do we need to wait for 1.8.0?

I had no problems on 1.7.0, but now I'm having this exact problem on 1.8.0.


Add CloudInit CRD HEP

Related Issue:
https://github.com/harvester/harvester/issues/4712
https://github.com/harvester/harvester/issues/4709

@torchiaf :wave: Would you be willing to look at the user stories on this HEP with the "UI" or "Dashboard" label in their headings? I'm working on merging the backend code this week and I was hoping to add better details to the frontend-specific issue[1] so that it is easier to execute on.
[1] https://github.com/harvester/harvester/issues/4711

@connorkuehl left some comments, feel free to discard not relevant ones, otherwise LGTM.

@mergify backport v1.3


Crash running move-dir during initial sync

Describe the bug
move-dir run during initial sync causes a crash
I'm normally not the kind of maniac who would attempt such a thing, but Maestral's onboarding is confusing and resulted in the situation.

I have a large Dropbox, 60GB, it's important Maestral uses my existing local dropbox copy, which it says it can do, but if I was prompted for a "merge", I never saw it.
Maestral transparently created a new Dropbox directory with the (Maestral) suffix. Once I realized it hadn't actually merged my files as promised and I was going to have to wait for 60GB of download, I realized I needed to move the directory, otherwise I'd be operating on my old Dropbox directory that is no longer being updated.
moved old ~/Dropbox out of the way
ran maestral move-dir Dropbox

The onboarding should look for an existing dropbox directory as the default IMO.
To Reproduce

start syncing large repository
run maestral move-dir Dropbox
command hangs for several minutes
then:

> maestral move-dir Dropbox
Traceback (most recent call last):
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/runpy.py", line 196, in _run_module_as_main
  File "Contents/Resources/Support/Python/Resources/lib/python3.10/runpy.py", line 86, in _run_code
  File "Contents/Resources/app/maestral_cocoa/__main__.py", line 41, in <module>
  File "Contents/Resources/app/maestral_cocoa/__main__.py", line 36, in freeze_support_cli
  File "Contents/Resources/app_packages/click/core.py", line 1128, in __call__
  File "Contents/Resources/app_packages/click/core.py", line 1053, in main
  File "Contents/Resources/app_packages/click/core.py", line 1659, in invoke
  File "Contents/Resources/app_packages/click/core.py", line 1395, in invoke
  File "Contents/Resources/app_packages/click/core.py", line 754, in invoke
  File "Contents/Resources/app_packages/maestral/cli.py", line 1464, in move_dir
  File "Contents/Resources/app_packages/Pyro5/client.py", line 476, in __call__
  File "Contents/Resources/app_packages/Pyro5/client.py", line 243, in _pyroInvoke
OSError: [Errno 30] Read-only file system
 +--- This exception occured remotely (Pyro) - Remote traceback:
 | Traceback (most recent call last):
 |   File "Contents/Resources/Support/Python/Resources/lib/python3.10/shutil.py", line 805, in move
 | OSError: [Errno 18] Cross-device link: '/Users/red/Dropbox (Maestral)' -> '/Dropbox'
 |
 | During handling of the above exception, another exception occurred:
 |
 | Traceback (most recent call last):
 |   File "Contents/Resources/app_packages/Pyro5/server.py", line 466, in handleRequest
 |   File "Contents/Resources/app_packages/maestral/main.py", line 1206, in move_dropbox_directory
 |   File "Contents/Resources/Support/Python/Resources/lib/python3.10/shutil.py", line 821, in move
 |   File "Contents/Resources/Support/Python/Resources/lib/python3.10/shutil.py", line 556, in copytree
 |   File "Contents/Resources/Support/Python/Resources/lib/python3.10/shutil.py", line 457, in _copytree
 |   File "Contents/Resources/Support/Python/Resources/lib/python3.10/os.py", line 225, in makedirs
 | OSError: [Errno 30] Read-only file system: '/Dropbox'
 +--- End of remote traceback

Expected behaviour

System:

Maestral version:
Python version:
OS: [e.g. Ubuntu]
Desktop environment: [e.g. Gnome 3.32]
PyQt version (for Linux GUI):

Additional context
MacBook Air (M1, 2020)
macOS 12.1

maestral does not appear to attempt to create the specified directory for the move-dir command, and if it's not there, that seems to cause the crash

Thanks for the report! It appears that Maestral attempts to create the directory, however not at "~/Dropbox" but at "/Dropbox". This fails since a typical user account cannot write to the root directory. I'll fix this. For now, try specifying the absolute path.
Also note that maestral move-dir will work if the destination directory already exists.

The onboarding should look for an existing dropbox directory as the default IMO.

I've considered this but I'm not sure if this is a good idea. Once synced with Maestral, some metadata may be lost that is used by Dropbox internally for its own client. This might make switching back to the official client annoying since it will likely perform a reindexing of all local files. Another consideration is that accidentally running both at the same time and pointing to the same folder could have bad results (e.g., infinite sync loops).

Thanks, Sam! I appreciate the incredibly fast work.
I think users with large Dropbox accounts and slower internet connections (or just bad wifi) are probably a common enough use case it's worth being aggressive in finding their existing Dropbox directory and trying to use that.
Conflicts with normal Dropbox running are obviously also a problem and ideally you'd identify if Dropbox is currently running when you try to merge with a dropbox directory. But I can see potential issues there as well, so fair enough.
My presumption was the program would make an effort to find and use my Dropbox directory, especially when I saw text saying merging was an option and I specified my directory as my existing directory. The fact that maestral ignored what I specified and started downloading a HUGE amount of files was extremely jarring and threw me.
As a result, I was a bit annoyed when I wrote the bug so I apologize if my report was a bit short. Now that I have everything up and running I'm quite pleased with it and I think you for all your effort!


Does it support Not Filter?

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-not-filter.html

Linking https://github.com/mattbaird/elastigo/pull/177 for reference. This will include setting Not filter when merged.

#238 is merged now, so this should be available.

:+1:


Fixed UI on Mobile

Description
Decreased margin/padding in nav items. also changed some text in faqs
How you solved

[ 1] i commented the margin in hamburger items and added gap property
[ 1] changes some text in faqs

Screenshots

Checklist

[1] I have Made this contribution as per the CONTRIBUTING guide in this repo
[1] I have tested in local Environment.
[1] I have made the fix as per issue converstaion
[1] I have starred the repository ⭐

Great @mcctrix good work!
Hope for more contributions from you🥂🍻