Add codeclimate gpa and coverage badges

@franciscocardoso please fix the typos in the commit messages.

@franciscocardoso the code coverage isn't yet enabled. Check here.


[Bug]: Panic occurred at runtime. Message: content should be available

System Info
  System:
    OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
    Memory: 25.24 GB / 31.21 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v20.11.0/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
    pnpm: 8.15.2 - ~/.nvm/versions/node/v20.11.0/bin/pnpm
    bun: 1.0.30 - ~/.bun/bin/bun
  Browsers:
    Chrome: 122.0.6261.128
  npmPackages:
    @rspack/cli: ^0.5.7 => 0.5.7
    @rspack/core: ^0.5.7 => 0.5.7

Details
> rspack

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  content should be available
Location: /build/crates/rspack_loader_runner/src/runner.rs:399

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Thoughs
Maybe this is because package (@sima-land/isomorph) uses exports field
Reproduce link
https://github.com/krutoo/isomorph-bun-vs-node
Reproduce Steps

clone repo https://github.com/krutoo/isomorph-bun-vs-node
npm install
npm run build
see error during build

I was not able to reproduce this panic locally. Here's what I get:
❯ npm run build

><EMAIL_ADDRESS>build
> rspack

ERROR in ./src/pages/authors/index.tsx
  × Package subpath './preset/node-handler' is not defined by "exports" in<EMAIL_ADDRESS>

ERROR in ./src/pages/posts/index.tsx
  × Package subpath './preset/node-handler' is not defined by "exports" in<EMAIL_ADDRESS>

Rspack compiled with 2 errors in 972 ms

@h-a-n-a I dont see errors like on your case, do you use ubuntu?

@h-a-n-a can you make cat<EMAIL_ADDRESS>| grep node-handler?
Because this export is defined in package.json

@krutoo please provide the sima-land-isomorph-0.0.0.tgz file.
public version of @sima-land/isomorph has no exports related to node-handler

@krutoo please provide the sima-land-isomorph-0.0.0.tgz file.
public version of @sima-land/isomorph has no exports related to node-handler

Folder "./tgz" in repo (sorry for wrong path in package.json

just tried ubuntu 20.04(x86_64) and debian bookworm(arm64) with no luck.
weird

@xc2 @h-a-n-a i found that it was my stashed code
try this branch please
https://github.com/krutoo/isomorph-bun-vs-node/tree/rspack-panic

thanks @krutoo it reproduces.
it is caused by code below
import( /* webpackIgnore: true */ `bun:jsc`)

swc will transform it into import("bun:jsc"); by default when the request is in template literals. playground
there're two approach to avoid:

modify it to import( /* webpackIgnore: true */ "bun:jsc"): playground
or turn jsc.preserveAllComments on for builtin:swc-loader: playground

#5775 this issue will also help

@xc2 thanks a lot but why string literal change the behavior?

@xc2 thanks a lot but why string literal change the behavior?

@krutoo That's not expected for us. We will fix this. ;-)

bump

This was fixed in DefinePlugin refactor.


Question - Jobs organization

@set-soft Do you have any special reason to split the jobs the way you did? I mean, why not add ERC, DRC, and other steps in the same job? I am seeing here that the container is downloaded in every step.
My guess is that you use that to create the dependency with the needs keyword. Am I right?

There is no special reason. It was just a solution that came to my mind. The result is more modular allowing more flexibility, but is just a way to do it.
And yes I use it for dependencies. But steps also implies dependency.
One important difference between jobs and steps is that jobs can be run in parallel. So you can run ERC and DRC in parallel. And then generate the files that passed the test. But you could want to generate the files even if the checks failed.
Separating them as jobs also makes more clear what you see in the actions, because you get information separated for ERC and DRC, look here:
Actions page
If you make both as part of one step, or just two steps you don't get clear information of what failed and you need to see the job log.


test code cov in PRs

Codecov Report

Merging #1 into master will decrease coverage by 7.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   96.44%   89.36%   -7.09%
==========================================
  Files         104       67      -37
  Lines        1042      348     -694
==========================================
- Hits         1005      311     -694
  Misses         37       37

Impacted Files
Coverage Δ

exercises/hello-world/hello-world.jl
0% <ø> (ø)
:arrow_up:

exercises/robot-name/runtests.jl
100% <0%> (ø)
:arrow_up:

exercises/luhn/runtests.jl

exercises/hello-world/runtests.jl

exercises/armstrong-numbers/runtests.jl

exercises/trinary/runtests.jl

exercises/pangram/runtests.jl

exercises/atbash-cipher/runtests.jl

exercises/clock/runtests.jl

exercises/run-length-encoding/runtests.jl

... and 29 more

Continue to review full report at Codecov.

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


Aroma

Project title:
Aroma
Leader:
Eneko Uruñuela (@eurunuela)
Collaborators:
Taylor Salo (@tsalo), Vicente Ferrer (@vinferrer), Oscar Esteban (@oesteban)
Topic:
Data visualization, ICA
Project description:
ICA-AROMA (i.e. ‘ICA-based Automatic Removal Of Motion Artifacts’) concerns a data-driven method to identify and remove motion-related independent components from fMRI data. To that end it exploits a small, but robust set of theoretically motivated features, preventing the need for classifier re-training and therefore providing direct and easy applicability. The aim of this project is to modify the original ICA-AROMA code in order to restructure it into a pure Python package; e.g., dropping FSL calls in favor of pure Python functions.
Data to use:
https://osf.io/6jda8/files/
Link to project repository:
https://github.com/ME-ICA/aroma
Goals for Brainhack Donostia 2021:
Our main goal for Brainhack Donostia 2021 is to drop all non-python dependencies, so as to have our first pure-python version. See the list of tasks for more concrete goals.
First tasks:
We have a list of issues open that will serve as our list of tasks throughout the project. Some of the are tagged "Good first issue", which are perfect for people who are new to Brainhack and the project itself.
Communication channels:
https://gitter.im/ME-ICA/aroma
Video channel:
Zoom
Number of collaborators:
4
Credit to collaborators:
We are going to implement the all-contributors bot, so that all contributors get credit for their work on the README file.
Type of project:
Coding methods, Documentation, Visualization
Development status:
Basic structure
Programming languages:
Python
Necessary Programming skills level for the project:
Familiar
Necessary git skills level for the project:
Familiar
Modality:
fMRI
Software suites:
fMRIPrep, Jupyter
Email:
<EMAIL_ADDRESS>What will participants learn:
Participants will have the opportunity to learn how research collaborate on open source projects. They will also learn how the ICA-AROMA method works, as well as becoming familiar with Python libraries built for neuroimaging. If the participants were to work on the documentation, they would learn how docs are written on an open source project, as well as the common reStructuredText or Sphinx formats. If the participants were to work on the visualization side of the project, they would gain experience with the most commonly used plotting libraries for Python, namely matplotlib, bokeh, seaborn and plotly. Another goal of the project is to make the library accessible for fMRIprep, and so if participants were to take on this goal, they would learn how fMRIprep works, and how to integrate a library into fMRIprep.

Hi @amaiacc thank you for the submission of this amazing project! 🚀
I guess you used another template from Brainhack Donostia, hence the outline is a bit different from the current Global project submission issue.  However, if I am not missing anything (@Remi-Gau may confirm me please), all we are lacking is a twitter-size summary and an image representing the project for us to advertise on the global website and also Twitter.
So if you can provide them I guess it should be ready to go! Thank you!

Hey @complexbrain, I will share those as a comment below, or is it necessary that these go on the main text of the issue?
Thanks'

I believe for the tweet the comment below should be enough, thank you 🤗
But for the image for GitHub actions to pick up the image, it should be in the submission issue. However, given you used another issue template not sure whether dropping it in the issue will do the job. So let's hear from @Remi-Gau

yup try to dump the image in the head comment of that issue.
for the rest we will go with a "tweak and miss" strategy until our CI stops screaming at us.

I don't have permission to edit the issue so I'll write it all here:
Twitter description:
The old ICA aroma is a data-driven method to identify and remove motion-related independent components from fMRI data that combines FSL and Python and cannot be used on native-space data.
With the new aroma we want to make aroma Python-only and support native-space data.
Image:

@eurunuela
updated the original post.


'TuyaSmartDeviceKit/TuyaSmartActivator.h' file not found - IOS

Hi,
I have followed all the instructions provided in the README.
Getting the error when I build the project from Xcode "'TuyaSmartDeviceKit/TuyaSmartActivator.h' file not found ".

I am not clear on the instruction below, I have placed the contents of that folder into the root directory of my react native project.
"2. Drag the files in TuyaRNSDK to your project."
Let me know if I need to do something different.

Hey there,
any update on this?

try 0.59 branch

xCode12.5仍然有这个问题，请问修复了？ rn0.59分支也不行


Console error about state update on unmounted Chart component

We are seeing a console error when using the Chart component. This happens when the Chart is unmounted and replaced with a different chart component. Any ideas why this might be happening or how to work around/suppress the error?
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in Chart (created by ViewsChart)
(ViewsChart is our custom component)

Same here.

This is happening with Bar chart in particular.

Same problem for me too :(

Can anyone create a reproduction of this problem on CodeSandbox ?
Having trouble reproducing it.

I tried reproducing this on CodeSandbox and was unable to. So I started investigating in my project locally.
I realized that the parent component where I was rendering my Chart was re-rendering several times on unmount and this render thrashing was manifesting itself in this issue. When I fixed my project so I don't have these re-renders, I no longer see this error.
Is anyone seeing this error who has a clean unmount cycle w/o extra re-renders?

The problem is in useLoadGoogleCharts() and can happen if the component unloads before the charts API is fully loaded.
google.charts.load(chartVersion, {
        packages: chartPackages,
        language: chartLanguage,
        mapsApiKey,
      });
google.charts.setOnLoadCallback(() => {
       setGoogleCharts(google);
});

The callback setOnLoadCallback may complete after component unload and setGoogleCharts will then trigger the error.
This causes other instability issues where the charts API then refuses to load and you get blank charts.
The solution is exactly as the error message describes. The useEffect cleanup function should set some cancel flag that should be checked in the setOnLoadCallback before attempting to assign state.


Double notifications on Android (Always) & IOS (Sometimes)

Followed the documentation to create a notification service extension for ios: https://notifee.app/react-native/docs/ios/remote-notification-support
Server side:
I am using firebase-admin (node js) and sending message like this:
const title = "Hi"
const body = "How are you"
const data = {
          type: "CHAT",
          jobId: "1",
          title,
          body,
        };
await getMessaging().sendMulticast({
          tokens: tokenList,
          data: data as any,
          notification: {
            title,
            body,
          },
          apns: {
            payload: {
              aps: {
                contentAvailable: true,
                mutableContent: true,
                sound: 'default',
              },
              notifee_options: {
                title,
                body,
                data,
                ios: {
                  foregroundPresentationOptions: {
                    alert: true,
                    badge: true,
                    sound: true,
                  },
                },
              },
            },
          },
        });

notifications seem to be working fine on IOS (sometimes i get 2 notifications on ios as well) but on Android i am getting 2 notifications consistently when app is in the background. I am using notifee.displayNotification to display the notification in both android and ios.
I believe i am seeing 2 notifications because i am using notification option which gets displayed automatically and then setBackgroundMessageHandler handles the notification and data again and show another notification.
I can remove the notification option while sending a multicast message but then it will break the ios notification. Any suggestions will be much appreciated.

Please post an App.js file we can drop in a minimal reproduction scaffolding (like from https://github.com/mikehardy/rnfbdemo/blob/main/notifee-demo.sh so we can troubleshoot further. I'm guessing this is something project-specific with regard to API usage, as I think you suspect also based on second to last paragraph
https://stackoverflow.com/help/minimal-reproducible-example
https://stackoverflow.com/help/how-to-ask

https://github.com/sushilbansal/QeeperAppTemp
https://github.com/sushilbansal/QeeperServerTemp
If you can send me your contact details i can share the google config files for both server and app. I tested on these demo repos and i was able to replicate the issue.
I am using ngrok config in app env files. If you would like i can send a message to your device; let me know. Probably we can work over discord.

in app -> replace the server url in env files.
run the app and get the device token.
Replace this token in SendNotiResolver.ts in server.
After you run the server (yarn start); goto: http://localhost:5000/playground
run this mutation

mutation{
  sendNoti
}

you should be able to see 2 notifications.
Let me know if you need any other information. Thanks again.

With apologies, this is nothing like a minimal reproduction! It has a scary number of dependencies https://github.com/sushilbansal/QeeperAppTemp/blob/master/package.json

Please post an App.js file we can drop in a minimal reproduction scaffolding

This is critical. We cannot be responsible for other packages and it's surprising what they perturb! And it is unreasonable to expect third parties (us) supporting it on an open-source basis to understand any sort of app complications, so just a single index.js/App.js is the way to go
We have our own google firebase configs etc. If you just post the raw JSON you use to trigger a message via the FCM REST API (minus the device token, we can use our own) then we can check

I create a new react-native project from scratch and only added firebase and notifee packages. Please check it out and let me know if any other info is required: https://github.com/sushilbansal/notifeetest
I am leaving the credentials for ios and android as such. After this issue is fixed i will delete the firebase app and credentials. I can share sever credentials if required. I am using node js to send this message. On Android i get 2 notifications: One with Hi, Hello and second one with ---- 456 ----
const data = {
      type: 'Chat',
      jobId: '1',
      title: 'Hi',
      body: 'Hello',
    };
    await getMessaging().sendMulticast({
      tokens: [
        'eI_0L8cBSn2691pfC8OnW8:APA91bG7eGXD2OKS4_zjeSnTpxy-1wuH2C7vQiUnqNlZH2WhuA1h4Ru8lglcz87akJ0qw4NxWUmlJLx_xAYlIQZxuBQBPsFSYnFocKs6MuT7A_uq3GbDjyJMH7l41v_m0SH_Em2nvGvE',
      ],
      data: data as any,
      notification: {
        title: '---- 456 ----',
        body: '---- 456 ----',
      },
      apns: {
        payload: {
          aps: {
            contentAvailable: true,
            mutableContent: true,
            sound: 'default',
          },
          notifee_options: {
            title: '--- 123 ---',
            body: '---- 123 ---',
            data,
            ios: {
              foregroundPresentationOptions: {
                alert: true,
                badge: true,
                sound: true,
              },
            },
          },
        },
      },
    });

Hi @mikehardy , let me know if you were able to replicate the issue. Alternatively I can create a video of the issue on my mobile.

Sorry I haven't had a chance to attempt yet, I can say that in my work app this never happens, so it is slightly lower priority as I believe the issue is confined to your usage and does not affect all users nor my work, that is, it's my impression that I'm being asked to troubleshoot a project-specific problem and naturally that doesn't end up in the queue as high as the repository-wide issues that come in (and keep coming in).
I will tell you what my plan is, my plan is to extend the notifee app to have an actual throwaway firebase backend that functions so we can direct FCM to it, and I will add a basic reproduction of an FCM triggering a notification to it. Your repositories and reproduction scenario still did not appear minimal enough for me (in fact, the client side is 404 for me right now?) and I want something truly minimal and reproducible for everyone going forwards

@sushilbansal Is there any reason you are registering the listeners in blank functional components under the useEffect hook?

Hi @8BallBomBom, NotificationSubscription is required as we want to unsubscribe.
i needed SetNotificationToken in functional component as it will connects to the DB. I will save token to the DB as per current user's id (which i will fetch using a custom hook). However I changed the NotificationBackgroundHandler & SetNotificationToken to be a simple function (removed the useEffect; no longer a functional component)  I am still getting the 2 notifications.

Hi @mikehardy I understand that other users did not experience the issue and understand that it is not a top priority for you. However it is no longer confined to my usage.
This project has minimum lines of codes and dependencies. You can check the package.json. I took the recent react-native blank project (without TS) and added only dependencies which are required to make notifee working. I will await for  further communication on this end.
I am not sure why you are getting the error. This project does not connect with anything and does not have any logic inside. I will download the repo from github; install the dependencies and will run again. Will let you know the outcome.

Sorry, I clicked the old client project github URL first and it was 404, I just looked at your newer one and it does look cleaner + more minimal

why would you register background handler for RNFB in your App component? That will re-load and re-register, you should register that in index.js
if you send a mixed payload (notification JSON block and data block) the notification will trigger a notification at the native SDK level from firebase SDKs. If you also trigger a Notifee notification in response to data block, you'll get two notifications

Hi @mikehardy ,
Moving the register background handler to index.js did not solve the issue. I will await for your further comments on second point. That is the key to solving the issue now. Really appreciate that you are taking time out of your busy schedule to help me; it is not easy. Thanks in advance.

Hello there, @sushilbansal,
So you have closed the issue, did you manage to solve it? I am experiencing the same thing, would be interesting to hear what worked for you

i used https://notifee.app/react-native/docs/ios/remote-notification-support
The complete message that worked me is:
        const data = {
          type: "Chat",
          jobId: "1",
          title: "title",
          body: "body",
        };

        await getMessaging().sendMulticast({
          tokens: receiever.notiTokens,
          android: {
            priority: 'high',
            data: data as any,
          },
          apns: {
            payload: {
              aps: {
                contentAvailable: true,
                mutableContent: true,
                sound: 'default',
              },
              notifee_options: {
                ...data,
                ios: {
                  foregroundPresentationOptions: {
                    alert: true,
                    badge: true,
                    sound: true,
                  },
                },
              },
            },
          },
        });

Goddamn, that was a quick answer, huge kudos to you. Going to try this out, thanks a lot 🙏

@sushilbansal This solution works great on Android, but doesn't send anything to iOS until I add the notification object with title and body

hey @mikehardy thank you so much for the thoughtful response!
You are correct in that my iOS device is receiving the FCM, but I only know this because my apns object has badge: 1 set to it, so the badge does appear correctly.
However, the notification itself does not.
This is what my code looks like now with the notification object set, and the setBackgroundMessageHandler function is imported into index.js.
export const onMessageReceived = async (
  remoteMessage: FirebaseMessagingTypes.RemoteMessage,
) => {
  const channelId = await notifee.createChannel({
    id: NOTIFICATION_CHANNEL,
    name: NOTIFICATION_CHANNEL,
    sound: 'notif',
    importance: AndroidImportance.HIGH,
  });

  const title = remoteMessage?.notification?.title;
  const body = remoteMessage?.notification?.body;

  // Display a notification
  return await notifee.displayNotification({
    title,
    body,
    data: remoteMessage?.data,
    android: {
      channelId,
      sound: 'notif',
      smallIcon: 'ic_notification_circle',
      importance: AndroidImportance.HIGH,
      pressAction: {
        id: 'default',
        launchActivity: 'default',
      },
    },
    ios: {
      sound: 'default',
      foregroundPresentationOptions: {
        alert: true,
        badge: true,
        sound: true,
      },
    },
  });
};

export const setBackgroundMessageHandler = () =>
  messaging().setBackgroundMessageHandler(onMessageReceived);

I tried reshaping my firebase notification object the way @sushilbansal suggested, and added several console.logs to the onMessageReceived function, but it only seems to be triggered on Android.
Do I need to set up the extra notifee target as per this? https://notifee.app/react-native/docs/ios/remote-notification-support
If so, I did that set up, but it didn't seem to make a difference.
Is the most likely answer that I set that up incorrectly?

You indicate you've got double notifications on android, so setting up the notification extension on iOS may be needed (depends on your use cases...I can't say) but won't be related to double notifications on android
On android, the FCM will be received and if it has a notification block it will be processed by the underlying firebase-android-sdk and a notification will be displayed at the firebase-android-sdk unconditionally every time. If you then also have a background message handler that displays a notification for an FCM that had a notification block, you will see double notifications. That could be it

Thank you again @mikehardy for the response. I sort of understand what you mean, but I'm unsure how the notification listeners are able to distinguish between when a notification block should be processed and when one should be displayed.
It may also be a matter of being more precise with setting up the iOS extension, so I need to do more homework there.
My current band-aid solution it to cancel the notification received by the background event listener when it's an android device, as that does prevent a second notification from displaying. However, the notification that is received does not contain any parameterized data other than the title and body.
If it helps, here's the code for my parent component PushNotificationManager I use that set up the listeners:
import notifee, { EventType, InitialNotification } from '@notifee/react-native';
import messaging from '@react-native-firebase/messaging';
import { NavigationContainerRefWithCurrent } from '@react-navigation/native';
import React, { FC, useEffect, useState } from 'react';
import { Platform } from 'react-native';

import { useCurrentUser } from 'src/contexts/useCurrentUser';
import { onMessageReceived } from 'src/firebase/notifications';
import { HomeStackParamList } from 'src/navigation/Home.navigator';
import { ROUTES } from 'src/navigation/routes';
import { NotificationEntityType } from 'src/types/notification';
import { logger } from 'src/utils/logger';
import { addSentryBreadcrumb } from 'src/utils/sentry';

interface IPushNotificationManagerProps {
  children: React.ReactElement;
  navigationRef: NavigationContainerRefWithCurrent<HomeStackParamList>;
}

type NotificationDataKeyType = string;
type NotificationDataValueType = any;

export interface INotificationData {
  entityId: string;
  entityType: NotificationEntityType;
}

const NOTIFICATIONS_WITHOUT_ACTION = [
  NotificationEntityType.TRANSACTION_RECEIVED,
];

const PushNotificationManager: FC<IPushNotificationManagerProps> = ({
  children,
  navigationRef,
}) => {
  const {
    currentUserState: { currentUser },
  } = useCurrentUser();

  const userId = currentUser?.id as string;

  const [notificationDataReceived, setNotificationDataReceived] = useState<
    Record<NotificationDataKeyType, NotificationDataValueType> | undefined
  >();

  useEffect(() => {
    if (userId && notificationDataReceived && navigationRef.isReady()) {
      console.log(
        'do stuff with notifications here!',
        notificationDataReceived,
      );

      const notificationData = {
        ...notificationDataReceived,
      } as INotificationData;

       / **
          * The app does stuff with the parameterized notification data here
          * /

      }
    }
  }, [navigationRef, notificationDataReceived, userId]);

  useEffect(() => {
    const unsubscribe = messaging().onMessage(onMessageReceived);

    notifee
      .getInitialNotification()
      .then((remoteMessage: InitialNotification | null) => {
        if (remoteMessage) {
          // notification caused app to open from quit state
          setNotificationDataReceived(remoteMessage.notification.data);
        }
      });

    const unsubscribeForeground = notifee.onForegroundEvent(
      async ({ type, detail }) => {
        const { notification } = detail;

        if (notification && type === EventType.PRESS && notification.id) {
          setNotificationDataReceived(notification?.data);
          await notifee.cancelNotification(notification?.id);
        }
      },
    );

    notifee.onBackgroundEvent(async ({ type, detail }) => {
      const { notification } = detail;

      if (Platform.OS === 'android' && notification?.id) {
        // HACK
        // This prevents duplicate notifications from being sent to android
        // at the cost of the notification not going to the correct route
        await notifee.cancelNotification(notification.id);
      }

      if (type === EventType.PRESS && notification?.id) {
        setNotificationDataReceived(notification?.data);
        await notifee.cancelNotification(notification?.id);
      }
    });

    return () => {
      unsubscribe();
      unsubscribeForeground();
    };
  }, []);

  return <>{children}</>;
};

export { PushNotificationManager };


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/66462
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 24a010e306eaa0019feda68e14c7690abf443c36
git push origin v0.1.0


Add save counter as prefix param

Add option to move image save counter to the start of the file path. Helpful particularly for reviewing bulk images in file system.

Let me test it out. Sounds good.

Let me test it out. Sounds good.

Right on!  I also didn't want to rename "filename prefix" to something like "filename string" because that felt like too much of a change. However, that might be the best course of action if you think so. So the param would then be something like "counter filename order" with options being "prefix | postfix."

That's a good point, it is probably best. though I am sure will trip people out anyway lol.


Fixed link to company model file (Kotlin example)

1. Issue Link:
#17
2. Brief explanation of a change:
Fixed markdown link to a Kotlin file.
3. Will it break existing clients and code in production?
No, only documentation change.

@idimaster thank you 👍


fix: switch from color temperature to rgb

The fix is inside plugp100 library, so need to bump version before merge


Update Minecraft Wiki links to new domain after fork

The Minecraft Wiki maintainers have decided to move away from Fandom. More information can be found here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom. This PR updates all the URLs to the new domain: minecraft.wiki

@microsoft-github-policy-service agree

Thank you, this is great!


Docker package could not find start.sh

I tried to package the image in the master branch method. No error occurred during the packaging process, but the following error was found when starting the image:

Then I tried to package the new version under tag, but I also found the same problem. I don't understand the problem in that link?
My packaging environment is WSL2 under windows，Secondly, the following are some logs when I packed, and no exceptions were found.

Hi @Huyueeer , have you resolved the issue? I also encountered same problem

@HarveyLeo It's solved. I verified it on version 0.8.23 and found that this problem does not exist. I think it's caused by the merging of new branches of local code. You can try to modify the code in the new version and then package it.


Remove unused HP & End columns from database creation scripts

Summary
We have serialized Character Attribs into CharacterData, so now we don't need the hitpoints and endurance columns in Characters table.
We should remove those columns from the database creation scripts located here:

SQLITE: Segs/Projects/CoX/Data/sqlite/segs_game_sqlite_create.sql
PGSQL: Segs/Projects/CoX/Data/pgsql/segs_game_postgres_create.sql
MYSQL: Segs/Projects/CoX/Data/mysql/segs_game_mysql_create.sql

Steps to complete:

[ ] Remove hitpoints and endurance columns from database creation scripts
[ ] For each script: Iterate database version number, and characters table version number in table_versions table
[x] Update database schema on https://dbdesigner.net (I'll take care of this)
[ ] Update database schema images on our wiki with latest changes: https://github.com/Segs/Segs/wiki/DB-Schema-and-Proposing-Changes

Dracc is tackling this in #381


Priority is "required" now not "optional"

if we didn't add this parameter then the below error message would return
ApplicationGatewayRequestRoutingRulePartialPriorityDefined
Either all or no rule should have the priority specified.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7d6ba93c-4a1c-c69d-f52a-001791e0220a
Version Independent ID: 2dd75bbb-a92c-c8f5-354b-6d40e531190b
Content: az network application-gateway rule
Content Source: latest/docs-ref-autogen/network/application-gateway/rule.yml
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

network


refactor: simplify and reorganize Gateway

use more concise types for ip/port to make cast to IP (and config creation in general) error-free.
extract routes to dedicated function: this practice and naming as app a known idiom: this makes for easier testing later on, and also will contain other configurations later on like banned IPs.
Fix naming of arg in add_transaction: the arg is already deserialized from json, so no _json suffix.

This change is

Codecov Report
Attention: Patch coverage is 14.28571% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 18.75%. Comparing base (3a958a9) to head (9aa64ae).

Files
Patch %
Lines

crates/gateway/src/gateway.rs
14.28%
12 Missing :warning:

Additional details and impacted files
@@                 Coverage Diff                  @@
##           gilad/bump-hyper      #27      +/-   ##
====================================================
- Coverage             23.07%   18.75%   -4.33%
====================================================
  Files                     2        2
  Lines                    26       32       +6
  Branches                 26       32       +6
====================================================
  Hits                      6        6
- Misses                   20       26       +6

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


compatibility with life mending in apotheosis when using smaller heal values?

I had an issue previously where life mending from apotheosis wasn't ticking properly with harder natural healing. This is probably because my health regen ticks were too small for it to pick up cause they were fractional values smaller than a half heart to slow the regeneration lower than 1 at a time.
https://github.com/Shadows-of-Fire/Apotheosis/issues/930
Shadow gave an explanation of why it might not be working. and I was wondering if you'd make some changes to the system to allow it to keep track of these smaller values over time but then only pass a proper tick of half hearted healing to the player when it gets above a recorded threshold of healing that will be received, so that this enchantment will potentially work with my current setup, and anyone else who might have similar issues with it and configuring this mod to their liking.
This is for the 1.19.2 version. as thats where apotheosis is currently.

Okay, just so you know, healing less than a half heart still adds to your total health (even down to 0.000001).  The half hearts are just the gui/visual total representation of your health.   So a display of 5 and a half hearts can be from 10.00001 to 10.500000 (or maybe 10.500000 to 10.599999).
The only case where it would be a problem as suggested is if the healing was too small for a float to record (so less than about 0.000001) which is like 1 millionth of a health point.  The value being a float hardcoded as a float in minecraft.
The way that the hunger works is they have a second field called saturation for health.  Minecraft reduces saturation first if it is greater than zero and when saturation reaches zero then minecraft starts lowering food bars.
Which Harder natural healing setting are you using?  Or if you are using custom settings, what healing value are you using?  Have you tried increasing it helps apothesis tick properly?   Perhaps start with a large value first... then make it smaller until Apothesis stops working.
Hope this helps,
MacTso

Okay, just so you know, healing less than a half heart still adds to your total health (even down to 0.000001). The half hearts are just the gui/visual total representation of your health. So a display of 5 and a half hearts can be from 10.00001 to 10.500000 (or maybe 10.500000 to 10.599999).
The only case where it would be a problem as suggested is if the healing was too small for a float to record (so less than about 0.000001) which is like 1 millionth of a health point. The value being a float hardcoded as a float in minecraft.

This I know.

The way that the hunger works is they have a second field called saturation for health. Minecraft reduces saturation first if it is greater than zero and when saturation reaches zero then minecraft starts lowering food bars.

This also.

Which Harder natural healing setting are you using? Or if you are using custom settings, what healing value are you using? Have you tried increasing it helps apothesis tick properly? Perhaps start with a large value first... then make it smaller until Apothesis stops working.

It's just a delay of around 7-10ish seconds. 0.25 health per heal tick, cause theres no way to reduce the delay between each tick, only the amount of ticks per heal. so I have to set it low like 0.25 to make it look like it's only healing a half heart every few seconds.
Apotheosis already fails to work due to it being too small, so it likely requires a value of around 1 healing (half a heart) atleast to proc.
Since healing a few hearts with some other external item or through a regeneration proc does the trick.


AjaxFileUpload improvement ideas

I'm working on switching my project from another Ajax file upload control to AjaxControlToolkit's AjaxFileUpload. I've found it extremely helpful to have access to the source code and so far it's more reliable than the one I was using before as well.
While I've been working on it I've been keeping a mini-wishlist of ideas for improvements to AjaxFileUpload. I can't definitively commit to anything, but I'm potentially interested in working on the changes myself and contributing the code back to the project. Before I start making changes to the code I'd like to find out if the general approach I have in mind would be acceptable or whether I should just plan on having my own customized fork.
These are the changes I have in mind:

Ability to set the TempDir path in code so it can be done without config changes
Make DeleteAllTemporaryFiles safe to call even if uploads are in progress elsewhere, eg only delete if more than 24h old
Use WebRequestManager instead of raw XHR in order to honor event hooks set on it
Optionally use WebForms standard system for page callbacks so that the server-side event handlers can update other controls on the page, change viewstate, tell UpdatePanels to reload etc.
Separate events (client and server side) for uploadSuccess and uploadCancel

Still call UploadCompleteAll in both cases for backward compatibility

Provide documentation of the arguments passed to the client-side event handlers
Add SaveAs method to UploadEventArgs and make the one on the control itself obsolete
More control over rendering:

Don't use hardcoded style attributes
Allow text and CssClasses of individual UI elements to be customized
Customizeable html of the pending uploads list, including an option for per-file cancel buttons
Either have a separate version for single-file uploads or a dedicated UI for MaximumNumberOfFiles=1

Hi @sab39 ,
You are always welcome to make changes to the AJAX Control Toolkit.
The main concern is to avoid breaking changes.
Also, avoid implementing features that are specific to a user's task and can be implemented on the client side without touching the code of the toolkit.
To get familiar with technical aspects of contributing, please read the contributing guide before providing a pull-request.

@sab39
I'm closing this issue and hope to see pull-requests from you in the future.
If you have any questions, don't hesitate to contact us.


Fix object and member delete actions

Fixes #393, fixes #400

Thanks @SanjulaGanepola Just curious why calling the Code 4 i APIs did not work and we had to write the UI ourselves?

There were several changes made to the Code4i API which we were previously calling. Namely, the parameter which is passed in is of a type which is not exported by Code4i and so we cannot construct the necessary object. In addition, that API handles logic for refreshing Code4i's view which we do not want to be doing.


[SuperEditor][SuperTextField][Android][iOS] - Caret jumps to finger location instead of being pushed

On mobile, there's a concept of touch slop. This is the distance a user needs to move before the gesture system decides to start a gesture.
If a user presses on a caret in a SuperTextField on mobile and then drag, the user's finger will move away from the caret before the caret starts to move. When the gesture finally kicks in, the caret immediately jumps to the finger location. There's no great answer to this, but the jump is visually jarring. It's probably preferable to "pull" and "push" the caret rather than have the caret always match the finger offset. Implement such a "pull" and "push" interaction, instead.
Edit: This seems to apply to SuperEditor, too
https://github.com/superlistapp/super_editor/assets/7259036/e1db90b2-a27c-4502-a373-4f308a1a9700

Upon closer inspection of iOS (in Notes app):

If the user starts dragging near the caret, a smooth drag starts immediately
If the user drags anywhere else, the drag is ignored
If the user momentarily presses down (might be shorter than a long-press), then the caret jumps to that position and a drag begins.

https://github.com/superlistapp/super_editor/assets/7259036/83c2eb79-9a06-455d-b0e9-0c7e69c09675

To respond immediately to caret dragging, we probably need to place an invisible widget over the caret to immediately win the gesture arena. Either that, or a custom gesture recognizer that can win the arena quicker.

Also - long-pressing in the example above shows that iOS doesn't select a word on long-press. Instead, a double tap on a word selects the word. Long-press moves the caret and starts a drag.


Add ability to self-close BaseComponent tag

Problem
When using Primer::BaseComponent to build an img, it is not possible to have a self-closing <img src...> tag returned, nor a self-closing source.
Proposed solution
Add an self_close option that uses tag instead of content_tag, or automatically detect HTML elements that are self-closing and exclude the trailing closing tag (e.g. </img>).
See: https://apidock.com/rails/ActionView/Helpers/TagHelper/content_tag, https://stackoverflow.com/questions/10388268/rails-helper-how-can-i-get-a-helper-to-give-me-a-br-or-other-markup/16473674

Closed by https://github.com/primer/view_components/pull/892

Closed by https://github.com/primer/view_components/pull/892


MM-33510 - Remove manual config via config.json

Documentation task: https://mattermost.atlassian.net/browse/MM-33510
Updated:

Cloud Admin Guide > Authentication > Google Single Sign-On

Removed manual config.json steps since Cloud System Admins can't modify the config.json file directly

Closing as this content has been deprecated and replaced by an rst file.


Hi i having an error while trying to load my test

Subject of the issue

Your environment

Ruby version:
rspec-core version:

Steps to reproduce

Expected behavior

Actual behavior

As the error says, no directory or file exists at /Users/krystlemensah/Desktop/DjGear/spec/models.  You ran rspec spec/models from the /Users/krystlemensah/Desktop/DjGear directory, which tells RSpec to load the spec files at that path or within that directory.  Since that path does not exist on your file system, the exception you're seeing is raised by design so you get a clear error.


NPC move_based_on_state and _movement methods check

 Issue by Sean-Nishi
Thursday Jan 18, 2024 at 21:31 GMT
Originally opened as https://github.com/Sean-Nishi/M1Wengine/issues/372

Currently, in NPC.py, method move_based_on_state() has a check for the _current_state before calling the respective movement method (ex. self.attack_movement()). However, the exact same check is performed inside the attack/patrol/follow_movement methods.

Either owalk or FcPolonia fixed this


Azure Hadoop Esti test is flaky

example: https://github.com/treeverse/lakeFS/runs/7626330988?check_suite_focus=true

duplicate of https://github.com/treeverse/lakeFS/issues/3814


Added scripts to update records for voided patients

Added scripts to update records for voided patients
Added scripts to void patients (CT, HTS, MNCH) on ODS for patients who don't exist from the source
Added CT_CancerScreening and CT_ARTFastTrack

@DennisGibz I was wm=ondering for the voiding of patients e.g. CT_VoidedPatientCheck.sql, why do we have to inner join to the same table again on the update part ?

@cbrianbet was the PR meant to void only the CT extracts. Will there be another one for the other dockets ?

@cbrianbet

I was wondering for the voiding of patients e.g. CT_VoidedPatientCheck.sql, why do we have to inner join to the same table again on the update part ?
For the voiding of the patients what about prep docket ?

@nobert-mumo you mean
"UPDATE a
SET a.voided =1
FROM [ODS].[dbo].[CT_AdverseEvents] a
JOIN [ODS].[dbo].[CT_Patient] b
ON	a.SiteCode = b.SiteCode AND
a.PatientPK = b.PatientPK
WHERE b.voided =1 "
Its nessesary because at this point, we want to void the associated records for the voided patients. So the flow is,we void patient then go the records associated with the patient.
On PrEP, a PR can be done later together with voiding of other dockets.

@cbrianbet

I was wondering for the voiding of patients e.g. CT_VoidedPatientCheck.sql, why do we have to inner join to the same table again on the update part ?
For the voiding of the patients what about prep docket ?

@nobert-mumo you mean
"UPDATE a SET a.voided =1 FROM [ODS].[dbo].[CT_AdverseEvents] a JOIN [ODS].[dbo].[CT_Patient] b ON a.SiteCode = b.SiteCode AND a.PatientPK = b.PatientPK WHERE b.voided =1 "
Its nessesary because at this point, we want to void the associated records for the voided patients. So the flow is,we void patient then go the records associated with the patient.
On PrEP, a PR can be done later together with voiding of other dockets.

@DennisGibz  not really, I meant on the patient_voiding folder,
I thought we could shorten the update section to be more clear by :

@cbrianbet

I was wondering for the voiding of patients e.g. CT_VoidedPatientCheck.sql, why do we have to inner join to the same table again on the update part ?
For the voiding of the patients what about prep docket ?

@nobert-mumo you mean
"UPDATE a SET a.voided =1 FROM [ODS].[dbo].[CT_AdverseEvents] a JOIN [ODS].[dbo].[CT_Patient] b ON a.SiteCode = b.SiteCode AND a.PatientPK = b.PatientPK WHERE b.voided =1 "
Its nessesary because at this point, we want to void the associated records for the voided patients. So the flow is,we void patient then go the records associated with the patient.
On PrEP, a PR can be done later together with voiding of other dockets.

@DennisGibz not really, meant on the patient_voiding folder. Maybe to make it more clear & shorten we can do:
UPDATE [ODS].[dbo].[CT_Patient]     SET VOIDED =1 FROM [ODS].[dbo].[CT_Patient] a where concat(a.PatientPK, a.SiteCode) NOT IN (SELECT PatientConcatColumn FROM Src_PatientConcat);

Added scripts to update records for voided patients
Added scripts to void patients (CT, HTS, MNCH) on ODS for patients who don't exist from the source
Added CT_CancerScreening and CT_ARTFastTrack

@nobert-mumo I had tried this, and I found it not to be very accurate hence resulting to doing the concat separately then joining the two result sets.

Added scripts to update records for voided patients
Added scripts to void patients (CT, HTS, MNCH) on ODS for patients who don't exist from the source
Added CT_CancerScreening and CT_ARTFastTrack

@nobert-mumo I had tried this, and I found it not to be very accurate hence resulting to doing the concat separately then joining the two result sets.

@DennisGibz  okay, that's strange but if it works that's okay. It's a bit hard to understand the join at a glance.

@DennisGibz  generally  LGTM.
I just had two suggestions:

Maybe we can look to move most of subfolders form utils to ODS that seem to be part of core ETL for ODS?
We could format the queries to make them more readabale.


update examples to use cross-platform SafeAreaView

Why & How
Update most of the unversioned examples to use cross-platform SafeAreaView, perform multiple tweaks and fixes to the existing code.
Not every evample really needed the safe area container, but  at the end for most of them, there is a value, so I have updated almost all examples to relay on SafeAreaView, unless there is concrete reason to not wrap the code.
Preview

@Simek @cortinico It seems the updated example code is not reflected in Deploy Preview link above. Is there some additional step that is missing?

I have update only unversioned files, so to see the changes you need to select "Next" from the versions dropdown:

https://deploy-preview-4231--react-native.netlify.app/docs/next/getting-started


Port progress for v1.0.0

Current progress:

[x] Basic unit test
[x] Integrated with flutter-webrtc
[x] Register/Un-Register
[x] Send Invite
[x] Recv Invite
[x] Hold/Unhold
[ ] Dtmf send/recv
[ ] Refer (Call Transfer)
[ ] Message send/recv
[ ] Re-Invite (audio/video call switch)
[ ] Full-featured demo (android/ios flutter app)

Looks good! Transfer?

Yes, Transfer (Refer) will be supported.

Of course. That's the proper term. Thanks.


#37 Fix schema parsing

Pull request questions
Which issue does this address
Issue number: #37

This code is not needed. See comments in https://github.com/Senzing/init-postgresql/issues/37


Upload tutorial notebooks on Kaggle

We can select some popular challenges / datasets on Kaggle and upload a tutorial using sklearn-evaluation's plots.
The tutorial will have EDA and finally model fitting. Can also use jupysql for the EDA.

I think this is a geat idea. Especially if we do it with current competitions, since people will  be interested in learning more about the data, this may be a better fit for JupySQL, since we could have some exploratory data analysis notebooks.
thoughts? @idomic

Yup 100%. Love it.
So the tasks here are:

a list of top 5 challenges/datasets.
A sample EDA relevant to the problem.
Push it in the kaggle channels.


fix picard_reorder call

addresses https://github.com/bcbio/bcbio-nextgen/issues/3000

Thanks Sergey!


Error while running

Good day!
Could you please help me, I used next comands and get error on the last one

docker pull petronetto/docker-python-deep-learning
(it was successfully downloaded)
docker run -it --name deep-learning -v $(PWD):/home/notebooks -p 8888:8888 -d petronetto docker-python-deep-learning
Unable to find image 'petronetto:latest' locally
docker: Error response from daemon: pull access denied for petronetto, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

OS is Windows10

Hi, the right command would be:  docker run -it --name deep-learning -v $(PWD):/home/notebooks -p 8888:8888 -d petronetto/docker-python-deep-learning, you just missed the / between my repo and the container name

Thanks for fast response, now I get:
docker: Error response from daemon: create $(PWD): "$(PWD)" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run --help'.

Dude, $(PWD) is a bash command, that basically maps your current directory, if you're using Windows it's obviously that won't work... Just replace it for your current working directory.

My working folder is C:\Users\denni.
I changed working dir in local dockerfile to users\denni, bulded it and ran it.
Now it show me that it is serving all files in \users\denni. But in welcome.ipynb it doesn't know the pytorch and XGBoost, what can be the problem?

Could you please somehow write steps to install your dockfile for windows user?


[build][interrupts] Configurable number of bits for multi-level interrupts

Describe the bug
#61050 introduced the support of configurable bitmasks for multi-level interrupt, however, Zephyr's gen_defines.py script still expects each level to be 8, see: still hardcoding the number of bits for the levels, i.e.:
https://github.com/zephyrproject-rtos/zephyr/blob/1fc16e65656e742fbe0adc89e0fdf685c51525a5/scripts/dts/gen_defines.py#L462-L468
This results in incorrectly encoded IRQ number from DT macros like DT_INST_IRQN:
https://github.com/zephyrproject-rtos/zephyr/blob/1fc16e65656e742fbe0adc89e0fdf685c51525a5/drivers/serial/uart_ns16550.c#L1248
And may cause issues in build-time installed ISRs, i.e. IRQ collision / installing ISR to the wrong offset / mismatch between static and dynamic IRQN.
To Reproduce
Steps to reproduce the behavior:

Use anything after #61050 - cce530cae4cac4ac46d5c932267d8156377578bd
Use a board with MULTI_LEVEL_INTERRUPTS enabled
Configure the 1st level interrupt bits to anything other than 8
See error

Expected behavior
Zephyr should build and work normally for any plausible value of 1st level interrupt bits
Impact
This can be a showstopper for boards that requires the 1st level interrupt bits to be something other than 8
Environment (please complete the following information):

Zephyr rev: cce530cae4cac4ac46d5c932267d8156377578bd

This technically would fall into the category of a bug. Can you grab the template for a bug report and update the description?

@fabiobaltieri @jhedberg - this will be pretty critical for functional risc-v plic.


No mention of error 927 occurring when using this function

Using this on a server that has a database in a restoring state fails with error 927.
This means I can no longer query for statistics from the server
This works:
select * from sys.dm_exec_query_stats
cross apply sys.dm_Exec_sql_Text(sql_handle)
This does not:
select * from sys.dm_exec_query_stats
cross apply sys.dm_Exec_sql_Text(sql_handle)
cross apply sys.dm_exec_plan_attributes(sql_handle) x
Unfortunately forums are getting ignored, but there seems to be a lot of activity on docs, so cross posting here
https://feedback.azure.com/forums/908035-sql-server/suggestions/36684238-strange-problems-related-to-query-cache-plan

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

ID: a2a77d63-0ef7-54c8-4f02-59f736298c70
Version Independent ID: 1688ab2b-7894-bbb5-d19d-8d26b6e820aa
Content: sys.dm_exec_plan_attributes (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-exec-plan-attributes-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

@brettshearer -- Brett, thank you for your feedback.
@stevestein -- Steve, please look into this issue.

Apologies for the delayed response. @CarlRabeler Could you please look into this issue? Thank you! #reassign:CarlRabeler

@brettshearer researching ...

@brettshearer Per product team, please open a support case given that it worked in a previous version.
Thanks,
Carl


Support add command alias

Codecov Report

Merging #136 into master will decrease coverage by 0.61%.
The diff coverage is 9.09%.

@@             Coverage Diff              @@
##             master     #136      +/-   ##
============================================
- Coverage     67.58%   66.97%   -0.62%
  Complexity      613      613
============================================
  Files           103      105       +2
  Lines          2138     2159      +21
  Branches        229      232       +3
============================================
+ Hits           1445     1446       +1
- Misses          598      618      +20
  Partials         95       95

Impacted Files
Coverage Δ
Complexity Δ

.../seedu/address/logic/commands/AddAliasCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...du/address/logic/parser/AddAliasCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...edu/address/logic/parser/IntelliJournalParser.java
78.12% <0.00%> (-2.53%)
17.00 <0.00> (ø)

...ava/seedu/address/logic/commands/ValidCommand.java
89.47% <100.00%> (+0.28%)
7.00 <0.00> (ø)

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 3a8145e...5e495d2. Read the comment docs.

I have finished the functionality of add alias, but I am considering how to maintain a good design for the system and store the change into json file.

@joshualiangxy Can you help to check whether the storage part is consistent with the other part?


run tests on wasm32-unknown-unknown

Closes #79

@alexcrichton this runs the full testsuite on wasm32-unknown-unknown except for the #[should_panic] tests which I have currently disabled.

Having to use the #[wasm_bindgen_macro], pub mod, pub fn, etc. for tests, disable #[should_panic], are the only "issues" i've encountered.
I think we could have a tiny compiler feature(plugin) that replaces #[test] with the appropriate stuff, and that it would be enough to include that for the wasm target in the top-level Cargo.toml.
That would make testing Rust crates for wasm a two-liner change on nightly, instead of something that one has to take care of for every test.

@alexcrichton
{ Error: Cannot find module 'env'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/checkout/target/wasm32-unknown-unknown/wbg-tmp/wasm-bindgen-test_bg.js:6:18)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3) code: 'MODULE_NOT_FOUND' }

This happens in debug builds. I am trying to run the tests in release mode to see if the issue persists.

Hm that basically means that there was an unresolved symbol, do you know if the test expect a symbol from libc or a C library or something like that?

Hm that basically means that there was an unresolved symbol, do you know if the test expect a symbol from libc or a C library or something like that?

It fails only in debug mode; in release everything works as expected.


But what about formatting

The doc says When developing layouts for document reports, we recommend that you design Word layouts instead of RDL.
But Business Central specifically does not support Word's field data formatting syntax, which is essential to layout formatting. Does this amount to Microsoft saying "we recommend that you not do any field data formatting in your layout, but instead do it in the report code itself?" Doesn't that severely limit the possibilities for user-modifiable customizations to a report layout?

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

ID: 185e15dd-e5ae-2272-7d29-3207bdd08089
Version Independent ID: dc0cdfd9-7480-6cc4-8c9e-db6ac05f2f6c
Content: Report Design Overview - Business Central
Content Source: dev-itpro/developer/devenv-report-design-overview.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

It's correct that we recommend using Word based layouts for document reports as RDLC based layouts are very hard to maintain for most users.
During Word file rendering we do not modify the normal Word controls but will only modify the content controls bound to the xml elements in the custom xml that is stored in the document.
Formatting data should always take place in the report object itself to ensure coherent output disregarding system setup on the end-users computer, this is in particular relevant for data and number formats that can depend on the language settings in the BC environment.
This is not the same as saying that you cannot use standard Word controls, but it will not always be possible to embed xml content controls inside standard controls.
Notice that the page number controls are a bit special as they are controlled by the report rendering engine in order to support correct section page numbers when you print multiple documents in one batch resulting in one Word or pdf file.

It is very true that “RDLC based layouts are very hard to maintain for most users.” But it is also true that extensive layout-based formatting capabilities, which have become easy and familiar after so many years of using Report Builder and Visual Studio with NAV reports, are now lost to the developer. This inevitably requires significant extra work on the part of the developer, and means that minor formatting changes in a Word layout require developer intervention and coding. Layout-based visual designers are infinitely more capable, flexible, and efficient (change the number of decimal places on an entire table of data cells at once), not to mention easier to work with. (That said, I will certainly grant that the formatting control syntax in a Word layout is not exactly intuitive).
Such is life. Product design decisions are made, we have to live with them. Fine. But at the very least, perhaps Microsoft could make it a little more obvious in its documentation that formatting changes we have all come to expect to make in the report layout are no longer available.
From: Niels-Henrik Sejthen @.>
Sent: Thursday, October 6, 2022 7:58 AM
To: MicrosoftDocs/dynamics365smb-devitpro-pb @.>
Cc: David Baldwin @.>; Author @.>
Subject: Re: [MicrosoftDocs/dynamics365smb-devitpro-pb] But what about formatting (Issue #2539)
**CAUTION: This email originated from outside of CAI Software, LLC. Do not click links or open attachments unless you recognize the sender and are expecting the attachment or link.
It's correct that we recommend using Word based layouts for document reports as RDLC based layouts are very hard to maintain for most users.
During Word file rendering we do not modify the normal Word controls but will only modify the content controls bound to the xml elements in the custom xml that is stored in the document.
Formatting data should always take place in the report object itself to ensure coherent output disregarding system setup on the end-users computer, this is in particular relevant for data and number formats that can depend on the language settings in the BC environment.
This is not the same as saying that you cannot use standard Word controls, but it will not always be possible to embed xml content controls inside standard controls.
Notice that the page number controls are a bit special as they are controlled by the report rendering engine in order to support correct section page numbers when you print multiple documents in one batch resulting in one Word or pdf file.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/2539#issuecomment-1269900917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJTBZIWCPE47VQUC7XGJ44LWB25EDANCNFSM6AAAAAAQOOW5L4.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Notice that it's a recommendation to use Word based layouts, it's not a requirement and we are not going to remove the rdlc option. So, partners and users that prefer rdc layouts can continue to use them, but our base document reports will be based on Word layouts (actually a transition that started about 10 years ago).

Thanks for the feedback. We will close this issue.


Unable to pass JDBC parameters when using "tc:" JDBC url

Here is a JDBC URL that works, as expected:
jdbc:tc:postgresql:10.14:///test

This will start a container and when org.testcontainers.containers.JdbcDatabaseContainer::constructUrlForConnection is called you will get
jdbc:postgresql://localhost:32845/test?loggerLevel=OFF

That's a legit JDBC url to connect to once the container is started. Everything works as expected.
Let's try to add a parameter to configure the postgresql JDBC connection:
jdbc:tc:postgresql:10.14:///test?preparedStatementCacheQueries=0

This does not work as expected because the generated JDBC URL for the container will be:
jdbc:postgresql://localhost:32845/test?loggerLevel=OFF?preparedStatementCacheQueries=0

There is two ? so JDBC driver fail to open a connection.
This is because org.testcontainers.containers.PostgreSQLContainer::getJdbcUrl add its own query string:
    @Override
    public String getJdbcUrl() {
        // Disable Postgres driver use of java.util.logging to reduce noise at startup time
        return "jdbc:postgresql://" + getContainerIpAddress() + ":" + getMappedPort(POSTGRESQL_PORT) + "/" + databaseName + "?loggerLevel=OFF";
    }

@numero-six what version of Testcontainers are you using? I should be fixed already

It was 1.12.1, using 1.15.0 solve the issue. Thanks @bsideup and sorry for the noise :sweat: (I did not found the issue)!


MiKo_1040 should ignore boolean variables

MiKo_1040 determines if an implementation detail such as "List" or "Dictionary" is part of the name of a parameter.
In case of boolean parameters this is most time not desired as they act as some kind of flag.


Couchsurfing hangout function doesn't work

Hi,
When I click the hungout button in Couchsurfing, it doesn't bring me to the available hangouts. It looks like it's loading but then it doesn't go to the next step.
There is already an other member who said the same things, but the convo is a little old, so I opened a new one.
In the other conversation it was suggested to show the logcat, to see what's the problem, but I don't know what that is.
P.S. I've tried to click the hangout button both using the microg.me version of lineageos and adding the xposed module but both of them bring me to the same conclusion.

This has been reported in #349

@maxammann Yes, but the issue still persists


[NOT UP TO DATE]

The user rights described in the "Roles and allowed actions" are not up to date. For example, the Workbook contributor permission is not mentionned. In addition the term "dashboard" is used, instead of the newly "workbook".
I was thinking that maybe other permissions have been forgotten.
Thanks!

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

ID: 1a7e388c-e6fd-22df-0070-b051fc09cb0c
Version Independent ID: c543b5d2-e0db-d137-acd2-43ed1f712817
Content: Permissions in Azure Sentinel
Content Source: articles/sentinel/roles.md
Service: azure-sentinel
Sub-service: azure-sentinel
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

@Molx32 Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

Hi @Molx32, thanks for having sent your comment in to Microsoft docs!
Our article may have been updated in the meantime. In case it hasn't been, I'm adding this to our backlog to verify and update as needed in a coming release.
I'm going to close this issue in the meantime, but feel free to continue commenting if you have more feedback.
We appreciate your contributions to docs!
#please-close


Customize which attributes are shown for instances of any model

I've read through the wiki (really sparse), watched videos (again) and read through the current issues. I have found no current-updated way to select which attributes I want to show for each record on the index page of each model. For instance, on my User model, I only want upmin to give me the User instance's :name, :email, and :number_logins... however, it's currently giving me all of the attributes on that db table.
How do I customize like that?

You can customize your models
Or Even customize your search results
First option would impact into the form too.


Separate Wownero scripts

Separates Wownero scripts for ios, android, and linux
Separates shared library build scripts to its own file, as well
Also separates git_versions.txt functionality into its own file
Fixes typos

@sneurlax  mobile build issue fixed with v<IP_ADDRESS> (commit: a21819cc22587e16af00e2c3d8f70156c11310a0)

Wownero Hard Fork set for 1st April / Block height 514,000


Topic poll projection not functioning

Topic poll was implemented in OpenSlides/openslides-client#1010, however the projection-feature is still not implemented/broken and shows an empty slide while throwing an error "slide error:  calculating key [...]" on the slide-container.component.ts
Might not be a pure frontend problem.

You are correct. It should be fixed with this PR: https://github.com/OpenSlides/openslides-autoupdate-service/pull/502
Please tell me if I should merge this or if there is something else I should fix.

At the moment I am not aware of any other changes, but I suggest to just leave it open until the client work is done in case something else comes up.

@luisa-beerboom Please tell, which things have to be done in the client to deal with topic polls.


vars not always populating as expected

What happened?
I'm having some issues with variables not populating or even registering as expected.
For example, I created this extremely simple devspace.yaml file and ran devspace list vars and the variable does not show up. Note that devspace print does not show the vars either.
version: v2beta1
name: test
vars:
  VAR1: one

devspace list vars shows the below.

         VARIABLE      |                       VALUE
  ---------------------+----------------------------------------------------
    DEVSPACE_CONTEXT   |
    DEVSPACE_NAME      | test
    DEVSPACE_NAMESPACE |
    DEVSPACE_PROFILE   |
    DEVSPACE_RANDOM    | DLaoCo
    DEVSPACE_TIMESTAMP |<PHONE_NUMBER>
    DEVSPACE_TMPDIR    | /var/folders/9z/25lc8jjn6mj7c4_yj7nyj1fw0000gp/T/
    DEVSPACE_USER_HOME | /Users/tc
    DEVSPACE_VERSION   | 6.0.0-beta.6
    devspace.context   |
    devspace.namespace |

In other cases, I have variables defined that ARE getting populated correctly, and they're defined right next to variables that are NOT getting populated correctly, which is super strange.
Another thing I've noticed is that variables do not seem to be getting populated from my local environment when I don't provide a value for them. I can work around this by doing AWS_USER: $(echo $AWS_USER) or something similar, but I think the behavior is supposed to be that the variable will come from the local environment if it is not defined. Note that I wouldn't expect the variable to show up with devspace list vars if I don't list it as a VAR, but I would expect to be able to use it as ${AWS_USER} in other places in my devspace.yaml file.
This whole thing smells of a weird caching issue, but I haven't been able to track down any variables listed in any of the relevant cache.yaml files yet.
What did you expect to happen instead?
I would expect all appropriate variables to show up when I run devspace list vars, or devspace print.
Local Environment:

DevSpace Version: devspace version 6.0.0-beta.6
Operating System: mac
Kubernetes Cluster:
Cloud Provider: aws

/kind bug

In playing with this some more, it looks as though the variables DO show up if you reference them somewhere in your devspace.yaml. So devspace list vars is only listing variables that are actually present somewhere in the configuration.
Which... is somewhat ok. But, this breaks down when the devspace.yaml file calls out to an external function for some reason (for example to populate a section, or to run a hook or something of the sort).
Am I understanding how this works correctly? Can we get the vars to populate regardless of if they're obviously present in the configuration?

Aha! alwaysResolve looks like exactly what I need. Thank you!
Out of curiosity, why is alwaysResolve not the default behavior? That's what I would expect, and led to some confusion.


Ember UI iframe issues- cluster create page

Ember UI is being iframed into the vue ui.
These are issues found in the cluster create page. On Rancher master-head version c1151f6

Text fields look disabled when not selected.

The blue bar is not fully extended.

Scrolling down will move the node pool header and extend it fully on the right side.
The Add Node Pool button does not fit the text comfortably.

The Add Member button text does not fit comfortably.
The grey text is hard to read against the grey background.

The Add Annotation button text does not fit comfortably.

The Labels & Annotations background extends past the banner.
The Cluster Options text stands out a lot. Should it be centered like this?
The Edit as YAML button should not be positioned so close to Cluster Options
There is too much whitespace under Edit as YAML
The sub text of each header, Configure labels and annotations for the cluster. for example, is too difficult to read. It blends in with the grey background.

The fields look too scattered from afar. It's difficult to tell which fields relate.

It is difficult to differentiate the disabled fields, Scheduled CIS Scan Profile is disabled by default, from the editable fields.
The scan interval time, 00:00 every day is too close to the above field. The text is too small making it hard to read.

The Agent Environment Variables column text, Variable Name for example, is too small and hard to read. While there are no environment variables, it is difficult to figure out what the text is referring to.
The Add Environment Variable button text does not fit comfortably. The + sign is cut off.
When adding an environment variable, does FOO need to be capitalized?

The create button is too close to the bottom header.

This is how it looks with Dark Theme:

some icons have incorrect background on buttons (visible in light theme as well)
extra shadow/line for Labels & Annotations block
extra line in Authorized Endpoint


point.distanceTo can return NaN when measuring small/no distances

Measuring the distance from [60.512651558965445, 6.67020027525723] to [60.512651558965445, 6.670200191438198] returns a NaN result.
The expression Math.sin(lat1) * Math.sin(lat2) + Math.cos(lat1) * Math.cos(lat2) * Math.cos(lon1 - lon2) gives a result of 1.0000000000000002 which is not defined for the arccosine function Math.acos to which this result is sent.

We have this problem when passing the same coordinates for the two points we are comparing.
It's kind of funny that it returns NaN when passing inKilometers boolean to true, while it is working perfectly with miles.


Please downgrade git version from 2.20.1 to 2.19.1 in ansible windows.yml

Please bump down the git revision number from 2.20.1 to 2.19.1 in ansible windows.yml as open enclave does not support the newer openssl which introduces CR/LF with PEM certificates and causes the crypto tests to fail on Windows.
Related issue #1927 , PR #1932 (does not fix the test crypto_crl_cert_chains)

Closing as PR #1959 which addresses this has been merged to master. Thanks @ionutbalutoiu


Bug fix

👷 Deploy Preview for balkantransport processing.
🔨 Explore the source changes: 0ec47c2fb0165dacc1efb7367d35331034205ec8
🔍 Inspect the deploy log: https://app.netlify.com/sites/balkantransport/deploys/613254ca088f8b00071b32ad


Document static and dynamic effects

It took me a bit to get the difference; Therefore I think a section in the README might be valuable.
The target audience are people who may have never used an effects library before.

Thanks for writing this.
I'm still unsure about the terminology to use - whether it should be static/dynamic dispatch or primitive/<insert_appropriate_name> effect. Considering that I didn't come up with one of the names for the second option it's most likely better to use static/dynamic, heh.

I'd appreciate your feedback on the last part where I try to summarize the tradeoffs

Looks good to me :+1: I can't think of any other pros/cons from the top of my head.
Although the "having to deal with internals" part might change. It probably makes sense to move bits necessary for defining a static effect to the public API.

Thank you for your feedback! :+1:

Although the "having to deal with internals" part might change. It probably makes sense to move bits necessary for defining a static effect to the public API.

I totally agree with you! Unfortunately I don't have much time right now to work on effectful - I am busy writing my Master Thesis, which I plan to finish before February.

Superseded by df9190d3b07da1c788efa1d284f45b61509aebe3.

Superseded by df9190d.

That's a really nice introduction! :+1:


Auto updates not working

Auto updates does not work, never worked.
Although it shows under "last checked" often a current date when I click on "check for updates" it finds a new update, however, it does not provide any further link, button or any means to actually update!

@411621
do you have notification off?

I came here to make the same comment.
Saw the above from @enricogior and checked.   Mine was on priority only.  When changed to off and then checking updates I got an immediate powertoys upgrade notification and auto update when I chose yes :-)

@tre4b
I will propose to not use notifications when clicking the "Check for updates" button, to prevent this problem.


Adds the "Collab" button and updates RelationshipControl

Couldn't have one without the other, because adding the Collab button requires the tighter layout of the new follow/star design.
FollowButton and StarButton are now StyledButton subclasses (a new departure: previously, StyledButton was a final class), and they update their style and images when the relationship changes.  I think it's easier to follow how the relationshipControlStyle (.Default or .ProfileView) and relationshipPriority affect the button colors/icon.
The HireViewController wasn't renamed, but I added the UserEmailType (.Collaborate or .Hire) to control the title and endpoint. We could rename the controller to match, but it didn't feel necessary at the time.
Some refactoring of the ProfileScreen to make it more similar to the "modern" screens like LoginScreen, but also modified the constraints to work with new margins and the showing/hiding of all the user buttons (collab, hire, and mention).

Good call - made that l18n change.


refactor: [M3-5194] - RQ-ify Types endpoints

Description 📝
Migrate all Linode Type endpoints to React Query. Types refer to the plans available when configuring a Linode/LKE cluster (i.e., shared, GPU, bare metal, etc.)
The main complication I found during this refactor was the problem of "shadow plans." These are legacy linode types that aren't returned by the main /types and /types-legacy endpoints but can be fetched individually through /types/{ID}.
Originally, this problem was solved by a bit of code AuthenticationWrapper that would load all the account linodes on app startup, individually fetch all the unresolved types, and append them to the Redux store.
Now, this is handled through a second RQ hook called useSpecificTypes() which takes in an array of type IDs and fetches each one individually. I made sure to use this hook everywhere a "shadow plan" might be present, but I don't have any real examples of a linode with such a type in my account to test on, so I'm not certain all edge cases are handled.
Open Questions:

[x] Are there still Linodes with "shadow plans" out there in the wild?
[x] If so, is it possible to configure a new Linode with a such a plan for testing purposes?

How to test 🧪

Ensure all affected components/hooks fetch and display plan details and pricing info as expected:

AddNodePoolDrawer
BackupDrawer
CreateCluster
EnableBackupsDialog
KubeCheckoutBar
KubeClusterSpecs
KubernetesClusterRow
LinodeActionMenu
LinodeCreateContainer
LinodeEntityDetail
LinodeResize
LinodeTransferTable
MigrateLinode
MutationNotification
NodePoolsDisplay
RenderProgressEvent
ResizeNodePoolDrawer
SearchBar
SearchLanding
useAPISearch
useExtendedLinode

Unit tests: yarn test
E2E tests: yarn cy:e2e

Tested and confirmed working with an "shadow-plan" Linode instance.


Vuforia Chalk

This one's a journey.
PTC appears to own Chalk, since the in-app links redirect there. PTC's Privacy Policy states that personal information may be deleted upon request. (The same policy points users to Vuforia Chalk's privacy policy, but the provided URL redirects to PTC's own policy.) The relevant Help article offers an email address to contact Vuforia support<EMAIL_ADDRESS>That address bounces mail back, and apparently does not exist anymore.
EDIT: PTC provides a means of contacting a sales representative, which proved less than useful. The rep linked me to a list of support phone numbers. One of those numbers, after a few menu options, showed some promise.
There is a chance that the "Vuforia team," if it exists, will not follow through with PTC's privacy policy. If so, I'll mark this entry as "impossible."
I'll report back here when I learn more.

Ok, do let us know when you have the results :)


Add docs about how to deploy the project both in Brew and in Copr

This patch add the doc to show the steps how to deploy pdc-client both in Brew and in Copr.
JIRA: PDC-1349

@sochotnicky  and @lubomir ; the internal Copr have been removed; So I am not sure whether we need add the steps about how to deploy release in Copr?

@sochotnicky  and @lubomir ; This patch is to show the steps how to deploy the pdc client  package in Brew and Internal Copr. But I consider that these steps are  just access to internal users, especially PDC team-members; not available to external users. Do we need to share these steps  in Github ?


66 feature stanley controller

Description
Implementation of the stanley controller. With the testing conducted, I am confident, that basically all errors have been fixed.
Obviously tuning is still very much needed (#151). Due to a botched rebase, i created a second branch for this issue and transferred the previous progress, this should also reduces merge conflicts.
Fixes #66
Time invested

12 h @schwalga

Type of change

New feature (non-breaking change which adds functionality)

Does this PR introduce a breaking change?
no
Most important changes
stanley_controller.py plus some additional fixes in basic helper functions.
Checklist:

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

One last question. The changes in the steering angle look quite abrupt, is there a way to smooth that out?


Improve Codebeat warnings and add the badge

Code Beat - https://codebeat.co
Badge PRs:
https://github.com/IBM-Swift/Kitura/pull/235
https://github.com/IBM-Swift/Kitura/pull/174

List of refactoring commits to my forked Kitura repository is below:
extracted FileResourceServer class from Router to make Router smaller
moved header helper methods into Headers from RouterResponse to make RouterResponse smaller
removed redirect with status parameter from RouterResponse - using default status parameter
removed end(String) and end(NSData) functions from RouterResponse these functions are just a syntactic sugar for send(string).end() and send(data).end(), they increase the number of functions without providing real benefits
removed setOnEndInvoked(), onEndInvoked made public from RouterResponse - just use a property, reduce the number of functions in the class
replaced Options enum with Options struct - simplifying StaticFileServer
split Options into Options and CacheOptions - to simplify Options
extracred Cookie.initCookie from Cookie.init() - to simplify Cookie.init()
Comments are welcome.

Hi @vadimeisenbergibm - I commented on each commit above.  I hope this helps 😃

Completed in PR: #607


Repair Date Since

Check if file has correct date
Description:
Related issue (if applicable): fixes #604
Checklist:

[ ] Local tests with tox run successfully PR cannot be meged unless tests pass
[ ] Changes tested locally to ensure platform still works as intended
[ ] Tests added to verify new code works

It fixes the download issue. Only an idea.


⚠ Jenkins Plugins Artifactory has degraded performance

In d1b9f44, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 0641176 after 14 minutes.


Player.network work on Linux but not on Windows

I notice that reading from network works fine on Linux, but not on Windows, with the same code.
It is as if the request did not execute at all (nothing appears in the devtools), no error appears in the logs so it is very difficult to diagnose.
I would like to give more information but unfortunately I don't have it.
Other query types work fine in the app on Windows.
Has anyone else had success getting network play to work on a Windows build?

it should work, Have you tried the example?
https://github.com/physia/kflutter/tree/main/kplayer/kplayer/example

TLS handshake error happened because of problem in ssl certificate
u have problem with ssl certificate from archive.org
can u try another file ?

I know this is a certificate error, but the problem is same for all domain and file I test with kflutter.
Maybe the problem is in my system, but it's strange that it only happens with kflutter.

can u try this?
https://pub.dev/packages/kplayer_with_audioplayers
it has the some methods just for audioplayers packege

I want to, but I don't understand how to use it.
There is no PlayerController type, and the Player class only contains a players attribute which is a getter that returns a List<PlayerController>, that I can't instantiate.
So I don't know what to do with it ?

about ur previous issue i forget to remove unused dependencies from the example specifically "audioplayers"
know the main packege should work fine

about kplayer_with_audioplayers it has main class Player extends PlayerController,
if u want to use it just use:

var player = Player(
     media:  // PlayerMedia
);
player.init();
player.play();

the rest is the some

I'm stick on Nuget.exe issue again and can't resolve it, cleanning Nuget package cache, repair VS, flutter clean et pug get, windows folder deleting and rebuild, nothing seems to resolv this now...
So I tell you when I solve this problem.
Launching lib\main.dart on Windows in debug mode...
Nuget.exe not found, trying to download or use cached version.
C:\Users\poka\dev\fipy\build\windows\packages\Microsoft.Windows.ImplementationLibrary\include\wil/cppwinrt.h(82,75): error C2338: Please include wil/cppwinrt.h before including any C++/WinRT headers [C:\Users\poka\dev\fipy\build\windows\plugins\audioplayers_windows\audioplayers_windows_plugin.vcxproj]
C:\Users\poka\dev\fipy\build\windows\packages\Microsoft.Windows.ImplementationLibrary\include\wil/cppwinrt.h(101,75): error C2338: C++/WinRT external catch clause already defined outside of WIL [C:\Users\poka\dev\fipy\build\windows\plugins\audioplayers_windows\audioplayers_windows_plugin.vcxproj]
C:\Users\poka\dev\fipy\build\windows\packages\Microsoft.Windows.ImplementationLibrary\include\wil/cppwinrt.h(82,75): error C2338: Please include wil/cppwinrt.h before including any C++/WinRT headers [C:\Users\poka\dev\fipy\build\windows\plugins\audioplayers_windows\audioplayers_windows_plugin.vcxproj]
C:\Users\poka\dev\fipy\build\windows\packages\Microsoft.Windows.ImplementationLibrary\include\wil/cppwinrt.h(101,75): error C2338: C++/WinRT external catch clause already defined outside of WIL [C:\Users\poka\dev\fipy\build\windows\plugins\audioplayers_windows\audioplayers_windows_plugin.vcxproj]
Exception: Build process failed.
Exited (sigterm)

Ok i'm found a solution for this problem: https://github.com/bluefireteam/audioplayers/issues/1114#issuecomment-1118841415
So now it's working fine with audioplayer, no more certificate issue.
Is it possible to use kplayer_with_audioplayers in stable channel ?

yes palning to do use it but kplayer_with_audioplayers  not support headers
currently only just_audio support http headers,
In case you need authentication, you can pass token in parameters but an ugly way to do it.
Until finding a better solution kplayer_with_audioplayers will keep get updates
kplayer_with_audioplayers
kplayer_with_dart_vlc
kplayer_with_just_audio
all of them implements kplayer_platform_interface u can just replace any one by other
if we add support to video the api will still the same
the main packege binding kplayer_with_dart_vlc and kplayer_with_just_audio to support all platforms
but kplayer_with_audioplayers allready support all platforms so you can use it directly


mkideal:expr gone

Describe the bug
Apparently, the author removed the expr module : github.com/mkideal/expr
PS: also mkideal/pkg repository has been archived by the owner on Nov 11, 2024: https://github.com/mkideal/pkg

Ops, that's bad news.
The good news is that the new html-to-markdown V2 has native cli support --
https://github.com/JohannesKaufmann/html-to-markdown/tree/main/cli
Thus I'm archiving this repo as well.


Adding in RAG leds

I've added the Red-Amber-Green LEDs as I often use them with Freeboard.

That would be cool I was wondering where that feature was.


exec terminal button opens empty terminal

Expected behavior

Click [EXEC] button and launches the container's terminal.
Click [EXEC] button again then terminal should open a new tab and launches the container's terminal.

Actual behavior

Click [EXEC] button and launches just current machine's terminal without going inside the container.
Click [EXEC] button and does not open new tab, just activating the current machine's terminal opened from Step 1.

Information about the Issue
Other buttons such as [DOCS] works fine.
Only the [EXEC] button does not work expectedly.
Trying manually through terminal ($ docker exec -it {container} {cmd}) works fine.
MacOS 10.14.3
Docker Kitematic 0.17.6
Docker Desktop Community <IP_ADDRESS>
Docker Engine 18.09.2
Steps to reproduce the behavior

Open Kitematic from Docker Desktop.
Select the running container.
Press [EXEC] button.

Seeing the same issue on:
MacOS 10.14.6 (18G103)
Docker Kitematic 0.17.9
Docker Desktop Community <IP_ADDRESS> (38240)
Docker Engine 19.03.2
Docker Machine 0.16.2

Same issue happened on:
Mac OS 10.15.2
Kitematic 0.17.10
Docker Desktop Community <IP_ADDRESS>
Docker Engine 19.03.5
Docker Machine 0.16.2


Drawing Layer: Fill Patterns

[ ] Frontend should provide different fill patterns for shapes

@markus2330 @yvonnemarkl
would it be okay to start with following fill types:

in theory fillings can be any kind of svg, but the shown ones are pretty simple to implement since i can just create a line or a cross in code and konva is repeating the pattern to fill the shape.

Yes,  predefined patterns should be enough:

the 4 ones you showed, including the 45° diagonal left (as shown in your second picture)
45° diagonal right (not shown)
points (as in picture below)

or even more fancy would be with randomness:

Can the color of the pattern already be changed? Is the area behind the pattern lines visible?
I hope these patterns don't degrade performance?
Yvonne has a few further ideas like for water. Would be nice if it can be done easily.

in my current implementation the color of the pattern is the same as the stroke color and the area behind the pattern is currently visible.
if you want i could test if the fillpatterns have noticeable performance impact on the map

and yeah its pretty easy to add new pattern. i just need an svg definition like this:
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
      <circle cx="54.53715215044638" cy="81.42323967335288" r="2" fill="${color}"/>
      <circle cx="13.189116525287193" cy="4.935229135267377" r="3" fill="${color}"/>
      <circle cx="78.46823927737354" cy="45.89420877442292" r="1" fill="${color}"/>
      <circle cx="36.086470931228785" cy="68.11523379910046" r="2.5" fill="${color}"/>
      <circle cx="80.66161147680043" cy="19.9312266949384" r="1.5" fill="${color}"/>
      <circle cx="65.12397743605684" cy="82.34531852930537" r="1" fill="${color}"/>
      <circle cx="19.07989251213112" cy="79.6915538951041" r="2" fill="${color}"/>
      <circle cx="85.11372096049774" cy="45.924120674059735" r="2.5" fill="${color}"/>
      <circle cx="70.9198898448658" cy="69.06750627339662" r="3" fill="${color}"/>
      <circle cx="62.633589456291114" cy="32.57946503528527" r="1.5" fill="${color}"/>
    </svg>`;

and then a can add in the code. maybe in the future we can implement a solution that a pattern can just be uploaded on nextcloud and than be used in the application, but i think for now it is also very fast to add a new pattern.

i will show first results on monday :D

@danielsteinkogler
I took a try at a svg of my own.
Is that how it can be used as filling pattern?

and how about this

I like the second better. I don't think the SVG needs to be soo big. Only as much until it repeats.

@danielsteinkogler I have updated the two illustrations in our shared nextcloud folder:
https://nextcloud.markus-raab.org/nextcloud/index.php/s/7KJQG4yrD4aXGtJ

I like the second better.
Great! Anyways, the first one was just a quick exercise.

I don't think the SVG needs to be soo big. Only as much until it repeats.
Still, this illustration contains 4 different wave shapes which again are flipped and rotated.


Progress bar width

Mobile first anyone?
Why do you add a 500px width as default to progress bars?
In a small grid it's way too wide.
Let the user / the users device decide the right width by going 100%.

Issue #614 is why a width is set. I believe the root cause is CSS animations requiring a set width on things. 500px is a usable default and you are free to change this to whatever you wish.


Editted Search Bar with more entries

++ Added two inputs for searching content ("Type" and "Submit")
-- Changed Intro text to add website goal/target
-- Updated contacts page with placeholder information
-- Adjusted navigation bar hyperlinks

With my latest commit, I:

Deleted/renamed the files input.html, output.html, and test.html as I integrated them with the website and have allowed for navigation to these features within the site. (input.html can be accessed using the "Add Listing" button on navigation bar)

Editted the script.js file's search() function to read the altered elements within the front page to make the searching feature on the front page functional

New:

After Searching:

Btw thanks for including screensshots in your PR, was super helpful!


Query Results Returning Blank

In v1.2 of the driver my resultsets are coming up empty. The code used is similar to the following:
            using (ISession session = client.Session())
            {
                IStatementResult result = session.Run("MATCH (a:Person)-[b:FRIENDS_WITH]->(c:Person) RETURN a,b,c");

                foreach (var evt in result)
                {
                    // Do something with results
                }

I don't even get to enumerate the results in this case. Running the same query directly on the DB is fine.
Also of note - when I use the debugger in VS I can expand the results view but it just shows a bunch of empty entries (I suspect the number of empty rows matches the number of results I'm expecting, but the Summary object doesn't reference the number of edges and nodes matched from the query).
Is there something different I should be doing to query the database in 1.2? The documentation on the Neo4j website doesn't seem to indicate anything has changed although I've noticed in the Wiki that there is now support for streaming data. Glancing at the source code quickly doesn't reveal anything that might be different.

Updating to mention that this is an issue with all driver versions >=1.1

Ah, so it was the streaming data that bit me here - missed the info on enumerating the results via something like .ToList() before you can consume the data. Would be helpful to update the Wiki with this as the current info there doesn't require this.

Hi,
One note:
If you call ToList(), all the records will be buffered into a list.
If you could process each record when you are enumerating, then it will save you some memory use.

@zhenlineo My issue is that the enumeration wouldn't even start - I need to call ToList() to get any data out of the StatementResult object. Is there something I need to call on the StatementResult object in order to populate the results?
This could be a .NET 4.6.2 issue but as stated above, the Debugger just showed a bunch of blank results when I expanded that view.

@corygehr You should be able to "stream" over the result. That is for each iteration, you will receive one record until you reached the end of the stream. And if you did not save the record you received in the current iteration, you cannot get it back once you iterated over it. (That's why you might want to call ToList to buffer all records into memory if you need to go back to the stream)
Can you run the following code example?
// first create some record in the database:
// "CREATE (a:Person {name: 'Alice'})"
// "CREATE (a:Person {name: 'Bob'})"
// Then try to steaming the records:
using (var session = client.Session())
{
    var result = session.Run("MATCH (a:Person) RETURN a.name ORDER BY a.name");
    foreach (var record in result)
    {
        Console.WriteLine(record[0].As<string>()); //can only do something to the current record
    }
}

@zhenlineo Yep - this is exactly what I was doing previously. However, the enumeration would never run even though the debugger showed empty result rows, but perhaps because the result was not yet streamed or all the objects were empty, .Count() was returning 0 since the resultset technically looked to be empty.
Again, could be a .NET 4.6.2 compatibility issue but the exact code you have there is what I was trying to do. It just never entered the foreach loop to stream the individual record.

@zhenlineo We can reopen this if you'd like, but for some reason doing .ToList() worked so maybe my thoughts above aren't the exact issue.

Could you give me the version of the driver you are using?
I might setup a simple 4.6.2 project sometime to see if there is an issue or not.

1.2.1, although I was having issues with all releases >=1.1 when I was checking backwards compatibility. Up to 1.0.2 that code was fine.


Feature gate beefy

https://github.com/ComposableFi/ibc-rs/issues/21

Don't thin we're going ahead with this