text:
Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/DeadBoolean/ioBroker.zoneminder

[ ] [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: ZoneMinder adapter
[ ] [E112] extIcon must be the same as an icon but with github path
[ ] [E114] No adapter are allowed in the repo without admin3 support
[ ] [E116] No SPDX license found. Please use one of listed here: https://spdx.org/licenses/
[ ] [E117] Licenses in package.json and in io-package.json are different
[ ] [E125] External icon not found under URL: https://raw.githubusercontent.com/ioBroker/ioBroker.template/master/admin/template.png
[ ] [E300] Not found on travis. Please setup travis
[ ] [E402] Types of adapter in latest repository and in io-package.json are different "alarm" !== "general"
[ ] [E405] Icon must be in the following path: https://raw.githubusercontent.com/DeadBoolean/ioBroker.zoneminder/master/
[ ] [E407] Meta URL(latest) must be equal to https://raw.githubusercontent.com/DeadBoolean/ioBroker.zoneminder/master/io-package.json
[ ] [E802] No topics found in the repository. Please go to "https://github.com/DeadBoolean/ioBroker.zoneminder" and press "Manage topics"
[ ] [E603] NO "## Changelog" found in README.md
[ ] [E604] No "## License" found in README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2020 DeadBoolean deadboolean@wedler-online.de" at the start of LICENSE

I have also found warnings that may be fixed if possible.

[ ] [W113] Adapter should support compact mode

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?


text:
Crash when mobcap is set to be shown while inside a custom dimension.

First of all, I am assuming this crash occurs on any custom dimension, as I have only tested it for Aroma1997's Dimensional World.
crash-2020-12-12_20.48.17-server.txt
ForgedCarpet version was built up to commit cf7be7e.

I think the fix is just to check for the dimension, and then incase it's not one of three vanilla dimensions, just to say whooops, invalid dimension.

I think the fix is just to check for the dimension, and then incase it's not one of three vanilla dimensions, just to say whooops, invalid dimension.

This would be more of a hackfix ig, the changes i made should allow users to view mobcaps in custom dimensions too

source: gharchive/issue

authors: DeadlyMC Ghoulboy78 Khaelum

repo: DeadlyMC/ForgedCarpet

license: MIT

license_type: permissive

license_source: github-api


text:
How to use pre-trained model's specific class

💡 Your Question
As in other YOLO models, where we specify model.predict(source='/content/', show=True, stream=True, classes=0), 0 indicates "Person" class. Likewise which should we modify for the YOLO-NAS to detect only a specific class. I tired modifying out = model.predict("/content/1.jpg", conf=0.25, classes=0). But, it shows TypeError: CustomizableDetector.predict() got an unexpected keyword argument 'classes'.
Versions
No response

This probably will be a good improvement. However as of now I cannot provide an estimate when (if at all) this will be supported.
If someone wants to contribute we can provide instructions how to contribute. Feel free to reach out to us.

authors: BloodAxe IyshwaryaK

repo: Deci-AI/super-gradients


text:
Pin Modflow and Metaswap dependencies in TeamCity

The newest ifortran compiler broke all our fortran kernels. We have to pin to older versions for now

@rleander fixed that for now by only allowing agents with older ifortran versions.
We should keep an eye on future developments to avoid that this breaks in the future.

repo: Deltares/Ribasim


text:
Resources are missing from repo

Hey bud, I've been tinkering with your weed script and was so blown away at how well engineered it was I was looking through your repos to see what else I could learn from.
I saw this repo and was going to try it out (I've never seen it before but reminds me of some fish table games I've seen IRL) but realized the fishing code isn't actually in the repo but the documentation has been updated a few times with more instructions. Figured it was an oversight?

Regardless, looking forward to trying it out!
And out of curiosity.. are you a computer science or mathematics major? I'm a systems engineer and the weed code is more advanced than production corporate code I've seen some 40 year veterans spit out.

qb-fishy is intentionally not released. The code exists, and runs well, but has not been published. This is not an oversight.
I'd like to hope most veterans can implement a quadtree, but a lot of corpo programmers get stuck doing the same thing for 40 years. They get absurdly good at it, and even if it's not as "sexy" as optimizing an octree, it's still very useful to society. ;-)
No, I did not major in maff.

qb-fishy is intentionally not released. The code exists, and runs well, but has not been published. This is not an oversight.
I'd like to hope most veterans can implement a quadtree, but a lot of corpo programmers get stuck doing the same thing for 40 years. They get absurdly good at it, and even if it's not as "sexy" as optimizing an octree, it's still very useful to society. ;-)
No, I did not major in maff.

Regardless, it's some fun code to read. Thanks for clarifying. Do you have any plans to release it at some point?

No, not at this time.

authors: DemmyDemon jnccloud

repo: DemmyDemon/qb-fishy


text:
Style ballot dashboard page

Parent #69
THE BALLOT

[x] Layout CSS
[x] Style to designs
[x] Get a ballot title
[ ] Get posted by
[ ] Add time stamp for posted date
[x] vote % on yes and no
[x] vote data on yes and no
[ ] get cast votes data
[ ] get number of undecided votes data

YOUR ACTION

[x] Layout CSS
[ ] Style to designs
[ ] Add tooltip
[x] vote tab and delegation tab
[ ] radio buttons for yes and no options
[x] vote button
[ ] revoke vote button
[ ]  get list of potential delegates in dropdown
[ ] You delegated x votes to [user] for this ballot
[ ] revoke delegation button
[ ] transaction status

LIQUID DEMOCRACY REPRESENTATION

[x] Layout CSS
[ ] Style to designs
[ ] add tooltip
[x] add tabs
[x] vote graph for yes
[ ] vote graph for no
[ ] vote graph for undecided

See #57 for delegate tab.

Ballot creation transaction status

Vote on ballot

Revoke delegation on ballot

New designs for this: https://www.figma.com/file/Eo76kM4frkNFRBjvtvGKCNqc/Sovereign-UI-toolkit?node-id=846%3A0

Looks amazing

@LucasIsasmendi do you know why the active tab state isn't working?

No idea, we need more front end power

@AlexJupiter @LucasIsasmendi could you guys elaborate on the issue here? Trying to debug

@medied are you are to click on the delegates tab, on the ballot dashboard, to see the list of delegates?
When I click on "delegate" this is the error I see:

@AlexJupiter was able to replicate that tab behavior and fixed it with c8b2e1a630a8d1e92d16660919487168ac42f875. Looks like it was originally set correctly with 35fba64ed8617cccab68ee366d4feaa4b6e626ee but got messed up with 3c3eb12d930941928163723b6a051c6c7bb30587.
Does this resolve the blocker for you? Seems there are some thing things that are still broken with ballot-dashboard but I'm actually not sure because I'm likely out of context. Let me know though, if there are more bugs indeed we should list them out as separate issues. Thinking we could probably benefit from a brief 15-minute video call with @LucasIsasmendi just to sort this stuff out.

@medied apologies about the delayed reply, however I think I said this in the catchup on Monday, you've resolved my blockers. So thank you!

@medied I'm also struggling with https://github.com/DemocracyEarth/dapp/issues/95 that needs to be completed for this issue to be closed. Would you be able to help me with this?

Low on bandwidth at the moment

authors: AlexJupiter LucasIsasmendi aecc medied virgile-dev

repo: DemocracyEarth/dapp


text:
Projectile event missing snowballs

The projectile event is missing snowballs. It works for arrows and fires accordingly.
Snowball Events:
    type: world
    events:
        on snow_ball hits block:
        - announce "snowball hits block!"
        on projectile hits block:
        - announce "<script.name> <context.location.material> <context.projectile>"

Is this still happening with the latest Dev build?

@ChemicalDatas Any updates?

@Fortifier42 None. You know just here chilling out, Cooking breakfast, drinking tea.
@Talamar1 It is still happening.

@Fortifier42 Do you have any updates?

Which build of Denizen are you using?

Use snowball for now, looks like someone coded the item name wrong.
@mcmonkey4eva

You mean Bukkit chose to do it different for entities than items?

yes... >.>   snow_ball is the item name, snowball is the entity.  We should add an alias to make bukkit less dumb.

@Talamar1, snowball doesn't work either. The whole event on projectile hits block is not firing when using a snowball. Shouldn't it register when any projectile hits a block or am I using the wrong event for a snowball?

I was using 0.9.7 build 367.

Either the Bukkit event doesn't include snowballs in the event and thus we can't possible either, or it corrupts the data somehow (EG, a bad location value) which Denizen responds to by refusing to fire the event.

I'll test this today see what I can find

Looking at the code, the event is firing, something is blocking it... looking into it.

projectile.location is blank so we are killing the event for having invalid data.
Can we do anything about it?  @mcmonkey4eva

According to the verbose log, the event never fires http://mcmonkey.org/paste/20371

@Talamar1 why the hell is the location blank?

Because bukkit sucks?
        dB.log("Event test 1: "+projectile.getName());
        if (projectile.getLocation() == null)
            return; // No, I can't explain how or why this would ever happen... nonetheless, it appears it does happen sometimes.
        dB.log("Event test 1.5: "+projectile.getName());

I never see the second test string when throwing snowballs.

Compelled to ping md_5 or ToD and demand explanation >.>

Compel more... do nothing less :P

https://hub.spigotmc.org/jira/browse/SPIGOT-1204

Closing as this is a spigot issue. Please reply below when any word from Spigot team is had.

No one from spigot has event looked at it... I doubt it will be fixed, just make sure they fix it in sponge.

repo: DenizenScript/Denizen-For-Bukkit


text:
Headless Linux version broken on "develop" branch

I believe the changes made to make it work with the latest B.net SC2 version actually broke it for the headless Linux build (for which the latest version is still 4.7.1).
The following patch at least gets it running (but would break it for newer versions of course...):
diff --git a/sc2/bot_ai.py b/sc2/bot_ai.py
index 71ecbe3..e6785a6 100644
--- a/sc2/bot_ai.py
+++ b/sc2/bot_ai.py
@@ -786,7 +786,7 @@ class BotAI:
         self.state: GameState = state  # See game_state.py
         # update pathing grid
         self._game_info.pathing_grid: PixelMap = PixelMap(
-            proto_game_info.game_info.start_raw.pathing_grid, in_bits=True, mirrored=False
+            proto_game_info.game_info.start_raw.pathing_grid, in_bits=False, mirrored=False
         )
         # Required for events
         self._units_previous_map: Dict = {unit.tag: unit for unit in self.units}
diff --git a/sc2/game_info.py b/sc2/game_info.py
index 79ac371..f218a11 100644
--- a/sc2/game_info.py
+++ b/sc2/game_info.py
@@ -176,11 +176,11 @@ class GameInfo:
         self.map_size: Size = Size.from_proto(self._proto.start_raw.map_size)

         # self.pathing_grid[point]: if 0, point is not pathable, if 1, point is pathable
-        self.pathing_grid: PixelMap = PixelMap(self._proto.start_raw.pathing_grid, in_bits=True, mirrored=False)
+        self.pathing_grid: PixelMap = PixelMap(self._proto.start_raw.pathing_grid, in_bits=False, mirrored=False)
         # self.terrain_height[point]: returns the height in range of 0 to 255 at that point
         self.terrain_height: PixelMap = PixelMap(self._proto.start_raw.terrain_height, mirrored=False)
         # self.placement_grid[point]: if 0, point is not pathable, if 1, point is pathable
-        self.placement_grid: PixelMap = PixelMap(self._proto.start_raw.placement_grid, in_bits=True, mirrored=False)
+        self.placement_grid: PixelMap = PixelMap(self._proto.start_raw.placement_grid, in_bits=False, mirrored=False)
         self.playable_area = Rect.from_proto(self._proto.start_raw.playable_area)
         self.map_center = self.playable_area.center
         self.map_ramps: List[Ramp] = None  # Filled later by BotAI._prepare_first_step

Looks like these variables need to be dynamically based on whatever version of SC2 is currently selected?

I see this has already been noticed, Dockerfile has a comment:
# Disabled until linux client is at version 4.8.5 or newer - issues with pixelmap that are working on the windows client

Looks like no progress on Blizzard's side for the Linux client update https://github.com/Blizzard/s2client-proto/issues/134 .
I assume this blocks releasing a new stable version of the sc2 package so might be worth it to work around this with a runtime check...

Looks like these variables need to be dynamically based on whatever version of SC2 is currently selected?
yes, and with all the different sc2 Client versions currently used its hard to keep track of what to use, what works and what is broken.
We have to wait for Blizzards fix for the client to not have the blackscreen bug so that we can all come back to the same version.

authors: jaens tweakimp

license: mit

license_source: bigquery


text:
Support to LostFocus

Hello there!
i need to know when a windows lost focus, and it could be done with workaround, but would be great to implement it!
By the way, awsome work!
its being VERY usefull!
Congrats!

You don't need to use UIA for that. I recommend using SetWinEventHook with EVENT_OBJECT_FOCUS to detect focus change events, and keep track of the active window - if it changes then you know the window lost focus. An example of SetWinEventHook is available here.

Thanks a lot! ill test it!
by the way, why not using uia for that?

You can use UIA for that, but generally it's slower because UIA also provides the sending element, and getting it requires cross-process communication. So if you don't need the sending element then use SetWinEventHook instead. I also wrote a wrapper for it: WinEvent library, with which you could use WinEvent.NotActive(Calllback).


text:
Make the setting page.

To use static table view to get the setting page. You need use TKSwitcherCollection to show the switch component.

The designed user's interface had been uploaded to Zeplin.

Got it. And update switch cell callback.

repo: Desgard/Calendouer-iOS


text:
Is it possible to avoid caching tiny outputs?

I'm looking at my caches and there's lots of very tiny objects. I'm not sure if it's possible to skip caching these without causing rebuild of bigger outputs? If there is a way, it could help with amount of api calls to github as well.

Agreed, I've seen caches amounting to 200 Bytes (not even KBs, bytes!) being set. The build time for tiny objects is insignificant in most cases, the post action of caching adds to Github API calls + time (1-2 second per object, even for < 200 Byte objects).

I kept hitting https://github.com/NixOS/nix/issues/10092 with the substitutor getting disabled too frequently.

authors: Cloudef arvindpunk phanirithvij


text:
App in foreground but no notification

Ive tested my code on an android emulator and it works, it runs the code that I am calling "HandleBLECommunication" but there is no accompanying notification, could i get some help? I am also using awesomenotifications if that helps. Here is my main.dart
import 'dart:async';
import 'dart:io';
import 'dart:isolate';
import 'dart:math';
import 'dart:typed_data';

import 'package:flutter/material.dart';
import 'package:flutter_foreground_task/flutter_foreground_task.dart'
    as foreground_task;
import 'package:tactics/pages/bleCentralDebug.dart';
import 'package:tactics/pages/bleCentralScreen.dart';
import 'package:tactics/util/ble_manager.dart';
import 'package:tactics/util/data_manager.dart';
import 'package:tactics/util/flow_engine_debug.dart';
import 'package:tactics/util/packet_manager.dart';
import 'pages/chat.dart';
import 'pages/feed.dart';
import 'pages/contacts.dart';
import 'pages/profile.dart';
import 'package:permission_handler/permission_handler.dart';

import 'pages/qrcode_scanner.dart';

import 'util/ble_peripheral.dart';

import 'package:awesome_notifications/awesome_notifications.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  AwesomeNotifications().initialize(
      // set the icon to null if you want to use the default app icon
      null, //'resource://drawable/res_app_icon',
      [
        NotificationChannel(
            channelGroupKey: 'basic_channel_group',
            channelKey: 'basic_channel',
            channelName: 'Basic notifications',
            channelDescription: 'Notification channel for basic tests',
            defaultColor: Color(0xFF9D50DD),
            ledColor: Colors.white)
      ],
      // Channel groups are only visual and are not required
      channelGroups: [
        NotificationChannelGroup(
            channelGroupKey: 'basic_channel_group',
            channelGroupName: 'Basic group')
      ],
      debug: true);
  AwesomeNotifications().isNotificationAllowed().then((isAllowed) {
    if (!isAllowed) {
      // This is just a basic example. For real apps, you must show some
      // friendly dialog box before call the request method.
      // This is very important to not harm the user experience
      AwesomeNotifications().requestPermissionToSendNotifications();
    }
  });

  requestBluetoothPermissions();
  _initForegroundTask();

  runApp(const MyApp());
  //startForegroundService();
}

void requestBluetoothPermissions() async {
  // Request Bluetooth permissions
  var status = await Permission.bluetooth.request();
  var status1 = await Permission.bluetoothAdvertise.request();
  var status2 = await Permission.bluetoothScan.request();
  var status3 = await Permission.bluetoothConnect.request();
  var status4 = await Permission.locationAlways.request();

  if (status.isGranted &&
      status1.isGranted &&
      status2.isGranted &&
      status3.isGranted &&
      status4.isGranted) {
    print("Bluetooth permissions granted");
  } else {
    openAppSettings();
  }
}

void _initForegroundTask() {
  foreground_task.FlutterForegroundTask.init(
    androidNotificationOptions: foreground_task.AndroidNotificationOptions(
      channelId: 'foreground_service',
      channelName: 'Foreground Service Notification',
      channelDescription:
          'This notification appears when the foreground service is running.',
      channelImportance: foreground_task.NotificationChannelImportance.DEFAULT,
      priority: foreground_task.NotificationPriority.LOW,
    ),
    iosNotificationOptions: const foreground_task.IOSNotificationOptions(),
    foregroundTaskOptions: const foreground_task.ForegroundTaskOptions(
      interval: 60000,
      isOnceEvent: false,
      autoRunOnBoot: true,
      allowWakeLock: true,
      allowWifiLock: true,
    ),
  );
}

// The callback function should always be a top-level function.
@pragma('vm:entry-point')
void startCallback() {
  // The setTaskHandler function must be called to handle the task in the background.
  foreground_task.FlutterForegroundTask.setTaskHandler(FirstTaskHandler());
}

// Define the routes.
final routes = {
  '/home': (context) => const HomePage(),
  '/profile': (context) => const ProfilePage(),
  '/feed': (context) => const FeedPage(),
  '/contacts': (context) => const ContactsPage(),
  '/chat': (context) => const ChatPage(),
  '/qrcode_scanner': (context) => const QRCodeScannerPage(),
};

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  static final GlobalKey<NavigatorState> navigatorKey =
      GlobalKey<NavigatorState>();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      navigatorKey: MyApp.navigatorKey,
      routes: routes,
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

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

class NotificationController {
  /// Use this method to detect when a new notification or a schedule is created
  @pragma("vm:entry-point")
  static Future<void> onNotificationCreatedMethod(
      ReceivedNotification receivedNotification) async {
    // Your code goes here
  }

  /// Use this method to detect every time that a new notification is displayed
  @pragma("vm:entry-point")
  static Future<void> onNotificationDisplayedMethod(
      ReceivedNotification receivedNotification) async {
    // Your code goes here
  }

  /// Use this method to detect if the user dismissed a notification
  @pragma("vm:entry-point")
  static Future<void> onDismissActionReceivedMethod(
      ReceivedAction receivedAction) async {
    // Your code goes here
  }

  /// Use this method to detect when the user taps on a notification or action button
  @pragma("vm:entry-point")
  static Future<void> onActionReceivedMethod(
      ReceivedAction receivedAction) async {
    // Your code goes here

    // Navigate into pages, avoiding to open the notification details page over another details page already opened
    MyApp.navigatorKey.currentState?.pushNamedAndRemoveUntil(
        '/notification-page',
        (route) =>
            (route.settings.name != '/notification-page') || route.isFirst,
        arguments: receivedAction);
  }
}

class _MyHomePageState extends State<MyHomePage> {
  int _selectedIndex = 1;

  Future<bool> _startForegroundTask() async {
    // You can save data using the saveData function.
    await foreground_task.FlutterForegroundTask.saveData(
        key: 'customData', value: 'hello');

    if (await foreground_task.FlutterForegroundTask.isRunningService) {
      return foreground_task.FlutterForegroundTask.restartService();
    } else {
      return foreground_task.FlutterForegroundTask.startService(
        notificationTitle: 'Foreground Service is running',
        notificationText: 'Tap to return to the app',
        notificationIcon: null,
        callback: startCallback,
      );
    }
  }

  Future<void> _requestPermissionForAndroid() async {
    if (!Platform.isAndroid) {
      return;
    }

    // "android.permission.SYSTEM_ALERT_WINDOW" permission must be granted for
    // onNotificationPressed function to be called.
    //
    // When the notification is pressed while permission is denied,
    // the onNotificationPressed function is not called and the app opens.
    //
    // If you do not use the onNotificationPressed or launchApp function,
    // you do not need to write this code.
    if (!await foreground_task.FlutterForegroundTask.canDrawOverlays) {
      // This function requires `android.permission.SYSTEM_ALERT_WINDOW` permission.
      await foreground_task.FlutterForegroundTask
          .openSystemAlertWindowSettings();
    }

    // Android 12 or higher, there are restrictions on starting a foreground service.
    //
    // To restart the service on device reboot or unexpected problem, you need to allow below permission.
    if (!await foreground_task
        .FlutterForegroundTask.isIgnoringBatteryOptimizations) {
      // This function requires `android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS` permission.
      await foreground_task.FlutterForegroundTask
          .requestIgnoreBatteryOptimization();
    }

    // Android 13 and higher, you need to allow notification permission to expose foreground service notification.
    final foreground_task.NotificationPermission notificationPermissionStatus =
        await foreground_task.FlutterForegroundTask
            .checkNotificationPermission();
    if (notificationPermissionStatus !=
        foreground_task.NotificationPermission.granted) {
      await foreground_task.FlutterForegroundTask
          .requestNotificationPermission();
    }
  }

  @override
  void initState() {
    super.initState();
    // Only after at least the action method is set, the notification events are delivered
    AwesomeNotifications().setListeners(
        onActionReceivedMethod: NotificationController.onActionReceivedMethod,
        onNotificationCreatedMethod:
            NotificationController.onNotificationCreatedMethod,
        onNotificationDisplayedMethod:
            NotificationController.onNotificationDisplayedMethod,
        onDismissActionReceivedMethod:
            NotificationController.onDismissActionReceivedMethod);
    //_initForegroundTask();
    _requestPermissionForAndroid();
    _startForegroundTask();
  }

  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }

  @override
  void dispose() {
    //ForegroundService().stop();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return foreground_task.WithForegroundTask(
        child: Scaffold(
      appBar: AppBar(
        title: const Text('T.A.C.T.I.C.S Demo'),
      ),
      body: IndexedStack(
        index: _selectedIndex,
        children: const [
          // The Contacts page
          ContactsPage(),
          //This is the main feed page
          FeedPage(),
          // The profile page.
          ProfilePage(),
          //Flow engine debug page
          FlowEngineDebugPage(),
          // This is the Network down Dialog
          // This is the network up Dialog
          BleCentralScreen(),
          //const BLEDebug(),
          FlutterBlueApp(),
        ],
      ),
      bottomNavigationBar: BottomNavigationBar(
        type: BottomNavigationBarType.fixed,
        selectedItemColor: Colors.black,
        backgroundColor: Colors.blue,
        unselectedItemColor: Colors.white,
        //fixedColor: Colors.red,
        onTap: _onItemTapped,
        currentIndex: _selectedIndex,
        items: const [
          BottomNavigationBarItem(
            icon: Icon(Icons.contact_mail),
            label: 'Contacts',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.message),
            label: 'Chats',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.remember_me),
            label: 'Profile',
          ),
          BottomNavigationBarItem(icon: Icon(Icons.water), label: "Flow"),
          // BottomNavigationBarItem(
          //   icon: Icon(Icons.bluetooth),
          //   label: 'BLE Peripheral Debug',
          // ),
          // BottomNavigationBarItem(
          //     icon: Icon(Icons.bluetooth_drive), label: 'DIY Scan'),
          // BottomNavigationBarItem(
          //     icon: Icon(Icons.bluetooth_connected_sharp),
          //     label: 'BLE Central Debug')
        ],
      ),
    ));
  }
}

// The home page.
class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Text('Welcome to my app!'),
    );
  }
}

List<List<int>> centralQueue = [];

void handleBLECommunication() async {
  print(DateTime.now());
//Rest of BLE Code...
  }

  final random = Random();
  final randomNumber = random.nextInt(21) + 10;
  print("Wait $randomNumber seconds before next iteration");
  await Future.delayed(Duration(seconds: randomNumber));
  print("$randomNumber seconds have passed, now running the next iteration");
}

class FirstTaskHandler extends foreground_task.TaskHandler {
  // Called when the task is started.
  @override
  void onStart(DateTime timestamp, SendPort? sendPort) async {
    // You can use the getData function to get the stored data.
    print('Onstart called initialising the task');
    //Just ask for the notification and other permissions here
  }

  // Called every [interval] milliseconds in [ForegroundTaskOptions].
  @override
  void onRepeatEvent(DateTime timestamp, SendPort? sendPort) async {
    // Send data to the main isolate.
    sendPort?.send(timestamp);
    //call the bluetooth code here
    print("onRepeatEvent called");
    handleBLECommunication();
  }

  // Called when the foreground service is closed.
  @override
  void onDestroy(DateTime timestamp, SendPort? sendPort) async {
    print('onDestroy called for foreground service');
  }
}

and this is my androidManifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.Whispr.Whispr.whispr_mvp">
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
    <!-- Tell Google Play Store that your app uses Bluetooth LE
     Set android:required="true" if bluetooth is necessary -->
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />
<!-- New Permissions to get it to run on real devices -->
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
<uses-permission android:name="android.permission.INTERNET"/>
<!-- New Bluetooth permissions in Android 12
https://developer.android.com/about/versions/12/features/bluetooth-permissions -->
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />

<!-- legacy for Android 11 or lower -->
<uses-permission android:name="android.permission.BLUETOOTH"  />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"  />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <!-- Required only when requesting background location access on
           Android 10 (API level 29) and higher. -->
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

<!-- legacy for Android 9 or lower -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"  />
<!-- for notifcation-->
<uses-permission android:name="android.permission.VIBRATE"/>
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
   <application
        android:label="TACTICS"
        android:name="${applicationName}"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
       <service
           android:name="FlowEngineDataSyncService"
           android:foregroundServiceType="dataSync"
       android:exported="false" />
    </application>
</manifest>

Did you allowed Notification permission? If so, try setting the id of AndroidNotificationOptions.

@Jgeyen
The service tag was incorrectly declared in AndroidManifest.
<!-- current -->
<service
     android:name="FlowEngineDataSyncService"
     android:foregroundServiceType="dataSync"
     android:exported="false" />

<!-- correct -->
<service
    android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
    android:foregroundServiceType="dataSync"
    android:exported="false" />


text:
【Form】fix: 修复重置数组类型的值不正确问题

fix:

修复重置数组类型的值不正确问题

@AlanLee97 你的commit记得签下名哈～

source: gharchive/pull-request

repo: DevCloudFE/vue-devui


text:
HttpInterceptor with DevExtreme.AspNet.Data doesn't work Angular 6

Angular 6 here
HttpInterceptor doesn't intercept the call from the  DevExtreme.AspNet.Data
The token is not added to the query
Do you guys use HttpClient ?
Must use HttpClient since angular 4.3+

Added a ticket on dev extreme : https://www.devexpress.com/Support/Center/Question/Details/T695057/example-for-custom-data-source-using-filter-property

Hello @pilouk
Indeed, currently there's no way to use Angular's HTTP API for AJAX requests.
We plan to improve this (#311).
Here is how you can solve two typical tasks without the use of HttpInterceptor.
Customize a request (URL, headers, query string, HTTP verb)
import * as AspNetData from "devextreme-aspnet-data-nojquery";

const store = AspNetData.createStore({
  // . . .

  onBeforeSend: (operation, ajaxOptions) => {
    ajaxOptions.headers = {
      "Authorization": "..."
    };
  }
});

The members of ajaxOptions are available in the TypeScript declaration.
Redirect to a login form upon receiving Unauthorized response
store["_errorHandler"] = (e: Error) => {
  if (e.message.indexOf("Unauthorized") > -1)
    location.href = "/login";
};

Related: #297, #310

authors: AlekseyMartynov pilouk


text:
[docs] Describe selector's withExactText method

\cc @DevExpress/testcafe-docs

FPR
@DevExpress/testcafe-docs @AlexKamaev

repo: DevExpress/testcafe


text:
Protobuf support

What feature or new tool do you think should be added to DevToys?
A Protobuf tool that would enable easy de/serialization based on .proto contracts.
Why do you think this is needed?
DevToys app is the best application to reduce the need for online tooling which can be forbidden to use in some cases (i.e. enterprise businesses).
While there are plenty of tools that handle Protobuf, DevToys would complement its JSON/XML capabilities to support the broadly used binary format.
Solution/Idea
I'm not familiar with Desktop development concepts. But I think having a simple page like "https://www.protobufpal.com/"  would be more than enough for a starter.
Comments
Thanks a lot for all your dedication so far! :)

Closing as no upvote/traction on this issue. This tool be made as an extension using our SDK: https://devtoys.app/doc

authors: darjanbogdan veler

repo: DevToys-app/DevToys


text:
Update to version 0.23.0

v0.23.0 was released almost a month ago, https://github.com/mozilla/geckodriver/releases/tag/v0.23.0, so maybe an update is due.
Without this version I'm having issues trying to use Firefox 63

I'd love this to happen too!

authors: alaxalves droca

repo: DevicoSolutions/geckodriver-helper


text:
[REQUEST] to be able to hide the white circle on objects

just to allow you to hide the white circle that shows that you can pick/move an object/entity

Added on the Rendering Trello card

Renderer.Instance.highlightNearest = false;

what can be done to even stop the dragging?

and thank you. works great ;)

what can be done to even stop the dragging?

You can add this to your khafile.js:
project.addDefine('noDragger');
Sorry for the late reply, I haven't been getting email notifications about issues on this project.

authors: Devination lewislepton

repo: Devination/VerletKha


text:
JUnit 5 support

Support in consumer and provider tests for JUnit 5 would be awesome. We're planning to migrate to JUnit 5 and the missing support in Pact is currently preventing us to do so.

@thombergs: JUnit 5 lets you execute JUnit 4 test cases. Just use junit-platform-console-standalone-x.y.z.jar  and the Pact tests are executed as vintage tests.

You're right of course, didn't think of that.
Nevertheless, native JUnit5 support would be a great feature.

authors: pfuerholz thombergs

repo: DiUS/pact-jvm


text:
Allow querying for names/plans of unstarted tasks

Seperate from #140 because I fear it eventually leads to "Allow deleting unstarted tasks", "Allow re-ordering submitted tasks", "Allow editing of unstarted tasks" and other behaviours that should not be the responsibility of this service

We should probably have an issue for that: https://github.com/DiamondLightSource/blueapi/issues/157

Ought to be of the form:
GET <base_url>/tasks?status=unstarted

I am making the assumption that unstarted means is_pending as currentlt the Task is
`class TrackableTask(BlueapiBaseModel, Generic[T]):
"""
A representation of a task that the worker recognizes
"""
task_id: str
task: T
is_complete: bool = False
is_pending: bool = True
errors: list[str] = Field(default_factory=list)

`

authors: DiamondJoseph callumforrester keithralphs stan-dot

repo: DiamondLightSource/blueapi


text:
TVDB refiner: ValueError: time data '' does not match format '%Y-%m-%d'

For the latest develop version (2.0-rc1)
subliminal --debug --legendastv user pass download -f -l pt-BR -p legendastv -m 97 The.100.S03E09.720p.HDTV.x264-AVS.mkv
Collecting videos  [####################################]  100%  The.100.S03E09.720p.HDTV.x264-AVS.mkvDEBUG:subliminal.cli:Collecting path The.100.S03E09.720p.HDTV.x264-AVS.mkv
INFO:subliminal.core:Refining video with metadata
INFO:subliminal.core:Refining video with tvdb
INFO:subliminal.refiners.tvdb:Searching series 'The 100'
DEBUG:subliminal.refiners.tvdb:Found 45 results
DEBUG:subliminal.refiners.tvdb:Found result for original series without year
DEBUG:subliminal.refiners.tvdb:Found series {u'seriesId': u'', u'status': u'Continuing', u'added': u'2013-08-10 11:43:14', u'airsTime': u'', u'network': u'', u'rating': u'', u'overview': u'Planet Earth is stacked with amazing feats of engineering and construction, a dazzling array of machines and vehicles, an awe inspiring great outdoors and a near limitless number super skilled, super humans\r\nWhat we want to know exactly how much of all this we\u2019ve got, where it all is and what it exactly it does\u2026\r\nIn each episode we will carry out the ultimate, exhaustive stock take of that particular category (from skyscrapers to mountains, boats to special forces, railways to fire-fighters\u2026discovering exactly where every single example is located and in doing so answer those questions we have about the world that have never been answered until now.\r\nA fast paced entertaining mix of graphics, archive and location reports together will be the ultimate information countdown.', u'lastUpdated': 1385372430, u'id': 272209, u'seriesName': u'100%', u'firstAired': u'', u'addedBy': 391110, u'banner': u'graphical/272209-g.jpg', u'networkId': u'', u'genre': [u'Documentary'], u'airsDayOfWeek': u'', u'runtime': u'1', u'siteRating': 0, u'zap2itId': u'', u'imdbId': u'', u'aliases': []}
ERROR:subliminal.core:Failed to refine video
Traceback (most recent call last):
  File "/home/user/workspace/git/subliminal/subliminal/core.py", line 541, in refine
    refiner_manager[refiner].plugin(video, **kwargs)
  File "/home/user/workspace/git/subliminal/subliminal/refiners/tvdb.py", line 306, in refine
    video.year = datetime.strptime(result['firstAired'], '%Y-%m-%d').year
  File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data '' does not match format '%Y-%m-%d'
INFO:subliminal.core:Refining video with omdb
DEBUG:subliminal.refiners.omdb:Found 127 results
DEBUG:subliminal.refiners.omdb:Found result for original series without year
DEBUG:subliminal.refiners.omdb:Found series {u'imdbID': u'tt0314970', u'Title': u'100%', u'Type': u'series', u'Poster': u'N/A', u'Year': u'1997\u20132001'}
Collecting videos  [####################################]  100%
1 video collected / 0 video ignored / 0 error
Downloading subtitles  [####################################]  100%  The.100.S03E09.720p.HDTV.x264-AVS.mkvINFO:subliminal.core:Listing subtitles with provider 'legendastv' and languages set([<Language [pt-BR]>])
INFO:subliminal.core:Initializing provider legendastv
INFO:subliminal.providers.legendastv:Logging in
DEBUG:subliminal.providers.legendastv:Logged in
INFO:subliminal.providers.legendastv:Searching title u'100%'
ERROR:subliminal.core:Unexpected error in provider 'legendastv'
Traceback (most recent call last):
  File "/home/user/workspace/git/subliminal/subliminal/core.py", line 118, in list_subtitles_provider
    return self[provider].list_subtitles(video, provider_languages)
  File "/home/user/workspace/git/subliminal/subliminal/providers/legendastv.py", line 408, in list_subtitles
    return [s for l in languages for s in self.query(l, title, season=season, episode=episode, year=video.year)]
  File "/home/user/workspace/git/subliminal/subliminal/providers/legendastv.py", line 312, in query
    titles = self.search_titles(sanitize(title))
  File "/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 1053, in decorate
    should_cache_fn)
  File "/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 657, in get_or_create
    async_creator) as value:
  File "/usr/local/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 158, in __enter__
    return self._enter()
  File "/usr/local/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 98, in _enter
    generated = self._enter_create(createdtime)
  File "/usr/local/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 149, in _enter_create
    created = self.creator()
  File "/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 625, in gen_value
    created_value = creator()
  File "/usr/local/lib/python2.7/dist-packages/dogpile/cache/region.py", line 1049, in creator
    return fn(*arg, **kw)
  File "/home/user/workspace/git/subliminal/subliminal/providers/legendastv.py", line 203, in search_titles
    r.raise_for_status()
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 840, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 400 Client Error: Bad Request for url: http://legendas.tv/legenda/sugestao/100%
INFO:subliminal.core:Discarding provider legendastv
Downloading subtitles  [####################################]  100%
Some providers have been discarded due to unexpected errors: legendastv
DEBUG:subliminal.core:Terminating initialized providers
INFO:subliminal.core:Terminating provider legendastv
INFO:subliminal.providers.legendastv:Logging out
DEBUG:subliminal.providers.legendastv:Logged out
Downloaded 0 subtitle

Fixed with latest develop. Clear cache before testing.

repo: Diaoul/subliminal


text:
GETEXwith EX with big integer reports an error

close #510
Passes TCL test

Working Example :

Hi @Gaurav-Kumar81 looks good, can you please add a small unit test for this? Thanks

@AshwinKul28  where i can add the unit test.

@AshwinKul28 Please have look on the testcase i have added

Hey @Gaurav-Kumar81 Thanks for the changes. LGTM, left a minor comment.

@AshwinKul28  I am not able see your comments.

repo: DiceDB/dice


text:
Bilder fuer neue Handzeichen

Wie im AK Meta in Potsdam besprochen hier die neuen Handzeichen als Bilder. Wer auch immer den Text zum "Du fällst aus dem Rahmen" machen wollte, sollte das noch tun.

Hinfällig durch 5792b06.

repo: Die-KoMa/neulingsheft


text:
⚠ RPC server - Avalanche has degraded performance

In 0191eaf, RPC server - Avalanche ($AVALANCHE_RPC_URL) experienced degraded performance:

HTTP code: 500
Response time: 46 ms

Resolved: RPC server - Avalanche performance has improved in a0363dd after 6 hours, 12 minutes.

repo: DimensionDev/status


text:
registration form?

is'nt  there a registration wizard form?

No. you can create users from admin but there is no registration form.

authors: DimitriMikadze odyright

repo: DimitriMikadze/laravel-angular-cms


text:
[js] Update dependency @apollo/client to v3.11.10

This PR contains the following updates:

Package
Type
Update
Change

@apollo/client (source)
dependencies
patch
3.11.8 -> 3.11.10

Release Notes

apollographql/apollo-client (@apollo/client)
v3.11.10
Compare Source
Patch Changes

#12093 1765668 Thanks @mgmolisani! - Fixed a bug when evaluating the devtools flag with the new syntax devtools.enabled that could result to true when explicitly set to false.

v3.11.9
Compare Source
Patch Changes

#12110 a3f95c6 Thanks @jerelmiller! - Fix an issue where errors returned from a fetchMore call from a Suspense hook would cause a Suspense boundary to be shown indefinitely.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: javascript/grid-ui/package.json
Post-upgrade command 'bazel run -- @pnpm//:pnpm install --dir $PWD --lockfile-only' has not been added to the allowed list in allowedPostUpgradeCommands

repo: DineshKumarRA/selenium-play


text:
Add Magyscar to logic

Find the flag adding the breach on the back wall of Magyscar entrance, and activate it on game start
Add the full Magyscar logic
Remove any story change trigger at the end of the dungeon

Added in 9e2dd09, fully working except for the end of dungeon that freezes the player because the cutscene supposedly giving back control over Alundra never plays.
As a consequence, another issue will be opened to edit the boss end cutscene to remove Alundra's immobilization.

repo: Dinopony/alundra-randomizer


text:
Fix asynchronous read/writes to seriesCache

This map is read from/written to within separate go routines and so needs some sort of mutex. Have been testing this fix and it has stopped the periodic crashing that we have been seeing

I think there are 3 ways to solve this:

Use the locks before and after every read write as (attempted) in this PR
Use a sync.Map to replace the existing map - effectively the same as above but has all of the locking wrapped into the Load and Store methods so looks neater
Create a list of selectors in one loop, create a channel based on the length of the list of selectors, spawn go routines in another loop and send the result onto the channel. Then move into the map from the channel. With this approach the channel would need to take structs containing both the selector and the series to enable them to be mapped in the final loop, is this perhaps a little complex?

I think the cleanest is the second option with the sync.Map, although I haven't used them before so have no idea if that's actually a good idea

I pushed a second branch that now uses the sync.Map method. I've been running this on a testing cluster for the last few days and haven't seen any concurrent RW issues. Do you think this could be a good solution or would you rather try the channel based approach? https://github.com/pusher/k8s-prometheus-adapter/tree/feature/advanced-config2

I've added a commit to change this PR to send the required data down a channel to avoid the concurrency issue. I think this should be safe now?

#46 was merged so this is no longer needed


text:
Netherwart handling on upgraded farmland

I've only tested voidshimmer farm land, but I can plant netherwart on it and it does grow at what I assume is normal speed. It does not autoharvest when mature. Is planting netherwart expected to work with benefits of the upgraded farm land?
neoforge 21.0.133-beta
JDT 0.11.16

Hi yes :) it should work for most plants even cactus and sugarcane.
I’ll look into why it’s not harvesting


text:
[Request] Documentation / How-to Guide

Saw your post on Reddit, which prompted me to install Grafana. I am a complete Grafana noob, but do have Plex, Sonarr, Radarr etc already running. How do I go about getting that data to show up in Grafana?
Thanks!

@DirtyCajunRice No worries, I appreciate it! :)

@dannyhanes I've never used grafana before, but I added a pull request with some basic steps that I followed to get this setup and working. my CE device isn't an ASA, so i used telegraf to pull bandwidth stats directly from the plex server (along with disk stats from the fibre channel san). I didnt include the telegraf notes, but if you view the pull request for readme.md you should be able to get this working.

Added basic formatting to his post. Should cover you.

authors: DirtyCajunRice d-hanes dannyhanes driz

repo: DirtyCajunRice/grafana-scripts


text:
⚠ Shadow Does Streams has degraded performance

In 44c22f5, Shadow Does Streams (https://stream.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 3007 ms

Resolved: Shadow Does Streams performance has improved in 5f7d352 after 6 minutes.

repo: DismalShadowX/upptime


text:
Not working read graphql query from custom files

Current behavior
query: require('./queries/testentity.gql'),
read to tockenized object by ES6 standart
Expected behavior
For graphql need string format for request queries
Repository
https://github.com/DivanteLtd/vue-storefront/blob/4874488049efcc401119f5995af9afe71650d31f/src/modules/sample-custom-entity-graphql/hooks/afterRegistration.ts#L23
Additional information
I use workaround and write custom searchAdapter for resolve it:
https://github.com/develodesign/vsf-wp/blob/d39962cd511fea8f3a571ed044be992824be4c1e/store/actions.ts#L16

@yuriboyko can You please help us in here? :)

@pkarw
will try to check but probably tomorrow, have urgent task now

IMHO this issue got already solved by https://github.com/DivanteLtd/vue-storefront/pull/2404

Closing due to long inactivity

authors: dimasch phoenixdev-kl pkarw yuriboyko

repo: DivanteLtd/vue-storefront


text:
Remake order is not remaking the order - misleading behavior

Currently the 'Remake Order' button in profile is only adding the same products to the cart. It's misleading. At bare minimum it should also redirect to checkout.

@anqaka how are things with this one? :)

@MikeSheward
If I use 'Remake order' from dropdown list
 - it works (I'm redirected to checkout) - BUT if I will remove products from cart and I will try again remake the same order then it doesn't work. Im' redirected to Home page and "Shopping cart is empty. Please add some products before entering Checkout" pop-up occurs and at the same time product is added to cart.

What more? If I click on "view order"  from dropdown list and after that I click 'Remake order' link (on order details page) it causes only adding product to cart (without redirecting to checkout)

Probably fixed in the https://github.com/DivanteLtd/vue-storefront/pull/2887

@pkarw I've been testing this issue on the newest version of your branch - problems reported by Alina no longer occur :)
But we have got one new issue now - 'remake order' doubles the product quantity in the order:

sometimes it is visible in the checkout summary

but often it is visible only after going to the order details of recently placed order

Could You please re-test? I've been working all day Today on this PR so it might been some side effects of the other fixes. Currently I can't reproduce this error

Retested, Works for me :) thanks

authors: GabiDivante alinadivante filrak pkarw


text:
FreeRTOS

Дмитро доброго дня.
Підкажіть будьласка чи є можливість використовувати фреймворк з FreeRTOS для esp32?
За замовчуваням для 32-гої серії ардуіна вже йде з таском loop().
Коли в example/sensor_02  намагався створити xTaskCreate... не має.
Того Shedulera мені недостатньо, бо хотілося б затримки в тілі таска.

Дмитро доброго дня. Підкажіть будьласка чи є можливість використовувати фреймворк з FreeRTOS для esp32? За замовчуваням для 32-гої серії ардуіна вже йде з таском loop(). Коли в example/sensor_02 намагався створити xTaskCreate... не має. Того Shedulera мені недостатньо, бо хотілося б затримки в тілі таска.

Пробачте все є, розібрався, я не там створював таску.

Короче запрацювало, воно через складний Platformio.ini непрацювало. Видалив 8266 і 32-запрацював FreeRTOS.

repo: DmytroKorniienko/EmbUI


text:
DM Entries add exactly one level to the attached character when advancement is chosen regardless of levels field value

Description

Attaching a DM Entry and choosing the advancement option adds exactly one level to the attached character, regardless if the levels fields contains 0 or a number greater than 1.
Expected Behavior

It is expected that the character advances the same number of levels as the input number.
Actual Behavior

The character advances exactly one level regardless of the level field value.
Steps to Reproduce

Create a character and note the character's level.
Create a DM Entry with a number greater than 1 or a value of 0.
Attach a character.
Choose the advancement option.
Go to the characters tab, find the character attached to the last DM Entry. Notice that the character's level was incremented by 1.

Context

Users would expect the same number of levels to be added to their characters as the number they registered through the DM Entry.
Possible Fix

Add the same number of levels as the DM Entry value in the EntryController.php file. A possible fix would be to remove instances of the line $entryData['levels'] = 1;  in that file.
Other
It would maybe be important to check why the $entryData values are being modified in the EntryController.php file. Would this cause any issues if the user were to edit the DM Entry?
Description

Additional Notes

its implemented this way on purpose because its, sort of a rule. Typically its 1 level per entry but I suppose there might be edge cases where you could gain more than 1 level. Honestly i'd have to consult the Adventurers League rules more closely

authors: m-triassi pascwhale

repo: DnD-Montreal/session-tome


text:
Add bug report & user story templates

Require missing feature template

Feature template missing, do not merge


text:
9eb15972-2504-40d3-8dbc-26105f3cc632

this is for automated testing

bcf12dea-573d-458a-aea3-14123d67a302

repo: DnDGen/DNDGenSite


text:
77f39b32-3df0-48a5-817a-adabbf189bb7

this is for automated testing

65bacda2-0d0f-4224-b5e7-538239a7d6cd


text:
Notify Northstar when a kudos is received

When a user receives a kudos, they will get a push notification about it. Northstar's gonna handle the grunt work of sending the push notifications. On the Drupal end, we'll just need to let Northstar who received a kudos and on what.
There's a bunch of work that still needs to get done on Northstar to support it (see https://github.com/DoSomething/northstar/issues/104), but for Drupal, when a kudos is received I'm thinking it'd eventually make a request like...

Request: POST to northstar.dosomething.org/api/v1/notifications
body:

{
  type: "kudos",
  data: {
    kudos_id: 123,
    reportback_item_id: 456,
    drupal_id: 789
  }
}

cc: @weerd

Not sure if this is implied --  but I'm assuming all POSTs to Northstar are handled via Message Broker ?

Hm does it have to happen through message broker? Or could some of what Andrea was looking at before with guzzle work?

It doesn't have to... but it would keep consistent with how we handle subscriptions to Mailchimp, Mobilecommons, and gives us at least some sort of back-up plan with a queue of requests if the Northstar API happens to go down.  There's also been a long standing issue to use Message Broker for Zendesk tickets too (#1675)

That's fair. And to a separate point you've made elsewhere, if these kudos calls should be coming authenticated through Northstar, then this issue doesn't need to even happen. Northstar will know a kudos has happened because the call came through it. And then notification listener type of code could go in there instead of needing to create a separate /notifications endpoint which was my idea here.

This is no longer valid due to the work being done here: https://github.com/DoSomething/northstar/issues/137

authors: aaronschachter jonuy

repo: DoSomething/dosomething


text:
Need to click "X" twice to close out of onboarding

BUG
Current Behavior
Tested several onboarding experiences and need to click 'x' twice to close the container. The first click shows a blue box surrounding the element. See below screenshot.
Desired Behavior
The container should close with one click.
Relevant Screenshots + Links

@deadlybutter mind taking a look at this. Some change you made w/ the request.abort stuff introduced this bug:

happens on first click of close button and didn't before the above code added.

(look at the PR above haha)

🍳 cellent. If anything just helps add more info on the issue, haha

👍 yeah no big deal, just wanted to make sure you were aware :D

authors: deadlybutter jessleenyc weerd

repo: DoSomething/phoenix


text:
Error when providing Northstar ID to signups endpoint.

BUG
Current Behavior
@aaronschachter reported a bug with the Phoenix signups endpoint in Slack:

hey @weerd -- i remember you mentioned a change made to the Phoenix signups to accept NS User ID. I'm wondering if it could maybe be causing a really strange, and new -- i believe -- issue I'm seeing in Gambit https://github.com/DoSomething/gambit/issues/827#issuecomment-289100468

Likely the specific error from the logs:
Notice: Trying to get property of non-object in dosomething_user_convert_to_legacy_id():
line 1164 of var/www/www.dosomething.org/releases/20170323151344/lib/modules/
dosomething/dosomething_user/dosomething_user.module.

Desired Behavior
We should be able to make requests to this endpoint with either Drupal IDs or Northstar IDs and receive a successful response.
Steps to Replicate
See linked issue comment above.
Why This Matters
We need to be able to fetch a user's signups without errors! 💣
📶

Gah! Thanks for flagging this @aaronschachter and @DFurnes for helping investigate!

authors: DFurnes weerd


text:
Updating form output for school finder modal.

Fixes #5788
What's this PR do?
There was an additional form wrapper for elements that did not contian any markup or content but was still being output as an empty div with styled padding which was causing the extra spacing.
Where should the reviewer start?
Quick :eyes: on the one file changed.
Any background context you want to provide?
@DFurnes do you happen to know if something gets otherwise populated into the elements container in some other version of the school finder modal (if there is one) that I might not be accounting for?
What are the relevant tickets?
#5788

@DFurnes
cc: @angaither

Hmmm, it looks like the sections on the modal were intended to be placed in there. I don't really remember why that was the way I set things up though. :sweat_smile:
This seems reasonable, though it might be good to remove the following lines (like this one) that reference $form['elements'] since it won't exist anymore. It also looks like the t-shirt form used that container, but that's RIP :skull: so probably no worries there.

Hmmm, good call. I was trying to see if there was a way to check if stuff was getting placed in there and if empty then unset it....?

Yeah, ideally we only create the container if we need it. But it's strange that it's showing up as empty since it looks like we're putting things in there a few lines below. :confused:

So the issue is that since it's building a Droooooooopal render array thing, it populates with some preliminary stuff like the #attributes and #type so there will technically always be something in the array when it checks whether to output or not.

:grimacing: :ship: :+1:


text:
Reportback item status params update

Fixes #5653
What's this PR do?
This PR provides a level of data security based on user permissions. Prior to this PR, all (or some) status types for Reportback Items could be requested by passing a URL parameter ?status=pending,flagged,excluded,promoted,approved by an anonymous GET request.
This PR updates the API so that if an anonymous user is requested restricted statuses of pending, flagged or excluded, those types get filtered out and the request responds with no items and an error response or just providing promoted and/or approved items (depending if those were also requested). Now only admin users have access to request those status types.
This PR also updates the default status value to be both promoted and approved.
Where should the reviewer start?
The main logic happens in dosomething_reportback_item.query.inc
How should this be manually tested?
If you want, pull down the branch and then hit the /reportback_items endpoint and pass some restricted statuses in query URL parameters while in incognito browser mode and see if any results show up that shouldn't.

@aaronschachter
cc: @angaither @jonuy

Looks ok to me :elephant: :+1: :iphone:

authors: aaronschachter weerd


text:
Checks if modal is open before assigning key

What's this PR do?

Check if a modal is open before assigning a local storage key.
Otherwise if the modal triggers a page refresh the onboarding flow is tricked & thinks you already saw it, meanwhile you didn't.
Adds an onboarding version to the key.

How should this be reviewed?
Setup a campaign with a competition modal, check if onboarding works after page refresh.
Confirm normal signups also still work
Any background context you want to provide?
The onboarding version is used so we can make sure users see onboarding again in the future if we make a major change to it (eg: new slide).
Relevant tickets
Fixes #hm_nope
Checklist

[ ] Tested on staging.

Okie dokie. ⛵

authors: DFurnes deadlybutter


text:
add narrow to container block under prove it

What's this PR do?
Added the -narrow modifier to the container__block that holds the text under "Prove It" in order to make the text take up 3/4 of the width.
How should this be reviewed?
Does this look right?

Relevant tickets
Fixes #6987
Checklist

[ ] Tested on staging.

cc: @ngjo

¡OLÉ! :sheep: it!

@weerd and now with no conflicts!

¡OLÉ! :sheep: it! (again!)

authors: katiecrane weerd


text:
jQuery form.serialize

Have problem with form.serialize(), no data as return

Please be more specific. please describe your situation more precisely and with detail so we can help you. Providing a codepen or some form of code example will also help.

ough sory.. Its my mistake, but a little bit confusing.
I just rename the form id and its working now.
Thank you

authors: acburst kotakorange

repo: Dogfalo/materialize


text:
waves-effect stacking

The waves-effect kept stacking whenever a button is press. If I pressed multiple times, the waves-effect will keep stacking as shown in the image. The waves would not disperse/dissolve. I did not change the css or js files. What may caused this issue?
Before clicking.

After clicking.

Amazon.com Inc.

Price (Last Close)
                             shopping_basketAdd to Basket

Hello @ong-leonard1 ,
Looks like the waves are working fine(waves are dissolving fine ) even after clicking it multiple times.
you can try this  codepen .
If you're still facing issues reply to this thread.
We will be happy to help.

hi @vishnu1991,
yes, thank you so much. I don't know why, now it is working properly.

I have repoed this issue on my side as well.
https://github.com/Dogfalo/materialize/issues/3709

ghstahl commented on Oct 1, 2016 • edited
I have repoed this issue on my side as well.
#3709

I had the same issue because I added the html head file twice (with all links to js / css ... )

These issues are all duplicates:
https://github.com/Dogfalo/materialize/issues/1314
https://github.com/Dogfalo/materialize/issues/3642
https://github.com/Dogfalo/materialize/issues/686
For future discussion, please use this issue instead.
https://github.com/Dogfalo/materialize/issues/4344


text:
Gutter option dropdown on materializecss 1.0.0-alpha.3

There is a replacement to the gutter option in materializecss?
The coverTrigger option places the drop-down menu over the button, and I need that dropdown appear on the left side of button.

I have the same problem. I'm making a dropdown nested menu and I need it to appear at the left side of the menu option selected. Hope someone tell us how to do it

I met the same problem, i need the dropdown appear on the right side, i added 2 line in js file.
coverTrigger: true,
rightTrigger: false, //var rightTrigger option.
idealYPos += this.options.coverTrigger ? 0 : triggerBRect.height;
idealXPos += this.options.rightTrigger ? triggerBRect.width : 0; // if rightTrigger option is true, the drop down menu is on the right of trigger
if you need it appear on the left side of trigger
leftTrigger: false,
idealXPos += this.options.leftTrigger? -triggerBRect.width : 0;
init dropdown:
alignment: 'right',
leftTrigger: true,

authors: aarontower pinzon1992 salomonrt


text:
fix issue #5105

fix issue #5105 (see description inside)

Sorry but this is not the right fix.

#3782 #3552

authors: DanielRuf VadimZhiltsov tomscholz


text:
Implement screensharing

Use the C++ SDK's screensharing capabilities when available. Also involves audiosharing if possible.

It would nice to be able to screenshare. Right now there is no capabilities for it on the C++ as far as I know and I think its a key component

Implemented; will be available in 1.1.0-beta.1 release.

authors: ivananfruns kubaau

repo: DolbyIO/comms-sdk-unreal


text:
Error on startup with new strapi version

Hey,
It seems fuzzy does not start with version 4.3.2:

Hey @corentingosselin,
I think this might be an issue with how you set up the fuzzy search plugin in the plugins.js. From what I can gather, this error is telling you that you passed an object ("{}") to the contentTypes key, yet this key is expecting an array.
Throwing this is error is the expected behaviour of the plugin, as we are validating the configuration object passed to the plugin on launch.
I think if you set the contentTypes array to an array everything should work as expected. For reference have a look at the example config.

Thanks !
forgot that config part, also forgot to build ;)

authors: DomDew corentingosselin

repo: DomDew/strapi-plugin-fuzzy-search


text:
Way to query an object, or specify the keys to query?

Hello, and thank you for this plugin!
I liked the easy way to setup!
I'm using an alternative Wysiwyg editor (editorjs),
and here is an example of how my content si stored in the pages model:
"pages": {
    "data": [
      {
        "attributes": {
          "title": "Hello title",
          "header": {
            "excerpt": "Hey i'm an excerpt"
          },
          "body": "{\"time\":1673535413146,\"blocks\":[{\"id\":\"HRvCGL8hBa\",\"type\":\"paragraph\",\"data\":{\"text\":\"Hey. Meet the new Editor. On this page you can see it in action — try to edit this text.\"}},{\"id\":\"sMdH3YdPVa\",\"type\":\"paragraph\",\"data\":{\"text\":\"Workspace in classic editors is made of a single contenteditable element, used to create different HTML markups. Each of them is an independent contenteditable element (or more complex structure) provided by Plugin and united by Editor's Core.\"}}],\"version\":\"2.26.4\"}"
        }
      }
    ]
  }

(title is a string, excerpt is a string but a child of the header object, and body is a stringified object)
And here is my config:
"fuzzy-search": {
    enabled: true,
    config: {
      contentTypes: [
        {
          uid: "api::page.page",
          modelName: "page",
          transliterate: false,
          queryConstraints: {
            where: {
              $and: [
                {
                  publishedAt: { $notNull: true },
                },
              ],
            },
          },
          fuzzysortOptions: {
            characterLimit: 300,
            threshold: -600,
            limit: 10,
            keys: [
              {
                name: "title",
                weight: 100,
              },
              {
                name: "header",
                weight: 100,
              },
              {
                name: "body",
                weight: 50,
              },
            ],
          },
        },
      ],
    },
  },

✔ So when my graphql query is "Hello" (a word in the title field), everything working as excepted:
query {
  search(query: "Hello") {
    pages {
      data {
        attributes {
          title
          header {
            excerpt
          }
          body
        }
      }
    }
  }
}

❌  But if the query is "Hey" (a word in the excerpt field), it should be returns some results, but I have empty results.
query {
  search(query: "Hey") {
...

❌  And if the query is "Editor" (a word in the body field), it should be returns some results, but I have empty results.
query {
  search(query: "Editor") {
...

So I don't understand why and wondering how can I query the excerpt and body fields?
Also, is there a way to create a custom function to define how to query a specific field?
Thanks for your help!

Hey hey @maximelebreton ,
a fuzzy search can yield some weird results, when you query against longer strings - depending on the underlying algorithm. This library uses fuzzysort under the hood, as for me it yielded the best results for searching in longer strings that a CMS like Strapi oftentimes proves (like long description texts and the like).
I suggest you start by lowering the threshold in your config file to see if you get consistent results that you expect as well as dropping the characterLimit entirely and only introduce it as soon as performance is becoming an issue.
Let me know should you still have issues!

thanks @DomDew, I lowered the threshold & remove the characterLimit and it's working!

authors: DomDew maximelebreton


text:
Add constraints for planks

Ref: https://docs.google.com/document/d/15XlSw19b7vTuQT0LCpVJDoYMb14rEkakOQxkBQBJqNA/edit

Closed by #22

authors: Donisius winnxl

repo: Donisius/capstone


text:
gpt4-vision无法分析图片

vercel部署
cloudflare分配域名
报错内容
{
"error": {
"message": "json: cannot unmarshal array into Go value of type string (request id: 20231214130451569277952FI84XNUo)",
"type": "one_api_error",
"param": "",
"code": "count_token_messages_failed"
}
}
这里用的第三方api以及key

请确认下 第三方api  支持 gpt-4-vision-preview 模型否？
最好升级下 oneapi

确认支持，隔壁的lobechat都能用

我没法 具体判断因为 我没有你后端
你的提示我之前有碰到过，看起来像逆向的 gpt-4-v
直接用 curl试下 就知道了
用官网的demo
https://platform.openai.com/docs/guides/vision

最好 image_url.url 部分直接用 base64
官网是支持的 看看你的中转支持不

az，我不太懂这些。。。
还有就是，dall e默认调用openAI官方的，这似乎改不了

设置下 OPENAI_API_BASE_URL  会随着你设置 OPENAI_API_BASE_URL 请求地址走_

检查出来我的gpt-4-vision-preview 是有格式错误
在 v2.12.11 已修复

检查出来我的gpt-4-vision-preview 是有格式错误 在 v2.12.11 已修复

已确认解决

authors: Dooy bobandbrony

repo: Dooy/chatgpt-web-midjourney-proxy


text:
SA1200 wrongly firing with File Scoped Namespaces?

If I have a class like that:
using Project.Models.Base;

namespace Project.Models;

internal class Object
{
    public int Id { get; set; }
}

Then I get the warning SA1200 "A C# using directive is placed outside of a namespace element.". But with the File Scoped Namespace, every line in the file is within the namespace. So what are the conventions in this case?
Because if I move the using line below namespace line, it no longer triggers. How should using and namespace lines be placed in a class that uses File Scoped Namespace?

SA1200 wants the using statement after the file scoped namespace declaration.
Would be good if there documentation could get updated to clarify this.

authors: bjornhellander twojnarowski

repo: DotNetAnalyzers/StyleCopAnalyzers


text:
SA1400: file isn't recognized as an access modifier

file static class Extensions   // SA1400
{
    public static void Configure(this IServiceCollection services) => services.AddSingleton(new A());
}

Probably irrelevant now that I think about it, we're using StyleCop.Analyzers.Unstable v1.2.0.435 and file seems to be taken into account in master codebase


text:
字库自定义生成bug？

使用的版本是V0.08,字体我选择win10字库里的simsunb.ttf，路径C:\Windows\Fonts，映射表选择自定义无论生成多少字里面的C文件的内容都一样

把 simsunb.ttf 这个字体文件发出来

把 simsunb.ttf 这个字体文件发出来
simsunb.zip

这个看了下，除了ascii能识别正常，剩下的 freetype-py 都识别错误导致的，等一等freetype-py下个版本是否会修复

这个字体中文部分unicode是异常的，所以只能识别出来ascii部分，比如 尬 这个字，

unicode应该是\u5c2c，这个ttf却是\u0201B7，除了ascii部分剩下都是\u020000以上的编码，所以识别不出来正确的中文部分编码，建议更换字体

这个字体中文部分unicode是异常的，所以只能识别出来ascii部分，比如 尬 这个字，
unicode应该是\u5c2c，这个ttf却是\u0201B7，除了ascii部分剩下都是\u020000以上的编码，所以识别不出来正确的中文部分编码，建议更换字体

好的感谢解答，您这边用的字体文件是在win10字库里找的吗

这个字体中文部分unicode是异常的，所以只能识别出来ascii部分，比如 尬 这个字，
unicode应该是\u5c2c，这个ttf却是\u0201B7，除了ascii部分剩下都是\u020000以上的编码，所以识别不出来正确的中文部分编码，建议更换字体

好的感谢解答，您这边用的字体文件是在win10字库里找的吗

这个字体中文部分unicode是异常的，所以只能识别出来ascii部分，比如 尬 这个字，
unicode应该是\u5c2c，这个ttf却是\u0201B7，除了ascii部分剩下都是\u020000以上的编码，所以识别不出来正确的中文部分编码，建议更换字体

我是用win10的字库文件但是好多都是用不，不知道哪里有字体可以用

很多，谷歌，小米，华为，oppo，各种开源免费字体的

很多，谷歌，小米，华为，oppo，各种开源免费字体的

是我试用的方法不对嘛，华为，oppo，谷歌字体都试过了自定义生成出来的字体文件只有1kb，还是不对

很多，谷歌，小米，华为，oppo，各种开源免费字体的

 是我试用的方法不对嘛，华为，oppo，谷歌字体都试过了自定义生成出来的字体文件只有1kb，还是不对

这个我看了下是多线程引入之后产生的bug只对custom生效，我修复了，晚些会发布0.0.9

authors: Dozingfiretruck yiyueSir


text:
Sorting timestamps correctly

Add function to sort timestamps correctly even with mixed Sentinel2A-Sentinel2B paths.

Closes #2

repo: DragaDoncila/napari-sentinel-zip


text:
🛑 Moegirl(zh) Mainpage is down

In e1fbf9d, Moegirl(zh) Mainpage (https://zh.moegirl.org.cn/Mainpage) was down:

HTTP code: 403
Response time: 1983 ms

Resolved: Moegirl(zh) Mainpage is back up in beb8849.

repo: Dragon-Fish/moegirl-uptime


text:
[iOS] SponsorView scroll is stuttering when images are loading

Idea Description

Currently, SponsorView scroll is stuttering. Please fix that 🙏🏼

Reference images and links
https://user-images.githubusercontent.com/30540303/191462072-dd5dd552-c58b-45e9-83a6-05e8fc377d12.mp4

I want to challenge🙋♂

@HikaruSato
Thanks! Assigned 👍🏼

@ry-itto
Sorry, I tried it but it seemed difficult.😭
The size of the logo image (sponsorLogo) returned from the sponsor api(https://ssot-api-staging.an.r.appspot.com/events/droidkaigi2022/sponsor) is 2572 × 1322 pixels, which I think is too large for thumbnail display.
So, if I make this image size smaller (ex. half 1286 x 661), I think it will improve more, but is that impossible?

The size of the logo image (sponsorLogo) returned from the sponsor api(https://ssot-api-staging.an.r.appspot.com/events/droidkaigi2022/sponsor) is 2572 × 1322 pixels,

For example this
https://droidkaigi.jp/2022/images/sponsors/google.png

👀

I tried down sampling through Kingfisher's DownsamplingImageProcessor. But the app crashed....
(I might have to do the wrong use)
https://kingfisher.onevcat.com/downsamplingimageprocessor/

Hmm...

I think my suggestion is not best way, but I could resolve this situation.
I inserted ImagePrefetcher on refresh action Reducer like that, and this situation was disappeared.
case .refresh:
        state.isLoading = true
        return .run { @MainActor subscriber in
            for try await result: [Sponsor] in environment.sponsorsRepository.sponsors().stream() {
                await subscriber.send(
                    .refreshResponse(
                        TaskResult {
// insert ImagePrefetcher here
                            _ = ImagePrefetcher.init(urls: result.compactMap{URL(string: $0.logo)}, options: nil)
                            return result
                        }
                    )
                )
            }
        }
        .receive(on: DispatchQueue.main.eraseToAnyScheduler())
        .eraseToEffect()

@sohichiro thank you for your  suggestion 🙏
I'll try.

authors: HikaruSato ry-itto sohichiro sudachi808 woxtu


text:
implement child lock

childLockEnabled is now available in the tado application on smartphones
https://github.com/iobroker-community-adapters/ioBroker.tado/issues/128
https://forum.iobroker.net/topic/25723/test-adaper-tado-v0-1-x/730

https://github.com/DrozmotiX/ioBroker.tado/releases/tag/v0.2.5


text:
Add code formatting

add this dependency to cargo https://github.com/rust-lang/rustfmt

add .rustfmt.toml file and see this https://github.com/rust-lang/rustfmt/blob/master/intellij.md

repo: Druue/yellow


text:
Hyprland Crashes on Startup When Attempting To Load split-monitor-workspaces

Hyprland Crashes With Seg Fault When being started with split-monitor-workspaces through hyprload

Crashing began after recent update
Receives "Getting Dispatcher!" and failure to start Xwayland in terminal
hyprland crash report log has  [LOG]  [hyprload] Loading plugin: split-monitor-workspaces.so as last action before crash
Hyprland launches without issue when hyprload not auto started

Should close this issue or #21
Also facing the same issue.
My Crash Report

See this issue: https://github.com/Duckonaut/split-monitor-workspaces/issues/16

I looked through the log and seem to have a similar or even same issue
This happens seemingly on the latest git release of hyprland
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I tried so hard, and got so far...

Hyprland received signal 11 (Segmentation fault)

Version: a9b8e2159c2813a6951d0b0186fbb7f2f8554d3e
Tag: v0.27.2-54-ga9b8e215

Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.
Plugins:
	 ()

System info:
	System name: Linux
	Node name: artixbox
	Release: 6.2.11-273-tkg-pds-llvm
	Version: #1 SMP PREEMPT_DYNAMIC TKG Mon, 17 Apr 2023 23:21:17 +0000

GPU:
	01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (prog-if 00 [VGA controller])

os-release:
	NAME="Artix Linux"
	PRETTY_NAME="Artix Linux"
	ID=artix
	BUILD_ID=rolling
	ANSI_COLOR="0;36"
	HOME_URL="https://www.artixlinux.org/"
	DOCUMENTATION_URL="https://wiki.artixlinux.org/"
	SUPPORT_URL="https://forum.artixlinux.org/"
	BUG_REPORT_URL="https://bugs.artixlinux.org/"
	PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
	LOGO=artixlinux-logo

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x779) [0x557140c6cee9]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x40) [0x557140c04c40]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x38f50) [0x7f86be051f50]
		??
		??:0
	#3 | /home/rawhav0kk/media/builds/hypr/split-monitor-workspaces/split-monitor-workspaces.so(_ZNKSt12__shared_ptrI8CMonitorLN9__gnu_cxx12_Lock_policyE2EE3getEv+0xc) [0x7f86b4161c20]
		??
		??:0
	#4 | /home/rawhav0kk/media/builds/hypr/split-monitor-workspaces/split-monitor-workspaces.so(_ZNKSt19__shared_ptr_accessI8CMonitorLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EE6_M_getEv+0x18) [0x7f86b4162cac]
		??
		??:0
	#5 | /home/rawhav0kk/media/builds/hypr/split-monitor-workspaces/split-monitor-workspaces.so(_ZNKSt19__shared_ptr_accessI8CMonitorLN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv+0x18) [0x7f86b4161b2e]
		??
		??:0
	#6 | /home/rawhav0kk/media/builds/hypr/split-monitor-workspaces/split-monitor-workspaces.so(_Z23mapWorkspacesToMonitorsv+0xd3) [0x7f86b415d615]
		??
		??:0
	#7 | /home/rawhav0kk/media/builds/hypr/split-monitor-workspaces/split-monitor-workspaces.so(pluginInit+0x294) [0x7f86b415df7b]
		??
		??:0
	#8 | Hyprland(_ZN13CPluginSystem10loadPluginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xadd) [0x557140d109fd]
		??
		??:0
	#9 | Hyprland(_Z14dispatchPluginNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x110) [0x557140c78410]
		??
		??:0
	#10 | Hyprland(_Z8getReplyNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5b7) [0x557140c79897]
		??
		??:0
	#11 | Hyprland(_Z13hyprCtlFDTickijPv+0x165) [0x557140c7a575]
		??
		??:0
	#12 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f86be9e0ae2]
		??
		??:0
	#13 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f86be9e12d7]
		??
		??:0
	#14 | Hyprland(main+0xab6) [0x557140bf48d6]
		??
		??:0
	#15 | /usr/lib/libc.so.6(+0x23790) [0x7f86be03c790]
		??
		??:0
	#16 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f86be03c84a]
		??
		??:0
	#17 | Hyprland(_start+0x25) [0x557140c04ae5]
		??
		??:0

Log tail:
[LOG] GlobalShortcutsManager bound successfully!
[LOG] ToplevelExportManager bound successfully!
[LOG] ScreencopyProtocolManager bound successfully!
[LOG] [wl res 557143e425d0] created
[LOG] [wl res 557143e425d0] set impl to 557140d9fc20
[LOG] [wl res 557143e46ad0] created
[LOG] [wl res 557143e46ad0] set impl to 557140d9fc10
[LOG] [wl res 557143e42420] created
[LOG] [wl res 557143e42420] set impl to 557140d9fc10
[wlr] [types/wlr_compositor.c:688] New wlr_surface 0x557143e470c0 (res 0x557143e46c00)
[wlr] [types/xdg_shell/wlr_xdg_surface.c:373] new xdg_surface 0x557143e47760 (res 0x557143e47870)
[LOG] New XDG Surface created. (class: (null))
[LOG] Registered signal for owner 557143e47b10: 557143e473a0 -> 557143e47b78 (owner: XDG Window)
[LOG] Registered signal for owner 557143e47b10: 557143e47810 -> 557143e47c48 (owner: XDG Window)
[wlr] [types/wlr_compositor.c:688] New wlr_surface 0x557143e48fb0 (res 0x557143e49360)
[wlr] [types/wlr_xdg_decoration_v1.c:221] new xdg_toplevel_decoration 0x557143e49480 (res 0x557143e49560)
[LOG] Registered signal for owner 557143e47b10: 557143e4ff40 -> 557143e48128 (owner: Toplevel)
[LOG] Registered signal for owner 557143e47b10: 557143e4ff50 -> 557143e48190 (owner: Toplevel)
[LOG] Registered signal for owner 557143e47b10: 557143e4ff60 -> 557143e480c0 (owner: Toplevel)
[LOG] Registered signal for owner 557143e48330: 557143e473d0 -> 557143e48338 (owner: CWLSurface)
[LOG] CWLSurface 557143e48330 called init()
[LOG] Registered signal for owner 557143e47b10: 557143e473b0 -> 557143e47be0 (owner: CWindow)
[LOG] Searching for matching rules for Alacritty (title: Alacritty)
[LOG] Set keyboard focus to surface 557143e470c0, with window name: Alacritty
[LOG]  [hookSystem] New hook event registered: activeWindow
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 557143e47b10: 557143e47390 -> 557143e47b10 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e47a50 -> 557143e47cb0 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e47830 -> 557143e47de8 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e479e0 -> 557143e47f20 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e47a00 -> 557143e47eb8 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e47a10 -> 557143e47e50 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e47a20 -> 557143e47f88 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143e47b10: 557143e479f0 -> 557143e47d80 (owner: XDG Window Late)
[LOG] Registered signal for owner 557143d5aae0: 557143e473c0 -> 557143d5ab58 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 557143d5aae0: 557143e47390 -> 557143d5abc0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 557143d5aae0: 557143e473d0 -> 557143d5ac28 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 557143e47b10)
[LOG] Map request dispatched, monitor DP-1, xywh: 3452.000000 48.000000 1896.000000 1020.000000
[LOG]  [hookSystem] New hook event registered: openWindow
[LOG] Framebuffer created, status 36053
[wlr] [GLES2] Program/shader state performance warning: Vertex shader in program 14 is being recompiled based on GL state.
[wlr] [GLES2] Program/shader state performance warning: Vertex shader in program 8 is being recompiled based on GL state.
[LOG]  [hookSystem] New hook event registered: windowTitle
[LOG] Searching for matching rules for Alacritty (title: rawhav0kk@artixbox:~)
[LOG] Window 557143e47b10 set title to rawhav0kk@artixbox:~
[LOG] Searching for matching rules for Alacritty (title: rawhav0kk@artixbox:~/media/builds/hypr/split-monitor-workspaces)
[LOG] Window 557143e47b10 set title to rawhav0kk@artixbox:~/media/builds/hypr/split-monitor-workspaces
[LOG] Searching for matching rules for Alacritty (title: rawhav0kk@artixbox:~/media/builds/hypr/split-monitor-workspaces)
[LOG] Window 557143e47b10 set title to rawhav0kk@artixbox:~/media/builds/hypr/split-monitor-workspaces

This has most likely been fixed, closing as it's a really old issue

authors: JettScythe RawHav0kk steveonlinux zjeffer

repo: Duckonaut/split-monitor-workspaces


text:
Grammar railroad diagram

I'm looking at lpeg grammars and it's variants to generate an EBNF understood by https://www.bottlecaps.de/rr/ui using a lpeg/re varaint to do the transformation (see also here https://github.com/edubart/nelua-lang/issues/190), bellow is the output for libs/repreprocess/grammar.relabel .
Start ::=
	chunk ( '!' .  |  ( . *  )  )
chunk ::=
	( statement +  |   )
statement ::=
	( comment  |  if  |  block  |  include  |  define  |  source  |  #xA ) Cl
comment ::=
	Sp * "//" ( '!' #xA . ) *   |  Sp * "/*" ( '!' "*/" . ) *  "*/"
if ::=
	( directive_if Cl chunk elseif ? ( directive_endif  |   ) )
elseif ::=
	( directive_elseif Cl chunk ( Cl ( elseif  |  else ) ) ? )
else ::=
	directive_else Cl chunk
block ::=
	( directive_block_start Cl chunk ( directive_block_end  |   ) )
include ::=
	( directive_include Cl )
define ::=
	( directive_define Cl )
source ::=
	'!' directive '!' "//" '!' "/*" ( '!' #xA . ) +
directive ::=
	directive_if  |  directive_elseif  |  directive_else  |  directive_endif  |  directive_block_start  |  directive_block_end  |  directive_include  |  directive_define  |  directive_unknown
directive_if ::=
	"#if" Sp + WORD ( Sp * "==" Sp * WORD  |   )
directive_elseif ::=
	"#elseif" Sp + WORD ( Sp * "==" Sp * WORD  |   )
directive_else ::=
	"#else"
directive_endif ::=
	"#endif"
directive_block_start ::=
	"#block" Sp + WORD
directive_block_end ::=
	"#endblock"
directive_include ::=
	"#include" Sp + WORD
directive_define ::=
	"#define" Sp + WORD ( Sp + WORD  |   )
directive_unknown ::=
	"#" ( WORD ( '!' #xA . ) * )
Cl ::=
	Sp * #xA ?
Sp ::=
	' '  |  #x9 //%esc_t
WORD ::=
	[a-zA-Z_] [a-zA-Z_0-9] *
HASH ::=
	"#"

Thank you for finding my project and showing me these!
I could see this being helpful for SelenScript's grammar (which is generated by repreprocess)
But It would need converting from lpeg/re to PEG.js format, which is similar enough.
When I get back round to working on this project I'll be sure to try use these sites.


text:
[Dashboard][Aluno][Excluir] Implementar a exclusão de alunos

Exibir modal confirmando a exclusão do aluno.
"Você deseja remover o aluno desta atividade?"
com os botões sim e não

Atualizar a lista de alunos da atividade ao excluir o aluno

repo: DuduMonkey/OpenPBL


text:
Version 3.21.0 LIVE updates

Since few hours the 3.21.0 has been released in LIVE, you can find changed lines in the PR #101 that contains 1,777 lines and 179 new that has been added to the english global.ini
As of a few hours ago, version 3.21.0 has been released live.
You can find the list of changes in the PR #101 (thanks to @Auhrus ), which contains a total of 1,956 lines, including 179 new lines added to the english global.ini file.
From now on, new PR will be targeting the 3.21.0 live.
Update status:

[x] English
[ ] French - France
[x] German - Germany
[ ] Portuguese - Brazil
[ ] Spanish - Spain

German #121

Spanish #120

Italian #135

authors: Dymerz ROBdk97 juancmontes

repo: Dymerz/StarCitizen-Localization


text:
Feature/GRAIL-20095: provide python script to upload logs to dynatrace

Changes

Adjustment of upload_logs.py script to work
Add logging (Debug mode available with --debug or -d option)
Add requirements.txt for the script
Remove timezone option

Usage of the adjusted script
Prerequisites

API Token for Dynatrace Environment API v2 with following scope: logs.ingest

Syntax
usage: Dynatrace Log Uploader [-h] [-nt] [-d] environment_url access_token file_pattern root_directory

Uploads managed logs to a Dynatrace SaaS environment

positional arguments:
  environment_url       URL of the environment
  access_token          API access token to access the API. Required Scope: 'logs.ingest'
  file_pattern          Specify selection of log files (Unix path expansion rules)
  root_directory        Specify the root directory of the log files

options:
  -h, --help            show this help message and exit
  -nt, -rt, --no-traces, --remove-traces
                        Removes trace information from log lines before uploading
  -d, --debug           Enable debug logging

Example (without environment url and api token)
Ingests all log files that match the pattern feature*.log that are in the folder C:\workspaces\snippets\product\logging to the given environment url.
python .\uploads_logs.py <environment_url> <api_token> feature*.log C:\workspaces\snippets\product\logging

Runs into an error:
2024-12-17 18:11:16,942 - CRITICAL - An exception was raised while uploading
Traceback (most recent call last):
  File "C:\Dynatrace\snippets\product\logging\upload_logs.py", line 90, in main
    upload_logs(logging_settings)
  File "C:\Dynatrace\snippets\product\logging\upload_logs.py", line 154, in upload_logs
    Logger.debug(f"Splitting logs into {len(lists)} smaller partitions")
                                            ^^^^^
UnboundLocalError: cannot access local variable 'lists' where it is not associated with a value

Tbh, I don't think that we need this tool to be located in a public repository. Sorry Max. 🙂

repo: Dynatrace/snippets


text:
Automate global time series plots

Automate global time series plots. Resolves #26.

@golaz This is ready for review. I copied the output to https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.forsyth2/E3SM/v2/beta/2021_05_06_coupled_v2_test01.png.
I added the following section to the config file:
[global_time_series]
active = True
years = "1-100",
ts_num_years = 10
figstr=coupled_v2_test01
web_dir=/lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/E3SM/v2/beta/20210122.v2_test01.piControl.ne30pg2_EC30to60E2r2-1900_ICG.chrysalis
moc_file=mocTimeSeries_0001-0100.nc
experiment_name=20210122.v2_test01.piControl.chrysalis
ts_years = "1-50", "1-100",
climo_years ="21-50", "51-100",


text:
Changes to support assigning taxonomy to ASV using MAPseq output

Recently changed the tool used in V6 amplicon for assigning taxonomy to ASVs from DADA2 to MAPseq. This change has necessitated adding a conversion script (mapseq2asvtable.py) and updating the make_asv_count_table.py script.
Also ran prettier for the first time on this repo so quite a few small changes were made by it

It looks good to me, I didn't do an extensive review but the code looks alright to me. I added some minor comments

thank you! changes done


text:
[Request] Option to turn off flashlight option

Reason for this would be better compatibility with enhancedspectator
The main reason I’m using this mod though is because when I have Eladshud installed the sprint meter is still shown in spectator mode overlaying on top of spectator icons and somehow this mod fixes that plus the night vision and clock overlay is nice
If native compatibility could be added to just hide your extra flashlight toggle when this mod is enabled that would be awesome :)

I didn't know that mod exists, but thank for for the suggestion! I'll see what I can do about that in the next update

I added an option to hide the controls in v2.3, just change HideControls in the .cfg file to true. Also, if you want to turn off the flashlight completely, you can unbind it in the in-game control settings to disable it entirely.


text:
SyntaxError: future feature annotations is not defined

when import library
>>> from onnx2torch import convert
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/__init__.py", line 1, in <module>
    from onnx2torch.converter import convert
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/converter.py", line 13, in <module>
    from onnx2torch.node_converters import get_converter
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/node_converters/__init__.py", line 1, in <module>
    from onnx2torch.node_converters.activations import *
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/node_converters/activations.py", line 6, in <module>
    from onnx2torch.node_converters.registry import add_converter
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/node_converters/registry.py", line 7, in <module>
    from onnx2torch.onnx_graph import OnnxGraph
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/onnx_graph.py", line 10, in <module>
    from onnx2torch.onnx_node import OnnxNode
  File "/usr/bin/python3/lib/python3.6/site-packages/onnx2torch/onnx_node.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

This is pip list
Package                 Version
----------------------- ---------------------
absl-py                 1.0.0
cachetools              4.2.4
certifi                 2021.10.8
charset-normalizer      2.0.12
dataclasses             0.8
easydict                1.9
google-auth             1.35.0
google-auth-oauthlib    0.4.6
grpcio                  1.44.0
idna                    3.3
importlib-metadata      4.8.3
Markdown                3.3.6
numpy                   1.18.5
oauthlib                3.2.0
onnx                    1.11.0
onnx2torch              1.2.5
Pillow                  7.1.2
pip                     21.3.1
protobuf                3.19.4
pyasn1                  0.4.8
pyasn1-modules          0.2.8
requests                2.27.1
requests-oauthlib       1.3.1
rsa                     4.8
setuptools              59.5.0
six                     1.16.0
tensorboard             2.5.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit  1.8.1
thop                    0.0.31.post2005241907
torch                   1.9.0+cu111
torchaudio              0.9.0
torchvision             0.10.0+cu111
tqdm                    4.46.1
typing_extensions       4.1.1
urllib3                 1.26.9
Werkzeug                2.0.3
wheel                   0.37.1
zipp                    3.6.0

Is the python version(3.6.9) too old to use from __future__ import annotations ?
I need the version to run another AutoML project. Thanks.

I updated the python version to 3.7 to fix it.


text:
Modified the state of the themes dropdown

fixed #16 Modified the state of the themes from outlined to filled for default view so that icons does not change on search

I have fixed the issue by adding a new theme in #24 . So, this is creating conflict issues.
But now due to approved 24 PR the issue is fixed. We can close this now.

Please resolve conflicts!

Sir I have pushed the commits for this in the merged PR so I am closing this issue as it has been resolved with https://github.com/EOS-uiux-Solutions/eos-icons-adobe-xd/pull/24.

repo: EOS-uiux-Solutions/eos-icons-adobe-xd


text:
🛑 O3api - development (API development endpoint) is down

In f20b1dd, O3api - development (API development endpoint) (https://o3api.test.fedcloud.eu/api/v1/ui/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: O3api - development (API development endpoint) is back up in c1170d7.


text:
Segmentation fault in abi generator using a smart contract with a vector that references the same struct type (composite pattern)

The latest version of eos crash's with Segmentation fault in abi generator using a smart contract with a vector that references the same struct type (composite pattern)
#include <eosiolib/eosio.hpp>

using namespace eosio;

class dbstoresm : public eosio::contract {
  public:
      using contract::contract;

      /// @abi action
      void store( account_name user ) {
         store_index store(_self, _self);
         store.emplace(_self, [&]( auto& a ) {
           a.id = store.available_primary_key();
         });
      }
  private:
     //@abi table dbstore i64
     struct store_t {
        uint64_t id;
        vector<store_t> childs;

        uint64_t primary_key()const { return id; }
        EOSLIB_SERIALIZE(store_t, (id)(childs) )
     };
     typedef eosio::multi_index<N(dbstore), store_t>  store_index;
};

EOSIO_ABI( dbstoresm, (store) )

Manual command:
[root@web dbstoresm]# /usr/local/bin/eosio-abigen -extra-arg=-c -extra-arg=--std=c++14 -extra-arg=--target=wasm32 -extra-arg=-nostdinc -extra-arg=-nostdinc++ -extra-arg=-DABIGEN -extra-arg=-I/usr/local/include/libc++/upstream/include -extra-arg=-I/usr/local/include/musl/upstream/include -extra-arg=-I/root/opt/boost_1_67_0/include -extra-arg=-I/usr/local/include -extra-arg=-I/root/eosio/dbstoresm -extra-arg=-fparse-all-comments -destination-file=dbstoresm.abi -verbose=0 -context=/root/eosio/dbstoresm dbstoresm.cpp --
1589906ms thread-0   abi_generator.hpp:68          ricardian_contracts  ] Warning, no ricardian clauses found for dbstoresm

1589906ms thread-0   abi_generator.hpp:75          ricardian_contracts  ] Warning, no ricardian contract found for store

Segmentation fault

What version of eos.io exactly please as this was very recently fixed.

[root@web eos]# git describe --tags
dawn-v4.2.0-119-g4168d31

Can't find that git commit hash. Are you on dawn-v4.2.0 tag?

Nevermind I was able to repro on current master.

repo: EOSIO/eos


text:
More transaction context changes for resource payer feature, and adding exceptions for resource payer limits

Change Description

More transaction context changes for resource payer feature. Also, adding exceptions for resource payer limits, and updated resource limits manager.
Change Type
Select ONE:

[ ] Documentation

[ ] Stability bug fix

[x] Other

[ ] Other - special case

Testing Changes
Select ANY that apply:

[x] New Tests

[ ] Existing Tests

[ ] Test Framework

[ ] CI System

[ ] Other

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

This may just be a work-in-progress PR, but it is consensus breaking.

Is it the extensions check?  I guess rather than taking those out, we need to check to see if the feature has been activated?

This may just be a work-in-progress PR, but it is consensus breaking.

Can you please specify which part is consensus breaking? And also, any suggestions how to implement without breaking the consensus? Thanks.