Placeholder for potential geolocation tracking problem

https://groups.google.com/forum/#!topic/snowplow-user/-9RCjXN_hI8

The tracker tells the browser to lookup the geolocation asynchronously (it cannot be done synchronously) and starts adding it to events once it becomes available. But the page view event always happens before the lookup, so the geolocation data doesn't get attached. Subsequent events on the page should get the geolocation data attached.
Waiting for the data to become available is a bad idea because the user might refuse to grant access, in which case the callback function given to window.geolocation.getCurrentPosition never gets fired.
A possible compromise solution:
// set up tracker and geolocation context here
setTimeout(function () {window.snowplow('trackPageView');}, 500);

This waits 500ms in the hope that this will be long enough for the geolocation context to appear.

See also: #401

If geolocation is enabled, we could have the tracker always fire a geolocation unstructured event when (and if) the callback finishes.

I am rescheduling this for 2.7.0 - there's a design decision about whether to immediately fire the geolocation event as soon as possible, but I don't think there's a bug.


Cargo lock not updated when releasing

This should be committed when drafting release

Is there anything TODO here?

The shared workflows in https://github.com/farcaster-project/workflows now commit the Cargo.lock file after bumping the version, closing as resolved.


History request without a query shouldn't throw errors

I notice this problem from the README examples.

LGTM


Allow to DND multiple root-folders

Testing #29715
I see no reason why we would not support to DND multiple root folders. The API is easy enough to use, just splice the folders by removing all and then adding all in the right order. We do the diff and will only send the correct change event, you don't have to compute it.

I justr tried writing this and it is not so trivial to put them in the right order -> will overcomplicate the code -> backlog.
And doing two of them seperatly produces an error -> seems like the workspace editing service can not handle two operations in parallel of changing roots.
Code pointer https://github.com/Microsoft/vscode/blob/b40e6492ab415347a86c3841c0437dba996db6ce/src/vs/workbench/parts/files/electron-browser/views/explorerViewer.ts#L961

@isidorn yeah I would not expect that 2 calls to the workspace editing service is clever, but if you call it once with the right order after the drop operation it should work, no? Can you not keep an array of workspace folders when the drag operation starts and when you drop you simply call the splice method on that array to reflect the change and then just give that array to the workspace editing service to replace them all?

@bpasero in theory yes, in practice it is very tedious code. "Simply call the splice method" is not so trivial, I tried.

@isidorn ok lets look into it next week when we are both in the office

@bpasero I see you are very passionate about this. I can do a PR and then you will see how the code is clunky.

@isidorn yeah, I am a little passionate about this feature, but more passionate about why the code is complex :). I am happy to check out a PR (even if prototypal) so understand the complexity.


Fix integer overflow, out-of-bounds memcpy, make calloc zero memory

This fixes the following problems:

Multiplication 'nmemb * size' may overflow, implementations of calloc are required to check for this condition.

calloc must return zeroed memory. Note that memset requires the pointer argument to be dereferenceable even if count = 0.

realloc implementations are required to support realloc(NULL, n), equivalent to malloc(n).

memcpy on overlapping spans is undefined behavior, and they may overlap.

As for the compliance requirements, see the attached photo.


Popup is not opening for the truncated Label

Describe the bug
Popup is not opening for the truncated label after consuming in the project. The mouse pointer changes as expected but tooltip is not being displayed on click.
Link to CodeSandbox
Use this template to reproduce the behavior.
Expected behavior
The mouse cursor should change to pointer (it is working now) and on click, a default popup should open displaying the complete label string.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS] NA
Browser [e.g. chrome, safari] NA

Additional context
Linked issue: https://github.com/cerner/carbon-graphs/issues/208
After a bit of investigation, I found the issue is not reproducible in the demo site because, the demo site has a html tag with class tooltip. The main js code is actually using the tooltip present in the demo site to show/hide the popup.

:tada: This issue has been resolved in version 2.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


modules problems

Error loading script: controlnet.py
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/scripts.py", line 229, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 34, in
from svglib.svglib import svg2rlg
ModuleNotFoundError: No module named 'svglib'

this is an easy fix fortunately. search google for svglib and download the directed svglib.tar.gz file. I just unzipped it twice and extracted the file and placed it in the "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules"-folder.
now I'm instead wrestling with other little gremlins but hope this helps

try !pip install svglib

try !pip install svglib

tried and it worked. you have to run it on every startup though.
somehow controlnet has now broken all my embeddings and I get error codes saying they have multiple terms.
hmm... should probably open new issue about that

I'll add the dependencies to avoid reinstalling svglib everytime


editor: page refresh when 412 error responded

Ref: #2013

as I've already discussed privately with @oguzdemirbasci on the chat, I don't think this is a good solution:
I think there's a much broader problem with caching
  13:29

like you need to refresh the page in the UI too after changes for them to be seen
  13:29

maybe there's a unique solution to both problems
  13:29

(I don't know much about browser caching)
  13:30

there's also https://github.com/inspirehep/inspirehep/issues/2012
  13:30

if the editor closes after saving, then they'll need to reopen the editor to make a further change, at which point "fresh" data should be loaded
  13:31

to summarize, I don't think it makes much sense to work on this bug in isolation, it's connected to other things


Create base crate, set dependencies to v0.9.43, add Tinkernet XCM configs

@xlc And so it begins, I structured it similarly to xcm-builder, but with 2 modules exported: kusama and polkadot, where the intention is to house configs that require to exist within one of those consensus systems. For everything else that's not dependent on the relay chain, it should be declared in other modules and exported in lib.rs.
We also have to setup CI, contribution guidelines and a readme.

Our team can handle the CI.
Do we want this to be a multi crate setup? I will image we want the Kusama configs and Polkadot configs in two different crates so that a Kusama parachain only need to import the Kusama configs without the Polkadot configs.

Our team can handle the CI.
Do we want this to be a multi crate setup? I will image we want the Kusama configs and Polkadot configs in two different crates so that a Kusama parachain only need to import the Kusama configs without the Polkadot configs.
Another way is feature flag. But I will want to avoid it if possible.

I think keeping them on the same crate will be helpful for types that work regardless of the relay chain.

I don't mind having 3 crates. I want to make sure it is impossible to accidentally include the wrong types from the other relaychain.

Alright, I'll convert it to a workspace of 3 crates and commit to this PR tomorrow, we can then go from there if we figure out another more efficient approach.

@xlc There we go, I have refactored it to a workspace of 3 crates: orml-xcm-builder, orml-xcm-builder-kusama and orml-xcm-builder-polkadot, with the first one being the general purpose non relay specific crate.

I agree shared would be a better name.

I'm going to merge this now!


autosave broke again

Error Code
Error: Service Unavailable

Error: Service Unavailable
    at Request.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:76373:19)
    at Emitter.emit (https://homebrewery.naturalcrit.com/homebrew/bundle.js:1966:20)
    at xhr.onreadystatechange (https://homebrewery.naturalcrit.com/homebrew/bundle.js:76682:10)
{
  "status": 503,
  "method": "PUT",
  "url": "/api/update/9TzgVd_MbIS6"
}

### Your description of what happened:

autosave broke again

This was probably because the server was receiving a lot of requests at that time and was abnormally busy, it should work now, could you try again, please?


Roadmap 2023

Controller

[ ] #13

Bookie

[ ] #2
[ ] #12
[ ] #11
[ ] #9

Actor RPC

[ ] #7
[ ] #8
[ ] #10
[ ] #14
[ ] #15

Although the abstractions are similar to the Actor Model, we don't implement Supervisor and Discovery (Spark doesn't also).

Supervisor is good. But it is also complicated. We use coarse-grained actors, each representing a node or a module, so Supervisor is optional.
Discover is to be supported with a global configuration center. Perhaps ZooKeeper, FoundationDB, or a KRaft/Ratis-based controller quorum.

I choose Actor Model because I'd like to shift between standalone deployment and cluster deployment, also we can deploy different modules on one physical node (process), but due to network traffic isolation necessity, it may not a good idea.
RpcAddress / RpcEndpointAddress and Discovery integrations should dig more.
Broker
The broker should first support Kafka APIs. More details are under determination.

Looks interesting, what's goal of this project? to replace kafka or what?

Hi @zuston & @caicancai! Thanks for your attention. I wrote a topic for expressing my thoughts on the project goal (https://github.com/tisonkun/morax/discussions/17). You can participate in that thread for brainstorming high-level designs and user scenarios, while keeping this thread for discussion on the technical part.


Error in Generating Release apk  (Debug apk generate successfully)

Could not resolve all artifacts for configuration ':app:stageRuntimeClasspath'.
Could not resolve project :react-native-webview.
Required by:
project :app
Cannot choose between the following variants of project :react-native-webview:
- debugAndroidTestCompile
- debugAndroidTestRuntime
- debugRuntime
- debugUnitTestCompile
- debugUnitTestRuntime
- releaseRuntime
- releaseUnitTestCompile
- releaseUnitTestRuntime
All of them match the consumer attributes:
- Variant 'debugAndroidTestCompile' capability android:react-native-webview1:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'debugAndroidTestRuntime' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'debugRuntime' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'debugUnitTestCompile' capability android:react-native-webview1:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'debugUnitTestRuntime' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'releaseRuntime' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'releaseUnitTestCompile' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
- Variant 'releaseUnitTestRuntime' capability android:react-native-webview:unspecified:
- Unmatched attributes:
- Required com.android.build.api.attributes.BuildTypeAttr 'stage' but no value provided.
- Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but no value provided.
- Required org.gradle.usage 'java-runtime' but no value provided.
- Found org.jetbrains.kotlin.localToProject 'local to :react-native-webview' but wasn't required.
- Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.

react-native version:0.61.5
react-native-webview version: 8.0.0

+1


Radar SDK Listeners should not need to be marked static to allow for instance members to be utilized in logic

Currently in flutter-radar, you need to declare the listener functions in the exact way (see below) or else when you attach them using Radar.attachListener() you will get null exception errors.
 @pragma('vm:entry-point')
  static void onLocation(Map res) {
    print('📍📍 onLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onClientLocation(Map res) {
    print('📍📍 onClientLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onError(Map res) {
    print('📍📍 onError: $res');
  }

  @pragma('vm:entry-point')
  static void onLog(Map res) {
    print('📍📍 onLog: $res');
  }

  @pragma('vm:entry-point')
  static void onEvents(Map res) {
    print('📍📍 onEvents: $res');
  }

  @pragma('vm:entry-point')
  static void onToken(Map res) {
    print('📍📍 onToken: $res');
  }

Why do we need the static marker for these methods? And since we need them, how are we supposed to access the instance members of our parent class to be able to actually do something with the responses we get back?
Here is my current setup
class RadarWidget extends StatefulWidget {
  const RadarWidget({super.key});

  @override
  State<RadarWidget> createState() => _RadarWidgetState();
}

class _RadarWidgetState extends State<RadarWidget> {
  @override
  Widget build(BuildContext context) {
    print('Radar widget building');
    return const Placeholder();
  }

  @override
  void dispose() {
    // Clean up listeners if necessary
    Radar.detachListeners();
    Radar.stopTracking();
    print('Radar detached listeners and stopped tracking');
    super.dispose();
  }

  @override
  void initState() {
    super.initState();
    print('Radar init state');
    try {
      initRadar();
    } catch (err) {
      print("initRadar error occurred: $err");
    }
  }

  @pragma('vm:entry-point')
  static void onLocation(Map res) {
    print('📍📍 onLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onClientLocation(Map res) {
    print('📍📍 onClientLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onError(Map res) {
    print('📍📍 onError: $res');
  }

  @pragma('vm:entry-point')
  static void onLog(Map res) {
    print('📍📍 onLog: $res');
  }

  @pragma('vm:entry-point')
  static void onEvents(Map res) {
    print('📍📍 onEvents: $res');
  }

  @pragma('vm:entry-point')
  static void onToken(Map res) {
    print('📍📍 onToken: $res');
  }

  Future<void> initRadar() async {
    Radar.initialize(
        "prj_test_pk_1a0a3ab555e5e4c721ece54d8ce50bbdd9d73cb5"); //Radar api key
    Radar.setLogLevel('info');

    Radar.attachListeners();

    Radar.onLocation(onLocation);
    Radar.onClientLocation(onClientLocation);
    Radar.onError(onError);
    Radar.onEvents(onEvents);
    Radar.onLog(onLog);
    Radar.onToken(onToken);

    final status = await Radar.getPermissionsStatus();
    print("Radar permission status $status");

    // final requestedStatus = await Radar.requestPermissions(false);
    // print("Radar requested permission status $requestedStatus");

    await Radar.startTracking('continuous');
    await Radar.mockTracking(
        //(37.53206895196914,-77.42409998968543)
        origin: {
          'latitude': 37.53206895196914,
          'longitude': -77.42409998968543
        },
        //dest: (37.53011080455556, -77.42597953180213)
        destination: {
          'latitude': 37.53011080455556,
          'longitude': -77.42597953180213
        },
        mode: 'foot',
        steps: 10,
        interval: 5);
  }
}

I just want to expose these listener events to callbacks that I pass to the widget, but I can't do that because I can't access the widget in these static methods. How are we supposed to do anything with these listener events if the method needs to be marked as static?

Just to add on additional information after spending a day trying to get this working on my side.
//The CallbackHandler singleton
class CallbackHandler {
  static final CallbackHandler _instance = CallbackHandler._internal();

  factory CallbackHandler() {
    return _instance;
  }

  CallbackHandler._internal();

  Function(String)? _onLog;

  void handleLog(String value) {
    if (_onLog != null) {
      print("_onLog is not null");
      _onLog!(value);
    } else {
      print("_onLog is null");
    }
  }
}

// The static method that I pass to Radar.onLog()
@pragma('vm:entry-point')
  static void onLog(Map res) {
    // print('Callback 📍📍 onLog: $res');
    CallbackHandler._instance.handleLog(res.toString());
  }

  //The code where I initialize Radar and attach the listeners
  Future<void> initRadar() async {
    Radar.initialize("...");
    Radar.setLogLevel('info');

    print("Initializing callbacks");
    // _callbackHandler._onLog = handleLog;
    CallbackHandler._instance._onLog = handleLog;
    print("CallbackHandler initialized");
    print("CallbackHandler initialized?: ${_callbackHandler._onLog != null}");

    print('Attaching Radar listeners');
    Radar.attachListeners();

    Radar.onLocation(Callbacks.onLocation);
    Radar.onClientLocation(Callbacks.onClientLocation);
    Radar.onError(Callbacks.onError);
    Radar.onEvents(Callbacks.onEvents);
    Radar.onLog(Callbacks.onLog);
    Radar.onToken(Callbacks.onToken);
  }

As you can see, I have ensured that my CallbackHandler (singleton) has a non null method assigned for _onLog. When onLog is called from the Radar SDK, the handler code always (cannot stress how many times I've tested this) failed the null check for _onLog being null.
So my next assumption is that the listener code, specifically the static listener methods, are being cached locally by Radar and thus can never have access to any instance members at runtime?
Which leads me to my final question, how am I supposed to "do something" in the Radar onLog listener events when I can't access any other code??

We are currently updating the way our listeners are implemented in this SDK. This specific issue is currently being address and a fix should be available soon.

@DigiDevZ We recently released a beta that should address the issue you were facing: https://github.com/radarlabs/flutter-radar/releases/tag/3.10.0-beta.1


QField Cloud - Process QGIS Project File - Can timeout be increased over 600 seconds?

I am trying to update a QGIS Project in QField Cloud but when I add some additional layers it takes longer that 600 seconds for the job to process and it fails due to time out limit. The process times out at the 'Generate Thumbnail' step, no issues before that. Is there a way to increase the timeout limit? I do have a large number of layers in there but it performs well on the device and allows us to have one project for collecting many things. (Has 61 layers, about half tables).

Hello there 👋
Could tou let me know the username and project name on which this happened?
Thank you!


Check all Deployment status conditions

It seems to me that the most recent Status.Conditions is appended to the array;
or they are not ordered  at alland we should be checking all of them.
In either case, looking at all the status condition when assessing whether CO is deployed should be enough.
Fixes:
CI runs in witch the Operator setup phase fails, but the test continues and seems fine:
https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-ComplianceAsCode-content-master-4.16-e2e-aws-ocp4-pci-dss-node-weekly/1761526471932776448
References:
Check the example output in Failed Deployments

I suspect CI is failing because we're using 4.12. I have a patch up to bump the CI version to 4.14.
https://github.com/openshift/release/pull/48095

/test e2e-aws-ocp4-cis
/test e2e-aws-ocp4-moderate
/test e2e-aws-ocp4-moderate-node

/test e2e-aws-rhcos4-moderate

Thank you for the reviews, @rhmdnd !


In-App Message action iOS/Android Deep Link reopens the app

Version(s) of SDK bug appears: 3.0.0
Current Behavior
We use iOS/Android Deep Link action in the In-App message, but when the app is opened, and we get the in-app message, after pressing Yes! button which triggers the action, the app then reopens again.
Steps to Reproduce

Expected Behavior
The app shouldn't reopen because it is already in foreground.
Any other info?

Hey, @Vukan-Markovic version 3.1.0 is out for Android, which should have the fix for it. Can you please try? feel free to reopen it if it still happens in android.

I tried already and it works now, thanks a lot for the fix.


Fix bug in updateNodePosDiff action

This is the intended logic. Without it triggering this action with a node id will always move selected nodes, which is not desirable if we want to move just an unselected node.
The bug doesn't show up in current examples because at the moment either one selected node is moved or all the selected nodes are moved. TBH this should probably be changed to accept ids instead to handle the two cases instead of this tight coupling between the group selection code and this action.

good catch, thanks!

unfortunately this breaks our multi selection functionality. I had to pull it out again.


Add examples

Add examples of how to create a server and start it

I am new to the world of nix, but I want to create a server based on nix to play with my friends

I need examples too. I am a bit lost. I'll figure it out eventually though :p


Hl7v2filter

Initial cut at formalized filter for v2 messages.

Some of the files here are generated files.  Are these intentionally checked in, or should generation be part of the build process?


comments not valid inside enum variant structures

Was this intentional?
enum Foo {
  // comment ok here
  Bar
  Buz {
   // not ok here
  }
}

Buz can't be empty. What exactly is the error message thrown by the compiler?

Sorry for leaving this dangling.  Seems to be resolved in a recent version.
My editor still shows the inner comment as funky, but the compiler isn't throwing.  Probably I just need to update my editor plugin.


React Native document picker don't ask for storage access permission.

Hi, We need permission functionality before giving access to the storage folder. Can anybody tell me how to add this?

https://facebook.github.io/react-native/docs/permissionsandroid


fix(docs): wrong arguments in models' getDevice request

What does this PR do ?
Fixes incorrect arguments in the request to retrieve a device's model.
ToDos

[x] getAsset: wrong arguments & wrong controller & wrong slug route argument
[x] getMeasure: wrong argument (type) & wrong slug route argument

Fixed both Todos, @tdislay can you please check ?


Creality LD-002R working

Huge thanks @luizribeiro!
Working nicely with the R version also.
Creality LD-002R
Firmware: v4.3.1_LCDK / F2.18
Motheboard has V3 printed next to UART

Thanks! I'll update the README.md with that info soon.

Thanks! I'll update the README.md with that info soon.

Hello @BalintBernhardt , did the correct Printer name show up and you can print via UI?

@anthonny-gunawan I saw #220. For me nothing has been displayed under Printer Status. Printing from UI works nicely except the issue described in #180.

I am still unable to print via UI, it give me this error:

the Details:
Traceback (most recent call last):
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 208, in printer_command
elegoo_mars.start_printing(filename)
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 140, in start_printing
raise UnexpectedPrinterResponse(response)
mariner.exceptions.UnexpectedPrinterResponse: Error:Unknown format, file /Creality_LD-002R_Feets_2.ctb

Are you running the same firmware as @BalintBernhardt?

Firmware: v4.3.1_LCDK / F2.18

Most likely your printer's firmware is older than that and doesn't support .ctb files?

Let me check the Firmware, but I can print just Print (for the same file) via the Touchscreen interface


Handled committee page blocks per authorization

Closes EM-32.

Until #174 is merged, review only last commit 666bd9c.


change(diagnostics): checksums 8 char long

In order to align the checksum string with the Sick safety designer.

Merged in https://github.com/SICKAG/sick_safetyscanners2/commit/28d2f2db2262ba08c9625d187115a1b3793e5ecb


lz4: add streaming lz4 compression

this commit adds support to stream lz4 compressed archives
The program was tested solely for our own use cases, which might differ from yours.
Licensed under BSD 2-Clause License
Alexander Mohr<EMAIL_ADDRESS>Mercedes-Benz Tech Innovation GmbH, imprint

@thilo-schmitt it's ready for review


[!] Failed to load 'hermes-engine' podspec: [!] Invalid hermes-engine.podspec file: [!] Unable to locate the executable cmake.

Description
What kind of libraries you guys are developing. this is 2024 still we have issues with Hermes. even a sample app pod install does't work and fires with below error.
Please guide this. It was working perfectly fine 2 days back and suddenly started throwing this kind of issues.
Steps to reproduce
SampleRNLatestVersion.zip
React Native Version
0.73.2
Affected Platforms
Runtime - iOS
Output of npx react-native info
➜  SampleRNLatestVersion git:(main) ✗ npx react-native info
info Fetching system and libraries information...
System:
  OS: macOS 13.6.6
  CPU: (10) x64 Apple M1 Max
  Memory: 1.62 GB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.12.0
    path: ~/.nvm/versions/node/v20.12.0/bin/node
  Yarn:
    version: 1.22.19
    path: ~/node_modules/.bin/yarn
  npm:
    version: 10.5.0
    path: ~/.nvm/versions/node/v20.12.0/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/arunsa/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11330709
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 18.0.2
    path: /usr/bin/javac
  Ruby:
    version: 3.3.0
    path: /Users/arunsa/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.6
    wanted: 0.73.6
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

➜  SampleRNLatestVersion git:(main) ✗

Stacktrace or Logs
➜  ios git:(main) ✗ pod install --repo-update
Framework build type is static library
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] generating an empty RCTThirdPartyFabricComponentsProvider
Updating local specs repositories
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[Codegen] Found rncore
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`
[Hermes] Using the latest commit from main.
Const Defined!
[!] Failed to load 'hermes-engine' podspec:
[!] Invalid `hermes-engine.podspec` file: [!] Unable to locate the executable `cmake`.

 #  from /Users/arunsa/Documents/HNMyClub/RNUpGrade73/SampleRNLatestVersion/node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec:116
 #  -------------------------------------------
 #        puts "Const Defined!"
 >        CMAKE_BINARY = Pod::Executable::which!('cmake')
 #        # NOTE: Script phases are sorted alphabetically inside Xcode project
 #  -------------------------------------------

[!] Do not use "pod install" from inside Rosetta2 (x86_64 emulation on arm64).

[!]  - Emulated x86_64 is slower than native arm64

[!]  - May result in mixed architectures in rubygems (eg: ffi_c.bundle files may be x86_64 with an arm64 interpreter)

[!] Run "env /usr/bin/arch -arm64 /bin/bash --login" then try again.
➜  ios git:(main) ✗ which gem
/Users/arunsa/.rbenv/shims/gem
➜  ios git:(main)

Reproducer
https://github.com/facebook/react-native/issues/31505
Screenshots and Videos
SampleRNLatestVersion.zip

Hi @react-native-bot
The attached Project is with new RN version.
Problem here is not the RN version. getting error while Hermes installation
Please help to fix this. This is been working fine 2 days back. suddenly I started facing this issue since yesterday.

Duplicates https://github.com/facebook/react-native/issues/44037

Duplicates #44037

If you guys are not able to answer this, should denay instead of closing a genuine issue.  @cortinico

If anyone is still facing this after trying all the solutions from the internet

Delete ios/ build, Pods, Podfile.lock
Run cd ios && cd pod install && cd ..
This will fail but give you the url to the Hermes repo it failing to download from
Ctrl + click the link from your editor terminal
It'll ask for permissions to open the link
Choose always allow this source as opposed to just this once
Run cd iOS && cd pod install && cd .., this will fail again
Delete node_modules
Run npm ci
Run cd ios && cd pod install && cd .. again. This should pass

Looks like a problem with npm cache. This will only work if all the other problems potentially causing this issue are fixed e.g. fixed ruby version, consistent path to ruby in .rc, pod able to find path to your node env, etc.


Feature/individual email update

Update to the individual email view to add word wrap, hyperlinks directly in the text and updates to the Google Vision to improve text recognition.

Here is an image of the changes.

Here is an screen capture of the changes.


Outline View for Source Code

Is your feature request related to a problem? Please describe.
When opening source code I'm unfamiliar with, it is productive to be able to quickly glance at the overall structure of the code. Being able to use the RDi or VS Code Outline View helps me to be able to quickly get familiar with functions/procedures and the overall structure of the code that I'm working with.
Describe the solution you'd like
I'd like to be able to see an "Outline View" as a new pane on the sidebar similar to RDi or VS Code's "Outline" for Markdown notes.
Describe alternatives you've considered
VS Code does have the awesome MiniMap which helps visualize the source code and help navigate to procedures. It's a great feature but for very large rpgle source's the outline view offers a quick and efficient way to jump to different locations in the code.
Additional context
Here are some pictures of Outline Views I use in VS Code for Markdown notes and in RDI for RPGLE sources.

Sorry I didn't realize this is a duplicate issue of
https://github.com/halcyon-tech/vscode-ibmi/issues/92
and discussion should be had on https://github.com/halcyon-tech/vscode-ibmi/issues/32


How to Fake an absent environment variable

I have a scenario where I need to test the code behavious in the absense of an environment variable. Unfortunity in my CI servers, this environmnet variable is set , and therefore accesssible via System.getEnv(). I am trying to test the scenario where the Environment variable does not exist? How can I do it with this library?

Will setting the variants to blank string work? And what does your test class look like? Or are there loads?

@warlockza - the solution I expect to use is to set the environment variable to blank within SystemStubs - please respond if that's not going to work for you with a worked example test case. I'll close this in a couple of days if I do not hear back.

Solved in v2.1.5 with remove

@warlockza ^^^


Fix EMNSIT download URL

fixes #1296
@fmassa The link you provided works as drop-in replacement. The website looks official to me, since it comprises citing information and so on. Do you want me to include a comment why this does not link to the official dataset website?

Codecov Report

Merging #1318 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1318      +/-   ##
=========================================
+ Coverage   65.58%   65.6%   +0.01%
=========================================
  Files          74      74
  Lines        5786    5786
  Branches      884     884
=========================================
+ Hits         3795    3796       +1
+ Misses       1726    1725       -1
  Partials      265     265

Impacted Files
Coverage Δ

torchvision/datasets/mnist.py
51.7% <100%> (ø)
:arrow_up:

torchvision/transforms/transforms.py
80.94% <0%> (-0.59%)
:arrow_down:

torchvision/transforms/functional.py
71.38% <0%> (+1.15%)
: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 fe234fc...16cbe57. Read the comment docs.


git2 dependency version clash

Description
The git2 crate dependency introduced in 0.12 RC2 specifies an older version without a possibility to update to latest, while there is no visible reason to do that.
Steps to Reproduce
Declare for example these 2 dependencies next to each other:
[dependencies]
shadow-rs = "0.23.0"
sea-orm-migration = "0.12.0-rc.4"

This results in a compilation error:
error: failed to select a version for `git2`.
    ... required by package `shadow-rs v0.23.0`
    ... which satisfies dependency `shadow-rs = "^0.23.0"` of package `test v0.1.0 (.../test)`
versions that meet the requirements `^0.17.0` are: 0.17.2, 0.17.1, 0.17.0

the package `git2` links to the native library `git2`, but it conflicts with a previous package which links to `git2` as well:
package `git2 v0.16.0`
    ... which satisfies dependency `git2 = "^0.16"` of package `sea-orm-cli v0.12.0-rc.4`
    ... which satisfies dependency `sea-orm-cli = "^0.12.0-rc.4"` of package `sea-orm-migration v0.12.0-rc.4`
    ... which satisfies dependency `sea-orm-migration = "^0.12.0-rc.4"` of package `test v0.1.0 (.../test)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='git2' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `git2` which could resolve this conflict

Versions
I think all versions since 0.12.0-rc.2 are affected by this issue.
Possible solution
My guess would be either to bump to the latest 0.17 or to specify a more open-ended like >= 0.16

Okay so there are two options:

upgrade git2 to latest and make it an optional dependency
drop git2. I might be wrong but all we want to know is whether a directory is a git repo?


Develop External Comms plan for moving receivers back to the Daily Data page (instead of Data Dashboard)

Problem statement
As we are launching a new search feature on the Daily Data page. We may need comms to adequately inform our external users of the feature and how to use it.
Requirements of the comms

Received by all receivers who did not see Daily Data already (see Chris for list)
Informs users on the new feature(s) and how to use them
Includes a timeline for when to send to users

Acceptance criteria

[x] Comms plan created (with as much content as possible with the available knowledge)
[x] Aligned with Support team
[ ] Link Comms plan in Product Brief (or just inform Chris and he'll add it)

https://cdc.sharepoint.com/:w:/r/teams/ReportStream/_layouts/15/Doc.aspx?sourcedoc={3423A8B7-A32E-4DA9-A9CE-9B6A2230C56B}&file=Daily_Data_Change_Comm_Planning.docx&action=default&mobileredirect=true

@chris-kuryak where did you want this linked in the product brief for that AC? Or will you take care of that and close this out when done?

There is a section in the Product Brief called Communications Plan. I linked it there.
Closing ticket.


CPU not being used 100% and Powershell freeze.

I have 3 plotter machines 2 of them with 5900Xs, both these machines were plotting for more than a day until they froze and I had to restart (Only the PowerShell froze, not the pc, pc was working just fine), once restarted, pc 1 is not using 100% CPU on phase 1 only random numbers going from 2 percent to 100 percent but nothing constant turning my 35-minute plots into 2-hour plots. Second PC Powershell freezes after completing one plot and does not plot anymore and if it does it freezes on phase 3 after 2 or 3 plots.
I did not change anything at all from the point where madmax was working fine, anyone knows what the hell happened?
O.S is Windows 10 Pro

Did you bind affinity to each plotter? For example, if you run 3 plots you assign 8 threads to each. Also do you plot each instance on a separate NVME drive or do you plot all instances on the same drive?

Hey there I do not bind affinity to plotters since I am not running parallel jobs I only assign the threads to the one job that madmax will do over and over again, and yes I am plotting to separate NVME drives 980 Pros 1TB as I understand one will handle 25% of load and the other one 75% of the load.
One of the 5900Xs the one that is not using 100 percent after one job then starts another one but it is just sooo much slower than the first one, using like 2-35 percent of CPU, and the other PC with the other 5900Xs freezes at phase 3 either on the first job or the second one.

SSDs get slower over time, once you have written enough to run out of trimmed space, the write speed goes down hard under sustained load. Unless you have super expensive enterprise SSDs.

How does one use cpu affinity tp bind MadMax cpus to specific threads/cores?

SSDs get slower over time, once you have written enough to run out of trimmed space, the write speed goes down hard under sustained load. Unless you have super expensive enterprise SSDs.

What about RAM disk + brand new Gen4 NVMe? I can't load more than 89-92% my i7 10700 @ 4.6GHz.


Show detailed error response

In case trigger details are incorrect, the corresponding error message will be shown.

@garg-anuj Don't merge it as of now. I am also working on deleting a trigger from the client. I will push the corresponding code in this branch only,

Added Delete Trigger functionality

@pg301 license header issue

@garg-anuj @pilhuhn Metric addition to favourite is now fixed. Please review.

@pg301 awesome work :tada:


How to Add Watermark in Pdf

I want to set a watermark in PDF. How can I do that???

See #2878, #872.

See #2878, #872.


Dynamically choosing number of slider frames

Hey,
First of all great plugin.
I am trying to improve this component so it will be possible to choose how many slides are in the slider dynamically.
I was thinking about adding a trait for deciding the number of slides.
Another option is that a modal will open on slider drop and will ask you for the number of slides wanted.
I would appreciate any guidance or ideas.
Thanks

It's all about extending the slider component.
For traits:
// Place this code in a plugin and load it after the lory-slider one
editor.DomComponents.addType('lory-slider', {
	model: {
		defaults: {
			numslides: 3,
			traits: [
			 // your custom traits
			]
		}
	}
})

For opening a modal on slider drop follow this: https://github.com/artf/grapesjs/issues/1573#issuecomment-443263452

@censonalvin https://github.com/GrapesJS/components-lory/issues/13#issuecomment-1491881898


Font joypixels emoji

Motivation for this change
The JoyPixels emoji font (formerly EmojiOne) was packaged using a CDN endpoint created for Arch Linux.
Arch Linux received an altered license for distribution of the font. Furthermore,  the license requires explicit acceptance from users. And last but not least, as-is the font doesn't work on macOS.
I expect foss licenses to be complied to. In turn, this means we should respect the terms other projects put in their licenses. I contacted the JoyPixels licensing team and they were happy to provide CDN endpoints and similarly altered licenses for distribution of their font for NixOS and nix-darwin.
I altered the expression to work on macOS, which requires downloading and installing a "TrueType Collection" file rather than the TrueType font file. I also updated the licensing information and the package now requires an override to indicate acceptance of the license before you can install it.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Whoops, been waiting on activity for this. Could've sworn I'd pressed the ready-for-review button before.


Is there anyway to run the (4. Single Patient API) tests for a Single Resource ?

Currently when we run the tests for (4. Single Patient API), it tries to run all 212 Tests which then have numerous sub tests(calls) which takes very long. I was wondering if there is a way to run these tests for a single resource. This will save us a lot of time when trying to resolve some failing tests.

US Core Test Kit allows tester to run a single test group. There are some difference between g10 Test Kit and US Core Test Kit:

US Core Test Kit does not include SMART launch. If server requires access token, such token need to pre generated.
US Core Test Kit has many optional test which are not included in g10 Test Kit
US Core Test Kit uses general terminology server tx.fhir.org/r4 for terminology validation. Tester MAY see difference validation results between US Core Test Kit and g10 Test Kit.

Thanks, this helps.


Spinners and moving fish

replaced with https://github.com/filecoin-project/bacalhau/pull/1531 which includes Walid's mutex fix


route.action() should not happen if previous onBeforeLeave cancels routing

It seems that execution of navigation methods in router is out-of-order. The new component to display is computed before event in the previous element is executed, it means that route.navigate is always executed, thus the element has been resolved before the method in the previous element might prevent navigation.
For Flow views, this is a critical problem because the new view is created before any signal might be sent to the server to prevent navigation.
I set some logs to prototype and this is the order of method calls.
Load the app pointing to categories:
>>>>>>>>>>>>>----- navigate /flow-category-list
>>>>>>>>>>>>>----- onBeforeEnter /flow-category-list

Navigate to reviews:
>>>>>>>>>>>>>----- navigate /flow-review-list
>>>>>>>>>>>>>----- onBeforeLeave /flow-category-list <- /flow-review-list
>>>>>>>>>>>>>----- onBeforeEnter /flow-review-list <- /flow-category-list

A bit of background to explain the current behavior.
The way Router currently works is that for every navigation it first resolves the new pathname to a chain of routes, compares the new routes chain with the previous one and renders the diff.
The onBeforeLeave callback is called when at least the parent layout of the the new routes chain is known, and the nested routes of the new chain are being resolved.
When resolving the parent layout of the new routes chain Router executes all route.action() methods it as it traverses the routes tree (as a part of the router.resolve() call). At this point it does not call the onBefore callbacks on the currently rendered components yet.
It does make sense to first check if the currently rendered view allows the navigation, before event starting to resolve the new routes chain. Currently that does not happen at the moment.
That might require changes to the route resolution flow so that the first parent layout and the full routes chain are resolved following the same rules (they are slightly different now)

This is tricky, because both onBeforeLeave and action can prevent the navigation.
If action is invoked first, and then some onBeforeLeave prevents navigation, this means we had an unnecessary action, what we have now.
If onBeforeLeave is invoked first, then some action prevents navigation, this means we had an unnecessary onBeforeLeave lifecycle callback invoked.
So there are two kinds of evil here. It seems we ended up with the first one, because the current implementation assumes that having wrong lifecycle callbacks because of tricky actions is more harmful, than the opposite.
As @manolo points out in the description, unnecessary action calls that return an element also have an evil impact. We discussed this with @vlukashov and concluded, that it would be preferable to mitigate the impact of extra action calls rather than to change the resolution / lifecycle order.
To minimise the DOM work produced by extra action calls, let us introduce a way for actions to postpone rendering with an async callback. Here is a usage draft:
router.setRoutes([
  {path: '/path', action: (_, commands) =>
    commands.render(
      async root => {
        const element = document.createElement('foo');
        root.appendChild(element);
        return element;
      }
    )
  }
]);

Such a callback would only be called after the chain is fully resolved, i. e.:

all the actions are invoked,
all their corresponding redirects were applied. If some action redirects away from the current action '/path', the rendering callback of the action is not invoked
If navigation was prevented in any of the action calls, none of the render callbacks are invoked.

LitElement has quite reasonable abstractions for styles, btw:

The styles static base class property does only support instances of CSSResult (single instance or array). The library would not accept plain strings as styles, this throws.
CSSResult is not constructable, its constructor throws.
The only way to obtain a CSSResult is to use one of the supplied literals: css or unsafeCSS

Some advantages are:

Requires to annotate the plain string with css in the code, giving context for IDEs, tools, readers.
The css tagged string ensures that every string interpolation there is annotated too, e. g., css`${'/* plain nested string */'}` throws, css`${ css`/* annotated nested string */` } is ok
The template string syntax makes concatenation easy. There is no much need for an array if you can concatenate your style strings easily.

We have thought through the order of lifecycle callbacks with the team, and concluded that the existing order is good. From the standpoint of saving on client-server round trips, having resolution, which invokes actions, before calling onBeforeLeave makes sense.


Patch for tensor types

Now mypy can correctly check types:

It still doesn't like that that they are not generics, but I think we can disable type-arg and name-defined for now.
  Error (MYPY) type-arg
    "FLOAT" expects no type arguments, but 1 given

        28  |        self.assertSameGraph(static_shape, static_shape_txt)
        29  |
        30  |        @script()
    >>> 31  |        def symbolic_shape(A: FLOAT["N"], B: FLOAT["N"]) -> FLOAT["N"]:  # noqa: F821
        32  |            C = op.Add(A, B)
        33  |            return C
        34  |

  Error (MYPY) name-defined
    Name "N" is not defined

        28  |        self.assertSameGraph(static_shape, static_shape_txt)
        29  |
        30  |        @script()
    >>> 31  |        def symbolic_shape(A: FLOAT["N"], B: FLOAT["N"]) -> FLOAT["N"]:  # noqa: F821
        32  |            C = op.Add(A, B)
        33  |            return C
        34  |

I don't think this works because FLOAT is now an instance of TensorType, not a subclass.

Will wait for

https://github.com/python/mypy/issues/11501

Alternatively, we will use this and run mypy with python3.11. So mypy is happy and we can pass in literals as types even with python <3.11.
Will need to fix dtype and shape.
from typing import Any, Generic, TypeVar, Union, Tuple, Literal
import typing
from typing_extensions import TypeVarTuple, Unpack
DimType = Union[int, str, type(None)]
ShapeType = Union[Tuple[DimType, ...], DimType, type(Ellipsis)]
TDType = TypeVar("TDType")
TShape = TypeVarTuple("TShape")
class _DTYPE_FLOAT:
    dtype = 100
class TensorType(Generic[TDType, Unpack[TShape]]):
    def __class_getitem__(cls, *items: Any):
        wrapped = []
        for item in items[0]:
            if type(item) in {int, str, type(...), type(None)}:
                wrapped.append(Literal[item])
            else:
                wrapped.append(item)
        return super().__class_getitem__(
            tuple(wrapped)
        )
    def dtype(self) -> TDType:
        return typing.get_args(self.__orig_class__)[0]
    def shape(self) -> TShape:
        return typing.get_args(self.__orig_class__)[1:]
class FLOAT(TensorType[_DTYPE_FLOAT, Unpack[TShape]]):
    pass
print(TensorType[int, 1, 2])
print(TensorType[int, 1, 2]().dtype())
print(TensorType[int, 1, 2]().shape())
M = TypeVar("M", bound=int)
print(FLOAT[1, 2, ..., "N", M])


New Release Tag

Is it possible to get a new release tag with the changes from @fabianmuecke ?

I would be happy to help but I believe only Kruno has access to do this for this project :(

@freak4pc could you provide one 🤩 ?

I've added Shai to be the owner of RxFeedback.podspec
https://cocoapods.org/pods/RxFeedback

Can we get a new release 🥺

Can we get a new release 🥺

and we can use this as an option to bump RxSwift 6.0 as well

and we can use this as an option to bump RxSwift 6.0 as well

We could even name it 4.0.0 😄

We could even name it 4.0.0 😄

It only took 8 months ;-) sorry!
🎉  Congrats
🚀  RxFeedback (4.0.0) successfully published
📅  January 14th, 07:58
🌎  https://cocoapods.org/pods/RxFeedback
👍  Tell your friends!

It only took 8 months ;-) sorry!
🎉  Congrats
🚀  RxFeedback (4.0.0) successfully published
📅  January 14th, 07:58
🌎  https://cocoapods.org/pods/RxFeedback
👍  Tell your friends!

Thanks 😀

Thanks 😀


Please add more detail to this article

[Enter feedback here]
This article isn't very detailed and didn't work when I followed it.  I could do with a proper step by step to copy all my Dataverse synced data tables into Azure SQL and keep the Azure SQL tables populated with current data.  I'm not bothered if this is a Synapse dedicated pool or a normal Azure SQL unless there is some relevant difference that the article could also explain.
I got a security error on table sys but it took me several goes to get that far.  I suspect that there is something to do with the way my linked server has been created.  Do I need to do something to build a database and tables in the dedicated pool or does the process shown just take care of all that?

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

ID: 5a7a4de5-b9b5-3d99-e0a7-2ac814017c9b
Version Independent ID: 88a2cca2-7075-9cb4-7a04-3aed946ad137
Content: Copy exported Dataverse data to dedicated SQL pool - Power Apps
Content Source: powerapps-docs/maker/data-platform/azure-synapse-link-dedicated.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @sabinn-msft
Microsoft Alias: matp

Thanks for your comment, @DREWLFE. This issue has been assigned to the doc author for review.

I was also going to create a ticket regarding this. I believe the section instructing to use "sys" Schema Name and "all_columns" Table Name on Step 5 is wrong. I was able to successfully sink into the Dedicated SQL Pool using a Schema and Table I created.
Could you also add a proper way (should we use Alter Row?) to do incremental loading into the Dedicated SQL Pool? If we run the pipeline on a schedule with the given instructions, it just keeps adding data.
Also, how to perform this same task for several tables? It seems a Data Flow per Entity is required since the Data Flow cannot be used dynamically (or at least I was not able to)


Create built-In Method Support for Anydata

Purpose

This PR introduces the support for From inbuilt function. From function can be used for convert anydata type to another any data type..

The syntax would be as below.
Tx|error varName = Tx.from(y)

Inbuilt function, stamp can only be called on a type descriptor.
y = input value to from function
Tx = type which we need to convert
Here, y would be aa anydata type argument. This also can return error based on the runtime exception that causes when stamping the value type to provided storage type.
Goals

support value conversion.

Approach
If source data type and target data type can be stamped,
then from = clone.stamp
unless it will do the conversion directly.
Automation tests

Unit tests

Added and fixed exsiting unit tests

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples
Simple types

function testFloatToInt() returns (int) {
    float f = 10.05;
    int i =  int.from(f);
    return i;
}

Stuctured types
type Person record {
    string name;
    int age;
    Person | () parent;
    json info;
    map<string> | () address;
    int[] | () marks;
    anydata a;
    float score;
    boolean alive;
    Person[]|() children;
    !...
};

function testMapToStruct () returns (Person) {
    int[] marks = [87, 94, 72];
    Person parent = {
                        name:"Parent",
                        age:50,
                        parent:null,
                        address:null,
                        info:null,
                        marks:null,
                        a:null,
                        score:4.57,
                        alive:false
                    };

    json info = {status:"single"};
    map<string> addr = {"city":"Colombo", "country":"SriLanka"};
    map<anydata> m = {name:"Child",
                age:25,
                parent:parent,
                address:addr,
                info:info,
                marks:marks,
                a:"any value",
                score:5.67,
                alive:true
            };
    Person p = check Person.from(m);
    return p;
}

Related PRs
https://github.com/ballerina-platform/ballerina-lang/pull/11388
https://github.com/ballerina-platform/ballerina-lang/pull/11322
Known Issues
When conversion failed at runtime we get an error says stamping has failed. This wiil be fixed with
https://github.com/ballerina-platform/ballerina-lang/issues/11708

@warunalakshitha Can you rebase this PR to the df_endpoint_change branch?

Sent new PR to df-endpoint-change branch. Hence closing this.