WIP: Remove xml conversion

Description
XmlConversion is not being used by any active codebase at the moment.
All references point to an archived repo (metering points) and the overall system architecture has changed.
All XML conversion is now centralised in one application.
With this in mind, we can remove the library, and not spend time on keeping it up to date with .NET versions etc.

Codecov Report

Merging #232 (e2d09f1) into main (cb157c0) will increase coverage by 0.18%.
Report is 5 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
+ Coverage   71.12%   71.31%   +0.18%
==========================================
  Files         195      195
  Lines        3550     3535      -15
  Branches      442      440       -2
==========================================
- Hits         2525     2521       -4
+ Misses        881      870      -11
  Partials      144      144

Flag
Coverage Δ

schemavalidation
96.42% <ø> (ø)

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

Files Changed
Coverage Δ

...ce/App/source/ExampleHost.FunctionApp01/Program.cs
0.00% <ø> (ø)

source/App/source/ExampleHost.WebApi04/Startup.cs
100.00% <ø> (ø)

...nostics/HealthChecks/HealthCheckEndpointHandler.cs
0.00% <ø> (ø)

...hecks/HealthCheckEndpointRouteBuilderExtensions.cs
100.00% <ø> (+10.00%)
:arrow_up:

...lStatementExecution/Internal/SqlStatementClient.cs
82.89% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


What's the best practice for creating actions that do not transform state?

I'm not sure why I'm having a hard time with this but, I'm struggling to find a way to create an action that Saga can listen to, without autodux having to update the state. Without trying to create an action outside of my autodux.
For example, if I'm creating a "REQUEST" action, without it setting any state, that my saga can listen to, but autodux isn't expecting to change the state. I want my saga to dispatch, and then update state based on request-response.
Is this the solution?
actions: {         startMarkRead: (state) => state, }

Yes.


Improve Welcome Game Collision and Controls

When I first considered enable3d for my project, I played the welcome game on the website and came away with an unfair impression of the project because the player would phase into a lot of the geometry in the scene, and the controls were not complete.
For example, the player can step underneath this ox at the beginning, which made me wonder if the collision worked:

This commit should mitigate some of the collision jank by making the player's bounding box more accurate. It also adds left right and backwards movement so the player can move around like a normal game and increases the jump reset timer.

Thanks a lot. Look great!

Actually, a capsule shape is even better. I have change it.


Error when displaying multiple robots at the same time

I'm planning to display multiple robots at the same time in gazebo, however, when I set multiple_robots to true, and then ran gazebo.launch I found the following error:
Has anyone encountered a similar situation before?

https://github.com/robomechanics/quad-sdk/assets/132453617/5502d62e-0d93-4002-8ca6-5064752d14fc

It looks like whatever is publishing /camera_XXX is using the global namespace rather than relative. If there are two instances of the robot then they need to correctly use relative names so that the topics/services are /robot_1/camera_XXX and /robot_2/camera_XXX.

Thank you for your reply. I will follow your suggestion to change the topic names in both the URDF and SDF files. I hope this will yield positive results. Thanks again.

After addressing the topic publishing issue, upon attempting to visualize two robots again, it was observed that only one robot is displayed correctly, and the following error appears in the terminal.
[ WARN] [1695715402.064407572, 1.000000000]: "robot_2_ground_truth/toe2" passed to lookupTransform argument source_frame does not exist.
Does anyone have a solution to this issue? Thank you for your responses.
Below is the list of topics being published to.
[multi_robot_rostopic list.txt]：
https://github.com/robomechanics/quad-sdk/files/12725438/multi_robot_rostopic.list.txt
Here are the tf frames below.
[frames.pdf]：
https://github.com/robomechanics/quad-sdk/files/12725516/frames.pdf
Below are the running videos.
https://github.com/robomechanics/quad-sdk/assets/132453617/fc60716d-93d4-4aaf-ab63-d74e468a603f

Hi @nanbwrn,
Just wondering if you had resolved this issue, since I saw in a more recent issue you rendered both robots. If so, could you share the fix, and I can go ahead and close the issue.
Best,
David Ologan

This issue has not been resolved yet. The two robots that I successfully displayed in another issue were  'a1' robots . The new robot I added has not resolved this issue for now.

I set 'multiple_robots' to 'true' in 'quad_visualization.launch,' and it's not throwing errors for now. I will now close this issue.


Large discrepancy with strtod() for certain numbers

For the input string "8.757022884609e-12", it's only single-precision accurate for me:
  strtod =  8.75702288460900036e-12
 str2dbl =  8.75702285750394605e-12
    diff =  2.71050543121376109e-20
relative =  3.09523620861757650e-09
 strtod:<PHONE_NUMBER>100011010000011100010000000000000000000000000000000000
str2dbl:<PHONE_NUMBER>100011010000011100001111111111000000000000000000000000

The compiler is Visual Studio 2015.  Some other numbers that had similar problems were:
1.612387501293e-09
5.294512883669e-10
9.540519763096e-11
5.551220733091e-10
1.290643536489e-09
6.907961008773e-10
8.597235201524e-09
4.101435358006e-09
9.333679218404e-09
1.801570559401e-10

I have confirmed the problem using GCC 5.4.0 on x86_64, Linux. Will investigate more next weekend.

Step 1 of debugging, again reproduced the problem using GCC 1.4.0 on Linux, x86_64.

Step 2: result is exactly the same regardless of USE_64BIT_FOR_ADDSUB_MACROS, so my first assumption is, the bug is elsewhere. Adding step by step debug output.

The bug is fixed and deserves an explanation. It has been located in the last stage of converter(), assembling final double number from parts.
q = ((uint64_t)(s2 & ~mask28) << 24) | (((uint64_t)s1 + 128) >> 8) | binexs2;

Notice + 128 expression. This is a lame attempt to implement "round to nearest" rounding mode, which contradicts the statement, that str2dbl() works in "round towards zero" mode. But the main problem is that this "half of a least significant bit" may cause carry, which is not propagated to the upper part.
The fix is to simply remove this + 128, then the code really works in "round towards zero" mode.
Results after fix:
gcc_converted: 8.757022884609000357e-12
s2f_converted: 8.757022884608998742e-12
absolute difference: 1.615587133892632177e-27
relative difference: 1.844904547105985949e-16
gcc_converted:<PHONE_NUMBER>100011010000011100010000000000000000000000000000000000
s2f_converted:<PHONE_NUMBER>100011010000011100001111111111111111111111111111111111

The difference is now one least significant bit and comes from different rounding modes (following bits of the mantissa are 11000111...).
Going to test the rest of testcases.


commitMode: true does not seem to work

use default configuration.
      - name: "Build Changelog"
        id: build_changelog
        uses: mikepenz/release-changelog-builder-action@v3
        with:
          commitMode: true

Please provide more information.
What does not work? Do you have the logs? What do you expect?
Your code example in the issue shows it as 'false'

Your code example in the issue shows it as 'false'

I typed wrongly.
I tried both commitMode with different values ,all produce empty changelog.
this is the workflow .
https://github.com/xiaoyifang/goldendict-ng/blob/action/order/.github/workflows/windows-6.x-xapian.yml
https://github.com/xiaoyifang/goldendict-ng/actions/runs/5234437691/jobs/9450590288
13_Build Changelog.txt

The linked build also does not use the commitMode. If that's the mode you want to use?
So comparing the branches. I do see some PRs being merged in-between this range:
https://github.com/xiaoyifang/goldendict-ng/compare/v23.06.02-alpha.230610.9c1a77a3...v23.06.02-alpha.230610.ca4664f2
We can also see that the action correctly found those PRs.

However, looking into all merged PRs. None are labelled: https://github.com/xiaoyifang/goldendict-ng/pulls?q=is%3Apr+is%3Aclosed
As such the action moved them all in the uncategorised section.

Given you use the default config:

This config applies:
https://github.com/mikepenz/release-changelog-builder-action/blob/v3.7.2/src/configuration.ts#L93-L109
As you see it has 3 categories, which require labels (none which are on any of the PRs). And the template used, will not include non categorized PRs.
So either you label the PRs with the labels as of the default config. Or you modify your configuration for the action to include uncategorized PRs.
https://github.com/mikepenz/release-changelog-builder-action/blob/develop/.github/workflows/ci.yml#L57
Or you modify the categories to match the labels you are gonna expect. :)

If I want to match all the non-categories labels.
How should I configure the categories？
"categories": [

                {
                    "title": "## All",
                    "labels": ["*"]
                }
              ]

Either you can change categories. Or you use the UNCATEGORIZED placeholder, as used for example in the link:
https://github.com/mikepenz/release-changelog-builder-action/blob/develop/.github/workflows/ci.yml#L57
If you want uncategorized in a category. You'd do it like this:
https://github.com/mikepenz/release-changelog-builder-action/blob/2486bf97f4500b14a652a846c13df8c5677d6477/configs_test/configuration_uncategorized_category.json#L7C2-L10

Thanks , this is very helpful.


[NodeJS] How to attach an image to reply via node.js BotConnector SDK?

Hi,
I send text like this:
bot.add('/', function (session) {
    session.send('Hello World');
});

Is there a way to send an attachment in same way?
Like this or somehow:
bot.add('/', function (session) {
    session.send({attachments: [{contenttype: 'image/jpg', contenturl: 'http://location.jpg'}]});
});

Thanks!

Sorry for the delay... Yes... That's how you have to do it today. At some point I'm may add something like a session.addAttachment() method which you can use to add attachments as a separate step before calling session.send()

I should add that to send an attachment today you need to actually fill out the complete message object. So in addition to the list of attachments you need to specify the text as well. We were just talking about this internally and I think the direction we're leaning is not the session.addAttachment() idea I floated but instead we'll probably create a fluent style MessageBuilder class that helps you construct your message and send it.

I just checked in a new Message builder class that simplifies sending attachments to the user. It'll be in the next build of the node module (probably EOD tomorrow.) If you look at the TestBot example you'll see a new send-attachment.js test which shows how to send an image as an attachment.
I should also note that if you're using Slack you can use session.sendMessage() to send a message using slacks native message format. This would let you create attachments using all of slacks various advanced features.

Great! Thank you!

@Stevenic is it possible currently to send a picture attachment and text in the same message?

how can I create interactive chart/graph in node.js and send via node.js connector SDK

You'll need to use a 3rd party library for node that can return the chart/graph as an image. I haven't looked but I'm sure there are several.

how can i set the bot to reply an image for exp: "congratz.jpg" if it fulfil my condition cause i am planning to a quiz chatterbot.


Removes added vertical space between names and images

#728
Removes added vertical space between name and image of person. It still maintains the added margin on the individual member page
Before:

After:

This might have a merge conflict after you push the previous pr.

Indeed, can you fix?

should be good now


Release Notes missing

The release notes are missing and should be available via https://plugins.jenkins.io!
The official documentation of the plugin https://plugins.jenkins.io/build-name-setter does refer to https://wiki.jenkins.io/display/JENKINS/Build+Name+Setter+Plugin. That's a bit inconveniant, but ok.
But the referred page is not be updated anymore. The latest documentation was for "Version 1.6.9 (Mar 03, 2018)".
When updating plugins I want to read the release notes, so I do recognize important changes. Therefore release notes should be available or at least linked at https://plugins.jenkins.io.
Thanks!

That is gap
The information which was provided is https://github.com/jenkinsci/build-name-setter-plugin/blob/master/src/main/resources/index.jelly#L5


Lager >= 2.0 support and tweaks for the new Loggly HTTP endpoint

The lager_loggly_backend backend was updated with focus on lagers changed backend API which was updated with version v2.0.0. I've recently also updated and tested this changes with the latest version v3.0.1 and didn't encountered any issues so far.
In transition to the usage of the current Loggly API, the configuration option Identity was removed and should now be appended directly to the LogglyUrl by the library user himself.

Great stuff!


Issues in example?

To my understanding the following example makes the robot move 20mm in X, Y and Z and back at 10mm/s.

The comment implies a different motion
At 10mm/s it should take at least 2000ms, more than the given timeout

https://github.com/CommonplaceRobotics/CRI-Python-Lib/blob/d5931091940f2fa0e740c82ca6b3da0462eb141b/examples/relative_move.py#L26-L28

I corrected the comment in version 0.2.0. The timeout is ok since it is in seconds as floating point.

I corrected the comment in version 0.2.0.
The timeout is ok since it is in seconds as floating point.


alexnet mali profiling

I have created the alexnet app using armcompute mali library. The app displays the camera preview along with alexnet outputs after processing.
So the problem here is alexnet processing fps keeps on varying  from 4 to 8 fps  and not constant . Is this expected behaviour.
Note : I am using gettimeofday to check the profiling . Mobile I am using is samsung galaxy note5.
Thanks in advance.

Hello @Subarukun ,
I would expect more or less the model to have a stable fps after the first run.
Can you give us some more info on your setup?
Do you create the model once? Do you run a single batch every time or you merge more than one in each run?

The app starts at 8 fps and keeps on decreasing and stables at 4 fps . But the same app with arm-compute neon is giving 3 fps stable. I assume difference in fps should be more for CPU vs GPU.
Regarding the setup: I have created the camera preview app with android studio .I Integrated the armcompute library into Android studio project using the CMakeFile .
Alexnet model is created once during init (like network.build, network.allocate in AlexNet.h) .Alexnet process is run for every frame rendered by camera until the app is exited. No batch processing is done.

How do you configure your device ? Is it rooted ?
You should override both the CPU and mali's governor if you want consistent results

Android device is not rooted. However we monitored with CPU-Z app .CPU clock speed scaled according to load(CPU clock is peak when our application is running)but there is no change in  gpu clock speed
It would be fantastic if you can give the CPU vs GPU profile comparison of Alexnet from your end.

There is some benchmarking data available via CK as mentioned by @psyhtest in this comment

and here too

Thanks for your inputs Do you have benchmarking numbers for Alexnet using the armcompute library for both CPU(ARM)/GPU(MALI) .
It would be great to have these for our reference.

Anyone knows how to adjust GPU frequency? Thanks in advance! :rofl:

@Subarukun  in the latest release (v17.09) a custom-made testing and benchmarking infrastructure was added. Alexnet benchmark is part of it for both CPU and GPU.

Closing. Reopen if needed. Alexnet graph example is now available for benchmarking.


Hotfix add form comments

@MoeNick Now in project verification form view ( in admin bro) if you click on Edit you can add comments to that form


Followed the official Twitter API procedure (Multipart Media Upload)

I'm sorry to have troubled you through my oversight.

I changed that  STATUS command is called after the FINALIZE command.
I changed that success method is run if a sync response comes back after the FINALIZE command instead of an async response. ← I hope this modification resolves issue #313.

See: https://developer.twitter.com/en/docs/media/upload-media/api-reference/post-media-upload-finalize

Awesome, this LGTM 👍.


The converted ONNX model input/output name was generated randomly

The model input now matches keras input.

For output, see this case:
        for merge_mode in [None]:
            for return_sequences in [True]:
                sub_input1 = Input(shape=(sequence_len, input_dim))
                sub_mapped1 = Bidirectional(LSTM(7, return_sequences=return_sequences),
                                            input_shape=(5, 10), merge_mode=merge_mode)(sub_input1)
                keras_model = keras.Model(inputs=sub_input1, outputs=sub_mapped1)
                onnx_model = keras2onnx.convert_keras(keras_model, 'test_2', target_opset=op_version)

In this model, keras_model has two outputs, the names are bidirectional_1 and bidirectional_1:1 in netron. However, if we look at keras_model.output_names, both names are bidirectional_1. This bidirectional_1:1 is missing, so we cannot find the output match.

Fixed here


fsplit value

is the fsplit value should be half way between previous tree's last_value and current node's first_value?

nice catch, this is merged. Thanks

Maybe related to https://github.com/dmlc/xgboost/issues/523 This code path is currently disabled by default


ci(github): add workflow to push image to Dockerhub

II have created a test env which will be launched every night so it would be good to update our image in dockerhub regularly

Oops, I just remember we already had this! The workflow trigger was not changed properly recently, but I pushed a fix a few hours ago #360
Images are now pushed again to the hub so I think we can close this PR :)
Feel free to reopen if I missed something!


(Sometimes) receive -404 errors when computing the authorization key

The error is received in response to req_dh_params.

the key fingerprint is does not change
the value of new_nonce does not change anything
the computation of p and q from pq is always correct

The padding of data_with_hash in Method.p_q_inner_data looks fine.

msg_id does not change anything

You have 60-70% to get the authorization key when you run MTProto.request_authkey(session_id). It's still a major issue !


[wifi_info_flutter] Get Wifi IP on iOS return "error"

Steps to Reproduce
wifi_info_flutter problem on iOS
getWifiIP always return "error" on Simulator with iOS 14.2
I added into Info.plist
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>test if local ip</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>test if local ip</string>

and added capability "Access wifi information"
The result is always:
Wifi name: null
Wifi BSSID: null
Wifi IP: error
This is my code
https://github.com/danieleorlando/getwifiip_flutter

Logs
Analyzing test_ip...
No issues found! (ran in 1.8s)

[✓] Flutter (Channel master, 1.25.0-5.0.pre.108, on macOS 11.0.1 20B29 darwin-arm, locale it-IT)
    • Flutter version 1.25.0-5.0.pre.108 at /Users/danieleorlando/Dev/flutter
    • Framework revision 995aa138cd (2 days ago), 2020-12-08 09:18:02 +0530
    • Engine revision b0d31ae166
    • Dart version 2.12.0 (build 2.12.0-125.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/danieleorlando/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • C5B9A9E1-1B30-48A3-9ECA-D4071EEAD26E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

! Doctor found issues in 1 category.

@danieleorlando
I tried the official wifi_info_flutter plugin example using latest master on iphone SE simulator, which showed the wifi IP as expected:

Moreover, also cloned your repo which showed me IP properly:

flutter doctor -v
[✓] Flutter (Channel master, 1.25.0-5.0.pre.141, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.25.0-5.0.pre.141 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 36bed2b4c3 (6 hours ago), 2020-12-09 20:13:04 -0500
    • Engine revision 8518a5bbe6
    • Dart version 2.12.0 (build 2.12.0-135.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

Thank you @darshankawar
Unfortunatly I can't test on a real device.
I'm using the new MacMini M1 with Apple Silicon.

@danieleorlando Thanks for mentioning M1 with Apple Silicon. It could well be due to the machine.
Since I don't have that machine, I can't verify and replicate it. Keeping this issue open for further analysis.

I can't reproduce this. On both Intel and Apple Silicon macs the output is the same on iOS 14.2 and 14.3 simulator (same as @darshankawar screenshotted). On physical iOS it outputs everything correctly, no nulls. Tested on the latest master 1.26.0-2.0.pre.103.

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.103, on macOS 11.0.1 20B29 darwin-arm, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.103 at /Users/nevercode/development/flutter_master
    • Framework revision 32741c0ec8 (7 hours ago), 2020-12-21 18:34:02 -0600
    • Engine revision af6889a600
    • Dart version 2.12.0 (build 2.12.0-169.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (3 available)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 14.3
    • iPhone 12 Pro Max (mobile)  • 09D9E93F-A98D-4735-B6E6-6E57F9CD01D8     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

Fixed official code sample
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

import 'dart:async';
import 'dart:io';

import 'package:connectivity/connectivity.dart'
    show Connectivity, ConnectivityResult;
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:wifi_info_flutter/wifi_info_flutter.dart';

// Sets a platform override for desktop to avoid exceptions. See
// https://flutter.dev/desktop#target-platform-override for more info.
void _enablePlatformOverrideForDesktop() {
  if (!kIsWeb && (Platform.isWindows || Platform.isLinux)) {
    debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
  }
}

void main() {
  _enablePlatformOverrideForDesktop();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String _connectionStatus = 'Unknown';
  final Connectivity _connectivity = Connectivity();
  final WifiInfo _wifiInfo = WifiInfo();
  StreamSubscription<ConnectivityResult> _connectivitySubscription;

  @override
  void initState() {
    super.initState();
    initConnectivity();
    _connectivitySubscription =
        _connectivity.onConnectivityChanged.listen(_updateConnectionStatus);
  }

  @override
  void dispose() {
    _connectivitySubscription.cancel();
    super.dispose();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initConnectivity() async {
    ConnectivityResult result;
    // Platform messages may fail, so we use a try/catch PlatformException.
    try {
      result = await _connectivity.checkConnectivity();
    } on PlatformException catch (e) {
      print(e.toString());
    }

    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) {
      return Future.value(null);
    }

    return _updateConnectionStatus(result);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Connectivity example app'),
      ),
      body: Center(child: Text('Connection Status: $_connectionStatus')),
    );
  }

  Future<void> _updateConnectionStatus(ConnectivityResult result) async {
    switch (result) {
      case ConnectivityResult.wifi:
        String wifiName, wifiBSSID, wifiIP;

        try {
          if (!kIsWeb && Platform.isIOS) {
            LocationAuthorizationStatus status =
            await _wifiInfo.getLocationServiceAuthorization();
            if (status == LocationAuthorizationStatus.notDetermined) {
              status = await _wifiInfo.requestLocationServiceAuthorization();
            }
            if (status == LocationAuthorizationStatus.authorizedAlways ||
                status == LocationAuthorizationStatus.authorizedWhenInUse) {
              wifiName = await _wifiInfo.getWifiName();
            } else {
              wifiName = await _wifiInfo.getWifiName();
            }
          } else {
            wifiName = await _wifiInfo.getWifiName();
          }
        } on PlatformException catch (e) {
          print(e.toString());
          wifiName = "Failed to get Wifi Name";
        }

        try {
          if (!kIsWeb && Platform.isIOS) {
            LocationAuthorizationStatus status =
            await _wifiInfo.getLocationServiceAuthorization();
            if (status == LocationAuthorizationStatus.notDetermined) {
              status = await _wifiInfo.requestLocationServiceAuthorization();
            }
            if (status == LocationAuthorizationStatus.authorizedAlways ||
                status == LocationAuthorizationStatus.authorizedWhenInUse) {
              wifiBSSID = await _wifiInfo.getWifiBSSID();
            } else {
              wifiBSSID = await _wifiInfo.getWifiBSSID();
            }
          } else {
            wifiBSSID = await _wifiInfo.getWifiBSSID();
          }
        } on PlatformException catch (e) {
          print(e.toString());
          wifiBSSID = "Failed to get Wifi BSSID";
        }

        try {
          wifiIP = await _wifiInfo.getWifiIP();
        } on PlatformException catch (e) {
          print(e.toString());
          wifiIP = "Failed to get Wifi IP";
        }

        setState(() {
          _connectionStatus = '$result\n'
              'Wifi Name: $wifiName\n'
              'Wifi BSSID: $wifiBSSID\n'
              'Wifi IP: $wifiIP\n';
        });
        break;
      case ConnectivityResult.mobile:
      case ConnectivityResult.none:
        setState(() => _connectionStatus = result.toString());
        break;
      default:
        setState(() => _connectionStatus = 'Failed to get connectivity.');
        break;
    }
  }
}

pubspec.yaml
name: triage
description: A new Flutter application.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  connectivity: ^2.0.2
  wifi_info_flutter: ^1.0.3

dev_dependencies:
  flutter_test:
    sdk: flutter
  integration_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg
  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.
  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages
  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

Closing, as wifi_info_flutter is now deprecated in favor of network_info_plus.


STYLE: Use macros to Set/Get ivars in Common operators

Use macros to Set/Get ivars in Common operators.
Take advantage of the commit to leave the documentation of the ivars only
in their corresponding Set/Get methods, as dictated by the ITK SW Guide.
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Not sure about what the errors imply:
https://open.cdash.org/viewBuildError.php?buildid=7260537
Suggestions are welcome.

Push forced to see the error reports back and see where we were at this level.

I'm sorry but I still don't like to have a virtual keyword added to those Get and Set member functions. Especially when they were originally non-virtual, and when they worked just fine without a virtual keyword. The only reason for adding virtual to an existing member function should be that some user actually needs to override it.
C++ Core Guidelines C.132: Don’t make a function virtual without reason says on this topic:

Redundant virtual increases run-time and object-code size. A virtual function can be overridden and is thus open to mistakes in a derived class...

We already spent a lot of time in the last few years, removing virtual from the ITK code base, and we're still not finished. Removal of virtual might break legacy user code, even while it is an improvement to new user code, which is why Bradley (@blowekamp) introduced a ITK_ITERATOR_VIRTUAL macro, for legacy support.
https://github.com/InsightSoftwareConsortium/ITK/blob/6e3d31d138ff48ae6e5f2e32fcb17c5f172a29ed/Modules/Core/Common/include/itkMacro.h#L1314-L1326
So please only make a member function virtual when it is actually needed!

Thanks for the comment @N-Dekker . Then, as pointed in this comment of yours I'll mark it to status:Blocked until the proposed itkGetConstNonVirtualMacro gets added to the ITK code base.

@jhlegarreta Is this still something that needs to be worked on?    If so, could you please rebase and make a game plan for what needs to be done?

@jhlegarreta Is this still something that needs to be worked on? If so, could you please rebase and make a game plan for what needs to be done?

Thanks for the heads-up Hans. Still on my ToDo list; have not had the time too look at my ITK-related ToDo list in a while. I do think this still deserves having a go. Not sure when I'll be able to take it up, though.
Also, wisest might be to wait until what is mentioned here is resolved/done: https://github.com/InsightSoftwareConsortium/ITK/pull/2568#discussion_r724308177

@N-Dekker expressed concerns about this, but going over the files I do not see any of these members being virtual, and inspecting the commits I do not see where they were being declared as virtual. Sorry @hjmjohnson. @N-Dekker do you think that we should still wait till you have time to resolve https://github.com/InsightSoftwareConsortium/ITK/pull/2785 to merge this?


Is there a way that I can get a faster model but not so high accuracy

I tried the python caffe inference. It took 4 seconds to detect an image using CPU.
Will the C++ inference be much faster than caffe?
Thanks

I don't believe it will make a difference.

train again with other net such as mobilenet


BackButton. Bindings not deleted

When I clicked on BackButton GetX not deleted bindings.
When I go page Get.toNamed('/partner/create/'), I have the next logs:
[GETX] OPEN DIALOG 215558916
[GETX] CLOSE DIALOG 215558916
[GETX] GOING TO ROUTE /partner/create
[GETX] Instance "PartnerFormController" has been created with tag "partner"
[GETX] Instance "PartnerFormViewModel" has been created with tag "partner"
[GETX] Instance "PartnerFormViewModel" with tag "partner" has been initialized
[GETX] Instance "PartnerApi" has been created with tag "partner"
[GETX] Instance "PartnerQuery" has been created with tag "partner"
[GETX] Instance "PartnerQuery" with tag "partner" has been initialized
[GETX] Instance "PartnerApi" with tag "partner" has been initialized
[GETX] Instance "PartnerStatusesApi" has been created with tag "partner"
[GETX] Instance "PartnerStatusesQuery" has been created with tag "partner"
[GETX] Instance "PartnerStatusesQuery" with tag "partner" has been initialized
[GETX] Instance "PartnerStatusesApi" with tag "partner" has been initialized
[GETX] Instance "OrganizationTypesApi" has been created with tag "partner"
[GETX] Instance "OrgainzationTypesQuery" has been created with tag "partner"
[GETX] Instance "OrgainzationTypesQuery" with tag "partner" has been initialized
[GETX] Instance "OrganizationTypesApi" with tag "partner" has been initialized
[GETX] Instance "PartnerFormController" with tag "partner" has been initialized

When I clicked backbutton I have next logs:
[GETX] CLOSE TO ROUTE /partner/create
[GETX] "PartnerFormViewModelpartner" onDelete() called
[GETX] "PartnerFormViewModelpartner" deleted from memory
[GETX] Instance "PartnerFormViewModelpartner" already removed.
[GETX] "PartnerFormControllerpartner" onDelete() called
[GETX] "PartnerFormControllerpartner" deleted from memory

Why GetX not removed dependencies from bindings?
PartnerFormBindings
class PartnerFormBindigns extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut<PartnerFormController>(() => PartnerFormController(Get.find(tag: Module.name)), tag: Module.name);
    Get.lazyPut<PartnerFormViewModel>(() => PartnerFormViewModel(), tag: Module.name);

    Get.lazyPut<PartnerApi>(() => PartnerApi(), tag: Module.name);
    Get.lazyPut<PartnerQuery>(() => PartnerQuery(), tag: Module.name);

    Get.lazyPut<PartnerStatusesApi>(() => PartnerStatusesApi(), tag: Module.name);
    Get.lazyPut<PartnerStatusesQuery>(() => PartnerStatusesQuery(), tag: Module.name);

    Get.lazyPut<OrganizationTypesApi>(() => OrganizationTypesApi(), tag: Module.name);
    Get.lazyPut<OrgainzationTypesQuery>(() => OrgainzationTypesQuery(), tag: Module.name);
  }
}

Route
GetPage(
    name: '/partner/create',
    page: () => PartnerFormScreen.factory('New Partner'),
    binding: PartnerFormBindigns(),
),

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-arm, locale ru-RU)
    • Flutter version 2.2.3 at /opt/homebrew/Caskroom/flutter/2.2.3/flutter
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/auramel/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

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

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • F719D910-043C-4BF3-AB2B-5A61170CEFD1 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)

! Doctor found issues in 2 categories.

GetX
get:
    dependency: "direct main"
    description:
      name: get
      url: "https://pub.dartlang.org"
    source: hosted
    version: "4.3.6"

Hi, do you have the same behavior using version 4.3.0? I can't reproduce the problem, but maybe it could be caused by our route dependency link system.
Please try using in pubspec:
get: 4.3.0
Without the ^ and see if the problem only exists in the latest version, please

Hi, do you have the same behavior using version 4.3.0? I can't reproduce the problem, but maybe it could be caused by our route dependency link system.
Please try using in pubspec:
get: 4.3.0
Without the ^ and see if the problem only exists in the latest version, please

Hello )
I am downgrade my GetX package to 4.3.0 and it has the same problem... I will try to downgrade more.

I understand where problem is. I extends with GetXService for my classes and they don't deleted )
@jonataslaw please, close issue :)

Ok, thanks


Looks promising!

This looks promising, keep it up!
I'm also coming from Piskel.
I maintain my own build: https://github.com/gingerbeardman/piskel-playdate
But I am hungry for a new and modern experience

Thanks for your feedback! But i probably won't continue developing js version of pixma, because it seems to me quite slow and heavy
And also in my opinion, there are too many "web desktop apps" right now
I don't want one relatively simple app to eat a lot of ram
I want to rewrite pixma in rust someday, when i gain more experience
Im sorry if you had high hopes for this project

no worries at all!
the important thing is to keep making stuff, keep improving, keep on pushing :)


drivers: dac_stm32: add support for internally connected channels

Adds support for configuring the STM32 DAC modes for internal connections. This is only enabled for SOCs that support it. As
part of this change, we make pinctrl configuration in the device tree optional.

The changes look good to me. However, I think we should also go through all other drivers and make dac_channel_setup return -ENOTSUP if the HW doesn't support internal connections or -ENOSYS if that feature is not yet implemented if .internal is set to true. (I realize we should have done this for the .buffered flag as well)

I pushed an update that adds checks for both in all drivers. I'm not 100% sure about the dac_mcux_gau.c driver which might need closer review from someone with more familiarity with that HW, but I tried to preserve existing functionality while supporting the new internal flag.

And may I ask you to move the change to include/zephyr/drivers/dac.h into a dedicated commit, as it affects the entire DAC API and not only the STM32 driver?

Done.

The changes look good to me. However, I think we should also go through all other drivers and make dac_channel_setup return -ENOTSUP if the HW doesn't support internal connections or -ENOSYS if that feature is not yet implemented if .internal is set to true. (I realize we should have done this for the .buffered flag as well)

I pushed an update that adds checks for both in all drivers. I'm not 100% sure about the dac_mcux_gau.c driver which might need closer review from someone with more familiarity with that HW, but I tried to preserve existing functionality while supporting the new internal flag.

@decsny Could you please take a look?

Probably it's easier if you just add the check for the newly added internal flag and leave out the buffered flag for now.

Ok, fair, I reverted most of the checks for buffered flag. Thanks for looking closely at this!

it's worth noting that I think NXP has DACs like this on chips where the output can be used as an internal reference, I think some of which are in tree already
also, I noticed this is a similar thing to how someone proposed something to the counter api and dma api to enable internal trigger connections, maybe some generic solution will be desired someday instead of every subsystem having it's own api to route and enable internal chip connections

it's worth noting that I think NXP has DACs like this on chips where the output can be used as an internal reference, I think some of which are in tree already

also, I noticed this is a similar thing to how someone proposed something to the counter api and dma api to enable internal trigger connections, maybe some generic solution will be desired someday instead of every subsystem having it's own api to route and enable internal chip connections

I kind of think making this value driver dependent makes more sense- something like how the ADC API works: https://github.com/zephyrproject-rtos/zephyr/blob/86af9c4b0766842aa97b5b9bead12c71ca5d69ed/include/zephyr/drivers/adc.h#L141 This would better handle cases where the DAC might have multiple internal sources it can route to.
@xodus7 thoughs on this approach?

This would better handle cases where the DAC might have multiple internal sources it can route to.
@xodus7 thoughs on this approach?

Yeah that makes sense to me and is not a big change. Let me make a modification.

I kind of think making this value driver dependent makes more sense- something like how the ADC API works:
https://github.com/zephyrproject-rtos/zephyr/blob/86af9c4b0766842aa97b5b9bead12c71ca5d69ed/include/zephyr/drivers/adc.h#L141
This would better handle cases where the DAC might have multiple internal sources it can route to.
@xodus7 thoughs on this approach?

@danieldegrasse not sure I fully understand your suggestion. I'm not very familiar with the NXP MCUs, but for STM32 we would configure the DAC for internal output (nothing else to be configured) and afterwards you'd configure other peripherals (e.g. comparators) to use the DAC as their source. But that would belong to the driver of the other peripheral, IMO. So I'm not sure what sort of information we would potentially store in the .internal flag if it's not a bool. Do you have an example?

@danieldegrasse not sure I fully understand your suggestion. I'm not very familiar with the NXP MCUs, but for STM32 we would configure the DAC for internal output (nothing else to be configured) and afterwards you'd configure other peripherals (e.g. comparators) to use the DAC as their source. But that would belong to the driver of the other peripheral, IMO. So I'm not sure what sort of information we would potentially store in the .internal flag if it's not a bool. Do you have an example?

I don't unfortunately- none of the NXP DACs seem to have the feature I'm thinking this would enable, so we are likely fine with a bool. I'm envisioning a case where a DAC can be internally routed as an input to several peripherals, and that selection is made by a register on the DAC. That being said, I'm not sure which peripherals beyond a comparator would really need a DAC. It seems like making this flag more than a bool might be overkill- especially since the DAC API is unstable, so this can change in the future.

I don't unfortunately- none of the NXP DACs seem to have the feature I'm thinking this would enable, so we are likely fine with a bool. I'm envisioning a case where a DAC can be internally routed as an input to several peripherals, and that selection is made by a register on the DAC. That being said, I'm not sure which peripherals beyond a comparator would really need a DAC. It seems like making this flag more than a bool might be overkill- especially since the DAC API is unstable, so this can change in the future.

It seems totally reasonable to me to spend a few bits to future proof things but I'm also not aware of any DAC peripheral that operates this way. If the DAC API is considered unstable I guess it doesn't really matter either way. Please advise.

It seems totally reasonable to me to spend a few bits to future proof things but I'm also not aware of any DAC peripheral that operates this way. If the DAC API is considered unstable I guess it doesn't really matter either way. Please advise.

I'm not the authority here, but personally I'm convinced we are ok to keep it as a bool given that I can't find a DAC that works the way I described.


[Checkout UI] Add removeAttribute interface

Please list the related package(s)
checkout-ui-extensions
If this related to specific APIs or components, please list them here
Is your feature request related to a problem? Please describe.
Unless I'm overlooking something, we can't remove cart attributes currently. Only updateAttribute is exposed which means even using an empty string keeps the attribute and we can't set null since string is expected.
Describe the changes you are looking for
Add removeAttribute interface which has a payload like:
{
  /**
   * The type of the `AttributeRemoveChange` API.
   */
  type: 'removeAttribute';

  /**
   * Key of the attribute to add or update
   */
  key: string;
}

Similar to the removeMetafield or removeNote change apis.
Describe alternatives you’ve considered
Tried setting to null or empty string but cart attribute remains.
Additional context
See https://github.com/Shopify/ui-extensions/blob/main/packages/checkout-ui-extensions/src/extension-points/api/standard/index.ts#L167

+1 for this 👍🏻

This is a necessary feature since the alternative is empty attributes in the order, which is not great. +1

+1

+1

+1, empty attributes can cause issue for some merchants

+1

+1


Is it possible to not Zoom to the left?

Hello,
Great job on this directive! It was what I've been looking for a while now: To Zoom into Dom elements instead of images.
I have a menu on the left hand side of the page, and I would like to "Zoom In" that would not grow the DOM element to the left. I tried adding margin, but it didn't quite work out as I wanted it to.
Is it possible to not Zoom to the left?
http://plnkr.co/edit/yEkefGElsMm3bTuBORUN?p=preview

Ah, Nevermind! I found it.
I changed transformOrigin to 'left top' and that did the trick.
Thanks again for a great directive.

Thanks @redapplewithleaves !


Dataverse is referenced as Common Data Service

Consider changing name of Common Data Service to Dataverse

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

ID: 3c6fd60a-4e8f-8280-cf14-d5721422f39e
Version Independent ID: 3453f85a-f603-e541-9ee1-b5cd93ab8ee9
Content: Default solution vs. custom solution - Power Platform
Content Source: power-platform/alm/use-solutions-for-your-customizations.md
Service: power-platform
Sub-service: alm
GitHub Login: @Mattp123
Microsoft Alias: matp

@mikkelpkaas - The article is referencing the Common Data Services Default Solution, which is still the name of the solution included as part of every Power Platform environment that includes Dataverse.
Closing issue.


Switch to Conda for readthedocs builds

Compare https://github.com/readthedocs/readthedocs.org/issues/857: currently, conda is not supported for builds, making an additional pip requirements file necessary.

Currently, the requirements file is setup/pip_requirements.txt, which is referenced in the readthedocs yaml .readthedocs.yaml.

No added benefit - the pip install from setup/pip_requirements.txt works just fine.

Issues arise from different versions of graphviz available through PyPi and conda-forge. Best to use ONE environment file for both local and remote builds. Switched to using a conda environment at readthedocs.org with https://github.com/brightway-lca/brightway-documentation/commit/750fbb6777c84fd4b4cbe750f244e6d7ab5d6cad


Add Dollar Symbol

Hello @Timwun,
Sorry to get back to you only now and thanks for contributing to this project. Could you please add more description why would you like to add this functionality?
I'm asking because the dollar symbol is usually not appended, but prepended to the numeric value, and this module has the label property in the configuration exactly for that. It does not support your needs for some reason?

Closed after not hearing feedback from the pull request author for 1 year.


BUG: Alignment of content in Hero Section is Not Perfect

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The content in the hero section are currently not aligned properly. This misalignment affects the overall visual appeal and user experience of the page.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign this issue to me!

Please assign this issue to me!

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!

Please assign me this issue

hey @huamanraj, i can resolve the alignment issues of the hero section and make it look more defined. Kindly assign me this issue.


Extension method to add to stitched schema

Potentially this is necessary, but I guess we'd want it running on fields only on the stitched gateway schema.
Need to investigate what to add it onto.
Potentially the QueryExecutionBuilder? As
.AddExecutionConfiguration(queryExecutionBuilder =>
{
  queryExecutionBuilder.UseFairyBread();
})

Closing as this was related to v10.


UWP: RequestPermissionAsync(Location) always returns PermissionStatus.Granted

Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: Windows 10 Dell Laptop, Panasonic Toughpad Windows 10
Simulator Tested On: N/A
Version of VS: 16.3.2
Version of Xamarin.Forms: <IP_ADDRESS>1211
Versions of other things you are using:
Plugin.CurrentActivity v<IP_ADDRESS>
Xam.Plugin.Geolocator v.<IP_ADDRESS>
Xamarin.Forms.Maps v.<IP_ADDRESS>8606
Steps to reproduce the Behavior
Call CrossPermissions.Current.RequestPermissionAsync(Permission.Location) anywhere in the shared project.
Expected Behavior
Should return the <Permission,PermissionStatus> and re-prompt the user to grant/deny the permission.
Actual Behavior
UWP only: If using RequestPermissionAsync(Permission.Location), the call will always return a PermissionStatus.Granted even when the user has already denied the permissions. The user will NOT be re-prompted to grant/deny location permissions.
Code snippet
From the Plugin Permissions.UWP.cs code:

Per the above screenshot, it appears the UWP implementation of RequestPermissionAsync() is going to always return PermissionStatus.Granted.
How we are using this:
`        public async Task CheckandRequestDevicePermission(PermissionType XAMpermissionType)
{
var XAMpermissionStatus = await CheckPermissionStatusAsync(XAMpermissionType);
        if (XAMpermissionStatus != CurrentPermissionStatus.Granted)
        {
            var grantResults = await _pluginPermission.RequestPermissionsAsync(new Plugin.Permissions.Abstractions.Permission[] { PermissionTypeConverter(XAMpermissionType) });
            foreach (var item in grantResults.Keys)
                if (grantResults[item] != Plugin.Permissions.Abstractions.PermissionStatus.Granted)
                {
                    return false;
                }
        }
        return true;
    }`

@jamesmontemagno do you have a timeline for addressing this bug?


support/kind: get kubeconfig with -q

What type of PR is this?
/kind bug

What this PR does / why we need it:
Adding the -q option to the kind get kubeconfig command ignores the warning message, allowing us to obtain a correct kubeconfig. Based on my observations, the -q option has been available since kind version v0.6.0, which was released approximately four years ago. Therefore, I believe this option is safe to use in the majority of cases.
Which issue(s) this PR fixes:

Fixes #347
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., Usage docs, etc.:

https://github.com/kubernetes-sigs/kind/blob/v0.6.0/cmd/kind/app/main.go#L65

N
Definitely, nice to have!

/ok-to-test

/retest

seems like the TestKwokCluster is completely broken, I can try to have a look. But should I open another Issue and PR for that? Or I can do it with this PR? 😄

/retest

The test passed. 😄

@heylongdacoder  You are right. That test has been flaking a bit lately. I will take a look at that over the weekend to see if we can fix that once and for all.
/lgtm
/cc @vladimirvivien

Thanks for the review, everyone!
@vladimirvivien, I agree with your suggestion. Just want to confirm before I implement. Is that your idea is to add one more field to kind.Cluster(https://github.com/kubernetes-sigs/e2e-framework/blob/main/support/kind/kind.go#L43) like getKubeConfigOpts []string? 😄

@heylongdacoder yes, you will need a field to capture that configuration
*Cluster.WithQuiet()

Or something like that.

@heylongdacoder originally, yes that was the intention. When/if someone uses Cluster.WithQuiet, it would append the -q to the command and therefore ignores errors. But, as you pointed out, it would
With respect to your new suggestion, how would separating the output help ?  Let me know.
Another approach is to add a new method for getting the kubeconfig with options.
func (k *Cluster) GetKubeconfigWithOption(opts ...support.ClusterOpts) (string, error) {
...
}

Let me know if that makes sense.

With respect to your new suggestion, how would separating the output help ? Let me know.

^This is the combined stderr and stdout output.

^This is stdout output

^This is stderr output
@vladimirvivien This is the result I obtained with kind v0.17.0. Therefore, using only stdout to create the kubeconfig can also resolve this issue. 😄

@heylongdacoder
I get a different result running on MacOS
 kind get kubeconfig --name kind
apiVersion: v1
clusters:
...

Notice that there is no extraneous text in the combined about, just the config.
Is this behavior tied to your environment ?
I am asking these questions to make sure this will be a one-off and that it is a general fix/enhancement.

@vladimirvivien I guess this only happen when you are using podman as kind provider. I also found another merged PR(https://github.com/kubernetes-sigs/e2e-framework/pull/84) that fixed this issue. 😄

@heylongdacoder Ok. So can this PR be closed ? Or does #84 fixes your issue?

@vladimirvivien I think there was a regression. In #84, the kubeconfig was being retrieved from stdout (https://github.com/kubernetes-sigs/e2e-framework/pull/84/files#diff-c66ce9879f2c64ba698cc9f0688530c2068a838797e98b94080045eb1122d235R58). However, in the latest code (https://github.com/kubernetes-sigs/e2e-framework/blob/main/support/kind/kind.go#L119), it seems to be using both stderr and stdout again. 😄
I think the fixes in #84 make sense, I would like to a similar fix. 🙏

Ok @heylongdacoder , can this PR put back what got regressed in #84 and we'll (re)start from there.

/retest

We run into the same. Thanks @heylongdacoder for the PR. Will you have time to finish the PR?

hey @Cajga, recently got very busy with my new job. Probably I will have time to continue this weekend. Thanks!

@heylongdacoder Any progress on this front ?

yes, tested with podman and kind on my M1 chip Macbook. 😄


Can't add a manual migration

I am using the latest System.Data.Sqlite.EF6 - version 1.118.0 (and the earliest I can find on Nigget is 1.115).
When trying to add a migration with add-migration I get:
 PM> Add-Migration AddTotaPayloadLbs System.IO.FileLoadException: Could not load file or assembly 'System.Data.SQLite.EF6, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'System.Data.SQLite.EF6, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=db937bc2d44ff139'    at System.Data.SQLite.EF6.Migrations.SQLiteMigrationSqlGenerator..ctor()    at FSTRaK.Migrations.Configuration..ctor() in C:\Users\Oren\source\repos\FSTRAK\FSTRaK\Models\Entity\Migrations\Configuration.cs:line 15 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Data.Entity.Migrations.Utilities.MigrationsConfigurationFinder.FindMigrationsConfiguration(Type contextType, String configurationTypeName, Func2 noType, Func3 multipleTypes, Func3 noTypeWithName, Func3 multipleTypesWithName)    at System.Data.Entity.Infrastructure.Design.Executor.GetMigrationsConfiguration(String migrationsConfigurationName)    at System.Data.Entity.Infrastructure.Design.Executor.ScaffoldInternal(String name, DbConnectionInfo connectionInfo, String migrationsConfigurationName, Boolean ignoreChanges)    at System.Data.Entity.Infrastructure.Design.Executor.Scaffold.<>c__DisplayClass0_0.<.ctor>b__0()    at System.Data.Entity.Infrastructure.Design.Executor.OperationBase.<>c__DisplayClass4_01.b__0()
at System.Data.Entity.Infrastructure.Design.Executor.OperationBase.Execute(Action action)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Could not load file or assembly 'System.Data.SQLite.EF6, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
`

@o4oren
Did you manage to solve the problem?
If so, how?
I'll try to figure out the library.
Could you tell me which commands to enter to perform the migration?

I don't remember what I did. I didn't manage to solve this properly, but I
worked around it somehow.
On Tue, 5 Dec 2023, 16:54 jhon65496, @.***> wrote:

@o4oren https://github.com/o4oren
Did you manage to solve the problem?
If so, how?
I'll try to figure out the library.
Could you tell me which commands to enter to perform the migration?
—
Reply to this email directly, view it on GitHub
https://github.com/bubibubi/sqliteef6migrations/issues/20#issuecomment-1840954004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTF65RMD45DRTSGDUBS5TLYH4YUFAVCNFSM6AAAAAA5FC4DPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQHE2TIMBQGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Adding this to my App.config solved it for me:
<dependentAssembly>
   <assemblyIdentity name="System.Data.SQLite.EF6" publicKeyToken="db937bc2d44ff139" culture="neutral" />
   <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
</dependentAssembly>


CNDB-9359 = cndb-9529 + CNDB-9590-vsearch

@pkolaczk in one of the above commit I've update the condition which selects legacy version for all c version sstable and aa index. Unfortunately it is not only CC, but also CB, so let's stick with it for all Cx sstables.
In the second commit, I'm trying to make the encoding version in Trie class not hardcoded. I did several changes but I've stuck with RowMapping - (see this branch does not compile) - what encoding version should it use - should it be the encoding of some SAI index component or the encoding of the sstable row index?
Please have a look when you have a moment

@jacek-lewandowski  Trie class is for in-memory stuff only. Why do you need to change it?


Add rust-lang/rustup.

r? @rust-highfive
(rust_highfive has picked a reviewer for you, use r? to override)


Failure, No such image: microsoft/mssql-server-linux:2017-GA

Hello Everyone, I want to download sql server image from porttainer and remove it, but "Failure
I get the error "No such image: microsoft/mssql-server-linux:2017-GA". I get the same error when I try to download an image for both linux and windows container. I filled in the Name and password fields and entered the password according to the given information. Why am I getting this error?

I don't believe that tag exists for that image. You're probably after 2017-GA-ubuntu. A full list of tags for the image is available at  https://mcr.microsoft.com/v2/mssql/server/tags/list

The default template has been updated to correct the reference (see https://github.com/portainer/templates/pull/136) so we consider this resolved.


Rpc methods of 2.10.2

@snowypowers  this is same as https://github.com/CityOfZion/neon-js/pull/443 only it's merging into dev branch.

300 points MorganDream
100 points snowypowers

https://neoscan.io/transaction/44C84C9E7582DC00411BC9D9D075F6993BA7E203FFDDE366E21DFEBD125EA580


[#2697] improvement(core): Support different entity with the same name under a namespace

What changes were proposed in this pull request?
Support store entities with the same name under a namespace.
Why are the changes needed?
It's a necessary feature for Gravitino.
Fix: #2697
Does this PR introduce any user-facing change?
N/A.
How was this patch tested?
UTs

I think the key thing here is to make this change backward compatible, otherwise there's no way for users to upgrade.

I think the key thing here is to make this change backward compatible, otherwise there's no way for users to upgrade.

Yeah, that is why I'm hesitant about it.

I think the key thing here is to make this change backward compatible, otherwise there's no way for users to upgrade.

Yeah, that is why I'm hesitant about it.

I have updated the code and added support for backward compatibility. Please take a look if you have time. Thanks.


Anyone see value in adding a Chrome malicious extension list?

I figured I'd open it up to the collective to see if y'all would find value to the list I keep of malicious Chrome extensions before making a pull request:
Just the IDs:  https://github.com/mallorybowes/chrome-mal-ids/blob/master/current-list.csv
IDs + metadata:  https://github.com/mallorybowes/chrome-mal-ids/blob/master/current-list-meta.csv
I could see ppl using it for figuring out malicious extensions on desktops for various pentest-like engagements or if someone wanted a known malicious id to test AV-type functionality.  There's also 2 ppl that currently pull the list to scan through their application inventories for the networks they manage.
If ppl think it would be a good addition, I'll put in the pull request.
Thanks!

SecList:

SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place.

If its used todo security assessments, then it can be added ;)
How common is it? Not sure - but thats not the point!
However, how would it be kept up-to-date? Thats then something that would need to be kept in sync.
On the fence with the submission - open to feedback & comments.
At the very least, can be added to the README ~ Similar Projects

If its used todo security assessments, then it can be added ;)

Technically, when used w/the shell script, it's a security assessment.  But just for the user's local Chrome extension directory...  :-)

How common is it? Not sure - but thats not the point!

Yeah, that's why I figured I'd ask what ppl do with the lists in this project.  I can see where it might provide value but seems to be an edge case.  I could def see the info being added to something like an OpenVAS or Nessus vuln scans but I'm not sure if that's what ppl here do with the current lists.

However, how would it be kept up-to-date? Thats then something that would need to be kept in sync.

Right now, it's just me...  :-)  I'm hoping that more ppl will take an interest at some point and help decide things like when the extension should be listed as malicious and update submissions.  (Originally, I didn't think anyone would be interested in what I was doing with the extension list / shell script and was surprised when I was contacted by a few ppl about how they use it.  That's what prompted me to reach out to y'all...)  The list has been forked a few times which makes me hopeful those ppl could be other contribs at some point...
As far as the info in the list, I usually get the reported malicious extension listed either on the README (if it's still in question) or in the actual malicious list the same day the extension makes the press.  To keep the list up-to-date in your repo, I could do periodic pull requests.
Hope this helped!  And thx again for taking a look!

Ask me about ...

I do not think such a list belongs here. This isn't an IOCs database. I think other projects would be better suited for something like this.

@g0tmi1k I can add a patch for this, but are adding workflows allowed?

Done! (Thanks to @molangning )


Can you speed up and reduce memory usage in pyuca?

My profiler show that it is slow for user interactive/web application. Can you reduce also memory usage if it possible.
See:
0.000    0.634  init.py:9(getUnicodeCollator)
import os
import pyuca

__collator = None

def getUnicodeCollator():
global __collator
if __collator is None:
__collator = pyuca.Collator()
return __collator

Python 2.7 / Google App Engine - I will check collation speed later - want to reduce this time 10x times.


chore: bdd-spring-1572806916 to 0.0.1

chore: Promote bdd-spring-1572806916 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Feature Request: Add word suggestions

I really like this keyboard and don't want to use it just to code but for normal usage too.
Please add word suggestions. Or if that is already something that exists, how do I turn it on?

+1 Hope this will be added in the future


fvt: Add Github Action for functional tests

Motivation
This is an attempt to get FVTs running on a per-PR basis which will be used for gating code changes.
Modifications
A workflow is added to run the e2e tests on the Github Actions environment using Minikube. Some FVTs were adjusted to get them working on the new environment.
Result
A new FVT check through Github Actions.
Part of https://github.com/kserve/modelmesh-serving/issues/9

/lgtm


id_rsa password (askpass?)

Issue Type: Feature Request
I would suggest a provision for id_rsa password (askpass?), or a notification that something goes wrong. Indefinite spinner = anxiety levels go up = bad vibe when using VSCode, in the end. Perhaps I just need to switch. I have seen many requests for this before. Its probably too difficult/asking for a lot.
Thanks anyway.
PS I see that this is just a form for a GitHub issue... well, sorry for others watching these but, here you go!
VS Code version: Code 1.* (yeah, right))
OS version: (yeah, right)

Please provide more information:

Steps you take to hit the issue
VS Code version
OS version


Site request for omroepzeeland.nl

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.08.14 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
Zeeland, Netherlands (I assume they don't do geoblocking)
Example URLs

Single tv episode: https://www.omroepzeeland.nl/radio/aflevering/zeeuwse-kamer/470335389

Single radio episode: https://www.omroepzeeland.nl/radio/aflevering/zeeuwse-kamer/470335389

News/zt40 page with single video: https://www.omroepzeeland.nl/nieuws/14752937/dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt

News/zt40 page with single audio: https://www.omroepzeeland.nl/zeeuwse-top-40/14827223/het-windorgel-farid-x-presta-britta-maria-en-secret-rendezvous
edit: for clarification, zt40 (zeeuwse-top-40) pages are effectively the same as news (nieuws) pages, videos aren't exclusive to news and audio isn't exclusive to zt40

Live tv: https://www.omroepzeeland.nl/tv/omroep-zeeland-tv/live

Live radio: https://www.omroepzeeland.nl/radio/omroep-zeeland-radio/live

Single video: https://www.omroepzeeland.nl/video/BBB-en-BVNL-willen-dolgraag-meedoen-aan-St-ZNO220812BJ/bbb-en-bvnl-willen-meedoen-aan-statenverkiezingen-in-zeeland

Single tv episode (old): https://www.omroepzeeland.nl/tv/aflevering/nehalennia-en-haar-tempel/370077612 (unplayable since recent web-site update, media still obtainable)

Provide a description that is worded well enough to be understood

For single episodes:

get the page
"id" is always after singlecolumn",{},"
use the id in the common bit

For news pages with video:

get the page
id is always before ","video-asset"
use id in common bit

For news pages with audio (edit: these don't have to be zeeuwse-top-40):

get the page
id is always before ","audio-asset"
use id in common bit

For live pages:

get the page
id is always after "mobile","tablet","desktop","header",
use id in common bit

For video pages:

get the page
on the page is "Contactgegevens","mobile","tablet","desktop","header",, after which is a a date string of some sort, after which is the id

For old episode pages:

try as normal episode page
if it doesn't work:
try removing sourceid_string: from the beginning
try in common bit again

Common Bit:

get https://omroepzeeland.bbvms.com/p/regiogroei_zeeland_web_videoplayer/c/{id}.json, substituting {id} with the id obtained earlier
process blueBillywig json, if already implemented, use that:

parse the JSON
1.5. check if clipData.assets exists, if not, fail (if tv episode, maybe try old)
choose one of the assets (based on height, width, or bitrate aka bandwidth ), I will use number n from now (non-live video only)
check clipData.assets[n].src isn't a relative path by checking if clipData.assets[n].src contains dat.publicationData.defaultMediaAssetPath,
if it does, the url of the video/audio/stream is clipData.assets[n].src
if not: url of the video/audio/stream is publicationData.defaultMediaAssetPath+clipData.assets[n].src
get the asset (audio is usually mp3, video mp4, live video m3u8, live audio is also mp3)
if m3u8, process like m3u8, selecting video quality here instead of step 2.2
edit: the clipData object also contains the array thumbnails, which contains objects with the properties: src, width, height and main. the src is possibly also relative, like the asset source.
and possibly also subtitles in the same way, but I've never actually seen them exist.
edit 2: I assume sometimes there are multiple (news/zt40 pages) and sometimes, but not always, there is an audio-only asset in the assets array of a video (they don't have a width/height).
also, like the example zt40 page, there can be youtube embeds mixed in

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['https://www.omroepzeeland.nl/nieuws/14752937/dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.14 [5593720] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg git-2020-05-22-38490cb, ffprobe git-2020-05-22-38490cb
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.08.14, Current version: 2022.08.14
yt-dlp is up to date (2022.08.14)
[debug] [generic] Extracting URL: https://www.omroepzeeland.nl/nieuws/14752937/dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt
[generic] dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt: Extracting information
[debug] Looking for Brightcove embeds
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.omroepzeeland.nl/nieuws/14752937/dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1441, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1517, in __extract_info
  File "yt_dlp\extractor\common.py", line 666, in extract
  File "yt_dlp\extractor\generic.py", line 3077, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.omroepzeeland.nl/nieuws/14752937/dit-is-waarom-je-straks-misschien-wel-door-roemenen-en-kroaten-verzorgd-wordt

Note: literally all of the provided details are now incorrect again so yay
Also: i accidentally linked a radio episode instead of a tv one, so: https://www.omroepzeeland.nl/tv/aflevering/verzeeuwigd/370383778
it may be useful to refrence my bad (but updated) web page thing to get the urls (it uses allorigins to bypass cors because it is a client-side js thing) adriaan1313/downloady-bois/Omroep Zeeland/getIframe.html


CI build failure related to tzedge

https://github.com/spruceid/ssi/runs/2657032164#step:4:15
   Updating git repository `https://github.com/binier/tezedge-client`
error: failed to get `lib` as a dependency of package `did-tz v0.1.0 (/home/runner/work/ssi/ssi/did-tezos)`

Caused by:
  failed to load source for dependency `lib`

Caused by:
  Unable to update https://github.com/binier/tezedge-client?rev=672e61297f0ba7d1d94168a2588b9b27d76c1fc4

Caused by:
  failed to clone into: /home/runner/.cargo/git/db/tezedge-client-1cda81473fa6c014

Caused by:
  failed to authenticate when downloading repository

  * attempted to find username/password via git's `credential.helper` support, but failed

  if the git CLI succeeds then `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to acquire username/password from local configuration

The repo moved there https://github.com/tezedge/tezedge-client


Multiple Datasets with Bloodhound with different sources

I have a question regarding multiple data sets. I want to setup two data sources in my typeahead with different headers. Hence i made two bloodhound objects, one with a local source and another with a remote source. The problem i am facing is that while the local source is searchable, the remote source shows no suggestions. I can see the remote call going through and returning with a dataset from the server but the typeahead doesn't show the result.
The example code is in a gist

@panips First, I'd suggest simplifying the problem by removing the local source. Try to get just the remote source working on its own first.
Which version of the project are you using? This sounds possibly related to an outstanding bug in the upstream twitter project (see twitter/typeahead.js#1212). Please try cloning the latest version of this project, or use NPM to install it with npm install corejs-typeahead@beta, then try again with just the remote source.

Thanks a lot for helping me out and pointing me in the right direction :)... I was not sending the async function parameter in the search function i.e.  instead of allNames.search(q, sync); , I should have used allNames.search(q, sync, async);
The typeahead is now working perfectly.


feat: reduce xml bloat, remove xml-namespace ID from elements and sttributes

.to_xml() currently returns like
<?xml version='1.0' encoding='utf-8'?>
<my:book xmlns:my="http://the.phoenix.project/testing/defaultNS" my:isbn_number="978-1942788294">
    <my:id>f3758bf0-0ff7-4366-a5e5-c209d4352b2d</my:id>
</my:book>

the defaultNS can be just set properly, and hen the NS-id can be omitted.
like
<?xml version='1.0' encoding='utf-8'?>
<book xmlns="http://the.phoenix.project/testing/defaultNS" isbn_number="978-1942788294">
    <id>f3758bf0-0ff7-4366-a5e5-c209d4352b2d</id>
</book>

using a defaultNS would make the resulting documents smaller, but still equal.
requires #11 & #12

ElementTree.tostring()'s default_namespace parrameter is not available before py38
alternatively, one could register the namespace as an empty-string-id ... untested idea ...

feature is possible to implement downstream, and might already e availave via convinience-methods.
see https://github.com/madpah/serializable/pull/20


archive.org being blocked

https://raw.githubusercontent.com/hectorm/hmirror/master/data/digitalside-threat-intel/list.txt
contains "web.archive.org"
Whichever upstream source gave this should probably be reconsidered.

It seems to have already been removed in https://github.com/davidonzo/Threat-Intel/commit/e28d08a0920a290e06ee658fd99a54c6a55b596b, I will reconsider including this source by default if more similar cases occur. Thanks!


[Compute] az vm disk attach: Add new parameter --disks to support attaching multiple disks in one API call

Description

Feature request: #21413
Because --ids parameter is a global parameter, each id in --ids will be processed by independent API call, which is a common logic in CLI core. https://github.com/Azure/azure-cli/blob/92bec9aa84405fe4b7396af139b59cdbf34b470f/src/azure-cli-core/azure/cli/core/commands/init.py#L649-L653
So we can only support attaching multiple disks by one API call through another new parameter --disks  instead of the --ids parameter.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute


CB-15758 Better way to check if the nodegroup is only for compute for…

… recommissioning during stop start scaling cluster start

Re-used the same method used in autoscaling enablement for figuring out compute nodes, instead of relying on the name compute.
In ClusterStartHandler it uses the hostname pattern (-) to identify if it is compute hostname or not.
Added unit tests to make sure both the status syncer and cluster start works according to the expectation.

See detailed description in the commit message.

Will need to be rebased.


#470 initial pipeline support

Changes to drone core to support the pipelines https://github.com/drone/drone/issues/470. Full support requires changes to drone-exec, which I'll committing shortly.

Looks great. I added a few minor notes for validation. I'm sorry I didn't bring them up previously, however, they hadn't crossed my mind until I started the actual code review.

Those make sense. In what situations is a build actually forked? Does the restart build button do it or only through API calls?
Related to this, is it possible to access/use the information that's passed as part of the deploy hook? For example I just wanted a single drone deployment configuration whose branch is based on the name passed in the deployment event, is that possible?

Those make sense. In what situations is a build actually forked? Does the restart build button do it or only through API calls?

The restart button restarts the build and does not fork (assign new build number). The api and command line utility can be used to fork and re-execute the build:
drone build fork octocat/hello-world 55

The primary reason for this behavior is the restart button in the user interface is intended for quick restarts due to some external failure (ie npm was down while executing the build, so I need to re-run). The fork functionality was created to enable nighty builds from cron jobs, using the cli, where a new build number is desirable.

Related to this, is it possible to access/use the information that's passed as part of the deploy hook? For example I just wanted a single drone deployment configuration whose branch is based on the name passed in the deployment event, is that possible?

not sure I'm 100% clear. Can you provide some examples or mockup yaml? Which data and how you'd like to use?

Sample YAML might be something like this. The idea being that I can use a bucket name that is the same as the environment in this case, rather than creating separate deploy configurations for each of my environments.
deploy:
    terraform:
        plan: false
        remote:
            backend: S3
            config:
                bucket: <environment-from-deploy>
                key: tfstate
        when:
            event: deployment
            environment: mytestenvironment

Also I'm going to close this PR and reopen where I'm not trying to merge in my master branch to avoid the situation where I tried to open 2 PRs on master.


How to use resumable.js to track file upload progress

I need to display progress bar for file upload progress in React.js. How can we achieve this using resumable.js?

There is a method .progress() that can be used to get the progress


[Fix] Remove unused variable in GraphExecutorCodegen

lowered_funcs_ is unused after the compile engine refactoring.

This is merged now, thanks @Mousius and @YuchenJin!


Vickel: Watch enifportugal.com

Vickel requests the watch of the watch_keyword enifportugal\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

enifportugal\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Nisse Engström in Charcoal HQ


Add notifications: Inspiration/Eurekas, Border/Pop growth

Especially in the late game and with the added popups for having reached inspiration and eureka limits one often misses a lot of this information. Would it be possible to have an option to convert these popups to these permanent infos on the right screen where you can choose when to read them (like having a dow, unit attacked, unit killed etc.)
Also on that matter another suggestion: Like in the community mod pack for Civ5 having such notifications for border growth and population growth would be very helpful because when playing with a lot of cities you often miss these events.

From what I've gathered, true custom notifications are actually pretty hard to implement! I'll look into it again after v0.7

This will be tackled in #514


Release the service manual v3.9.0

What
Release the service manual v3.9.0
To do

[x] Bump package
[x] Check CHANGELOG
[x] Release
[x] Clear cache for all pages with changes
[x] Clear cache for CSS and JS

Next steps

Comms for the release

Clear cache on pages:
https://service-manual.nhs.uk/
https://service-manual.nhs.uk/whats-new
https://service-manual.nhs.uk/whats-new/updates
https://service-manual.nhs.uk/content
https://service-manual.nhs.uk/content/numbers-measurements-dates-time
https://service-manual.nhs.uk/content/formatting-and-punctuation
https://service-manual.nhs.uk/content/a-to-z-of-nhs-health-writing

Clear cache on pages:
https://service-manual.nhs.uk/
https://service-manual.nhs.uk/whats-new
https://service-manual.nhs.uk/whats-new/updates
https://service-manual.nhs.uk/content
https://service-manual.nhs.uk/content/numbers-measurements-dates-time
https://service-manual.nhs.uk/content/formatting-and-punctuation
https://service-manual.nhs.uk/content/a-to-z-of-nhs-health-writing

There's the PDFs page:
https://service-manual.nhs.uk/content/pdfs which is now: https://service-manual.nhs.uk/content/pdfs-and-other-non-html-documents.
Also:
https://nhsuk-service-manual-dev-uks.azurewebsites.net/content/health-literacy
https://nhsuk-service-manual-dev-uks.azurewebsites.net/site-map


Refactor of metrics

Fixes #152

Codecov Report

Merging #162 into master will decrease coverage by 1.89%.
The diff coverage is 43.10%.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   82.70%   80.81%   -1.90%
==========================================
  Files          12       13       +1
  Lines        1226     1204      -22
==========================================
- Hits         1014      973      -41
- Misses        178      195      +17
- Partials       34       36       +2

Impacted Files
Coverage Δ

pkg/threescale/authorizer/builder.go
100.00% <ø> (ø)

pkg/threescale/authorizer/metrics.go
0.00% <0.00%> (ø)

pkg/threescale/backend/backend.go
78.33% <28.57%> (-1.15%)
:arrow_down:

pkg/threescale/authorizer/authorizer.go
68.71% <58.82%> (-4.82%)
:arrow_down:

cmd/server/internal/metrics/prometheus.go
84.61% <84.61%> (ø)

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 963d352...005f043. Read the comment docs.


chore(deps): bump publisher from v2024.11.4-10-g93bf843 to v2024.11.4-15-gf0b4200

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Re-usage of errorMessage method in custom FormlyValidationMessage

Question
I really enjoy using your great library! But I have a little  problem. I want to show the validation messages in a tooltip (which only understands text). So, if an input is invalid, I show a little icon. And when the user hovers over the icon, it shows the errors in a tooltip. Something like:

        {{ to.label }}
        *

      <ng-container #fieldComponent></ng-container>

Therefore I copied the stuff from FormlyValidationMessage to a custom wrapper (where the tooltip stuff is included). It works, no problem. But it feels not DRY. I mainly need the errorMessage method: https://github.com/ngx-formly/ngx-formly/blob/fe2314d5f50ff61d46af01175b158dc3f9fd4e4e/src/core/src/lib/templates/formly.validation-message.ts#L26
But it seems there is no way to re-use it. Also the isObject function is not accessible from the outside world.
Do you have some ideas how to overcome with that? Maybe there is also "another way", but I don't see it.
Best regards,
Kersten

I would like to introduce a pipe which could be used in a such case instead

I would like to introduce a pipe which could be used in a such case instead


Add Mantine to Frontend UI Libraries

Site URL
https://mantine.dev/
Description of the above provided site
Add the popular Mantine React component Library to Frontend UI Libraries. People will find this UI LIbrary resource to be more helpful and resourceful because it has many UI components built in
Category
Frontend
Sub Category
UI Libraries
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

@Avas77
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me any of the maintainers if you require any assistance.

Sure, thanks


Upgrade minimum required Go version to 1.20

@roman-khimov done
bout errors: found nothing. API status errors wrap apistatus.Error semantically, not structurally


Add Searching and Sorting Algorithms in c++

Assign this to me?

I would like to contribute. Please Assign it.


Add HttpHeaders in broker event listener requestContext

A small patch to add httpHeaders we get in query-request to the event-listener requestContext class.
We plan to send caller and additional metadata as http headers and want to emit them along with the query metrics.
I am working on an integration test for the event-listener functionality and will raise a follow-up PR.
cc @ankitsultana @walterddr

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (2e367a2) 61.55% compared to head (cc37902) 0.00%.

Files
Patch %
Lines

.../apache/pinot/spi/trace/DefaultRequestContext.java
0.00%
4 Missing :warning:

...roker/requesthandler/BaseBrokerRequestHandler.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12258       +/-   ##
=============================================
- Coverage     61.55%    0.00%   -61.56%
=============================================
  Files          2416     2340       -76
  Lines        131205   127463     -3742
  Branches      20250    19692      -558
=============================================
- Hits          80768        0    -80768
- Misses        44539   127463    +82924
+ Partials       5898        0     -5898

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.44%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.54%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <0.00%> (-61.56%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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


Cant install

I have tried to install your plugin but every time i try to use it all i am getting is
ERROR: Plugin 'DatecsPrinter' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2017-12-08 16:55:14.930235+0000 helloworld[2649:852352] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["DatecsPrinter665848867","DatecsPrinter","listBluetoothDevices",[]]
Any ideas would be really appreciated
Liam

me too, will you solve it?

Should be working on version 0.8.3.


update cft map for elb and s3 bucket

Codecov Report

Merging #1434 (e8c045b) into master (d2f8770) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1434   +/-   ##
=======================================
  Coverage   77.31%   77.32%
=======================================
  Files         279      279
  Lines        7878     7881    +3
=======================================
+ Hits         6091     6094    +3
  Misses       1427     1427
  Partials      360      360

Impacted Files
Coverage Δ

...ders/cft/config/elasticloadbalancingv2-listener.go
100.00% <100.00%> (ø)

...apper/iac-providers/cft/config/s3-bucket-policy.go
100.00% <100.00%> (ø)