Ionic 2 / ionic 3 : unable to get "gps" , "network" and "satellite" ' s provider objects

This plugin was working fine for me till yesterday , and i was using it in one of my ionic2 apps. But suddenly from today it's stopped working . It's not working for any of my 2-3 ionic apps. ealier it was working for all those apps.
On Debugging and checking console , I was surprise that in success of   AdvancedGeolocation.start((success) i was only getting these two types of provider objects :-
{"provider":"cell_info","type":"wcdma","timestamp":1510306725281,"cid":2147483647,"lac":2147483647,"mcc":2147483647,"mnc":2147483647,"psc":252}
{"provider":"cell_location","type":"gsm","timestamp":1510307383757,"cid":167954,"lac":25,"psc":-1}
i am not getting "gps" , "network" and "satellite" ' s provider objects at all.
here is sample code that i am using .
if (this.platform.is('android')) {
            this.platform.ready().then(() => {
                AdvancedGeolocation.start((success) => {

                    try {
                        var jsonObject = JSON.parse(success);
                        console.log("Provider " + JSON.stringify(jsonObject));
                        switch (jsonObject.provider) {
                            case "gps":
                                console.log("setting gps ====<<ppp>>" + JSON.stringify(jsonObject));

                                this.currentLat = jsonObject.latitude;
                                this.currentLng = jsonObject.longitude;

                                break;

                            case "network":
                                console.log("setting network ====<<ppp>>" + JSON.stringify(jsonObject));

                                this.currentLat = jsonObject.latitude;
                                this.currentLng = jsonObject.longitude;

                                break;

                            case "satellite":
                                //TODO
                                break;

                            case "cell_info":
                                //TODO
                                console.log("hiiii bhaeeeereeerrrrrr");

                                break;

                            case "cell_location":
                                //TODO
                                break;

                            case "signal_strength":
                                //TODO
                                break;
                        }
                    }
                    catch (exc) {
                        console.log("Invalid JSON: " + exc);
                    }
                },
                    function (error) {
                        console.log("ERROR! " + JSON.stringify(error));
                    },
                    {
                        "minTime": 500,         // Min time interval between updates (ms)
                        "minDistance": 1,       // Min distance between updates (meters)
                        "noWarn": true,         // Native location provider warnings
                        "providers": "all",     // Return GPS, NETWORK and CELL locations
                        "useCache": true,       // Return GPS and NETWORK cached locations
                        "satelliteData": false, // Return of GPS satellite info
                        "buffer": false,        // Buffer location data
                        "bufferSize": 0,         // Max elements in buffer
                        "signalStrength": false // Return cell signal strength data
                    });

            });
        }

Did you see any native Android errors in logcat (available via Android Studio) when you started the app? That is always the first thing that I check.
Here are some suggestions:

Double check that location is enabled for each app
Run a quick Geolocation test. Open this browser-based test app and see if it returns a location? https://esri.github.io/html5-geolocation-tool-js/

hii @andygup , today i again checked . now everything is working fine. For your info , i have not changed a single word in my code base.
Now i am getting all the objects in provider , earlier i was getting only cell_info and cell_location . That means , i was not getting other provider's objects.
I want to ask you this . Whether **cordova-plugin-advanced-geolocation** is reliable or not . I can use this in production environment or not. Because it seems like , sometimes it's working and sometimes it's not.
You tell me , what to do . Again I have not changed a single word in code base and now it's working fine .
B/W thanks a lot for helping me out.

@kumarkundan Given the intermittent nature of the problem, this appears to be an issue with your cell phone provider. For example, the value<PHONE_NUMBER> in the response object tells me that a particular cell phone tower is simply not providing the information you want.
As far as I know, there are generally no international requirements that cellular towers provide any of this information consistently or at all.
My recommendation is to write your code to gracefully handle the situations where the cell provider does not provide information.
Does that make sense?

Closing this issue. It's a problem with the cellular service provider.


dotnet core RHEL-x64 publish output doesn't work with RHEL 6.x versions

When we build and publish self contained application with runtime identifier rhel-x64 and tried to use it on RHEL 6.x platform, we get following error
"dlopen failed to open the libcoreclr.so with error /lib64/libc.so.6: version `GLIBC_2.14' not found"
If we publish with rhel.6-x64 identifier and use these published binaries, then it works correctly on RHEL 6.x platform.
We are using dotnet core SDK 2.1.4 with runtime version 2.0.4 which supports RHEL 6.x platform as per below link
https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md
We expect binaries published with portable runtime identifier to work for all versions of that specific platform.

can we have this issue assigned?

This was explained here: https://github.com/dotnet/cli/issues/9375#issuecomment-393843956.
This issue can be closed.


Changing playback speed in the player doesn't work for me

Using both Chrome and Safari on macOS Sierra, pressing the < and > keys doesn't change the playback speed.
Appending ?speed=0.5 to the URL does slow down the playback, so the problem seems to be with the key code logic. Other keys, like f,   (space), or 0 to 9 do work though.
Looking at the code, I wonder if the issue is related to the fact that < and > require pressing the Shift key, and the code is inside a (when-not (has-modifiers? dom-event) condition:
https://github.com/asciinema/asciinema-player/blob/7b9acc9/src/asciinema/player/view.cljs#L248

Yeah, looks like e3a42dd4b4a95593dbf1040101e4e7b022b2df30 broke this.

Maybe just remove shiftKey from the list of modifiers? It would "trap" Shift-Space, but all other characters can't be typed with the Shift key down anyways, so it seems a reasonable compromise, given that Shift-Space is unlikely to have any special meaning in a browser.

Shift-space does scroll up in Chrome (and I'm pretty sure in other browsers too). But I have an idea, hold on.

Thanks! Any idea when it will be deployed on https://asciinema.org/ ?
At least I assume it hasn't been deployed yet, as it doesn't seem to work for me.

@jandubois it's deployed now.

it's deployed now.

Thank you, works great!

@ku1ik I think these two keyboard shortcuts are missing from the docs here: https://docs.asciinema.org/manual/player/shortcuts/. :sweat_smile:
I came to open an issue about keyboard shortcuts for speed up and down and found this issue.
If that is the correct place for adding these two, then I can quickly add an MR in the docs repo: https://github.com/asciinema/asciinema.github.io


chore: replace multi-platform-runner image with buildah-task image

Part of the story: https://issues.redhat.com/browse/STONEBLD-2716
migrating away from redhat-appstudio quay org to konflux-ci org and use a similar existing image
Before you complete this pull request ...
Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

Note: compared to the previous image, the new one doesn't contain podman. But if I'm reading the tasks right, they never use podman directly, do they? Only via SSH. So the container image having podman doesn't matter as long as the remote VM does.


Distributions without PDFs

http://www.math.wm.edu/~leemis/chart/UDR/UDR.html
The two distributions "Doubly noncentral t" and "Kolmogorov–Smirnov", do not have a PDF in their description. How could these be implemented for the stdlib?

The paper https://cran.r-project.org/web/packages/sadists/sadists.pdf gives a simpler definition that Leemis.
Pseudo-code:
doubly-noncentral-t(n,d,g)
   z <- normal d 1
   x <- chi-square g n
   return z/sqrt(x/n)

KS seems beyond hakaru for now.

I am taking myself off of this one, as I have answered the question. You should probably not close it until you've implemented it though.

I've been looking at this with @sohraa3. I'm not familiar with that parameterization of chi-squared. Is it just an iid version where there are n underlying normal distributions with mean = 0 and stddev = g?

Take a look at
http://stat.ethz.ch/R-manual/R-devel/library/stats/html/Chisquare.html


refactor(ui): Clean up reporting related components

Description
This PR cleans up a few things in regards to the reporting feature:

Moving ReportJobsHelpAction and ReportJobsTable into a Components/ReportJob directory
Added a new MyActiveJobStatusTh component that we can reuse in both VM Reports and Compliance. I just copied over the exact rendered component you see in VM Reports
Cleaned up the code within the useWatchLastSnapshotForReports hook. This is pre-work for the eventual one we'll need to make for compliance reporting

User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[x] documentation PR is created and is linked above OR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[x] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests
[x] no added tests

How I validated my change
I manually tested it out to see if it behaves similarly
https://github.com/user-attachments/assets/b326ed8a-52da-4959-9e2f-8b54e926f525

/retest


Mobs Not Dropping Anything :/

Loaded into the newest version of minecraft with this mod and noticed all mob drops are working/functioning besides all the earth2java mobs. I have all necessities installed. If I could get some insight I would appreciate it :)

I've recently released an update, 1.11.3, that should fix this issue.

Thank You!


@iconify-icon/react prop observe didn't work

I'm using @iconify-icon/react and set prop observe to false, but the observer still working.
<Icon icon={ 'tabler:satellite' } observe={false}/>

That option was bugged in version 2.0.0, in version 2.1.0 it was fixed and renamed to noobserver.
See https://github.com/iconify/iconify/issues/296

Thank you very much! sorry I didn't see the previously closed issue.


Missing page in documentation

There's a link in the documentation labeled "Use reader view for full-text in NetNewsWire NEW IN 5.1" that points to https://ranchero.com/netnewswire/help/mac/5.1/en/reader-view
This page is 404 Not found

It’s up now. Thanks, @blackketter.


Eliminate reliance on mersenne.cpp

Here's one approach for using NumPy's RNGs.

@mckib2 you recommended against using C++ errors for control flow, but I wanted to try it. What do you think?

So exceptions used as control flow are unexpected -- kind of an anti-pattern -- and not optimized for by compilers (here's a good read).
I understand the following about what we're trying to do:

It's hard to get consistent RNG into C++ from Python
We could pre-generate a random number sequence and pass into C++

I like this approach in theory.  If we're alright with modifying the sources, I suggest using a batch-then-ask approach:
# Cython file
cdef extern from "myCoolFunction.hpp" nogil:
    # store the state of the function for quick restart:
    cdef cppclass func_state:
        double state1
        int state2
    # returns false if it needs more random number,  true if out has been populated with the answer:
    bool myCoolFunction(..., double& out, func_state& state, const double* rng_batch, const int num_rng_batch)

cdef double out # the value you want in the end
cdef double* rng_batch
cdef func_state state
done = False
while not done:
    rng_batch = np.random.random(256) # some appropriate number of appropriately generated random samples to burn through
    done = myCoolFunction(..., out, state, rng_batch, 256)
# `out` now has the answer

# CPP file

// Capture the state of the function so you resume execution with new set of random numbers quickly
struct func_state {
    double state1
    int state2
};

bool myCoolFunction(..., double& out, func_state& state, const double* rng_batch, const int num_rng_batch) {
    // Initialize to current state
    current_state = state;

    // ... do work ... state changes ...

    if (noMoreNumbersInRngBatch) {
        state = current_state;
        return false;
    }

    // ... more work ...

    out = final_solution;
    return true;
}

The idea is hand the function a batch of numbers and then it asks for more if it needs it.  I haven't looked through the source to see if catching the state of the program is feasible, but I think you'd have to do the same thing if you threw an exception.

@mckib2 Yes, I think that's essentially what I did in this PR - the main difference being that your myCoolFunction returns true/false, using the out parameter to pass data between the function and its caller, whereas my member functions return the requested data to the caller when possible and implicitly re-throw an exception originally thrown by Random when no more random data is available.
Note that in this PR, I was able to avoid changing any of the existing C++ code aside from replacing the random number generator - I didn't have to modify any of the myCoolFunctions at all. All of the member functions in the original C++ code (e.g. StochasticLib3::FishersNCHyp) call this->Random() (this added for clarity). I simply replaced the Random member function here. Instead of relying on mersenne.cpp to generate random numbers, it distributes random numbers provided by the user's provided RNG, and raises an exception when there are no more left. Without any modification, the member functions pass the exception up to Cython, which can refill the random number cache and restart the member function where it left off.
I do remember that errors are thought of quite differently in C++ than they are in Python, so I understand that this behavior is unusual in C++. (I think it's pretty Pythonic, though!) But I'm having trouble seeing a way, without throwing an exception, of getting the functionality without modifying each of the member functions in StochasticLib1 and StochasticLib3 that currently rely on Random.


Not receiving notifications from firebase on IOS

Hello,
We are not receiving push notifications on iOS devices.
We do get the APNS token and I did convert it to FCM token.
Still, manual push notifications from POST is not being delivered to the device.
I notice that the below issue has also been reported here.
Please let me know if you have a solution for the below.  It is very urgent.
https://support.wix.com/en/article/6-january-2020-wix-mobile-app-push-notifications-are-not-being-sent-to-ios-devices

I use react-native-firebase to register for notifications and this library to handle incoming notifications and everything works just fine.

I use react-native-firebase v6 to register for notifications and this library to handle incoming notifications and everything works just fine.

Even I've been using this library with react-native-firebase which apparently is working fine on android, I followed the given examples in the documentation itself but for some reason the notification listeners are not receiving notifications on IOS but are receiving on android, could you provide a code snippet as to how did you implement it to handle IOS notifications?

install and setup firebase following instructions from https://invertase.io/oss/react-native-firebase/v6/messaging
use react-native-permissions instead of the firebase’s permission functions
install and setup react-native-notifications following instructions https://wix.github.io/react-native-notifications/docs/getting-started

‘getToken’ doesn’t work on the first run (I used a pause  between checking permissions code and firebase code)

@alexbuicescu
This is how it looks in my case. Background and foreground  notifications work okay.

I don't have FirebaseAppDelegateProxyEnabled in my Info.plist
AppDelegate.m:

#import <Firebase.h>
#import "RNNotifications.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  if ([FIRApp defaultApp] == nil) {
    [FIRApp configure];
  }

  [RNNotifications startMonitorNotifications];
}

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
  [RNNotifications didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
  [RNNotifications didFailToRegisterForRemoteNotificationsWithError:error];
}

Podfile

  pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
  pod 'React', :path => '../node_modules/react-native/'
  pod 'React-Core', :path => '../node_modules/react-native/'
  pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
  pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
  pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

  permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"

react-native

import messaging from '@react-native-firebase/messaging';
import { Notifications } from 'react-native-notifications';
import {
  requestNotifications,
  RESULTS,
} from 'react-native-permissions';

import {
  sleep,
} from 'hz';

export default class HzService {
  constructor(options) {
    this.messaging = messaging();
    this.init();
  }

  async init() {
    let token;

    try {
      const permission = await requestNotifications(['alert', 'badge', 'sound']);

      if (permission.status !== RESULTS.GRANTED) {
        return;
      }
    } catch (err) {
      return;
    }

    try {
      const register = await this.messaging.registerForRemoteNotifications();

      if (!register) {
        return;
      }
    } catch (err) {
      return;
    }

    if (!this.token) {
      await sleep(5000);
    }

    try {
      token = await this.messaging.getToken();
    } catch (err) {
      // empty
    }

    this.onTokenRecieved(token);
  }

  onTokenRecieved(token) {
    if (!token) {
      return;
    }

    // code to store token

    this.attachListeners();
  }

  attachListeners() {
    this.onTokenRefreshListener = this.messaging.onTokenRefresh((fcmToken) => {
      this.callbacks.updateToken(fcmToken);
    });

    Notifications.registerRemoteNotifications();

    Notifications.getInitialNotification()
      .then((notif) => {
          this.callbacks.onNotificationOpened(notif);
      })
      .catch(() => {
        // empty
      });

    Notifications.events().registerNotificationReceivedForeground((notif, completion) => {
       this.callbacks.onNotificationForeground(notif);

      completion();
    });

    Notifications.events().registerNotificationOpened((notif, completion) => {
        this.callbacks.onNotificationOpened(notif);

      completion();
    });
  }

  removeListeners() {
    if (this.onTokenRefreshListener) {
      this.onTokenRefreshListener();
    }
  }
}

After more investigation I found out that Expo is overriding [[UNUserNotificationCenter currentNotificationCenter] setDelegate:_notificationCenterMulticast] with its own delegate.
I used NSLog(@"delegate is: %@", [UNUserNotificationCenter currentNotificationCenter].delegate) in didFinishLaunchingWithOptions and didRegisterForRemoteNotificationsWithDeviceToken. To my surprise it printed 2 different objects and knowing this I moved the expo initialiser and now everything works as expected (even the code from my first comment works). In case others come with troubles from expo, this is my AppDelegate.m now:
#import "AppDelegate.h"
#import <Firebase/Firebase.h>
#import "RNNotifications.h"

@import Firebase;

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // call Expo here so it doesn't overwrite notifications
    [super application:application didFinishLaunchingWithOptions:launchOptions];

    if ([FIRApp defaultApp] == nil) {
        [FIRApp configure];
    }

    [RNNotifications startMonitorNotifications];
    // for debug purposes:
    NSLog(@"delegate is: %@", [UNUserNotificationCenter currentNotificationCenter].delegate);

    // do not call Expo here because it would overwrite notifications
    // return [super application:application didFinishLaunchingWithOptions:launchOptions];
    return YES;
}

 - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
    // for debug purposes:
    NSLog(@"delegate is: %@", [UNUserNotificationCenter currentNotificationCenter].delegate);

    [RNNotifications didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
 }

 - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
    [RNNotifications didFailToRegisterForRemoteNotificationsWithError:error];
 }

@end

it fixed in
"@react-native-firebase/app": "6.4.0-rc1",
"@react-native-firebase/messaging": "6.4.0-rc1",

@bsonmez
What is fixed?

@bsonmez
What is fixed?

Not receiving fcmToken

@bsonmez
What is fixed?

Not receiving fcmToken

can you tell me how can I actually follow this, I changed some code after forking it from this repo how can i reuse it in my own project?
https://stackoverflow.com/questions/60774753/how-to-change-npm-scoped-package-to-a-github-repo
Can you please look it once? its a small question which Im unable to find solution of!

@anmolpandeyy this is what works for me:

fork the repo
remove lib/dist/ from .gitignore
run npm run build
commit and push to github
use it as follows in package.json: https://github.com/<my-account-name-here>/react-native-notifications#<commit-hash-here>

@anmolpandeyy did you ever get the event handler callbacks to work on iOS?
everything works perfectly for me on Android but registerNotificationOpened, registerNotificationReceivedBackground, and registerNotificationOpened call backs are not firing at all for me in iOS.
getInitialNotification does work.

@anmolpandeyy did you ever get the event handler callbacks to work on iOS?
everything works perfectly for me on Android but registerNotificationOpened, registerNotificationReceivedBackground, and registerNotificationOpened call backs are not firing at all for me in iOS.
getInitialNotification does work.

No it never worked for me so I just didn't use it, but we don't need it anymore as firebase has given the support for local notifications recently.

... other here, no events in IOs.

was working in 5, migrated from 5 to 6. When i first install my app i can receive push notifications sent by firebase console to my device token. They pop up and display by the OS. After a few minutes my device no longer receives notifications (even by the OS alert up the top).
I am using the default setting to autoconfigure. I have a listener for onTokenRefresh too. hmmm

any updates on this?

Still facing the issue.

Still same


Ability to select pre-existing APIs from API Management

What are you trying to achieve?
Looking to be able to import APIs that already exist in API Management automatically into API Center. This would mean that there is less likelihood of mistakes being made in API Center as we can use the information already in API Management.
Proposed solution
Functionality, like a drop down box where we can select existing APIs rather than having to type out details for every API.
Alternative solutions
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Agreed! At the moment it feels like all is manual tracking ... data entry. In most cases, where customers have APIM deployed, we'd love it if we can import in all that information into the API Center vs. manually enter that data. Thanks team!

@TIGHEDEV , @jharbieh-microsoft - This functionality is now available in the Azure CLI with our Import from API Management command. More documentation is available here: https://learn.microsoft.com/en-us/azure/api-center/import-api-management-apis?tabs=portal
Give it a try and let us know what you think!


Do not try to fuse with ops that are cloned into dispatch regions anyway.

With changes to CSE also CSE ops with a single block introduces false sharing of linalg.fill ops (since they get CSE-ed). It is better to clone these ops into all the dispatches that use them. This was already the case, but they were also treated as producers, which meant they would get pulled into a dispatch (and the dispatch returning their value). Fix the producer fusability consideration, to not include clonable ops, since they get fused anyway.

Just to check if my understanding is correct:
With region CSE, now we fuse the linalg.fill before doing dispatch formation, then once the aggressive fusion is enabled, those multi-used linalg.fill will be fused and results in unwanted results. So we don't want to fuse them and clone them into dispatches later?

Just to check if my understanding is correct:
With region CSE, now we fuse the linalg.fill before doing dispatch formation, then once the aggressive fusion is enabled, those multi-used linalg.fill will be fused and results in unwanted results. So we don't want to fuse them and clone them into dispatches later?

Yeah, they get CSEed at some point before dispatch region formation. Rest of the statement holds correct.


Will not work

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (iPad; CPU OS 10_1_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B100 Safari/602.1.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

@ahlanbkey Thank you for reporting this issue. You've removed too much of the code. Reset the code and read the instructions again. Please take a look at the help rooms for coding help.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!

You're suppose to leave the

 CatPhotoApp

intact. They want you to remove the inline-styling and use CSS Selectors to target all  elements.


Yjdh 70 client auth 2

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #30 (62728eb) into main (e398a71) will increase coverage by 0.16%.
The diff coverage is 96.60%.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   96.20%   96.36%   +0.16%
==========================================
  Files          24       33       +9
  Lines         474      798     +324
==========================================
+ Hits          456      769     +313
- Misses         18       29      +11

Impacted Files
Coverage Δ

backend/oidc/auth.py
87.69% <87.69%> (ø)

backend/oidc/models.py
90.90% <90.90%> (ø)

backend/oidc/views.py
97.61% <97.61%> (ø)

backend/applications/tests/conftest.py
100.00% <100.00%> (ø)

backend/kesaseteli/settings.py
91.17% <100.00%> (+2.49%)
:arrow_up:

backend/kesaseteli/urls.py
86.66% <100.00%> (+0.95%)
:arrow_up:

backend/oidc/migrations/0001_initial.py
100.00% <100.00%> (ø)

backend/oidc/services.py
100.00% <100.00%> (ø)

backend/oidc/tests/conftest.py
100.00% <100.00%> (ø)

backend/oidc/tests/factories.py
100.00% <100.00%> (ø)

... and 12 more

Continue to review full report at Codecov.

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


[Feature][sonarqube] Add "proxy" api to sonarqube plugin

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
On consuming code quality data from devlake, information outside code quality domain model, is not fetched to devlake db, like source code, code check rules, which is useful for detailed code issue view. But it's available via Sonarqube web api.
Other plugins like Jira, Jenkins already provided a proxy api to expose upstream data source api to devlake client, it would be nice to have a similar proxy api for Sonarqube plugin.
Description
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/apache/incubator-devlake/pull/5167
This PR implemented proxy api for Sonarqube plugin.


Image for attachment problem.

Hi, i'm experiencing an issue with this method - imageForAttachmentMessage:completion:
I'm not getting an image (it is nil) but i'm also not getting any errors. I call it when i receive a new message and it has an image attachments.
Thank you!

Fixed in 0.6.1


Importing barrels with '../shared' fails

Importing barrels as explain in https://angular.io/styleguide#!#04-10 doesn't work with<EMAIL_ADDRESS>or<EMAIL_ADDRESS>(I don't know which one is faulty ;) )
I have a contract-list/contract-list.component.spec.ts
Karma fails:
[2016-07-15 14:35:08.959] [WARN] web-server - 404: /base/dist/app/contracts/shared.js
Missing error handler on `socket`.

...
import { By }           from '@angular/platform-browser';
import { DebugElement } from '@angular/core';

import {
  beforeEach, beforeEachProviders,
  describe, xdescribe,
  expect, it, xit,
  async, inject
} from '@angular/core/testing';

import { ContractListComponent } from './contract-list.component';
import { ContractService }    from '../shared';

describe('Component: ContractList', () => {
  it('should create an instance', () => {
    let component = new ContractListComponent(new ContractService());
    expect(component).toBeTruthy();
  });
});

Workaround:
import { ContractService }    from '../shared';
with
import { ContractService }    from '../shared/index';
I think I got the same issue inside a component (not a test)...

do you have the index.ts file that exports the component and that added to the system config?
/cc @filipesilva

It also seems to me that it's not being added to system-config. Basically, System does not know that app/contracts/ has an entry point of index.js, which is why you get web-server - 404: /base/dist/app/contracts/shared.js.

I create a sample project from scratch to reproduce the problem:  https://github.com/francisoud/angular.io.issue.1896
I have same problem during runtime (in console log) in contract-list.component.ts and for test (as describe above).
You were right the problem is in system-config.ts there are 2 lines that are missing and should have been added during ng generate (see command line below)
// App specific barrels.
  'app',
  'app/shared',
  'app/contracts',
  **'app/contracts/shared',**
  'app/contracts/contract-list',
  **'app/contracts/contract-list/shared'**

I think it's a bug in angular-cli
I think something is missing during ng generate component ... somewhere near this line:
https://github.com/angular/angular-cli/blob/master/addon/ng2/blueprints/component/index.js#L117
Additional info
Errors
Error at runtime
Error in tests
index.ts
It seems to me all index.ts are referencing the correct component:
https://github.com/francisoud/angular.io.issue.1896/blob/bug/src/app/index.ts
https://github.com/francisoud/angular.io.issue.1896/blob/bug/src/app/shared/index.ts
https://github.com/francisoud/angular.io.issue.1896/blob/bug/src/app/contracts/index.ts
https://github.com/francisoud/angular.io.issue.1896/blob/bug/src/app/contracts/contract-list/index.ts
https://github.com/francisoud/angular.io.issue.1896/blob/bug/src/app/contracts/contract-list/shared/index.ts
And they where updated when I created I used ng generate ...
ng generate
C:\tmp\myapp>ng generate component contracts
installing component
  create src\app\contracts\contracts.component.css
  create src\app\contracts\contracts.component.html
  create src\app\contracts\contracts.component.spec.ts
  create src\app\contracts\contracts.component.ts
  create src\app\contracts\index.ts
  create src\app\contracts\shared\index.ts

C:\tmp\myapp>ng generate component contracts/contract-list
installing component
  create src\app\contracts\contract-list\contract-list.component.css
  create src\app\contracts\contract-list\contract-list.component.html
  create src\app\contracts\contract-list\contract-list.component.spec.ts
  create src\app\contracts\contract-list\contract-list.component.ts
  create src\app\contracts\contract-list\index.ts
  create src\app\contracts\contract-list\shared\index.ts

C:\tmp\myapp>ng generate service contracts/shared/contract
installing service
  create src\app\contracts\shared\contract.service.spec.ts
  create src\app\contracts\shared\contract.service.ts

C:\tmp\myapp>tree src
C:\TMP\MYAPP\SRC
└───app
    ├───contracts
    │   ├───contract-list
    │   │   └───shared
    │   └───shared
    └───shared

Sample project
This version with the 2 issues (runtime and test):
https://github.com/francisoud/angular.io.issue.1896/tree/bug
The branch 'workaround':
https://github.com/francisoud/angular.io.issue.1896/tree/workaround (diff)
The branch 'fix':
https://github.com/francisoud/angular.io.issue.1896/tree/fix
Version
C:\tmp\myapp>ng --version
angular-cli: 1.0.0-beta.8
node: 6.2.1
os: win32 x64

@francisoud can you open this issue in https://github.com/angular/angular-cli instead then? It does sound like a bug in the CLI.

Closing this one :)
Will be tracked in https://github.com/angular/angular-cli/issues/1418


raw string literals not preserving newlines, as suggested in docs

I noticed that raw strings aren't copying the newlines as is suggested in the docs. The relevant code seems to be here: https://github.com/rhaiscript/rhai/blob/main/src/tokenizer.rs#L1265
The docs suggesting it does preserve the newlines: https://rhai.rs/book/ref/strings-chars.html#raw-strings
Reproducing this behavior with rhai-run, installed with cargo install rhai:
# cat > printit.rhai
let hello = ###"Hello

world"###;

print(hello);
# rhai-run printit.rhai
Helloworld
#

Note that Helloworld is just one word, not separated by newlines.
An example with backquotes where the newlines are preserved:
# cat > backquote.rhai
let hello = `Hello

world`;

print(hello);
# rhai-run backquote.rhai
Hello

world

This is too bad because it makes it less convenient to embed Markdown with fenced code blocks, where each of the 6 backquotes per fenced code block would need to be duplicated.
I get the idea that raw strings are pretty new and that's why this hasn't been noticed yet. I definitely think it should preserve newlines, so the code should be updated rather than the docs. I also think because it's new and has been documented like this, it ought to be OK to put it in a minor release. It probably shouldn't go into a patch release because it's definitely a change of behavior.

Yes this is definitely a bug.
The idea of raw strings is that anything in between comes out verbatim.
I think we probably missed testing the multiline case.

Fixed in https://github.com/rhaiscript/rhai/pull/941. Please check.

Installed from git and confirmed that it fixes the issue! Thanks!
A release would be good but for now I'll have cargo install from git for what I'm working on.


React Native

Are there plans to move the Andriod app to React native like the ios app and merge the code base for the Apps?

@ncecere The React Native platform in theory speeds up code development since you can write parts of the code base just once, and have that code work on both Android and iOS.
But in practice, React Native is still a relatively nascent platform that is, in my opinion, more challenging to code with, and in many ways slows down development.
In fact, while portions of the codebase can be done in the common React environment, you still have to write many important portions in native code, like the Bluetooth or GPS (which interfaces with platform-specific APIs) anyway.
So you end up having to deal with both native code and the harder-to-program-with React environment.
IMO a big reason why CovidSafe's Android development progressed so quickly was because we fully leveraged the mature Android libraries that were comparatively easy to use, test and debug.
In fact, most of the major contact tracing apps like TraceTogether from Singapore, DP3T from Europe and the Apple/Google API reference implementations and CovidWatch in the US all use native development. MIT's contact tracing app is in the minority for using React Native.
While one could debate the pros and cons of React Native before the project began, there are few benefits to performing a complete overhaul of the codebase (which would introduce many significant bugs that would need testing) when the app's functionality is code complete and has already undergone public testing for bug vetting.


Frontend: implement delete version

Needs #107.
Allow to delete a version from frontend.

@pascalwelte is on that

merged with https://github.com/randombenj/docat/pull/114


Use mod_wsgi-express to serve the dashboard

Because "provides a much better default configuration if running
mod_wsgi inside of a container".
Also: use 'yarn' to install and build the frontend. This was already so in the Makefile, but the recipe still used npm.

Note, that it's still not possible to upgrade the base image to Fedora Linux 36, as openssl 3.0 doesn't play well with NodeJS 16, and breaks building the frontend. Wasn't able to find a solution for this just yet, but I'll keep looking.


Sidekick Release Candidate

This PR has been auto-generated from https://github.com/adobe/helix-sidekick/.

Changes in this release:

https://github.com/adobe/helix-sidekick/pull/261
https://github.com/adobe/helix-sidekick/commit/ea5dedfecdca2935f08ec017245798d40b6eb43d


Interactive tree Zoom

For better visualization of clades with lots of samples in it, it might be better to implement a zoom slider feature.

Art's better idea:
Re: zoom slider, I was thinking that it should be feasible to click on an internal node in the tree to trigger the plot to zoom in on the corresponding subtree.


[question] HomeSeer WD200+ report state inconsistent

Greetings! I have most everything working now with one issue... I have three HomeSeer WD200+ dimmers that are no reporting state consistently.
They SEEM to work correctly immediately after inclusion / interview (changing states reports state change back immediately). Then as soon as I operate the switch manually, things change. Past that point, any manual manipulation sends state changes perfectly fine. But any commands sent to change state (via targetValue) no longer receive an update on currentValue..
I've had issues with HomeSeer being... selective... of how they interpret spec before, but any ideas here on work arounds?

LOL, its a shame really, they are nice switches, but yeah, HomeSeer hasn't been very interested in acknowledging these do things weird... I suspect it has something to do with "admitting we made a mistake that requires a firmware update" and "charging for a tool to do firmware updates" being in conflict 😄
I have had open issues with them, as have others, for over a year with no response unfortunately... I gather a lot of people who choose HomeSeer switches choose HomeSeer software which has a work around for this oddity.

Are you able to test a custom Docker image with the changes? https://zwave-js.github.io/zwavejs2mqtt/#/development/custom-docker
Use master for zwavejs2mqtt, supervision-stuff for node-zwave-js.

Sure, I've just never done this... I assume I just run that Docker.contrib script with a name like 'zwavejstest123', stop my running instance, and then do I need to copy my volume so as not to mess up the current one, or do I just repoint it to the same volume?

@blhoward2 @robertsLando can you help?

Ok, took a little doing to get it to build a node docker image on a Pi's limited resources, but I got it running and it seems to work with this... I reinterviewed and tried my same tests and it seems to give me status updates with S2 security with this. Do you need me to capture more logs or anything? If you need to cleanup that PR and have me test again or anything let me know, I'm happy to do it.

I'd be interested in seeing a log where it works - just to be sure I didn't break something else.

Just FYI, HomeSeer support has "escalated to the developers" along with a reminded that the HS-WD200 switches have been discontinued and I should consider upgrading to the new 300 series switches. Thats probably a light indication that they aren't interested in fixing their firmware for these unfortunately...


[bug] 'Remove Tenant' on mac does not clean up keychain artifacts

Describe the bug
Deleting a tenant from the VSCode plugin should Delete the tenant, and all configuration required for it.  it does not, leaving dozens of "vscodeyannick-beot-sp.vscode-sailpoint-identitynow" artifacts in the OSX Keychain
To Reproduce
Steps to reproduce the behavior:

open mac Keychain, note the count of vscodeyannick-beot-sp.vscode-sailpoint-identitynow line items
add a new tenant to VSCode Identity Now
check keychain, note the count went up by 1
Delete the tenant from VSCode plugin
note that the count in keychain of vscodeyannick-beot-sp.vscode-sailpoint-identitynow has not decremented
try to manually clean out dozens of stale configuration

Expected behavior
Remove Tenant within the plugin should clean up any/all artifacts in keychain, and not leave persistent items
Screenshots

Environment
note: on mac this is "Code > About" not help - about.

Additional context
This is potentially a Security Issue, as personal access tokens are contained in this keychain after removing the configuration

it seems this is a stale issue, and could not be reproduced today.   Adding a new tenant into the VSCode extension does NOT create a new record within Keychain on mac.


Error in http_auth_header method of AuthorizeApiRequest

I've tried a full copy/paste of your file to ensure I didn't miss anything (I've reverted back to my version) and the same error persists.
expected ExceptionHandler::MissingToken with "Missing token", got #<TypeError: no implicit conversion of String into Integer>
This is being thrown on this line:
if headers['Authorization'].present?
Totally stumped on this!

Wanted to bump this issue. I've done some logging for headers['Authorization'] and it looks like everything that should be there is. Am I missing something somewhere else in the config? Thanks in advance for any guidance you can give.

@jraczak Will get back to you shortly on this.

Could you pry into headers['Authoraztion'] to inspect. Better yet, you could share a link to your GH repo.

@akabiru Sure thing, I've added you to the repo which you can find here: https://github.com/jraczak/flow-api

Hey man, hope you managed to sort it out. Sorry I didn't get a chance to help out much. 😕


Error in dlopen or dlsym: libthnvrtc.so

Description
The TRTIS server has a PyTorch model. When it gets an inference request it terminated called after throwing an instance of std::runtime_error. The following is its log message:
===============================
== TensorRT Inference Server ==
===============================

NVIDIA Release 19.06 (build 6791108)

Copyright (c) 2018-2019, NVIDIA CORPORATION.  All rights reserved.
Copyright 2019 The TensorFlow Authors.  All rights reserved.
Copyright 2019 The TensorFlow Serving Authors.  All rights reserved.
Copyright (c) 2016-present, Facebook Inc. All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION.  All rights reserved.
NVIDIA modifications are covered by the license terms that apply to the underlying
project or file.

        Otherwise return the request ID.
        """
        if err.value is not None:
            ex = InferenceServerException(err)
            isok = _crequest_error_isok(err)
            _crequest_error_del(err)
            if not isok:
>               raise ex
E               tensorrtserver.api.InferenceServerException: [ 0] GRPC client failed: 14: Socket closed

TRTIS Information
I'm using the TRTIS container nvcr.io/nvidia/tensorrtserver:19.06-py3
To Reproduce
Steps to reproduce the behavior:

Run an inference server using the TRTIS container: docker run -dt --gpus '"device=<gpu_id>"' --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 -p8000:8000 -p8001:8001 -p8002:8002 -v/path/to/model/repository:/models nvcr.io/nvidia/tensorrtserver:19.06-py3 trtserver --model-store=/models
Send an inference request to the server with Python client API

Expected behavior
The client gets an inference result from the server successfully.
In addition
I'm using TRTIS 19.06 version because I need the PyTorch 1.1.0.
If possible, I would like to use the TRTIS 19.10 with the PyTorch 1.1.0.
Is there any way to build it like that?
Thanks in advance.

I believe there were small API changes between Pytorch 1.1.0 to 1.2.0. If you can re-work those changes in the libtorch_backend.cc you can then uninstall the current version of pytorch in the build container and re-build pytorch 1.1.0. This should technically work. You can then use this build-container to build your final container.
A few things to note:

If possible try to use Pytorch 1.3.0 as is the version in our latest release 1.3.0
There were a few fixes made to the pytorch backend in 19.07 and 19.08


The use of mixed quotes for src= is not intuitive

Providing example here will help avoid such confusion!

Tweaked it a bit. Thanks!

:-)


SECURITY Vulnerability : PostgreSQL port 5432 opened to *

Scenario which you are working on
Deploying the PQSQL on AKS scenario end with aks-agentpool-xxxx-nsg NSG ( in the managed RG MC_*****) set with an inbound security rule allowing all Internet IP '' to access port 5432 on the Front-End IP of the AKS LoadBalancer.
See :

https://github.com/microsoft/azure_arc/tree/main/azure_arc_data_jumpstart/aks/arm_template/postgres_hs
https://github.com/microsoft/azure_arc/issues/375

Additional context
This is not compliant with MSIT policies and triggers MS Digital Security and Risk Engineering scanning alert
@likamrat

AKS should provision VMSS by default, why does the AKS cluster AgentPoolProfile is AvailabilitySet ?


ci: update naming for the github actions

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#23  👈
#22
#21
next

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AliSajid and the rest of your teammates on  Graphite

Merge activity

Nov 11, 5:55 PM EST: A user started a stack merge that includes this pull request via Graphite.


Better autorole? (more options)

So autorole seems purely based off time. Is there a way we can get more customization? Or if someone can post a walkthrough here on how to make a custom autorole with custom commands or something? That allows the addition of factors such as messages?
Also is there a way to track time on a specific game? Given discord now has a game integration so for example I put autorole at 100 minutes, but it only counts time while on a given game.

Improved autorole is something planned sometime
The game tracking thing I also wanna do, but considering it would be tracking millions of users, I kinda need to plan it out


adept shield weaver

hi, i'm trying to buff the shield weaver armor, by giving it some modification slots.. This is the first time I#m trying to edit gamefiles myself and i cant figure out how to edit any core files extracted with decima explorer, i read in a previous issue that it wouldn't be possible with hzdeditor, since it creates an editable json file, wich can't be converted back in a core file? (please correct me if i'm wrong, as i said I'm new to editing gamefiles).
Is there any method of editing the .corefiles?
Thank you

HzdEditor can edit game files just not using the UI. You have to make the changes programmatically, (some code that runs on startup and edits the core file as needed), recompile the editor and run it to apply your changes to the core file. Then recompress it using decimal explorer. Not the easiest process. I'm not aware of any tools that edit the files using a UI.


Tdr 412 add ffidmetadata

This will allow us to show user the progress of FFIDMetadata processing in the front-end project. The changes are made in line with those made previously with anti-virus and checksum metadata. Includes tests for both the repository method and the consignment service.
This was also tested manually with a local version of the API and Postman and behaves as expected.

Good to go.
As discussed with Sam, it looks a bit weird that none of our test examples add data to the FFIDMetadataMatches table, but that is OK when all we care about is the file format progress. We'll decide whether to worry about missing rows from the matches table when we get to the failure path pages.

Awesome, I'll keep it in mind for future!


chore: fix evidence initialize

getting an error when running meltano invoke evidence initialize. Will look into once evidence v 0.17 is running.

ah I can't assign it to myself, but happy to fix on my fork.

ah I can't assign it to myself, but happy to fix on my fork.

Thanks @matsonj, just assigned to you 😄

Ok going to pick this up when Evidence ships the next update to accommodate duckdb 0.8.1 which means we can also sneak motherduck support in too.

Blocked by https://github.com/motherduckdb/duckdb-async/pull/11

https://github.com/evidence-dev/evidence/pull/1030

Just did some testing, no longer getting an error on this but the sample project here is more up to date than evidence-dev/template#HEAD which is fine.


[Breaking change]: Windows Forms obsoletions diagnostics

Description
The Windows Forms team has finally got around formally documenting obsoletions and other Windows Forms specific diagnostics. Those are now documented in https://github.com/dotnet/winforms/blob/main/docs/list-of-diagnostics.md.
May we please get these documented at the docs website similar to the https://docs.microsoft.com/dotnet/fundamentals/syslib-diagnostics/obsoletions-overview.
.NET 7 Preview 1
WFDEV001
Possible messages:

Casting to/from IntPtr is unsafe, use WParamInternal.
Casting to/from IntPtr is unsafe, use LParamInternal.
Casting to/from IntPtr is unsafe, use ResultInternal.

Previous behavior
The internal implementations of Windows Forms SDK have been updated to disallow direct use of Message.WParam and Message.LParam properties within the SDK implementations, to reduce the risk of cast and overflow exceptions associated with IntPtr on different platforms.
It is particularly dangerous to cast to/from IntPtr on 64 bit platforms as implementation of these casts uses checked keyword. Doing so leads to intermittent numeric overflow exceptions. We've mitigated this historically by trying to first cast to long when casting out of IntPtr and first casting to int when casting into an IntPtr. That pattern, unfortunately, is difficult to audit and has negative performance implications, particularly on 32bit.
Using the new nint/nuint types allows casting to follow with the default project settings, which is unchecked. Casting works just like casting between other intrinsic types (short, int, long, etc.).
New behavior
Projects using the DEBUG build of the Windows Forms SDK and referencing Message.WParam and Message.LParam properties will fail to compile.
Type of breaking change
This diagnostics is only surfaced in DEBUG builds of Windows Forms SDK

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[x] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change
Enforce type safety while using the interop code.
Recommended action
The Windows Forms SDK code must be updated to use the new internal properties, such as WParamInternal, LParamInternal or ResultInternal depending on the situation.
In consuming projects you can skip this obsoletion by adding the property <NoWarn>$(NoWarn),WFDEV001</NoWarn> to a property group in your project file (or adding the warning via the project properties pages).
Affected APIs
Message.WParam and Message.LParam
.NET 7 RC 1
WFDEV002
System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject is no longer used to provide accessible support for System.Windows.Forms.DomainUpDown controls.
Previous behavior
System.Windows.Forms.DomainUpDown.CreateAccessibilityInstance() would return an object of System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject type.
New behavior
System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject is now obsolete, and the compiler will emit WFDEV002 warning.
System.Windows.Forms.DomainUpDown.CreateAccessibilityInstance() now returns an object of System.Windows.Forms.UpDownBase.UpDownBaseAccessibleObject type.
Type of breaking change

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[X] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change
The original type could not facilitate the behaviours required to meed the accessibility standards, and could lead to memory leaks.
Recommended action
Update the code to not use System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject, and use the accessibility object obtained via
System.Windows.Forms.UpDownBase.CreateAccessibilityInstance() or one of the overrides.
In consuming projects you can skip this obsoletion by adding the property <NoWarn>$(NoWarn),WFDEV002</NoWarn> to a property group in your project file (or adding the warning via the project properties pages).
Affected APIs
DomainUpDown.DomainUpDownAccessibleObject Class
WFDEV003
System.Windows.Forms.DomainUpDown.DomainItemAccessibleObject is no longer used to provide accessible support for System.Windows.Forms.DomainUpDown controls.
Previous behavior
TBD
New behavior
TBD
Type of breaking change

[ ] Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
[X] Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change
The original type could not facilitate the behaviours required to meed the accessibility standards, and could lead to memory leaks.
Recommended action
TBD
In consuming projects you can skip this obsoletion by adding the property <NoWarn>$(NoWarn),WFDEV003</NoWarn> to a property group in your project file (or adding the warning via the project properties pages).
Affected APIs
DomainUpDown.DomainItemAccessibleObjectClass
Feature area
Windows Forms

WFDEV001 - you missed Message.Result in the description. The rest looks good 👍
WFDEV002:

New behavior:

System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject is now obsolete, and the compiler will emit WFDEV002 warning.

System.Windows.Forms.DomainUpDown.CreateAccessibilityInstance() still returns an instance of System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject type while it raises a warning only for seamless reworking of applications using this to using new behavior. But now DomainUpDownAccessibleObject redirects all methods and properties to System.Windows.Forms.UpDownBase.UpDownBaseAccessibleObject type implementation.
@Tanya-Solyanik, please change it if we decide to remove System.Windows.Forms.DomainUpDown.CreateAccessibilityInstance().

WFDEV003:

Previous behavior: DomainItemAccessibleObject was used as a part of DomainUpDown accessibility tree inside "Items" list:

New behavior: DomainItemListAccessibleObject is not used for building DomainUpDown accessibility tree anymore. See https://github.com/dotnet/winforms/issues/4207#issuecomment-941950437. So DomainItemAccessibleObject is not necessary anymore as well.
Recommended action: Update the code to not use System.Windows.Forms.DomainUpDown.DomainItemAccessibleObject, it can't be included in DomainUpDown accessibility tree anymore.

@vladimir-krestov - what type is DomainItemAccessibleObject replaced with?

@vladimir-krestov - what type is DomainItemAccessibleObject replaced with?

Nothing, we don't use it at all and internal DomainItemListAccessibleObject. See decision in https://github.com/dotnet/winforms/issues/4207#issuecomment-941950437

@adegeo @RussKie I think it makes sense to add the WFDEVXXX warning reference to the .NET Desktop Guide docs (https://docs.microsoft.com/en-us/dotnet/desktop/winforms/?view=netdesktop-6.0&preserve-view=true). What do you think? I will also document these as a breaking change in the usual place (https://docs.microsoft.com/en-us/dotnet/core/compatibility/7.0).

Sounds great!


Include the imgresize, mark, emoji and pop-up preview to the default toolbar

A great idea
Currently these features are not part of the default toolbar. It would be nice if we can add them by default. If not required, some one should be able to disable them by toolbarsExclude entry.

toolbarsExclude does work, but inner components do not support on-demand referencing.
If someone does not need component ExportPDF. It will still appear in his project.
md-editor-extension is the better solution currently.

@imzbf Thanks for the update. I am not talking about the complete components. Just add those 3-4 components as we discussed in https://github.com/imzbf/md-editor-rt/issues/91#issuecomment-1763308266
ExportPDF is a heavy duty plugin. So may be we can keep that separate.
For me primary issue is, I am not getting the icons as you have mentioned to use.

@imzbf Thanks for the update. I am not talking about the complete components. Just add those 3-4 components as we discussed in #91 (comment)
ExportPDF is a heavy duty plugin. So may be we can keep that separate.
For me primary issue is, I am not getting the icons as you have mentioned to use. If required, I can use those from the MUI Icon.

About icons, I am trying to add default icon. There are still unresolved issues at present😅.

For now I have added the MUI icon and they are working fine:

But emoji are not showing in tabular mode. Its showing via sequential numbers though working well.
            defToolbars={[
              <OriginalImg
                key="OriginalImg"
                trigger={<AspectRatioIcon fontSize="24px" />}
                title="imgresize"
              />,
              <Mark
                key="Mark"
                trigger={<BookmarkBorderOutlinedIcon fontSize="24px" />}
                title="mark"
              />,
              <Emoji
                key="Emoji"
                trigger={<EmojiEmotionsOutlinedIcon fontSize="24px" />}
                title="emoji"
              />,
            ]}
          />

For now I have added the MUI icon and they are working fine:

But emoji are not showing in tabular mode. Its showing via sequential numbers though working well.
            defToolbars={[
              <OriginalImg
                key="OriginalImg"
                trigger={<AspectRatioIcon fontSize="24px" />}
                title="imgresize"
              />,
              <Mark
                key="Mark"
                trigger={<BookmarkBorderOutlinedIcon fontSize="24px" />}
                title="mark"
              />,
              <Emoji
                key="Emoji"
                trigger={<EmojiEmotionsOutlinedIcon fontSize="24px" />}
                title="emoji"
              />,
            ]}
          />

They are not showing?

For now I have added the MUI icon and they are working fine:

But emoji are not showing in tabular mode. Its showing via sequential numbers though working well.
            defToolbars={[
              <OriginalImg
                key="OriginalImg"
                trigger={<AspectRatioIcon fontSize="24px" />}
                title="imgresize"
              />,
              <Mark
                key="Mark"
                trigger={<BookmarkBorderOutlinedIcon fontSize="24px" />}
                title="mark"
              />,
              <Emoji
                key="Emoji"
                trigger={<EmojiEmotionsOutlinedIcon fontSize="24px" />}
                title="emoji"
              />,
            ]}
          />

They are not showing?

No. They are showing like a list:

[...]

This is just to show you. But yes, they are coming like a list instead of a tabular format.

No. They are showing like a list:

[...]

This is just to show you. But yes, they are coming like a list instead of a tabular format.

Maybe you did not import css
import<EMAIL_ADDRESS>

Each component in @vavt/rt-extension has default icon set for trigger. Try install the latest version.

#91 (comment)

Thanks @imzbf . After importing the .css file, it worked well.

@vavt/rt-extension

Tested with the new version and its working well. Thanks a lot for the fix.


DBZ-5045 Use correct buffer type value after deprecated infinispan …

…was removed

That's a nice catch @vjuranek, sorry I missed that when we added the new remote flavor.

No problem @Naros , but we may think about adjusting CI workflows to spot this issue before the merge (I noticed that the tests in main fail after the merge by chance). We run different workflows for PRs and different after merge, so CI under the PR was green while it actually caused the failure.

@vjuranek Unfortunately we can't as the image is not public, we need to use secrets and secrets are not allowed on PRs

Thanks for explanation @jpechane , I thought that there would be probably the reason why they are different but this doesn't come to my mind.


Add developer tools for Kubernetes

[ ] Garden
[ ] Draft
[ ] Skaffold
[ ] Tilt
[ ] ctlptl
[ ] https://github.com/loft-sh/devspace
[ ] https://github.com/werf/werf
[ ] https://github.com/metalbear-co/mirrord
[ ] https://github.com/telepresenceio/telepresence

Migrated to https://github.com/uniget-org/tools/issues/57


fix(rich-text-editor): NO-JIRA fix error when allowBulletList false

fix(rich-text-editor): fix error when allowBulletList false

Obligatory GIF (super important!)

:hammer_and_wrench: Type Of Change

These types will increment the version number on release:

[x] Fix

:book: Description
Don't trigger splitListItem() on enter when allowBulletList is false
:bulb: Context
If allowBulletList was false it would not include the list item extension and therefore error out on the splitListItem command. This will prevent calling this function if allowBulletList is false.
:pencil: Checklist

For all PRs:

[x] I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
[x] I have reviewed my changes.
[x] I have added all relevant documentation.
[x] I have considered the performance impact of my change.

For all Vue changes:

[x] I have made my changes in Vue 2 and Vue 3. Note: you may sync your changes from Vue 2 to Vue 3 (or vice versa) using the ./scripts/dialtone-vue-sync.sh script. Read docs here: Dialtone Vue Sync Script

:crystal_ball: Next Steps
Update product and CP to beta

Just update on Vue 3 before merging, thanks!

thanks almost forgot this.


feat: sync delete mode

为了避免部分 npm 包误封、误删，导致生产环境影响，新增 syncDeleteMode 配置，允许自定义同步策略

新增 syncDeleteMode : 'ignore' | 'block' | 'delete'

delete: 目前默认值，同步删包事件
ignore: 忽略 upstream 所有删包事件
block: 不做物理删除，只新增 block 记录，不允许访问，除非管理员手动恢复并更新 syncPackageBlockList

npm-security-holder 场景也判断为删包事件
更新原有删包流程，统一处理，调整部分日志输出

New syncDeleteMode to allow custom syncing policy to avoid some npm packages being blocked or deleted by mistake.

Add syncDeleteMode : 'ignore' | 'block' | 'delete'

delete: by default, sync delete events
ignore: ignore all upstream delete events
block: only add block records, cant access unless the administrator manually restores and update syncPackageBlockList.

npm-security-holder event is also determined to be a delete event
Update the original packet deletion process, update log output by the way

Translated with www.DeepL.com/Translator (free version)

@elrrrrrrr CI 挂了。


Don't use CancellationTokenSource for disposal

This change should address issues in ProjectWorkspaceStateGenerator where update cancellation was tied to the base IDisposable implementation in a complex way. This could cause exceptions to be thrown unnecessarily if the generator is disposed while an update is in flight. Now we just track a boolean field as we did in the past.
Validation PR to determine impact: https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/549802

OK. I think this is decent. There's a new image load for Microsoft.CodeAnalysis.Razor.Workspaces, but it looks to me like that's related to co-hosting. I've posted in Teams to see if we can find a solution to that.


Convert script from old tensorflow model to onnx

Description
Please include a summary of the change and which is fixed.

Add script for model convertion
Add integrity model check
Remove git workflow check because squash merge is used

How has this been tested?
Please describe the tests that you ran to verify your changes.

[x] UnitTest
[x] Benchmark

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d7dc000) 90.40% compared to head (6c5f0c0) 90.41%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #482   +/-   ##
=======================================
  Coverage   90.40%   90.41%
=======================================
  Files         127      127
  Lines        4327     4328    +1
  Branches      692      693    +1
=======================================
+ Hits         3912     3913    +1
  Misses        274      274
  Partials      141      141

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


noop UTILITY

I find myself using () => {} for a noop function. This should be abstracted away to reduce thinking time, especially for new developers.

_.noop() : http://underscorejs.org/#noop

Even the name is the same as you're thinking :)

Sure will definitely use that.


[IOTS-186] WSO2 Sense Agent drains the battery

I have experimented with the WSO2 sense agent and I noticed that the phone battery is getting drained drastically after I install it. I haven't executed the application and I don't know whether you have any startup routine/background process in place. When comes to the battery usage information it has took 58% of power which is a very high power usage.Reference: https://wso2.org/jira/browse/IOTS-186

Since this is a reference implementation and it requires all the sensors to publish data, we are not able to make changes for the battery draining issue. Hence resolving


P3 preview

Connects to https://github.com/vaadin/components-team-tasks/issues/368

This change is

bower.json, line 14 at r7 (raw file):

    "web-component-tester": "^6.4.1",
    "webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0",
    "vaadin-development-mode-detector": "vaadin/vaadin-development-mode-detector#p3-preview"

No p3-preview versions

Comments from Reviewable

Review status: 0 of 9 files reviewed, 1 unresolved discussion (waiting on @tomivirkki)

bower.json, line 14 at r7 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
No p3-preview versions

Done.

Comments from Reviewable

Reviewed 1 of 5 files at r1, 3 of 6 files at r2, 1 of 3 files at r3, 2 of 3 files at r5, 1 of 2 files at r7, 1 of 1 files at r8.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


Added automatic embed of awesome-ipfs file

See https://github.com/ipfs/awesome-ipfs/issues/6.

Fixed conflict.

Wouldn't a link to the github repo be better and be always up to date?

Yes; but not everyone is familiar with awesome-lists, wants to be redirected to GitHub, and this provides a bit of nice trappings around the list by having it be part of the website. It's a style/fashion tradeoff with low cost and some nice, subtle gains, I think.

LGTM

Cool. Waiting for @jbenet's response on this.

Closing in favor of https://github.com/ipfs/website/commit/057ff3556d0c5b631ab5a0b60f4acf3afd9376da


Replace whitespaces with tabs in split-chunks-plugin.md

This fixes incorrect indentation in code example in https://webpack.js.org/plugins/split-chunks-plugin/.

I recommend using whitespaces instead of tabs for code example, because tab's indentation is invisible and fragile.
And if possible, I think better to use tool like Prettier and format markdown file automatically.
In this PR, avoiding large diffs, I fixes only corresponding place.

I guess linter scripts have to be revised since it's not the first time formatting is broken in the examples.

Duplicate of #2144

Duplicate of #2144

Oh, sorry. I will close this. 🙏


feat: adds logo, icons for flwrs & repo

Oh.. duplicate commits..
@AbhayVAshokan accept the first one.. then I'll make another PR.


When restoring the token on oauth, the token is not saved to state and is lost.

An easy fix is on this pull request.

Issue resolved by commit 9faf504


Can we get async method implementations?

Pretty self-explanatory.
Doable?

This library is targeted at .net 3.5 I think so async implementations are not going to be implemented in this version. Also, we should focus first on implementing the full Mailchimp API.
However, we can start thinking about a 2.0 version of this library where we upgrade the .NET requirement to 4.5 and implement a whole list of wishes users have made in the past.
@danesparza Could you enable the Wiki on this repo and create a 2.0 wishlist page?

@SteveVaneeckhout Great idea!  Doing that now.  Feel free to add to it once I create it.

I have turned on the wiki and added a page for a vNext wishlist (because hey -- we might as well use the Microsoft versioning convention, right?)


Can deeprec processor be used in triton inference server?

We use triton inference server for online inference, Can deeprec processor be used in triton inference server?

Not support yet.
which feature do you want to use?
TensorFlow/DeepRec saved_model can deploy in TritonServer deploy TensorFlow.
If you wanna DeepRec feature, it supports.
If you wanna SessionGroup, you can use TFServing or build RPC Server yourself.

We use triton for all model serving task(recommendation / nlp / cv), We want a
triton deeprec backend with all the deeprec processor features for deeprec model serving: https://deeprec.readthedocs.io/en/latest/Processor.html @candyzone


Upgrading to last version of resume;

There is the corrected and checked version of the resume.

Favicon still does not work, be more attentive


Gold elements tests

2 or 3 test are failing (related to display:none). Those tests are outdated in original repo.

Awesome thanks! Just a few small comments, then I can go ahead and merge.

done!

Great, thanks again!


Fix redirect upon changing theme from page other than home

For some reason, if I choose "Change theme" on a page other than home (e.g. Buy page), it simply redirects me to home rather than showing me the theme options:
https://user-images.githubusercontent.com/28991/214576834-d61aad66-b0c3-48dd-a05c-81f7982dee55.mov

@markmhx seems is fixed already


Required Field must have Asterisk Sign

Description
Required Input Field's Placeholder must have asterisk sign in red colour
Screenshots
No response
Additional information
No response

Hello @apoorvaron ,
I can fix this issue and will create a pull request soon. Can you please assign this work to me under GSSoC.

@priyanka0815 Assigned

Thank you @apoorvaron, try to fix it soon


The explanation about Capacity Priority is misleading

From this page in our documentation, a customer may interpret that Reserved Instances with Capacity Priority does guarantee that the capacity will be available but, from experience, it seems to be not true.
On other threads on GitHub, there are answers form Microsoft's employees that are contradictory:
Capacity is guaranteed --> "By choosing to go with Capacity Priority over Size Flexibly we will ensure there is enough of that specific series in the region you reserved for you to deploy that VM in that size."
https://github.com/MicrosoftDocs/azure-docs/issues/20938#:~:text=By choosing to go with Capacity Priority,to deploy that VM in that size
Capacity is not guaranteed --> "
While Azure Reserved VM Instances offer prioritized capacity, they don't guarantee that capacity will be available for your VMs. The prioritized capacity will be for a VM SKU in the region, but it doesn't prioritize capacity for a specific availability set or VM Scale Set.
https://github.com/MicrosoftDocs/azure-docs/issues/13050#:~:text=While Azure Reserved VM Instances offer prioritized capacity%2C,a specific availability set or VM Scale Set.
This issue is misleading some customers. Could we make a clear position on this matter in the documentation?
Thanks,
Fausto

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

ID: a20f52cb-4eb1-6faa-9c02-bcaf4e5974b1
Version Independent ID: d1a9bcf3-7d25-3373-5306-bba1ce351430
Content: Virtual machine size flexibility -Azure Reserved VM Instances - Azure Virtual Machines
Content Source: articles/virtual-machines/reserved-vm-instance-size-flexibility.md
Service: virtual-machines
Sub-service: reserved-instances
GitHub Login: @yashesvi
Microsoft Alias: yashar

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Implemented new function DrawSplineSegmentBezierCubic to fix example

Hello, while testing your examples, I realized on example: "animation_curve" that you were using the function DrawLineBezierCubic which was deprecated on raylib5.0
As you explained, the ideal function to use would be DrawSplineSegmentBezierCubic
I've implemented this function and tested the program to make sure everything is working normally
Tested with : Linux Fedora 37 x86_64 GNU/Linux
I hope you find this useful and let me know if there is something else I should consider for this Pull Request.
Solves #348

@pulgamecanica thanks for the review!


add terminal support

There seems to be no terminal support, a possible solution is as follows
-- neovim terminal mode colors
local function set_terminal_colors(colors)
  vim.g.terminal_color_0 = colors.background_dark
  vim.g.terminal_color_8 = colors.foreground
  vim.g.terminal_color_1 = colors.error_red
  vim.g.terminal_color_9 = colors.red
  vim.g.terminal_color_2 = colors.forest_green
  vim.g.terminal_color_10 = colors.soft_green
  vim.g.terminal_color_3 = colors.soft_yellow
  vim.g.terminal_color_11 = colors.bright_yellow
  vim.g.terminal_color_4 = colors.dark_gray
  vim.g.terminal_color_12 = colors.light_blue
  vim.g.terminal_color_5 = colors.magenta
  vim.g.terminal_color_13 = colors.pink
  vim.g.terminal_color_6 = colors.forest_green
  vim.g.terminal_color_14 = colors.blue_gray
  vim.g.terminal_color_7 = colors.milk
  vim.g.terminal_color_15 = colors.gray
end

In my config file (lazy) I had to temporarily handle it like this
-- Bring up coloring from the `gruvbox` theme, which is more complete for the terminal
local terminal_colors = {
    "#282828", "#cc241d", "#98971a", "#d79921", "#458588", "#b16286", "#689d6a", "#ebdbb2",
    "#928374", "#fb4934", "#b8bb26", "#fabd2f", "#83a598", "#d3869b", "#8ec07c", "#a89984",
}
for k, v in ipairs(terminal_colors) do
    vim.g['terminal_color_' .. (k - 1)] = v
end

Maybe there is another way but I don't know about it?

closed by https://github.com/luisiacc/gruvbox-baby/pull/69


No new release for most recent changes

There hasn't been a new release for the most recent changes on pypi

0.9.1 and 0.10.0 have been released since this issue.


Fix crit opengl error

Engine: 1282: ERROR of HIGH severity, raised from API: GL_INVALID_OPERATION error generated.  has not been linked, or is not a program object.

fixed


Swipe between images in lightbox

In the lightbox, it'd be good to offer the ability to move through a sequence of images, by swiping and/or by tapping buttons. This would include all the images in the current message, and also those in previous and following messages that were shown in the current message list.
Zulip web has this feature, and it's especially convenient for comparing related images. It's also convenient just any time there were several images and you want to view all of them — it makes less friction for getting around.
This feature won't be ready for implementation until we have a design for it.

From beta feedback:
@_Gerald Martin|27762 said:

Also, not sure if this is the right place to ask - but is there a plan for the new mobile app to support flicking between pics in a post with multiple images as opposed to opening and closing each one?  This would seem a great quality of life improvement.


OAuth2 getToken invalid_request

I'm quite new to both NodeJS and the new GoogleApis since I've been always using keys mostly.
I've had quite a stumble with this since it uses different oauth2 urls, be it /oauth2/v2/auth instead of /oauth2/auth and /oauth2/v4/token instead of /oauth2/token, I'm guessing because of the ability not to use secrets for installed apps in those versions.
Any way of changing the versions without editing the privates in oauth2client.js?
I've seen usage like require('googleapis').youtube('v3') but I've tried different things and can't seem to get it to work without changing the consts.

These urls are changed in #215, which will be in the upcoming 1.0 release of the library.


[REVIEW] v1.4.0 Code Review

A LOT of changes have come in 1.4.0 with models, serializers, filters, etc.
Opening this PR as draft to provide a way to do collaborative code review of next without having to have huge CI churn that exists with merging into next and develop.
This is NOT meant to be the final PR, any changes we incorporate here we can merge into next on a semi-regular basis.
CI is disabled to eliminate churn on every new merge to next.
Please leave comments as you see fit. If you would like to make a change to get folded into next, either open a separate PR into next or to this branch.

TODO

[x] Sensitive job variables on re-run

noticed some of the html tags don't have appropriate attribute values. such as alt text, label, ..etc. I would love to see if we use web accessibility checker such as Arc tool or scanner that can be incorporated with the ci/cd pipeline and give report on web accessibility compliant.

Feedback accounted for or migrated to new issues.


Empty password fix and syslog output

Fix empty password handling (=> deny them) and add pam_unix.so-like syslog output.

Updated the PR to avoid syslog-ging the password

Thanks!


[FEATURE] SAS-2 Development Environment

Description
Developers need a Miniconda Environment for SAS-2
Problem Statement
The complex development environment is difficult to properly duplicate.
Requirements

Support test harness environment
Support Common-Data Environment
Support python library development

Files
A list of files or test code related to this issue.
Tasks
Include specific tasks in the order they need to be done in.

[x] Develop Bash script to instantiate SAS-2 Conda environment
[ ] Develop a Bash script to configure the SAS-2 Conda Environment

The sas-2 development environment in Microconda3 has been created in the glennb-conda branch.
The branch is ready for testing and (hopefully) merging.


Add monitoring tool like uptime-kuma

https://github.com/louislam/uptime-kuma
https://hub.docker.com/r/louislam/uptime-kuma

Abandoned


Rendered snmp-server host command needs to include community

Issue Type

[X] Bug Report

Summary
In eos_cli_config_gen snmp-settings.j2 does not properly render the snmp-server host command.  The community string needs to be included in the command when the version is 1 or 2c.
Component Name
eos_cli_config_gen/templates/eos/snmp-settings.j2
Steps to reproduce
In SNMP Settings, under hosts, there is no facility to add communities, but these are a necessary component to the snmp-server host command if the snmp version is 1 or 2c:
DC2-SP01(s1)(config)#snmp-server host <IP_ADDRESS> vrf MGMT version 2c ?
WORD  Community or user name
DC2-SP01(s1)(config)#snmp-server host <IP_ADDRESS> vrf MGMT version 2c
% Incomplete command
DC2-SP01(s1)(config)#snmp-server host <IP_ADDRESS> vrf MGMT version 1 ?
WORD  Community or user name
hosts:
- host: < host IP address or name >
vrf: < vrf_name >
users:
- username: < username >
authentication_level: < auth | noauth | priv >
version: < 1 | 2c | 3 >
- host: < host IP address or name >
vrf: < vrf_name >
users:
- username: < username >
authentication_level: < auth | noauth | priv >
version: < 1 | 2c | 3 >
Need to have communities referenced as well, so something like this:
hosts:
- host: < host IP address or name >
vrf: < vrf_name >
users:
- username: < username >
authentication_level: < auth | noauth | priv >
version: < 3 >
communities:
- community:
version < 1 | 2c  >
- host: < host IP address or name >
vrf: < vrf_name >
users:
- username: < username >
authentication_level: < auth | noauth | priv >
version: < 3 >
communities:
- community:
version < 1 | 2c  >
And snmp_settings.j2 to something like:
{%         for host in snmp_server.hosts %}
{%             if host.users is arista.avd.defined %}
{%                 for user in host.users %}
{%                     if host.host is arista.avd.defined %}
{%                         set host_cli = "snmp-server host " ~ host.host %}
{%                     endif %}
{%                     if host.vrf is arista.avd.defined %}
{%                         set host_cli = host_cli ~ " vrf " ~ host.vrf %}
{%                     endif %}
{%                     if user.version is arista.avd.defined %}
{%                         set host_cli = host_cli ~ " version " ~ user.version %}
{%                         if user.version == 3 %}
{%                             set host_cli = host_cli ~ " " ~ user.authentication_level ~ " " ~ user.username %}
{%                         endif %}
{%                     endif %}
{%                 for community in host.communities %}
{%                     if host.host is arista.avd.defined %}
{%                         set host_cli = "snmp-server host " ~ host.host %}
{%                     endif %}
{%                     if host.vrf is arista.avd.defined %}
{%                         set host_cli = host_cli ~ " vrf " ~ host.vrf %}
{%                     endif %}
{%                     if community.version is arista.avd.defined %}
{%                         set host_cli = host_cli ~ " version " ~ user.version %}
{%                         if user.version == 1 or 2c %}
{%                             set host_cli = host_cli ~ " " ~ community.community  %}
{%                         endif %}
{%                     endif %}
{{ host_cli }}

Correct, the current data model and template does not support v1 and v2c for hosts. The current version key is placed under users which is not applicable for v1 and v2c. I think we should move the version field to the host-level so implement something like this:
snmp_server:
  hosts:
    - host: < host IP address or name >
      version: < 1 | 2c | 3 >
      vrf: < vrf_name >
      users:
        - username: < username >
          authentication_level: < auth | noauth | priv >
      communities:
        - < community >

If someone would like to have the same host with multiple versions, they can just make multiple entries in the hosts list.
So I suggest that we rename this issue to a feature request to support snmp v1 & v2c for snmp_server.hosts.

@ClausHolbechArista So the suggestion is going to be put in a feature branch for this or follow the dev branch and file a PR with the model and j2 templating change?  We can do either just let us know.

Thanks for the guidance thus far.  Can you assign this to me?


Sortable List

Project title
Sortable List
Project Description
Display a scrambled list that can be sorted with drag and drop
Project Specifications

Create an ordered list (Top 10 richest people)
Scramble list items randomly
Allow user to drag and drop an item to a different position
Button to check if items are in correct order
Show green for correct order and red for wrong order

Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[] Html
[] CSS
[] JavaScript

SS:

@gurjeetsinghvirdee pr is created #1290


Crash report from lorri

Describe the bug
Got a thread caused non-unwinding panic. aborting. and was asked to submit a crash report.
To Reproduce
Steps to reproduce the behavior:

lorri watch

Expected behavior
Lorri watch to complete build without fail
Metadata
name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '1.6.0'
explanation = '''
Panic occurred in file 'library/core/src/panicking.rs' at line 126
'''
cause = 'panic in a function that cannot unwind'
method = 'Panic'
backtrace = '''

   0: 0x56550b165a47 - core::panicking::panic_nounwind::h6472c08d4f546031
   1: 0x56550b165ae3 - core::panicking::panic_cannot_unwind::h75a2a12f84e4c675
   2: 0x56550b1c4930 - lorri::run_async::Async<Res>::block::h7745a80ae84dd981
   3: 0x56550b1e3b80 - lorri::ops::watch::hc9b8d16578b0448c
   4: 0x56550b167dac - lorri::main::h166a684183b706f6
   5: 0x56550b16ed03 - std::sys_common::backtrace::__rust_begin_short_backtrace::h192a5b559516115b
   6: 0x56550b16d159 - std::rt::lang_start::{{closure}}::h53ed71a0308f27a7
   7: 0x56550b38c957 - std::rt::lang_start_internal::h691452d5fd9810c0
   8: 0x56550b169165 - main
   9: 0x7f87b3fb2fce - __libc_start_call_main
  10: 0x7f87b3fb3089 - __libc_start_main_impl
  11: 0x56550b165de5 - _start
  12:        0x0 - <unresolved>'''

$ lorri info
[I] deck@steamdeck ~/b/g/utreexo> lorri info
error: The following required arguments were not provided:
    --shell-file <nix_file>

USAGE:
    lorri info --shell-file <nix_file>

For more information try --help

[I] deck@steamdeck ~/b/g/utreexo> lorri info --shell-file shell.nix
GC roots exist, shell_gc_root: /home/deck/.cache/lorri/gc_roots/7b31e7bce9165b04d3806fff9dbcc1d6/gc_root/shell_gc_root
[N] deck@steamdeck ~/b/g/utreexo> lorri info --shell-file ./shell.nix
GC roots do not exist. Has the project been built with lorri yet?

$ uname -a
Linux steamdeck 6.1.52-valve9-1-neptune-61 #1 SMP PREEMPT_DYNAMIC Wed, 22 Nov 2023 23:43:34 +0000 x86_64 GNU/Linux

Additional context
Not sure if it helps but I was trying to build this shell.nix file:
let
  pkgs = import <nixpkgs> {};
  PROJECT_ROOT = builtins.getEnv "PWD";
in
with pkgs;

stdenv.mkDerivation rec {
  name = "utreexo";
  env = buildEnv { name = name; paths = buildInputs; };
  nativeBuildInputs = [
    pkg-config
    autoreconfHook
    glibc
    binutils
  ];
  buildInputs = [
    #go
    go
    gopls
    graphviz # needed for pprof
    #golangci-lint

    # cpp bitcoin deps
    openssl
    db48
    boost
    zlib
    zeromq
    miniupnpc
    libevent
    utillinux
    python38Packages.pyzmq
    ccache

    ctags

    gmp.dev
    gmp.out
    ncurses.dev
    ncurses.out

    valgrind
  ];
  shellHook = ''
    export GOPATH=${PROJECT_ROOT}/go
    export PATH=${PROJECT_ROOT}/go/bin:$PATH
    export GOENV=${PROJECT_ROOT}/go/env

    export NIX_SHELL_ENV=${name}
    export USE_BOOST_LIBDIR="${boost.out}/lib"
    export LD_LIBRARY_PATH=${PROJECT_ROOT}/lib
  '';
}

EDIT: Might be a steam-deck specific permissions issue. Used sudo and it works?
[I] deck@steamdeck ~/b/g/utreexo [SIGABRT]> sudo lorri watch
Dec 02 03:26:15.252 INFO build message, message: BuildEvent(Started { nix_file: NixFile(AbsPathBuf("/home/deck/bitcoin-projects/go/utreexo/shell.nix")), reason: PingReceived }), nix_file: /home/deck/bitcoin-projects/go/utreexo/shell.nix
Dec 02 03:26:17.481 INFO build message, message: BuildEvent(Completed { nix_file: NixFile(AbsPathBuf("/home/deck/bitcoin-projects/go/utreexo/shell.nix")), rooted_output_paths: OutputPath { shell_gc_root: RootPath(AbsPathBuf("/root/.cache/lorri/gc_roots/7b31e7bce9165b04d3806fff9dbcc1d6/gc_root/shell_gc_root")) } }), nix_file: /home/deck/bitcoin-projects/go/utreexo/shell.nix
^C⏎                                                                                [I] deck@steamdeck ~/b/g/utreexo [SIGINT]>

Though the steamos-readonly option is already disabled.
[I] deck@steamdeck ~/b/g/utreexo [1]> sudo steamos-readonly disable
Warning: The rootfs is already read-write!
         Nothing is performed.

I've run across a couple of issues with read-only filesystems and Lorri - I've always gotten useful panics out of them. I'm not super familiar with the Steam deck though so it's hard to speculate as to the cause

Is it possible this is related to https://github.com/nix-community/lorri/issues/119#issuecomment-2195297067 ?

This bug is fixed in 1.7.0, which is in nixpkgs as of NixOS 24.05. Thank you for your patience!


Update stable version in repo from 1.3.0 to 1.3.1

Think about update stable version to 1.3.1
Version: stable=1.3.0 (40 days old) => latest=1.3.1 (30 days old)
Installs: stable=186 (35.23%), latest=72 (13.64%), total=528
Click to edit

Sorry I forgot it...


Result for DML queries

[ ] Result for insert statement (inserted lines)
[ ] Result for update statement (updated lines)
[ ] Result for delete statement (deleted lines)

Using diffs instead of converting


Dont validate deploy possibility

We are setting desired state so it's not good idea to block deploy command before hand.

@nevalla ping

:+1:


bandcamp-dl fails for a track without a timestamp.

Python version:
Python 3.7
Bandcamp-dl version:
0.0.8-12 (From homebrew on Mac OS X)
Bancamp-dl options:
-r
url:
https://thefurrowcollective.bandcamp.com/track/hind-horn
Describe the issue:
This track has no timestamp/release date. On Bandcamp, certain tracks/albums/singles don't have one. I'm not sure why - this is the only one I've found so far. Nonetheless it's obviously possible, so the program needs to account for this (unfortunately my python-fu is weak).
The program fails as follows:
Traceback (most recent call last):
  File "/usr/local/bin/bandcamp-dl", line 11, in <module>
    load_entry_point('bandcamp-downloader==0.0.8.post12', 'console_scripts', 'bandcamp-dl')()
  File "/usr/local/Cellar/bandcamp-dl/0.0.8-12_1/libexec/lib/python3.7/site-packages/bandcamp_dl/__main__.py", line 93, in main
    album = bandcamp.parse(url, True, arguments['--embed-lyrics'], arguments['--debug'])
  File "/usr/local/Cellar/bandcamp-dl/0.0.8-12_1/libexec/lib/python3.7/site-packages/bandcamp_dl/bandcamp.py", line 70, in parse
    "date": str(dt.strptime(album_release, "%d %b %Y %H:%M:%S GMT").year)
TypeError: strptime() argument 1 must be str, not None

I got the same setup. Here's the output when only using the --debug parameter:
DEBUG:root:
	URL: http://thefurrowcollective.bandcamp.com/track/hind-horn
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): thefurrowcollective.bandcamp.com
DEBUG:urllib3.connectionpool:http://thefurrowcollective.bandcamp.com:80 "GET /track/hind-horn HTTP/1.1" 301 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): thefurrowcollective.bandcamp.com
DEBUG:urllib3.connectionpool:https://thefurrowcollective.bandcamp.com:443 "GET /track/hind-horn HTTP/1.1" 200 None
DEBUG:root: Generating BandcampJSON..
DEBUG:root: Grabbing target data..
DEBUG:root: Converting JS to JSON..
DEBUG:root: Grabbing embedded script..
DEBUG:root: Grabbing target data..
DEBUG:root: Converting JS to JSON..
DEBUG:root: Grabbing embedded script..
DEBUG:root: BandcampJSON generated..
DEBUG:root: Generating Album..
Traceback (most recent call last):
  File "/usr/local/bin/bandcamp-dl", line 11, in <module>
    load_entry_point('bandcamp-downloader==0.0.8.post12', 'console_scripts', 'bandcamp-dl')()
  File "/usr/local/Cellar/bandcamp-dl/0.0.8-12_3/libexec/lib/python3.8/site-packages/bandcamp_dl/__main__.py", line 93, in main
    album = bandcamp.parse(url, True, arguments['--embed-lyrics'], arguments['--debug'])
  File "/usr/local/Cellar/bandcamp-dl/0.0.8-12_3/libexec/lib/python3.8/site-packages/bandcamp_dl/bandcamp.py", line 70, in parse
    "date": str(dt.strptime(album_release, "%d %b %Y %H:%M:%S GMT").year)
TypeError: strptime() argument 1 must be str, not None

Thanks for reporting.
Note to self: Add redundancy to album/track data

Fixed in dev branch.

Fixed in dev branch.


Fix flaky test TestZset ZRANGEBYSCORE_fuzzy_test

The old code used fmt.Sprintf("%f") to handle float,
it will have a loss of precision.
A simple go example:
func main(){
        min1, max1 := rand.Float64(), rand.Float64()
        fmt.Println(min1) // 0.6046602879796196
        fmt.Println(max1) // 0.9405090880450124

        min2, max2 := fmt.Sprintf("%v", min1), fmt.Sprintf("%v", max1)
        fmt.Println(min2) // 0.6046602879796196
        fmt.Println(max2) // 0.9405090880450124

        min3, max3 := fmt.Sprintf("%f", min1), fmt.Sprintf("%f", max1)
        fmt.Println(min3) // 0.604660
        fmt.Println(max3) // 0.940509
}

As we can see in the example, the min / max is inaccurate
after the %f handle. So in our test, it is ok get the unexpected
result in range.
i.e. min, max are actually accurate, but the arguments we
use for zrange is actually inaccurate.
Fix #1552

I ran it locally and it passed, hope that we can run it a few more times in github CI to verify it

Let's give it a try. It's semantically no regressions.

... and thanks for your contribution!