use-raf hook: animation hook for react using requestAnimationFrame

What new hook does?
Checklist

[x] Have you read contribution guideline?
[x] Does the code have comments in hard-to-understand areas?
[ ] Is there an existing issue for this PR?
[x] Have the files been linted and formatted?
[x] Have the docs been updated?
[x] Have the tests been added to cover new hook?

NOTE: need more tests

[x] Have you run the tests locally to confirm they pass?

Few questions:

I am not really good with Jest, need to add more tests. please suggest new tests and approaches.
I was referring react-use test cases for useRaf, it uses raf-stuf which is written in JS. so couldn't use it in tests as types are not available for it

any plan to merge this?

i have several notices on implementation, but I'm ill ATM, will do the review later.

I was referring react-use test cases for useRaf, it uses raf-stub which is written in JS. so couldn't use it in tests as types are not available for it
Tests don't require raf-stub since Jest provides pretty much all needed functionality, see https://github.com/react-hookz/web/blob/master/src/useRafCallback/tests/dom.ts

Please consider https://github.com/streamich/react-use/pull/2215

Closing due t lack of response from author


Forms

What does this PR do?
Partially addresses #108 by doing some preliminary refactoring/semantic form improvements.

Just kidding this resolves #108 decently well


How customize td

How i set TD class of body rows table? I find set header class, but i did not find where td class set.

This is currently not supported. Only align is settable for now. Adding it for the next version ;)

For now, you can use the default datatable slot to override full row rendering. See the custom template tutorial.


Troubleshooting setup

Hello!
I'm trying to see if runs-on would fit our needs and I'm having a bit of trouble getting started. I did not get the "RunsOn Application is online" email.
Reviewing the logs for RunsOnService I see the following.
03-05-2024 04:16:08 PM AccessDenied: User: arn:aws:sts::066661520573:assumed-role/runs-on-RunsOnServiceRole-tWs7cLY5ltn3/5c525838-279e-4302-80c7-aecb074ef4db is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:us-east-1:066661520573:stack/runs-on/3c011e80-db35-11ee-adc6-0efc3927b4df because no identity-based policy allows the cloudformation:DescribeStacks action
03-05-2024 04:16:08 PM     at throwDefaultError (/usr/src/app/node_modules/@smithy/smithy-client/dist-cjs/index.js:838:20)
03-05-2024 04:16:08 PM     at /usr/src/app/node_modules/@smithy/smithy-client/dist-cjs/index.js:847:5
03-05-2024 04:16:08 PM     at de_CommandError (/usr/src/app/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js:3167:14)
03-05-2024 04:16:08 PM     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
03-05-2024 04:16:08 PM     at async /usr/src/app/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
03-05-2024 04:16:08 PM     at async /usr/src/app/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js:192:18
03-05-2024 04:16:08 PM     at async /usr/src/app/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
03-05-2024 04:16:08 PM     at async /usr/src/app/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
03-05-2024 04:16:08 PM     at async setup (/usr/src/app/src/config.js:14:20)
03-05-2024 04:16:08 PM     at async Object.synchronize (/usr/src/app/src/config.js:43:3) {
03-05-2024 04:16:08 PM   '$fault': 'client',
03-05-2024 04:16:08 PM   '$metadata': {
03-05-2024 04:16:08 PM     httpStatusCode: 403,
03-05-2024 04:16:08 PM     requestId: '197e3088-d894-48af-a37f-e63befc047dc',
03-05-2024 04:16:08 PM     extendedRequestId: undefined,
03-05-2024 04:16:08 PM     cfId: undefined,
03-05-2024 04:16:08 PM     attempts: 1,
03-05-2024 04:16:08 PM     totalRetryDelay: 0
03-05-2024 04:16:08 PM   },
03-05-2024 04:16:08 PM   Type: 'Sender',
03-05-2024 04:16:08 PM   Code: 'AccessDenied'
03-05-2024 04:16:08 PM }
03-05-2024 04:16:08 PM Node.js v20.11.1

Nevermind this was me being stupid. I attempted to reuse the runs-on CloudFormation template to a second stack.

@MisterJimson Hi, happy to hear you managed to fix it


[ci-skip] rename Helm charts and update references

Commit to be reviewed.

feat(quorum): rename Helm charts and update references
The changes have been made:
- Renamed two Helm charts, "node_tessera" and "tessera_key_mgmt".
- Updated all relevant references and paths in the repository to reflect the new file locations.

Please take latest from main as I just updated it, and also increment the versions in the Chart.yaml so that the release does not fail.


Fix offer products list new

Description
Storybook for list of Offer products
Fixes # (31)
How to test?
Pull the branch
run: npm run storybook
Checklist

[✔ ] I have performed a self-review of my own code
[ ✔] 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
[✔ ] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[✔ ] 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

The storybook looks like

Issue #111 merged accidentally and after reverted, needed to create another PR.


Add new datetime scalars

Implementation issue for: https://github.com/microsoft/typespec/issues/1637

Add new scalars 'utcDateTime' and 'offsetDateTime', both should extend string
Add unixTimeStamp format to format decorator: https://github.com/microsoft/typespec/issues/282
support types in OpenAPI3 and typespec-autorest emitters

Sorry I don't necessarily want to reopen the design debate but if others feel similarly I wouldn't be opposed to making these scalars that don't extend anything.

I am 100% on board with not extending string types.  Set up a meeting so we can discuss this as needed, and triage the related issues

scalar utcDateTime;
scalar offsetDateTime;
scalar zonedDateTime;


dom-module id / element "is" mismatch

This should not be a common case when using snippets, but sometimes we create new elements by copying existing ones. If I replace id attribute for dom-module, having not replaced is property in the same file, linter should warn (because in the browser I will just not see my element).
Please close this issue if such a warning is already implemented.

We no longer need dom-module for a custom element definition with Polymer 3. Closing.


NZXT Sensor via HWInfo causing exception and stopps reading temp

NZXT and CAM is a sh*tshow all by itself. They tried to prevent 3rd party apps from accessing controls and sensors.
However, via HWInfo and the FanControl plugin, it's possible to read e.g. the liquid temp sensor. But it doesn't last long. That's when HWInfo is able to re-establish reading the temp by (I guess) deleting and re-initializing the sensor.  Sometimes longer, before the next exception occurs.
It seems the sensor's path didn't change (I don't need to reconfigure the sensor in FanControl). However, it looks like HWInfo removed and re-added the sensor, which caused the exception and stopped the reading.
I guess the solution is to allow sensory to disappear and reappear after a few update cycles without causing an exception. Unfortunately, my last C# contact was many years ago. Otherwise I'd have given it a shot. But maybe you have a quick and clean solution for this?

Realized you are not using the latest version of the code. Haven't made a release for a while.  Just did.  Try and use the latest version and report back.

Thanks, I'll try and report back / close the issue within the next 2 days.

Ok. The problem is not solved completely. I found this exception in the log after starting back up from standby/hybernation...
HWInfo/NXZT Kraken Z63/Z73/Lüfter/RPM - Missing
HWInfo/NXZT Kraken Z63/Z73/Pumpe/RPM - Missing
20.02.2023 09:33:12: HWInfo sensor failed momentarily during operation: HWInfo/NXZT Kraken Z63/Z73/Flüssigkeitstemperatur/°C - Missing
HWInfo/NXZT Kraken Z63/Z73/Lüfter/RPM - Missing
HWInfo/NXZT Kraken Z63/Z73/Pumpe/RPM - Missing
20.02.2023 09:33:12: Unhandled exception in FanControl v<IP_ADDRESS>
20.02.2023 09:33:12: System.Exception: HWInfo sensors failed: HWInfo/NXZT Kraken Z63/Z73/Flüssigkeitstemperatur/°C, HWInfo/NXZT Kraken Z63/Z73/Lüfter/RPM, HWInfo/NXZT Kraken Z63/Z73/Pumpe/RPM
   bei FanControl.HWInfo.HWInfoPlugin.Update() in C:\projects\fancontrol-hwinfo\HWInfoPlugin.cs:Zeile 93.
   bei FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   bei System.Collections.Generic.List`1.ForEach(Action`1 action)
   bei FanControl.Domain.ComputerAccessLayer.Update()
   bei FanControl.Domain.ApplicationClock.DoActions()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)```

Also, the liquid temp now comes out as "not a number":
![grafik](https://user-images.githubusercontent.com/125797732/220120871-7832d5a3-abd1-4ebb-9219-f9dc4e37f75d.png)

After refreshing sensors, FanControl was able to read the temp and update it. I'll keep you updated about further exceptions and how it behaves after reboots / normal shutdown & boot.

Update: The exception re-occurs randomly during normal operation, and the temp sensor shows "NaN" until I manually refresh sensors.

From your log, it means the sensor goes offline from HWInfo for more than 10 seconds, and from the plugin POV that's unreliable enough to throw an error.

Ok. I can think of some more or less elegant solutions for this, which would probably result in a UI/UX nightmare.
I think I will fork a version to add some debugging stuff, like....

Introduce a separate fail counter for devices having "NZXT" and/or "Krakken" in their name.
Addidtional logging when a previously missing sensor is back.
When the sensors fail, I fake the temp, like: fakeTemp = 30 + _updateFailCountNzxt, so the fans ramp up.

Maybe that will give me an idea for a user friendly / non-coder solution. If you are interested, you can keep this issue open or I can create a pull request if I come up with something usefull.
Thanks anyway! =)

Hi again!
I could completely eliminate the issue by changing your code (HWInfoPlugin.cs:90) to if (++_updateFailCount >= 30). Changing it to 20 didn't always succeed. It was better, but not eliminated. I only tried 20 and 30. And I didn't make a distinction for NZXT devices.
I thought about only applying 30 if the missing sensor IDs contain one with "NZXT" in the name, but NZXT may not be the only manufacturer with this problem. As far as I know they are also only licensing their hardware from another manufacturer.
Hope I could help. Maybe you can figure out something more fancy. ;)


Window not resizeable

When I try to resize the main window is only resizable sideway ( x-Axis) not up/down (y-Axis)
Tested with
-chrome 89 (

edge
Opera

Do you need any more information ?

This is done on purpose since the CSS falls apart if you resize the y-Axis.

ahh it's not a bug it's a feature :)


[Documentation] The Flutter Plugins setup documentation lacks a proper reference to JDK installation

I ran into an issue when trying to do the Flutter Plugins setup. You also need a JDK (I didn't have one installed yet), but that is not mentioned in the setup docs. (hence I forgot to check it)
Steps to Reproduce

Follow the steps at Setting up the Plugins development environment
Run cd ./script/tool && dart pub get && cd ../../ to setup the tools
Pick a package that you want to run native Android tests for (I picked camera)
Run flutter build apk for the example app of that package (the native tests command will suggest this too if you forget)
Run

dart run ./script/tool/bin/flutter_plugin_tools.dart native-test --android --no-integration --plugins=<package name>

The command fails because I don't have a valid JDK installed / JAVA_HOME set

The setup docs don't mention that you also need a valid JDK installed. Secondly, http://www.java.com links to a JRE download, not a JDK. The version of the JDK is also dependant on what Android version you build for. Android 12 apparently requires JDK 11.
After installing OpenJDK 11 and fixing JAVA_HOME, everything started working as inteded.
Logs

Logs
When JAVA_HOME is not an environment variable
============================================================
|| Running for camera/camera
============================================================

Running tests for Android...
----------------------------------------
Running Android tests for camera/camera/example...
Running unit tests...
Running command: "/Users/navaronbracke/Documents/plugins/packages/camera/camera/example/android/gradlew testDebugUnitTest" in /Users/navaronbracke/Documents/plugins/packages/camera/camera/example/android
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.

camera/camera/example unit tests failed.

============================================================
|| Running for camera_platform_interface
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

============================================================
|| Running for camera_web
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

============================================================
|| Running for camera_windows
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

The following packages had errors:
  camera/camera
See above for full details.

When JAVA_HOME exists, but it points to an invalid location (like a JRE, instead of a JDK)
============================================================
|| Running for camera/camera
============================================================

Running tests for Android...
----------------------------------------
Running Android tests for camera/camera/example...
Running unit tests...
Running command: "/Users/navaronbracke/Documents/plugins/packages/camera/camera/example/android/gradlew testDebugUnitTest" in /Users/navaronbracke/Documents/plugins/packages/camera/camera/example/android

ERROR: JAVA_HOME is set to an invalid directory: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

camera/camera/example unit tests failed.

============================================================
|| Running for camera_platform_interface
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

============================================================
|| Running for camera_web
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

============================================================
|| Running for camera_windows
============================================================

No implementation for Android.
SKIPPING: Nothing to test for target platform(s).

The following packages had errors:
  camera/camera
See above for full details.

Flutter Doctor
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-BE)
    • Flutter version 2.10.2 at /Users/navaronbracke/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (7 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/navaronbracke/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_HOME = /Users/navaronbracke/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

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

[✓] Android Studio (version 2021.1)
    • 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 11.0.11+0-b60-7590822)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.109

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

Done.


test suggestions from Steve

We want to think about the tests that a manufacturer might do, compared to the tests that the firmware designer will want to do.
For example, for the rotary encoder:

a firmware designer will use the specification tests to do check off that they meet the functional requirements
a manufacturer will perhaps just want to test that turning the knob changes the value

Operator might not speak / read english on factory floor.

IMO, focus on 1st scenario first, probably build another test suite for manufacturer.


Handling of latin characters

Heya, wonderful gem. using it as we speak. however it seems a bit out of date with the new cards, E.g. there are some cards that start with the latin Æ which should be scraped as AE.
i forked and fixed this with a simple gsub, and also brought the tests up to date.
but i think the better solution is to add the I18N gem and run the regex_name generator through that
thanks for the spectacular work again.
best regards

@kirka121 this project has been dead for quite a few years. If you are in need of a ruby gem to scrape MTG cards, I'd go here: https://github.com/MagicTheGathering/mtg-sdk-ruby

Hey @kirka121, unfortunately @adback03 is correct. We haven't maintained this repo in quite some time and there aren't any plans to revive it.


Code scanning with CodeQL supports TypeScript 5.2

Summary
The CodeQL analysis engine for GitHub code scanning will be able to analyze projects built with TypeScript 5.2.
Intended Outcome
Currently, CodeQL supports TypeScript language features up to and including TypeScript 5.1. TypeScript version 5.2 is due to be released before the end of 2023. Adding support to CodeQL will allow users of TypeScript 5.2 to benefit from CodeQL's comprehensive security analysis.
How will it work?
If a project contains code that uses TypeScript 5.2 language features, CodeQL will be able to scan the code. As soon as the analysis is finished, the CodeQL results will become visible to you in the "Security" tab and on pull requests. TypeScript 5.2 support will also be available through the CodeQL CLI and CodeQL VS Code extension.

🚢 This has shipped: https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/


3.0.0 setting button language is invalid

I used the new version of 3.0.0 to set the button language according to the following code, but in order to take effect, the demo you provided is valid. Is there anything to be configured in the project?
code
Future scan() async {
try {
var options = ScanOptions(
strings: {
"cancel": "取消",
"flash_on": "开启",
"flash_off": "关闭",
},
restrictFormat: selectedFormats,
useCamera: _selectedCamera,
autoEnableFlash: _autoEnableFlash,
android: AndroidOptions(
aspectTolerance: _aspectTolerance,
useAutoFocus: _useAutoFocus,
),
);
  var result = await BarcodeScanner.scan(options: options);

  // setState(() => scanResult = result);
} on PlatformException catch (e) {
  var result = ScanResult(
    type: ResultType.Error,
    format: BarcodeFormat.unknown,
  );

  if (e.code == BarcodeScanner.cameraAccessDenied) {
    setState(() {
      result.rawContent = 'The user did not grant the camera permission!';
    });
  } else {
    result.rawContent = 'Unknown error: $e';
  }
  // setState(() {
    // scanResult = result;
  // });
}

}

I'm sorry, but I don't understand your problem. Please provide more details about the actual and the expected behavior.


remove result in favor of the key's returned by the query

Discussion in #30
cc @abhiaiyer91

I'm going to give this a day for people to chime in if they are interested / opposed to this change.
cc @stubailo @apollostack/community-contributors @johnthepink

👍

I'm in :)

Thanks! I was going to do this but thanks for going for it!

@abhiaiyer91 I had some down time today 🎈

I think this should be 0.2 to conform to NPM's semver handling!

I think we should add a warning in the case where the query returns a property that conflicts with other things we return like refetch, error, loading. It's easy to work around with an alias, but it would be great for people to find out about the problem early!
It would be a bit weird to have a root query called error, but who knows, especially as we add more metadata.

Yes we can also write some Eslint rules for Apollo Query data, and ship that tooling?

Eslint rules for Apollo Query data

What would they do? We can add it here maybe: https://github.com/apollostack/eslint-plugin-graphql
Since a plugin can ship multiple rules, we can add as many as we want to that plugin.

@stubailo I'll update this PR tonight 🎉

@stubailo this one should be good to go. I'm good with calling it discussed and merging if you are


Hmac-SHA256 for aws

Can anyone tell me how can i use this code for aws signature generation.
It is step 3 of aws signature generation.
Link of aws doc : https://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html
Signature generated does not match .......sample input is given in aws document.

@hectorvp this is an old one but my comment on https://github.com/h2non/jshashes/issues/39 should help.


[feat] Request to work on OP_SWAP opcode

Would like to work on OP_SWAP opcode.
Apologies for not waiting for an official issue to be raised for it.

No worries, sure. I can assign you to this. I'll add info soon

@varun-doshi
Implement the OP_SWAP & OP_2SWAP opcodess using the opcodeSwap and opcode2Swap reference implementation from btcd
This will include implementing a version of SwapN from btcd on the Shinigami stack object.
References
Guide on how to add an opcode in shinigami

Got it
Thank you


Fix pauseAfter bug

Fixes https://github.com/BGStock/jquery-background-video/issues/5
Every time the video starts, the start_time variable gets overwritten.

Hi @GusRuss89,
I added the the line to reset the timer as you recommended and tested successfully.
Commit  	7f07863

Merged. Thanks @Ahuahuachi :)


MAISTRA-1633 fix issues in 2.0 charts

Signed-off-by: rcernich<EMAIL_ADDRESS>These fix issues in the 2.0 charts.  I'm seeing errors in istiod that I need to track down (looks like it's using global watch instead of SMMR), but it is being deployed.

/retest

Oh, the unit test actually will need to be fixed; it's counting the CRDs, and you removed one


Cannot connect after Mosquitto broker was updated from 1.6 to 2.x

I recently updated my broker (Mosquitto) from version 1.6 to 2.14. All my devices continued to work fine, except for my ESP8266 with the pubsubclient library. With the serial monitor I can see that the connect() function returns with error -4. Here's my code:
Serial.println("Attempting MQTT connection...");
if (mqttClient.connect("test"))
{
	Serial.println("MQTT Connected");
	break;
}
else
{
	Serial.print("Failed with state ");
	Serial.print(mqttClient.state());

	retries++;
	if (retries > 20)
		ESP.restart();

	// Wait some time before retrying
	delay(200);
}

In the Mosquitto log everything looks fine though:

New connection from <IP_ADDRESS>:42484 on port 1883.
New client connected from <IP_ADDRESS>:42484 as test (p2, c1, k15).

So from the broker's point of view the connection seems to be established just fine. Only the ESP gives me a -4 (timeout?) error.
Is there anything I need to change on client or server side to get this working again?

I had the same problem when I was using UIPEthernet.h, changing to https://www.arduino.cc/reference/en/libraries/ethernetenc/ fixed this issue for me

I recently updated my broker (Mosquitto) from version 1.6 to 2.14. All my devices continued to work fine, except for my ESP8266 with the pubsubclient library. With the serial monitor I can see that the connect() function returns with error -4.

I have this same problem. How did you fix it?


ThreadLocalFns and systems do not get their command buffers flushed

The issue is that Steps of variant ThreadLocalFn do not get added to the waiting flush vector, therefore, they never get their components flushed. I'd fix it by either flushing after each and every one, or by adding another Vec just for them since they do not use Executors. I'm not sure which way is better, so for now I'm not making a pull request. I'd like to hear your opinion on that issue.
code in question:
/// Executes all of the steps in the schedule.
    pub fn execute(&mut self, world: &mut World, resources: &mut Resources) {
        let mut waiting_flush: Vec<&mut Executor> = Vec::new();
        for step in &mut self.steps {
            match step {
                Step::Systems(executor) => {
                    executor.run_systems(world, resources);
                    waiting_flush.push(executor);
                }
                Step::FlushCmdBuffers => waiting_flush
                    .drain(..)
                    .for_each(|e| e.flush_command_buffers(world)),
                Step::ThreadLocalFn(function) => function(world, resources),
            }
        }
    }

EDIT: Now I realize fixing it will a bit harder than I thought since the command_buffer is not available in the ThreadLocalFn variant

I now realize that flushing after every thread local thing is rubbish and is only a hack, I'll get around to making a proper fix and PR today.

Well, I have a solution, which works. Opening PR

This issue seems resolved now that the PR was merged.
Thanks @MagicRB for creating the fix, it made it possible for me to use Legion with Godot,
and thanks @TomGillen (and all other contributors) for Legion, I really appreciate the work you all do.


fix(particles-demo): remove extra character from demo

I noticed an extra character in the preview of the particles demo. This PR removes the extra char
Screenshot for reference

Closing because someone beat me to the punch -> #474


What's new 1.79 issue on referencing sap.ui.richtext.Richtext

Hi,
what's  new in OpenUI5 SDK 1.79 points out the RichTextEditor, which is (so far as i know) only available in SAPUI5!
Regards
Holger

Hello @hschaefer123,
Unfortunately we have made a mistake when we have submittet it in version 1.79,
which is no LTS and also wont't be available in version 1.80
Kind Regards,
Todor


Fix Barlow Twins loss gradient

It's a really minor fix (basically a typo), which I only noticed now.
A factor of 2 in the derivative of the Barlow Twins loss is missing. It's no big deal, since it can be compensated by setting a larger lambda, but still. It's even mentioned in the comment above…
I am running the example again, but I think nothing will change.

As expected, nothing changes, well, in this run, the test accuracy was 89% instead of 88%, so I think we can merge it :)


pca9685 build failed.

Scanning dependencies of target drivers__frsky_telemetry
[ 55%] Building CXX object src/drivers/gps/CMakeFiles/drivers__gps.dir/devices/src/ashtech.cpp.obj
[ 55%] Built target drivers__meas_airspeed
[ 56%] Building C object src/drivers/frsky_telemetry/CMakeFiles/drivers__frsky_telemetry.dir/frsky_data.c.obj
[ 56%] Building CXX object src/drivers/pca9685/CMakeFiles/drivers__pca9685.dir/pca9685.cpp.obj
Scanning dependencies of target drivers__led
[ 56%] Building CXX object src/drivers/led/CMakeFiles/drivers__led.dir/led.cpp.obj
/media/build/EXT41/px4/Firmware/src/drivers/pca9685/pca9685.cpp:139:32: error: 'NUM_ACTUATOR_CONTROLS' was not declared in this scope
uint16_t      _current_values[NUM_ACTUATOR_CONTROLS]; /**< stores the current pwm output
^
compilation terminated due to -Wfatal-errors.
make[3]: *** [src/drivers/pca9685/CMakeFiles/drivers__pca9685.dir/pca9685.cpp.obj] Error 1
make[2]: *** [src/drivers/pca9685/CMakeFiles/drivers__pca9685.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 56%] [ 56%] Building C object src/drivers/frsky_telemetry/CMakeFiles/drivers__frsky_telemetry.dir/sPort_data.c.obj
Building C object src/drivers/frsky_telemetry/CMakeFiles/drivers__frsky_telemetry.dir/frsky_telemetry.c.obj
Linking CXX static library libdrivers__led.a
[ 56%] Built target drivers__led
[ 56%] Building CXX object src/drivers/gps/CMakeFiles/drivers__gps.dir/devices/src/ubx.cpp.obj
Linking C static library libdrivers__frsky_telemetry.a
[ 56%] Built target drivers__frsky_telemetry
Linking CXX static library libdrivers__gps.a
[ 56%] Built target drivers__gps
make[1]: *** [all] Error 2
make: *** [px4fmu-v2_default] Error 2

Fixed in ad05a6a7ec. If its not too hard to figure out how to fix it a pull request would be appreciated in the future. Thanks!


Add extra useful links to deployment dashboard

Icinga is also looked at often during deployments

@suzannehamilton @dwhenry Take 3

LGTM.
Not sure about docs_name or repository. I wouldn't be very surprised if we had to use the repo name for something else, but docs_name makes the purpose clearer so it might be OK to stick with it for now and change it if we need to.


JsDiagGetObjectFromHandle reurns object with JsDiagEvaluate alike properties

When calling JsDiagGetObjectFromHandle i'd expect the same property structure for the object returned. It seems that when called on handle returned in the locals array of the JsDiagGetStackProperties method, it will return a structure like:
    ///     {
    ///         "name" : "this",
    ///         "type" : "object",
    ///         "display" : "{...}",
    ///         "className" : "Object",
    ///         "propertyAttributes" : 1,
    ///         "handle" : 18
    ///     }

Instead of
    ///     {
    ///         "scriptId" : 24,
    ///          "line" : 1,
    ///          "column" : 63,
    ///          "name" : "foo",
    ///          "type" : "function",
    ///          "handle" : 2
    ///     }

Is this the intended behavior? If so is there a way to get the information such as line/column from an object returned as locals?
Great work so far!

JsDiagGetStackProperties is supposed to return locals, scopes and global properties for give stack frame whereas JsDiagGetObjectFromHandle is supposed to return the object representation of a handle.
JsDiagGetObjectFromHandle is mainly for getting the function representation from functionHandle returned in JsDiagGetStackTrace.
The APIs are used in Ch debugger, take a look at DbgController.js
Thanks for the feedback, I am open to suggestion for improvements.


sampling edge collection

Greetings, Ivan!
To allow easy sampling of an edge collection, you could have something like this:
Docs = new Mongo.Collection('docs');
Edges = new Mongo.Collection('edges');
Edges.attachGraph();
Edges.links.find(null, null, {}, {sampling: true, sampleSize: 10});

This code would give you, at most, 10 random edges.

Or, for example, 5 random edges with a certain document as source:
Edges.link.find.from(Docs.findOne(), {}, {sampling: true, sampleSize: 10});

Graph methods
Methods in the graph is sugar. They have an alternative, and probably it is necessary to write the documentation.
Edges.link.find.from(Docs.findOne());
Edges.find(Docs.findOne().Ref('_source'));

Sampling
This applies not so much graphs how much random in mongodb.
I propose to make a package that can so:
// Because in mongo is not have random selector as far as i know, we can fix it at the cursor step.
var cursor = Edges.find();
cursor.cout();
// 150
cursor.random(3);
// [Document, Document, Document]
Edges.links.find.from(Docs.findOne()).random(5);
// [Document, Document, Document, Document, Document]

Implement sampling can be something like this:
var cursor = Edges.find();
var results = [];
var hash = {};
for (var s = 0; s <= 5; s++) {
    while (true) {
        var random = lodash.random(0, cursor.count()-1);
        if (!hash[random]) {
            hash[random] = true;
            break;
        }
    }
    var document = Mongo.Collection.get(rule.find({ abc: 123 }).collection.name).findOne(cursor.matcher._selector, { skip: random, limit: 1 });
    results.push(document);
}

I can arrange it in the package if needed.

Why don't you use the 'options' argument to state that you want a sample of the edge collection? That would allow the API to stay the same.

API is different. We can say that the options of the method find, to get the API cursor is unchanged, but the cursor function and collection functions can be changed, or vice versa. Following the tradition of hooks or helpers or instances and others, it seems logical to add a method. However, nothing prevents to do both?
Options for the database will have to be validated on each request and remove our excesses from official options in minimongo. This will cause an additional burden on each operation. The loads will not be if it is just a method to the prototype cursor.


"thread '' panicked at 'called Result::unwrap()" with bad _id

When calling findById with an _id where a character was removed.
Like 5f23341d003e64540053cbe instead of 5f23341d003e64540053cbe4.
It crashes with
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: FromHexError(OddLength)', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\bson-0.14.1\src\bson.rs:575:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It should be a catchable error.

i have similar error like
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: FromHexError(InvalidHexCharacter { c: 's', index: 24 })', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\bson-0.14.1\src\bson.rs:575:39 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This problem should no longer exist


Lable Quartiersplattform area

Lable Quartiersplattform Area
To show the area of the quartiersplattform it might make sense to display it on a map and have the possibility to show neighbouring districts. The could be shown on the landingpage on the district page.
Example

Like it. See title picture on hammesberg.net


how to use arguments

Hello,
I want to use you library to have file name and Download directory of every torrent.
I'm not able to get the "downloadDir" from the transmission deamon.
I always have the error : Query failed with result "no fields specified"
Do you have an example to use the arguments option ?
thank
Azlux

find it.
You can ignore that.


Remove GameSubmissions relation

Add test suite and fix github action to run it
Add pytest-cov
Remove GameSubmission through-table and relationship

Decided that this isn't a good feature to have, too confusing for users. Once a submission is used up, it will not be available in any game

Fix bug introduced by crispy forms
Fix type error in invite_token_middleware
Fix recursion error in UserFactory
Simplify Player.objects.annotate_submission_count
Change Uploads page to show if song has been played
Fix potential 500 on activate/
Fix 500 on player_invite_view send mail

duplicate of #11


Kruize changes

Updated the kruize document as per the changes suggested by you.

https://aaruniaggarwal.github.io/extra/kruize/


Import/Export ConnectionStrings from Azure AppService into Azure App Configuration.

While import/Export from Azure App Configuration to AppService connectionstrings are not imported/exported from Azure AppService into Azure App Configuration.

@praveena-m the Connection strings are considered as secrets, which normally needs rotation, etc. This is why we didn't include it in import/export in Azure App Configuration.

I have done a work around to store the encrypted connection strings in App Configuration and export the same using Azure CLI and update into an Azure App Service.


Add getContext() to custom validator

A better way to handle asynchronous validation would be to have a getContext() method that would return the current context validating the model, instead of hard-coding that context in the schema itself. Such implementation could even allow validating based on context name pattern. For example, a validation would differ from another if the context name is /\.insert$/ or /\.update$/, or anonymous.
Hard-coding a named context within the schema itself is not a good suggestion.

For example, the implementation
username: {
  type: String,
  regEx: /^[a-z0-9A-Z_]{3,15}$/,
  unique: true,
  custom: function () {
    if (Meteor.isClient && this.isSet) {
      Meteor.call("accountsIsUsernameAvailable", this.value, function (error, result) {
        if (!result) {
          Meteor.users.simpleSchema().namedContext("createUserForm").addValidationErrors([{
            name: "username",
            type: "notUnique"
          }]);
        }
      });
    }
  }
}

would become
username: {
  type: String,
  regEx: /^[a-z0-9A-Z_]{3,15}$/,
  unique: true,
  custom: function () {
    if (Meteor.isClient && this.isSet) {
      Meteor.call("accountsIsUsernameAvailable", this.value, (error, result) => {
        if (!result) {
          this.getContext().addValidationErrors([{
            name: "username",
            type: "notUnique"
          }]);
        }
      });
    }
  }
}

This doesn't make sense. validate is a synchronous function. You can't perform asynchronous validation with simpl-schema as far as I know.

Added as just this.validationContext. Thanks for getting the PR started.


Merge Challenge 3 to develop

What does this PR do?
This PR merges challenge 3 work to challenge 2 on branch develop
Description of Task to be completed
The main tasks to be completed are:
Merge branch v2 to develop
What are the relevant pivotal tracker stories?
None

Aweome job

Nice implementation of logic


How to trigger reconciliation for the update to objects not owned by the operator

Type of question

How to implement a specific feature

Question
What did you do?
I want to trigger a reconciliation when an object gets updated that's not owned by the operator (e.g. Node). In the earlier version of the SDK it was possible to do that by using handler.EnqueueRequestsFromMapFunc, but not sure how will this work in v1.0
Operator type:

/language go

Kubernetes cluster type:

$ operator-sdk version: "v1.0.0", commit: "d7d5e0cd6cf5468bb66e0849f08fda5bf557f4fa", kubernetes version: "v1.18.2", go version: "go1.14.6 linux/amd64", GOOS: "linux", GOARCH: "amd64"

$ go version go1.14.6 linux/amd64  (if language is Go)

Additional context
Prior to v1.0 we were using handler.EnqueueRequestsFromMapFunc to watch for the node object updates and trigger the reconciliation.

cc @camilamacedo86

@harche It is still possible to use handler.EnqueueRequestsFromMapFunc in 1.0. If your operator is using the new Builder pattern from controller-runtime, there is a Watches function that works the similar to the lower-level controller Watch function.

yeah I converted that function into something like this to watch Node object updates. Haven't tested it though.
func (r *KataConfigKubernetesReconciler) SetupWithManager(mgr ctrl.Manager) error {
	return ctrl.NewControllerManagedBy(mgr).
		For(&kataconfigurationv1.KataConfig{}).
		Owns(&appsv1.DaemonSet{}).
		Watches(&source.Kind{Type: &corev1.Node{}}, &handler.EnqueueRequestsFromMapFunc{
			ToRequests: handler.ToRequestsFunc(func(kataConfigObj handler.MapObject) []reconcile.Request {
				kataConfigList := &kataconfigurationv1.KataConfigList{}
				client := mgr.GetClient()

				err = client.List(context.TODO(), kataConfigList)
				if err != nil {
					return []reconcile.Request{}
				}

				reconcileRequests := make([]reconcile.Request, len(kataConfigList.Items))
				for _, kataconfig := range kataConfigList.Items {
					reconcileRequests = append(reconcileRequests, reconcile.Request{
						NamespacedName: types.NamespacedName{
							Name: kataconfig.Name,
						},
					})
				}
				return reconcileRequests
			}),
		}).
		Complete(r)
}

That looks exactly like I would expect. I'll leave this open to let you test this out, but I expect that to work.

@joelanford Thanks. I will take some time to fix rest of the operator.  I am upgrading the operator which used operator-sdk 0.16.0 to 1.0. Plenty of things have changed in the sdk so I might take some time. Fixing them one at a time.
I will close this bug for now. If we see the code from https://github.com/operator-framework/operator-sdk/issues/3784#issuecomment-680916015 doesn't work for some reason, I will try to re-open this issue.
Thanks for your help. I really appreciate it.


Yolo

Still some more work to do, as tracked in #48.
But this can be merged, otherwise we are too faraway from master.


Add carriage return to log message when using --tty flag

Add a raw text formatter for logrus to be used when terminal is in raw
mode (i.e. when allocating a pseudo-TTY for the container). The raw text
formatter terminates the log messages with the corret \r\n sequence.
Fixes #961

I think we're actually terminating with \n\r with this, but if it works and the code is simpler I'm absolutely fine with that. LGTM.

@mheon: you are right. In my tests \n\r is visually equivalent to the canonical \r\n representation. Swapping the two bytes is matter of:
       if err == nil {
-               bytes = append(bytes, '\r')
+               bytes[len(bytes)-1] = '\r'
+               bytes = append(bytes, '\n')
        }

@rhatdan \n is already included by the logrus text formatter as the last byte in the buffer. I am appending an extra \r to it.

I just tried this locally and it looks awesome
@marcov Thanks
LGTM

@rh-atomic-bot r+


PyPI release is quite old

The latest source code release on PyPI (link) is old. Please release the latest one (and also in the future).

Yes, it is, but you can install using pip from source.
As it’s a volunteer effort I/we can’t commit to regular releases.
I admit there has been some good work on a fork that needs merging, just needs some time.
Noted and closing, thanks!


Display screenshots on the same page

I would like to customize the Geb artifacts section a little bit, like removing the links to the dom snapshot file and have the screenshot displayed on the same page instead of being a link, is it possible?

Hi @jdelucaa, I was actually thinking about adding thumbnails a long time ago, but never took the time to look into it. But you can achieve this quite easily in the meantime:

Copy the spec-template.html to your projects test resource folder
Make sure the reference to the template is correct in the spock-reports config
Now you can make the adjustments in the spec-template.html according to your preferences

The geb artifacts table is generated in lines 248 to 274, so you could replace it with something like the code below. I do not know how performant it is to simply add the full images inline (only scaled-down by css), but for anything less than a few dozen images on a single page, I don't think it will be a major issue. Instead of inlining css, you can also provide a custom css file.

        Label
        Image
        Page object

    <% gebArtifacts.sort { it.number }.each { artifact ->
    def label = artifact.label?.replaceFirst(name+"-", '')
    def trCssClass = label.endsWith('-failure') ? 'geb-failure' : ''
    def imageFile = "./" + artifact.files.find { it.endsWith('png') }
    %>

        $label

        ${artifact.pageObject}

    <%
    } %>

Result:

Hope this helps. :) I would keep the issue open for now, as adding configurable thumbnails to the library would be a great addition.

Hey @tilmanginzel , this was really helpful and it works!
Thanks for the quick response :D
Let's keep this open then, so it can be configurable.


APIs are vulnerable to infinite listing with params[:per_page]

I think we should discuss about the params[:per_page] that api-pagination makes automatically exposed/allowed when using Grape.
There's currently no limit set what allows anyone to fetch tons of records at once.
What if we add another config option :max_per_page that limits that?
I think that we can then make params[:per_page] limited to the :per_page config by default.
This could break some APIs that rely on params[:per_page] to be unlimited.
What should we do?

From the discussion in #23...

on a second look, I didn't really see the need to implement a lot of special logic for Rails. The paginate method I have for rails doesn't really care about whats in params. The per_page option you pass in is the final word, so you could change your controller to look something like:

class MoviesController < ApplicationController
  MAX_PER_PAGE = 50

  def index
    @movies = Movie.all

    paginate json: @movies, per_page: [params[:per_page], MAX_PER_PAGE].min
  end
end

Grape didn't really have a workaround.


Figure out how to deal with unseekable content

DTV had the luxury of using Plex to remux unseekable content -- Plex had access to files on disk and could remux itself before sending to DTV for further transcoding. Tunarr has done away with Plex transcoding entirely --- this has the side effect of having issues with unseekable content (like mpeg). When starting a program at a random location, over the network, that is unseekable, ffmpeg needs to download the entire program in order to start transcoding. this causes the underlying stream to timeout (or otherwise takes VERY long to start). We should brainstorm ways to work around this limitation

@jasongdove - does ETV deal with this somehow?

Seekability is probably a little more complex than how I mentioned it here before.
That said, so far we've seen consistent issues with avi and mpegts content, and intermittent issues with mp4 (lots of literature around the web about how mp4 can either be encoded "right" or "wrong" for streaming w/r/t where the metadata lives within the file)

Also - we should figure out a way to encourage direct streaming from disk for users who have programming added in the known "troublesome" formats. We should be able to use server file paths to find these (and maybe some background ffprobe to determine more info, idk)


Update org names in docker install

Replaces owkin & chunantes with ORG_1 & ORG_2

Since you're renaming the nodes, why not go for node-1 and node-2 like we do in the skaffold setup? Also I'm not sure about the use of capital letters in URLs.

Good point, thank you @jmorel !

Are you sure these changes are enough? From the look of it, owkin and chunantes seem to be hardcoded in our conf and start scripts.

Indeed...


Respond with 404 for plugins that return empty data

There's an issue on the frontend and backend right now where calling the API with a plugin is not indexed will return empty data. We should update both the frontend to display a 404 page, and the backend to respond with a 404 status code if the plugin object is empty
Backend

Frontend

I've taken care of the backend portion in https://github.com/chanzuckerberg/napari-hub/pull/1226
@codemonkey800 Updating the current 404 page seems less critical, it's basic but I think it does the job? Let me know if you still think frontend work is needed for this.


Add rgb_color converter to Multifunctional Camping Lantern

See: #1396, 176963b

Thanks! Is it works well? Because I don't have color lamps.

Perfect!

Thanks a lot for the corverter!!!

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.8


Fix the image for "The Primrose"

Looks like fixed to me

It is working, now.
I updated to 4.0.0 and it still didn't show up.
What I realized, though, is that it autodetected my GOG version (which doesn't have Ragnarok).
I switched to my Steam path and it showed up.
I wonder if the older version was doing the same thing?
JJ

It is working, now. I updated to 4.0.0 and it still didn't show up. What I realized, though, is that it autodetected my GOG version (which doesn't have Ragnarok). I switched to my Steam path and it showed up. I wonder if the older version was doing the same thing? JJ

You must own the DLC on your Titan Quest installation directory to see the picture

@EtienneLamoureux this is not a bug.
The tool just can't find the picture of an item in a DLC you don't own (ARC files are not available).


CPU IO Wait updated to work with metricset

This includes some fixes for the graph demo to making file download more flexible.


Release Version 0.9.20

Coverage remained the same at 94.742% when pulling 7438d1cd65fb4a3fd587608f2dd754c63f1cfdad on cody-version-0.9.20 into e13c1ac019daa6f8151fff1b5b7d47a9081df2dc on main.


KOGITO-2477: Deploy files for spring boot

JIRA: https://issues.redhat.com/browse/KOGITO-2477
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

Tristan is on PTO, can we merge this or do you guys prefer waiting for this approval?

Tristan is on PTO, can we merge this or do you guys prefer waiting for this approval?

I think we're good to merge, what do you think @sutaakar ?

Yes, I think we can merge. @spolti Can you please merge this?

@Sgitario Please adjust the labels

@Sgitario Please adjust the labels

Done


maintainVisibleContentPosition Not Working

Current behavior
When a maintainVisibleContentPosition prop is given to a FlashList and items are prepended to the data array, the user sees the list content move. This can be observed in the video below. On the left tab, we have React Native's FlatList, which does not scroll as content is prepended to its data array. On the right tab, we have FlashList, which does scroll as content is prepended, even when providing a valid keyExtractor and a maintainVisibleContentPosition of { minIndexForVisible: 0 }.
https://user-images.githubusercontent.com/229477/182754997-24c6ceaf-bb7f-481e-873d-5d65e2202862.mov
See https://github.com/nickcherry/flashlist-maintain-visible-content-position for reproducible demo.
Expected behavior
I would expect FlashList to behave like FlatList and not scroll when content is prepended to its data and  maintainVisibleContentPosition is not undefined.
To Reproduce
https://github.com/nickcherry/flashlist-maintain-visible-content-position
Platform:

[x] iOS
[ ] Android

Environment
1.2.1

maintainVisibleContent position is unsupported right now. We will update here once we get to it.

The last missing piece for a almost perfect library :)

👀

Hey, I'd like to know the advancement on this feature ? Any news ?

@fortmarek Can you please handle this LPR

Any news on this one?

Just ran into this myself. Might need to revert to FlatList. Would be grateful if anyone is able to work on this feature.

Hey team, any updates on this issue? I see there is a fix about an experimental feature supporting MVCP from discord forked repo. Can't we merge it into this? 👀

Can you share the fork link @Marvin-Bai

Here it is.
https://github.com/discord/flash-list

If what you're referring to is this branch, the commits appear to be just a squash of this PR, which for the reasons I explain in the link from my above comment, cannot fully solve the issue (with problems like not working well during scrolling and not working if the indexes shift too much).
See if my linked fork/patch works well for you, and if it does, it would be great if you added support for my PR to get thoughts and attention of the maintainers.
P.S.
With respect to the two flaws I specifically linked to, my fork/patch addresses it respectively in

Mechanism -> Details -> 'Refixing' -> Timing section (_queueLayoutRefix in the recyclerlistview code)
'Mechanism -> Details -> List changes' section (handleDatasetChange in the recyclerlistview code))

Besides these two flaws, my patch addresses a good deal of other edge cases; in the latter part of my explainer, essentially each section corresponds to the presence of an edge case, and how we have dealt with/can deal with it properly.

Any news on this ?


Recipe field inside Matrix block.

When I place the Recipe field in a Matrix block, I get an error where the API cannot fetch the data or see that ingredients have been added.
The message shown is "Please provide some ingredients first."... no matter how many ingredients I add.
(I've confirmed that the API can fetch the same ingredient data when not in a Matrix block.)

This has been addressed. Try it out and let me know if it fixes your issue. Thx @bencroker
Craft CMS 3:
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-recipe": "dev-develop as 1.4.2",

Then do a composer clear-cache && composer update
…..
Craft CMS 4:
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-recipe": "dev-develop-v4 as 4.0.5",

Then do a composer clear-cache && composer update

Updated the docs to descript how to do Multi-Component recipes:
https://nystudio107.com/docs/recipe/#multi-component-recipes
Released as:
Craft 3: Version 1.4.2 -> https://github.com/nystudio107/craft-recipe/releases/tag/1.4.2
Craft 3: Version 4.0.5 -> https://github.com/nystudio107/craft-recipe/releases/tag/4.0.5

Hi Andrew,
This does not fix the problem.
This new version does not seam to pull any data for the field, no matter
where it is.
(I've also done a fresh install of v4 to ensure it wasn't my previous
build.)
Still no luck.
Dan
On Tue, Feb 21, 2023 at 11:32 AM Andrew Welch @.***>
wrote:

This has been addressed. Try it out and let me know if it fixes your
issue. Thx @bencroker https://github.com/bencroker
Craft CMS 3:
You can try it now by setting your semver in your composer.json to look
like this:
"nystudio107/craft-recipe": "dev-develop as 1.4.2",

Then do a composer clear-cache && composer update
…..
Craft CMS 4:
You can try it now by setting your semver in your composer.json to look
like this:
"nystudio107/craft-recipe": "dev-develop-v4 as 4.0.5",

Then do a composer clear-cache && composer update
—
Reply to this email directly, view it on GitHub
https://github.com/nystudio107/craft-recipe/issues/63#issuecomment-1438774398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMXCQQE2GWM5VVPLIGUJTWYTUYFANCNFSM6AAAAAAVCNFCTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@keyname can you please provide some more details? What happens when you click the Fetch Nutritional Information
button? And what do you see in the response of the network request in the browser's console tools?

Fixed and tested in https://github.com/nystudio107/craft-recipe/pull/65.

@keyname if you could test this out please...
Craft CMS 3:
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-recipe": "dev-develop as 1.4.3",

Then do a composer clear-cache && composer update
…..
Craft CMS 4:
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-recipe": "dev-develop-v4 as 4.0.6",

Then do a composer clear-cache && composer update

Success!
Working great now.  : )
Thanks.
Dan
On Tue, Feb 21, 2023 at 11:32 AM Andrew Welch @.***>
wrote:

This has been addressed. Try it out and let me know if it fixes your
issue. Thx @bencroker https://github.com/bencroker
Craft CMS 3:
You can try it now by setting your semver in your composer.json to look
like this:
"nystudio107/craft-recipe": "dev-develop as 1.4.2",

Then do a composer clear-cache && composer update
…..
Craft CMS 4:
You can try it now by setting your semver in your composer.json to look
like this:
"nystudio107/craft-recipe": "dev-develop-v4 as 4.0.5",

Then do a composer clear-cache && composer update
—
Reply to this email directly, view it on GitHub
https://github.com/nystudio107/craft-recipe/issues/63#issuecomment-1438774398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMXCQQE2GWM5VVPLIGUJTWYTUYFANCNFSM6AAAAAAVCNFCTU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Released as:
Craft 3: Version 1.4.3 -> https://github.com/nystudio107/craft-recipe/releases/tag/1.4.3
Craft 4: Version 4.0.6 -> https://github.com/nystudio107/craft-recipe/releases/tag/4.0.6


Class cast exception

Process: com.andremion.floatingnavigationview.sample, PID: 28109
java.lang.ClassCastException: android.support.design.widget.AppBarLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
at android.support.design.widget.FloatingActionButton$Behavior.isBottomSheet(FloatingActionButton.java:597)
at android.support.design.widget.FloatingActionButton$Behavior.onDependentViewChanged(FloatingActionButton.java:589)
at android.support.design.widget.FloatingActionButton$Behavior.onDependentViewChanged(FloatingActionButton.java:528)
at android.support.design.widget.CoordinatorLayout.offsetChildToAnchor(CoordinatorLayout.java:1564)
at android.support.design.widget.CoordinatorLayout.onChildViewsChanged(CoordinatorLayout.java:1233)
at android.support.design.widget.CoordinatorLayout$OnPreDrawListener.onPreDraw(CoordinatorLayout.java:1812)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1989)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1079)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5839)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:836)
at android.view.Choreographer.doCallbacks(Choreographer.java:635)
at android.view.Choreographer.doFrame(Choreographer.java:601)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:822)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5318)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:922)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:717)

Could you describe how did you get this crash? What changes did you make in original source code? I need this to reproduce the issue.
Or you can make a solve so we can discuss about it.

https://github.com/sathishmscict/Floating-Navigation-Drawer-MEnu here is the code

The link is just a copy of the original repo. I can't reproduce this issue.

is it possible to make this library to work in Android version 4?

Ok Thanks...this issue can be closed too.

Just adding appcompat library to the gradle file crashed the entire app...

It doesn't make sense.  I can add any library I want and I still can't reproduce.

Let's close and monitor if someone else reproduce this issue. Thank you.


Can I turn off character encoding for the builder?

I think I may not understand something about how the builder is supposed to work.
Here is my query function
export const getCustomers = async () => {
  const customers = await service
    .Customers()
    .query((builder, qCustomers) => {
      return builder.select("CustomerName").top(3);
    });

  return customers.data.value;
};

I expect this to return the top 3 records and just the Single 'CustomerName" field. Instead I get all the records back and all the fields.
Am I missing something?
Thanks
Todd

Ok, I know what is causing this.
The url that the builder generates looks like this ?%24top=3&%24select=CustomerName%2CCustCode%2CPrimaryKey
The oData service I am using can't use the character encodings.  This url works fine.
?$top=3&$select=CustomerName,CustCode,PrimaryKey
So is there someway I can tell the builder to NOT encode $ and ,
Thanks
Todd

Hi @toddgeist,
the builder itself provides an option for it in its constructor: See ODataQueryBuilderConfig. We make extensive use of it in tests. Unfortunately you are currently not able to influence that setting when using the generated services. So this becomes a feature request.

Workaround
As workaround you could initialize your own query builder along these lines:
import { createQueryBuilderV4  } from "@odata2ts/odata-query-builder";

const cService = service.Customers();
const qObject = cService.getQueryObject()

const url = createQueryBuilderV4(cService.getPath(), qObject, { unencoded: true })
  .select("CustomerName")
  .top(3)
  .toString();

// then use the http client directly
const response = await httpClient.get(url)

Thank you for your response.
I can use the workaround until the feature lands.
All the best :-)

I'm working on a similar setup to Todd, but having trouble getting the qObject from the workaround example
const service = new MapAppService(httpClient, baseUrl)
const filesService = service.files()
const qObject = filesService.getQueryObject()
//                           ^^ does not exist

MapAppService is the main generated service, but these are the only available properties on the filesService

Am I missing something about how to instantiate the main service?

Hi @eluce2,
the example above was a bit pseudo code. You get the Q-object from the generated Q-file, not from the service.

Hi @eluce2 & @toddgeist,
this feature has been released with<EMAIL_ADDRESS>You configure this at runtime for the main service along these lines:
const mainService = new MainService(httpClient, baseUrl, { noUrlEncoding: true });


VGG reference model achieved very low accuracy

Thanks for your great work!
We encountered some problems when test the LC algorithm on VGG networks.
When training VGG reference model with the default parameter settings in run_vggs.sh, accuracy is only about 40%. And it seems to be trapped in a local optimal. Do you have any ideas on possible reasons of this extremely poor performance? What's your results when training vggs?
Thanks!

Figured out. Need to tune batch size. 512 works here.


defined reference to pangolin::Handler3D::Handler3D no define

Description:
defined reference to pangolin::Handler3D::Handler3D no define
Command:
 catkin build -j 4

Console output:
![image](https://user-images.githubusercontent.com/48181529/140814297-f4a05df5-5ab6-43b6-98d5-b026165b2d06.png)

Additional files:
Please attach all the files needed to reproduce the error.
Please give also the following information:

KimeraVIO branch, tag or commit used
GTSAM version used:
OpenGV version used:
OpenCV version used: type opencv_version
Operating system and version (e.g. Ubuntu 16.04 or Windows 10):
Did you change the source code? (yes / no):

I reinstalled the system and solved the problem, so the problem was closed!


cordova inappbrowser plugin should use a background thread

I met with following error when trying to open pdf with inappbrowser plugin:
"UIPDFPageRenderOperation object 0x1589ec570 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug"
I tried different ways on google, but none work.

Can you provide an example that reproduces the issue?

I am seeing this also - just using inAppBrowser to display a pdf.
objc[319]: UIPDFPageRenderOperation object 0x147d102f0 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug
Every time I try to open a pdf.

I also have this issue ! try lots methods but do not work! anybody know how to do with it


Time to remove using default test entry point files like LinuxMain.swift?

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

[X] Confirmed reproduction steps with SwiftPM CLI.

Description
Many repos that had this file could be overridden by passing in --enable-test-discovery, particularly when they were trying to push users to add that flag, apple/swift-numerics#280, but now that that flag has been removed, #7391, this default test entry file will again be forced on users, with no automated test discovery override but manually removing it.
Expected behavior
warning: '--enable-test-discovery' was specified so the 'LinuxMain.swift' entry point file for 'swift-numericsPackageTests' will be ignored and an entry point will be generated automatically. To use test discovery with a custom entry point file, pass '--experimental-test-entry-point-path '.
Building for debugging...
Actual behavior
Using these commands instead, as a trunk snapshot build after #7391 has not been released yet but the flag was already partially disabled, eg for this command:
> ../swift-DEVELOPMENT-SNAPSHOT-2024-03-04-a-ubi9/usr/bin/swift build --build-tests --enable-test-discovery
> .build/x86_64-unknown-linux-gnu/debug/swift-numericsPackageTests.xctest
swift_numericsPackageTests/LinuxMain.swift:12: Fatal error: Use --enable-test-discovery to run Swift Numerics tests on Linux.

Steps to reproduce

cd swift-numerics/
swift test --enable-test-discovery

Swift Package Manager version/commit hash
The March 1 trunk snapshot started showing the above error
Swift & OS version (output of swift --version ; uname -a)
Swift 6.0 on linux x86_64

this default test entry file will again be forced on users

There's no default test entry file in SwiftPM and it's not forced on users in any way, especially since none of our swift package init contain these entrypoint files (if they do, that's worth a separate bug report). The default since Swift 5.4 has been automated test discovery. The current expected behavior is for users to remove these entrypoint files if they don't want to use them. @grynspan can clarify if support for custom test entrypoint files should be maintained long term. If not, we should deprecate those too.

@stmontgomery is probably more knowledgeable than I am as he added the option in question. Custom test entry point files are an experimental feature and I don't think we intended to keep them around forever.

There's no default test entry file in SwiftPM

Take a look at the source.

and it's not forced on users in any way

Swift-numerics cited above is a counter-example, ironically because it was trying to get people to use --enable-test-discovery back when that flag wasn't required.


Support Map type

The AssemblyScript Map type appears to not be supported.
For example:
{
  "data": {
    "a": "x",
    "b": "y",
    "c": "z"
  }
}

should be deserializable to:
@json
class Container {
    data!: Map<string, string>;
}

But I get an error such as:

Could not deserialize data {"a":"x","b":"y","c":"z"} to type Map<~lib/string/String,~lib/string/String>. Make sure to add the correct decorators to classes.

It would be very useful to support the Map type, because the keys may not be well-known, or even allowable as field names of an object.

Any update on this?  Thanks.

I think I can send a PR for this if you haven't started it already.

Hey, sorry man. Been on break from school so haven't checked this in awhile.
It's not on my immediate priority, so a PR would be appreciated if your willing


fix non-agg

fix extra comma when actual results < limit
fix null value representation

Codecov Report

Merging #274 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #274      +/-   ##
=========================================
- Coverage   71.81%   71.8%   -0.02%
=========================================
  Files         166     166
  Lines       22863   22868       +5
=========================================
+ Hits        16419   16420       +1
- Misses       5167    5169       +2
- Partials     1277    1279       +2

Impacted Files
Coverage Δ

query/aql_context.go
88.23% <ø> (ø)
:arrow_up:

query/aql_postprocessor.go
81.2% <100%> (+0.73%)
:arrow_up:

broker/query_plan_non_agg.go
84.32% <0%> (-2.24%)
:arrow_down:

memstore/cuckoo_index.go
90.26% <0%> (-1.01%)
:arrow_down:

subscriber/common/job/driver.go
71.27% <0%> (+0.7%)
:arrow_up:

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 5038e4c...dc4805b. Read the comment docs.


Provide opinionated cruft around client side connection and stream management

Currently we have this fluff all around the example.
There are two possible solutions:

Simply put that logic in the Connection module in grpc-lwt (and in grpc-async respectively)

Develop a more robust solution implementing grpc channels, excerpt from the docs:

Channels are a key concept in gRPC. Streams in HTTP/2 enable multiple concurrent conversations on a single connection; channels extend this concept by enabling multiple streams over multiple concurrent connections. On the surface, channels provide an easy interface for users to send messages into; underneath the hood, though, an incredible amount of engineering goes into keeping these connections alive, healthy, and utilized.

More about channels:

https://grpc.github.io/grpc/core/md_doc_connectivity-semantics-and-api.html
https://docs.microsoft.com/en-us/aspnet/core/grpc/performance?view=aspnetcore-6.0

I think we should aim to provide more robust support for channels (option 2). This includes implementing the state machine as well as retries with exponential backoff. We can also handle lifecycle management of the connection here as per our recent discussion.


Snake Game is Added

I have added a New snake game in your repo

Here's the game

@Subhradeep10 I can't play the game. Check if whether it's working or not?

Check it now @geekymeeky


Move webpackDevServer.config.js into react-dev-utils

[see #2442]
I updated it to also take an object with named arguments, as I found that made the call site a lot clearer.

Thanks for the PR.  I believe we are going to go with webpack-serve with the new Webpack 4 integration so I am going to close this one.


Some German numbers converted from the GDR network not recognized

Important fact: Phony only works with international phone numbers. It needs the country code to be able to identify the number's country and rules.
What I did
Phony.split('+493995620412')
What happened
Phony could not split the given number. Is "+493995620412" a phone number?
What I expected to happen and why
the number should be split in
country=49
area code/ndc=39956
subscriber=20412
there are several areas in the Eastern part of Mecklenburg-Vorpommern which have 5-digit area codes.

Hi @sroller, I initially misunderstood – in this case, simply lose the +.


fix bug #1423

the original reason of bug #1423 I can find is that the delete icon is out of the right side 20px of the chat item, but somehow the @hello-pangea/dnd includes the delete icon to calculate the width of draggable element. my solution to it is to move the initial location of icon to be inside of the draggable item by setting right: 0;
I know this fix is not very much graceful, so I am open to any better ideas, solutions.

I will try to fix it tonight, wont merge this pr before I can not find a better solution.

I will try to fix it tonight, wont merge this pr before I can not find a better solution.

please @me in case you got a better solution, I believe I will learn a lot from it.


Hyperlink is not exported in PDF.

Logseq Version 0.8.5
Plugin version 2.2.5
When exporting use "print with retained formatting", all the hyperlink is missing. Maybe it's because printing as a PDF doesn't include any links at all?

Whaat do you mean by hyperlinks? Do you mean like the links created through [](https://google.com)

Whaat do you mean by hyperlinks? Do you mean like the links created through [](https://google.com)

Yes, links like [](https://google.com) are not working.

This is still not working. I had bare URLs that act as links in the app, that don't link in the PDF. I tried wrapping them in < > as is common in markdown, and that didn't work either.

Still not working.

As a workaround, open your Logseq markdown file in a Markdown viewer and use it to save to PDF.


Header/Footer not working in Latex writer

The Latex writer ues pylatex, which supports creating a header and footer, using fancyheader. But, this does not seem to work, the header and footer are left blank.

This was a fancyhdr configuration problem. The tex file generated by the latex writer produces header and footer now.


Tests

i had to rebase in the middle there to synch up with the current upstream/master so only the last 3 commits are relevant.

Awesome, thanks so much! I cherry-pick'd those last couple and merged them in.

once you have merge that into the repo, rerun covrpage::make_badge() from the console and paste in the new tinyurl. that will point to the current branch tests/README.md file instead of to the fork location.

Ah.. okay. I just changed the link but without running covrpage::make_badge()

yeah. that will cause downstream problems in pkgdown. the tinyurl gets around them.


Oder by storage filename bugs Project frontend and persists state until manual change

Describe the bug
When trying to order by storage filename the front end returns an error message instead of ordering and stores the broken order.
( only tested with s3 image storage)
To Reproduce
Steps to reproduce the behavior:

Create project with s3 cloud storage (only tested with local minio)
Upload and sync some images
Go to project overview
Order by storage filename
See error
When opening the project again it now errors again and does not load any tasks (see video)

https://user-images.githubusercontent.com/45569834/231716199-31f2b67e-4817-4ae8-bddf-d22f3f2d9261.mp4
Expected behavior
If ordering by a selected key is not possible it should lead to a normal error message and reverting to a valid save, not in the UI getting borked into some weird state
Screenshots
https://user-images.githubusercontent.com/45569834/231716199-31f2b67e-4817-4ae8-bddf-d22f3f2d9261.mp4

Environment (please complete the following information):

OS: Windows
Label Studio Version [e.g. 1.7.2]
Running in Docker
Additional context
Traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/label-studio/label_studio/./data_manager/api.py", line 207, in get
    page = self.paginate_queryset(queryset)
  File "/usr/local/lib/python3.10/dist-packages/rest_framework/generics.py", line 171, in paginate_queryset
    return self.paginator.paginate_queryset(queryset, self.request, view=self)
  File "/label-studio/label_studio/./data_manager/api.py", line 136, in paginate_queryset
    return super().paginate_queryset(queryset, request, view)
  File "/usr/local/lib/python3.10/dist-packages/rest_framework/pagination.py", line 216, in paginate_queryset
    return list(self.page)
  File "/usr/local/lib/python3.10/dist-packages/django/core/paginator.py", line 177, in __len__
    return len(self.object_list)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 262, in __len__
    self._fetch_all()
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 1324, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 51, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 1162, in execute_sql
    sql, params = self.as_sql()
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 513, in as_sql
    extra_select, order_by, group_by = self.pre_sql_setup()
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 56, in pre_sql_setup
    order_by = self.get_order_by()
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/compiler.py", line 372, in get_order_by
    resolved = expr.resolve_expression(self.query, allow_joins=True, reuse=None)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/expressions.py", line 247, in resolve_expression
    c.set_source_expressions([
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/expressions.py", line 248, in <listcomp>
    expr.resolve_expression(query, allow_joins, reuse, summarize)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/expressions.py", line 578, in resolve_expression
    return query.resolve_ref(self.name, allow_joins, reuse, summarize)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1779, in resolve_ref
    join_info = self.setup_joins(field_list, self.get_meta(), self.get_initial_alias(), can_reuse=reuse)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1648, in setup_joins
    path, final_field, targets, rest = self.names_to_path(
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1562, in names_to_path
    raise FieldError("Cannot resolve keyword '%s' into field. "
django.core.exceptions.FieldError: Cannot resolve keyword 'storage_filename' into field. Choices are: annotations, cancelled_annotations, comment_authors, comment_count, created_at, data, drafts, file_upload, file_upload_id, id, inner_id, io_storages_azureblobimportstoragelink, io_storages_gcsimportstoragelink, io_storages_localfilesimportstoragelink, io_storages_redisimportstoragelink, io_storages_s3importstoragelink, is_labeled, last_comment_updated_at, locks, meta, overlap, predictions, project, project_id, total_annotations, total_predictions, unresolved_comment_count, updated_at, updated_by, updated_by_id

Thank you for reaching us, it's a well known bug, we have a ticket about it (LSDV-4876. We will let you know, when this is fixed.

Hi @Gornoka and @klinsc - this was fixed in our latest release, 1.11.0!

thanks for the update.

Hi @Gornoka and @klinsc - this was fixed in our latest release, 1.11.0!


should get_range return a KeyValue stream?

Transaction#get_ranges is a little tricky to use. It returns a Stream<GetRangeResult>, where GetRangeResult itself contains a KeyValues which derefs into a [KeyValue]. This means an extra layer of iteration to loop through all values in a range.
It'd be nice to offer a stream to the underlying KeyValue entries directly, which is something the other higher-level bindings do (links below!).
My proposal would be to:

remove the current flavor of get_range as a public function (it forces you to think about iteration count, which isn't intuitive + is only relevant with certain streaming modes)
make the current get_ranges return Stream<KeyValue>
rename get_ranges to get_range

I think this would bring the binding into closer alignment with the others for range reads.
[1] : Java returns a Iterable<KeyValue> (https://apple.github.io/foundationdb/javadoc/index.html)
[2] : Go returns a RangeResult which can either be used to pull all values into a slice, or act as an iterator(https://godoc.org/github.com/apple/foundationdb/bindings/go/src/fdb#Transaction.GetRange)
[3] : Python returns a generator over the KVs (https://github.com/apple/foundationdb/blob/master/bindings/python/fdb/impl.py#L327 / https://apple.github.io/foundationdb/api-python.html)

Glad you’re interested in the project. These sound like decent proposals, but I’d like some time to consider them, I’ve been a bit busy over the last few weeks.

I took a stab at this, but, as a Rust newbie, wasn't able to figure out the lifetimes. If any spectators have any ideas, I'm all ears 😁
Currently to iterate through all kv pairs in a range you might start off with something like:
transaction
.get_ranges(range_option)
.map_err(|(_, e)| e)
.map(|range| { // iterate over the `GetRangeResult` entries from the stream
    for kv in range.key_values().as_ref() { // now iterate over each KV within a given `GetRangeResult`
        // do something with the key values
    }
}) ...

The underlying FDB C API pulls in a GetRangeResult at a time, so the validity of a given KeyValue is tied to the lifetime of its range result. I'm not sure how to reconcile the lifetimes of these GetRangeResult with the lifetime of the overall stream -- each GetRangeResult doesn't live for the entire Stream, and each KeyValue lives as long as its GetRangeResult.
Ideally we can get something that iterates on the keyvalues directly:
transaction
.get_range(range_option)
.map_err(|(_, e)| e)
.map(|kv| { // iterate over KVs directly from underlying `GetRangeResult`s
        // do something with the key values
}) ...

An easy way to do this would be to just copy the byte arrays of the KV entries as they come in (something the other bindings do), but it'd be nice to package this up so it defaults to zero-copy and allows clients to choose whether they want to hold onto the values outside of transaction.

Sorry you ran into issues here. Sometimes flat_map ends up being the right tool in a situation like this. Otherwise, you end up needing to wrap the result in some other type to manage the iteration over the data...


How to uninstall?

If I used the script to install, how do I uninstall?

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

ID: a2e484a9-5e0c-eb3e-1413-7b507c4fa07d
Version Independent ID: 5bc7caa5-f1c2-d7d5-fe02-80c65cca9672
Content: dotnet-install scripts - .NET CLI
Content Source: docs/core/tools/dotnet-install-script.md
Product: dotnet-fundamentals
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Associated WorkItem - 60739

To uninstall, delete the files from the install directory, which is either the default location or the location specified via --install-dir.
cc @YuliiaKovalova

It would be super slick if the script created an uninstall script, based on the install directory it used during installation. I believe it also modifies the PATH variable. There are multiple ways to do this on Linux. It would be nice to document how this was done, and again, provide a path to reversing all changes made to a system.

Related to #30744

@dotnet/install-scripts-maintainers What needs to be done to uninstall, other than deleting the files that are copied into the install directory?

Hello, I believe the only thing is just removing files. Script sets environment variable, but it's just for the current process. I checked if the downloaded zip file stays on disk, but there is a line near end of the script that removes the file as well. That means, if the computer is for example restarted before script reaches the end, zip file could also be on the disk.


Error message: ERROR: Initial value and slope must be finite when using method "ar"

I received the following error after submitting an IFE model on Julia using the SparseFactorModels package:
ERROR: Initial value and slope must be finite
 in hz_linesearch! at /home/candelar/.julia/v0.3/Optim/src/linesearch/hz_linesearch.jl:184
 in hz_linesearch! at /home/candelar/.julia/v0.3/Optim/src/linesearch/hz_linesearch.jl:176 (repeats 9 times)
 in update_half! at /home/candelar/.julia/v0.3/SparseFactorModels/src/algorithms/gd.jl:88
 in update! at /home/candelar/.julia/v0.3/SparseFactorModels/src/algorithms/gd.jl:59
 in fit! at /home/candelar/.julia/v0.3/SparseFactorModels/src/algorithms/gd.jl:135
 in fit at /home/candelar/.julia/v0.3/SparseFactorModels/src/fit.jl:123
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
while loading /share/PI/reininge/Users/candelar/SchFinIFE/julia/juliacode1.jl, in expression starting on line 9
Here are the commands I submitted to run the IFE model:
# Load packages
using SparseFactorModels, DataFrames, FixedEffectModels
# Import data
df = readtable("juliaexportTEMP.csv")
# Prepare data for SparseFactorModels
df[:pdistid] = pool(df[:distid])
df[:pfrplyear] = pool(df[:frplyear])
df[:pyear] = pool(df[:year])
df[:pstate] = pool(df[:stabb_num])
df[:pstatefrpl] = pool(df[:stabbfrpl])
# Factor structure
fmtestgradrate01_tc11 = SparseFactorModel(:pstate, :pyear, 1)
# Estimation Model: The fit function (below) appears on line 9 of my program file. This is the line to which the error above refers.
fmtestgradrate01_tc11RUN = fit(fmtestgradrate01_tc11, gradrate01_tc ~  TECfrpl1yr1 + TECfrpl1yr2 + TECfrpl1yr3 + TECfrpl1yr4 + TECfrpl1yr5 + TECfrpl1yr6 + TECfrpl1yr7 + TECfrpl1yr8 + TECfrpl1yr9 + TECfrpl1yr10 + TECfrpl1yr11 + TECfrpl1yr12 + TECfrpl1yr13 + TECfrpl1yr14 + TECfrpl1yr15 + TECfrpl1yr16 + TECfrpl1yr17 + TECfrpl1yr18 + TECfrpl1yr19on + TECfrpl2yr1 + TECfrpl2yr2 + TECfrpl2yr3 + TECfrpl2yr4 + TECfrpl2yr5 + TECfrpl2yr6 + TECfrpl2yr7 + TECfrpl2yr8 + TECfrpl2yr9 + TECfrpl2yr10 + TECfrpl2yr11 + TECfrpl2yr12 + TECfrpl2yr13 + TECfrpl2yr14 + TECfrpl2yr15 + TECfrpl2yr16 + TECfrpl2yr17 + TECfrpl2yr18 + TECfrpl2yr19on + TECfrpl3yr1 + TECfrpl3yr2 + TECfrpl3yr3 + TECfrpl3yr4 + TECfrpl3yr5 + TECfrpl3yr6 + TECfrpl3yr7 + TECfrpl3yr8 + TECfrpl3yr9 + TECfrpl3yr10 + TECfrpl3yr11 + TECfrpl3yr12 + TECfrpl3yr13 + TECfrpl3yr14 + TECfrpl3yr15 + TECfrpl3yr16 + TECfrpl3yr17 + TECfrpl3yr18 + TECfrpl3yr19on + TECfrpl4yr1 + TECfrpl4yr2 + TECfrpl4yr3 + TECfrpl4yr4 + TECfrpl4yr5 + TECfrpl4yr6 + TECfrpl4yr7 + TECfrpl4yr8 + TECfrpl4yr9 + TECfrpl4yr10 + TECfrpl4yr11 + TECfrpl4yr12 + TECfrpl4yr13 + TECfrpl4yr14 + TECfrpl4yr15 + TECfrpl4yr16 + TECfrpl4yr17 + TECfrpl4yr18 + TECfrpl4yr19on   |> pdistid + pfrplyear , df, method=:ar, VcovCluster(:pstate), tol=1e-7, maxiter=80000)
On August 18, I was able to run the model, but when I recently installed the package updates on my server computer, I started getting this error. For some reason, the gd algorithm is being called, even though I specify the use of method ar. Perhaps I am missing something? Should gd be called? Any help would be greatly appreciated. I am happy to provide any additional information. Thanks!
Note: I am using Julia Language 0.3.1 on a Linux environment. I will also try this on MacOSX.

I'm not sure why this happens. It does not happen on the dataset I'm testing the package with. Can you reproduce it on some publicly available dataset with a simple model?
For now, I've just removed the initialization of the model through :gd so that should work, but I'm curious to understand why this happens.
To update the package, do `Pkg.checkout("SparseFactorModels.jl")
PS:  instead of adding all dummies for TECfrp1yr, you could just do
df[:pTECfrpl1yr] = pool(TECfrpl1yr)
df[:pTECfrpl2yr] = pool(TECfrpl2yr)
df[:pTECfrpl3yr] = pool(TECfrpl3yr)
df[:pTECfrpl4yr] = pool(TECfrpl4yr)
 fit(fmtestgradrate01_tc11, gradrate01_tc ~ pTECfrpl1yr + pTECfrpl2yr + pTECfrpl3yr + pTECfrpl4yr)

if TECfrpl1yr is a categorical variable with the lagged year.
In other words, one variable is pooled, it is automatically understood as a categorical variable, and you'll get the same regression than when you add all the dummies

Quick update. SparseFactorModels.jl works well on my MacBook Pro running Yosemite. I think the issue raised above is related to some updates that were being done on the Linux cluster I was using. I also tested SparseFactorModels.jl on a desktop computer that runs Linux, and I am not receiving any errors.

Great


chore(ci): Print services logs upon e2e test suite error

It's hard to determine the cause of test flakiness without all the auxiliary
logs from other services.
Print the logs of maker, coordinator and docker containers in case e2e tests fail.

related to #1244 #1243


[Bug]: [Canvas Layout] Remove excess padding at the bottom of the canvas.

@rahulramesha i think you might have fixed this issue. pls check.

Excess padding is not seen at the bottom of the canvas, working as expected in the PR #20836. Moving to done.


redhat.ansible-2.9.118/out/server/src/server.js --node-ipc does not terminate when code is closed and high CPU usage

Summary
infinite loop behaviour on this extension when spinning up node server.js , that later results in high CPU usage.
Extension version
2.9.118
VS Code version
1.84.2
Ansible Version
ansible [core 2.15.7]
  config file = ~/.ansible.cfg
  configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = ~/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True

OS / Environment
Ubuntu 22.04.3 LTS ansible-lint 6.22.1
Relevant log output
No response

Been having that problem for a long time. So often that when my fan starts spinning, I just run pkill -f 'redhat.ansible-.*/out/server' before checking what's wrong.

yeah, been using kill to workaround and sometimes have to restart vscode just to continue the ansible script, kinda relying on linter to filter mistakes/errors.
Rather annoying to kill it everytime, makes ppl wonder why such CPU usage, a bit like the "ssh xz code injection/hack CVE-2024-3094" recently, but i'm just not that capable to pinpoint the exact cause. lol. Who knows maybe someone investigate turns out it's another kind of injection.

We were unable to reproduce this in current versions.

Hey! I have the same issue. Has anyone been found a solution?


fix: Fix top navigation text overflowing when provided with 100% w-h svgs

Description
https://github.com/cloudscape-design/components/issues/704
If there is a provided svg to the top navigation component logo that has 100% for height and width in the svg definition the top navigation title will always overflow and be cut.
To reproduce this, edit one of the sample svg logos in the test pages and make it have 100% height and width and check the page.

Related links, issue #, if available: n/a
How has this been tested?

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Is this PR still relevant after https://github.com/cloudscape-design/components/pull/1069 or should it be closed?


[Bug] IR should return a required property for terminator in StreamingResponse

Describe the bug
Currently, the IR returns an optional property for terminator in StreamingResponse.
To Reproduce
See IR definition of StreamingResponse.
Expected behavior
IR returns a required property for terminator in StreamingResponse.

closing as this hasn't resulted in user-facing issues


docs: fix ClientSyncedState docstring with a valid link

This section was removed when the StatusReport fields were moved over to AgentToServer on https://github.com/open-telemetry/opamp-spec/commit/bc9c8ba8f3281bf924449bd54a13742c683f5639
This PR updates the docstring for a newly added field and links back to the status reporting section of the spec.

Thanks @tpaschalis


Seeking a "new table" setup wizard

I was thinking about if there was an easy way to set up new tables within the tool, or if that easy way was only to manually build a giant match file. One where you keep copying and pasting the example template and filling it out with a unique regex, piping the args to _core, and adding the name of the txt file or weighted table file in args as well.
Then I realized this may be a good candidate for putting together a "wizard" that:
Draft suggestion for approach:

Remind the user they must first upload their new simple (txt) or weighted (psv) table file into the espanso/tables directory
Asks user to select the file (if UI) or asks for the filename to make sure it can get to it and that it the name input matches
Asks the user if they are setting up a new simple or new weighted table
Asks for a new, unique regex that will be used to call your table
5a. The " : " should probably be displaced by default since it is needed for the front-end of the command so the user knows they don't have to include it
5b. It should probably scan/search to make sure it is unique and return for a different input if not
Auto appending all this (including the new table file name) as a new entry to the correct locations in a common .yml file.
Saves the file so it is ready for testing and use in the user's text editor

This is a good idea, thanks, but let's have first more users and people interested in this. It is quite some work to achieve :) But possible


S3 Express Append

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Add support for S3 Express Append
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Closing as a duplicate of https://github.com/apache/arrow-rs/issues/4966


pass username + password to keystoneService create

requires openstack-k8s-operators/keystone-operator#46


Help in including Visual C++ redistributable in a .msix package

I have an unreal engine application that needs certain Visual C++ redistributables to be installed by the user in order for the application to run.
I included some dependency in the  section of the manifest file. But while installing, the package throws an error stating that the dependencies are not found. I have attached the manifest file's dependencies section below.
<Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.16299.0" MaxVersionTested="10.0.22000.1" />
    <PackageDependency Name="Microsoft.VC80.CRT" MinVersion="8.0.50727.42" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VC90.CRT" MinVersion="9.0.21022.8" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VC100.CRT" MinVersion="10.0.40219.325" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VC110.CRT" MinVersion="11.0.60610.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VC120.CRT" MinVersion="12.0.21005.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VC142.CRT" MinVersion="14.29.30031.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.NET.Native.Framework.3.5" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" MinVersion="3.5.29231.0" />
    <PackageDependency Name="Microsoft.VCLibs.110.00.UWPDesktop" MinVersion="11.0.61135.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VCLibs.120.00.UWPDesktop" MinVersion="12.0.40653.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.24217.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>

Any help on the same issue will be greatly appreciated. Thank you

Most of these don't seem like MSIX packages you can list as dependencies in your manifest.
For a lot of the VC++ redistributable files, I think you can simply include them within your package. If you install multiple MSIX packages that contain the same redistributable files, the OS will ensure there is only one real copy so as to reduce the amount of space required.
I believe .NET 3.5 has to be manually enabled as a Windows Feature by users.
I think the only ones that you can actually list there are the VCLibs UWPDesktop ones. IIRC, these should be installed when you install your app, unless there is something else preventing it (like disabling the MS Store).


NodeFSStorageAdapter: remove from cache as well as file system

Current dependencies on/for this PR:

main

PR #215

PR #216   👈

PR #217

This stack of pull requests is managed by Graphite.

Thumbs up from me for this one.


Peek Window Should Close With User Applications

Peek Window should close itself when all user applications have been closed (closing out of all projects).

Use the property for VI Front Panel.Set Close If Lonely.  This is how Quick Drop and other dialogs do it.