publisher and mandatory option

I'm using sneakers for few days now, and i'm stuck on publishing msg.
When there is no worker yet for some queue, and i'm doing Sneakers.publish it just publish msg and there is no checking if message was routed to queue (queue don't exists until worker will subscribe)
So - my messages are vanished.
After some diging i've found :mandatory options for bunny, but there in no on_return callback defined for publisher.
Is there any other way in sneakers to ensure if the message was really published ?

Hi, sneakers is first and foremost a worker library. The publisher feature is a secondary concern since the assumption is that you can publish from anywhere: ruby, go, node and more, while processing exclusively with sneakers.
This is why it makes less sense to have a publisher without a worker.
You may still resolve your issue by creating your queue explicitly via API or code

Here is an ActiveJob adapter, that uses mandatory option https://github.com/veeqo/advanced-sneakers-activejob#unrouted-messages


Timeline Y Bounds Should only consider Visible Paths

Currently the entire timeline is always considered when determining its Y bounds.
Only the visible paths (according to the timeline's view bounds) should be considered.

Closed by #27


LIBCLOUD-759 Updated pricing.json file to include data from SoftLayer

Updated pricing.json file to include data from SoftLayer. I got this pricing data by launching each type of node and looking at its "hourlyRecurringFee" attribute in its extras dictionary.

Thanks, but for this actually to work you also need to update the driver to use this information.
See:

https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/softlayer.py#L441
https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/cloudsigma.py#L251 - an example of how to retrieve the size pricing from the pricing file

@Kami My apologies for missing that. Thanks for the hint on what to fix. My latest commit should have it working successfully (tested with list_sizes).

Added a small test case (0ca765136c767b631272e620e27333b8ca100827) and merged it into trunk.
Thanks!


Typical usage:
// Go to Noms
type T struct {
  S string
  N int32
}
nomsVal, err := marshal.Marshal(T{"Hi", 42})

// Noms to Go
var goVal T
err = marshal.Unmarshal(types.NewStruct("T", types.StructData{
  "S": types.String("Bye"),
  "N": types.Number(555),
}, &goVal)

Fixes #1591

PTAL

LGTM with comment nits and some test nits

you can land without changing the panic and error stuff if you want, though since errors are part of the public API I understand if you want to take a pass at reducing the variety you use.


Error message on publishing to relays

Error message I get when I try to publish note to public relays:
Fatal error: Uncaught WebSocket\TimeoutException: Client read timeout in /home/username/nostr-php-dev/nostrdev/vendor/textalk/websocket/lib/Connection.php:464
Stack trace:
#0 /home/username/nostr-php-dev/nostrdev/vendor/textalk/websocket/lib/Connection.php(166): WebSocket\Connection->read()
#1 /home/username/nostr-php-dev/nostrdev/vendor/textalk/websocket/lib/Connection.php(115): WebSocket\Connection->pullFrame()
#2 /home/username/nostr-php-dev/nostrdev/vendor/textalk/websocket/lib/Client.php(221): WebSocket\Connection->pullMessage()
#3 /home/username/nostr-php-dev/nostrdev/vendor/swentel/nostr-php/src/Relay/
Relay.php(47):  WebSocket\Client->receive() #4 /home/username/nostr-php-dev/nostrdev/publish.php(66): swentel\nostr\Relay\Relay->send() #5 {main} thrown in /home/username/nostr-php-dev/nostrdev/vendor/textalk/websocket/lib/Connection.php on line 464

The error is when I try to publish to public relays.
When I tried to publish to relay on my local machine at ws://<IP_ADDRESS>:6969 it works. But not able to publish note to public relays.

Please let me know if you are still having issues with publishing events to public relays. If so, please share a code snippet so I can try reproduce it.


Ore generation needs documentation

BBoldt once did like an unabridged book/guide. I think that approach is rather good - but i basically would just put a single static page of concept/promise of the pack,  the roe generation, if necessarily special settings/highlights and a credit. (This is based on the gigantic assumption that progression needs no explanation.)

See if you can find a way to add documentation with JEI "Description" tags.
Might require a custom mod, I could talk to some people about it.

You read my mind. I feel like there's a mod for that already, a way to add descriptions via mine tweaker.

I once wrote an entire XML based system to do this; see https://github.com/unascribed/Farrago/blob/master/src/main/resources/assets/farrago/encyclopedia.xml
If it looks good I can update it.

1.10 Unabridged/Abridged discontinued.


Create a readme to be included with output products

Like hyp3-gamma, we need to create a readme describing the sub-products in the output product directory. The hyp3-gamma readme template is here. On a high-level this file should include:

source granule names
~product naming specification~
pixel spacing discussion
how to use this data

point to hyp3 docs
how to cite
information on input granules
information on input dem

product contents

description of each sub-product

…
…

InSAR processing

short summary as numbered list
in depth description of each step

…
…

information on the sentinel-1 mission
how to contact ASF

Done!


go_router Ignores ShellRoute with Nested Grandchild Navigation

I am using Flutter 3.3.10 and go_router 6.0.1. I have created a sample Flutter app for desktop that has a navigation bar on the left. I want my routes to navigate only to the right of the nav so the nav is persistent and never changes.
This works great when going between top-level pages or drilling down one level in the nav hierarchy:

But once you go from a child page to a grandchild page, the views animate over the top of the nav, which would suggest it's ignoring the ShellRoute established at the top of the navigation tree.

Is this a bug or am I doing something wrong?
Full code is below.

Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

void main() {
  runApp(MaterialApp(home: Routes()));
}

final GlobalKey<NavigatorState> rootNavigatorKey = GlobalKey<NavigatorState>(debugLabel: 'root');
final GlobalKey<NavigatorState> firstNavigatorKey = GlobalKey<NavigatorState>(debugLabel: 'shell');

class Routes extends StatelessWidget {
  Routes({super.key});

  final GoRouter router = GoRouter(
    navigatorKey: rootNavigatorKey,
    initialLocation: '/a',
    routes: [
      ShellRoute(
        navigatorKey: firstNavigatorKey,
        builder: (BuildContext context, GoRouterState state, Widget child) {
          //Main App Structure =====
          return Scaffold(
            body: Row(
              children: [
                const SizedBox(
                  width: 68,
                  child: Nav(),
                ),
                Expanded(child: child),
              ],
            ),
          );
        },
        routes: [
          //===== A =====
          GoRoute(
            path: '/a',
            pageBuilder: (context, state) => NoTransitionPage<void>(
              key: state.pageKey,
              child: const PageA(),
            ),
            routes: [
              GoRoute(
                path: 'child',
                builder: (context, state) {
                  return const PageAChild();
                },
                routes: [
                  GoRoute(
                    path: 'grandchild',
                    builder: (context, state) {
                      return const PageAGrandChild();
                    },
                    routes: [],
                  ),
                ],
              ),
            ],
          ),
          //===== B =====
          GoRoute(
            path: '/b',
            pageBuilder: (context, state) => NoTransitionPage<void>(
              key: state.pageKey,
              child: const PageB(),
            ),
            routes: [],
          ),
        ],
      ),
    ],
  );

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: router,
      debugShowCheckedModeBanner: false,
    );
  }
}

class Nav extends StatelessWidget {
  const Nav({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: const BoxDecoration(color: Colors.white),
      child: Column(
        children: [
          TextButton(
            onPressed: () {
              GoRouter.of(context).go('/a');
            },
            child: const Text('Go to A'),
          ),
          const SizedBox(height: 20),
          TextButton(
            onPressed: () {
              GoRouter.of(context).go('/b');
            },
            child: const Text('Go to B'),
          ),
        ],
      ),
    );
  }
}

class PageA extends StatelessWidget {
  const PageA({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: const BoxDecoration(color: Colors.deepPurple),
      child: Center(
        child: Column(
          children: [
            const Text(
              'Page A',
              style: TextStyle(color: Colors.white),
            ),
            TextButton(
              onPressed: () {
                GoRouter.of(context).go('/a/child');
              },
              child: const Text('Go to A\'s Child'),
            ),
          ],
        ),
      ),
    );
  }
}

class PageAChild extends StatelessWidget {
  const PageAChild({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: const BoxDecoration(color: Colors.deepOrange),
      child: Center(
        child: Column(
          children: [
            const Text('Page A Child'),
            TextButton(
              onPressed: () {
                GoRouter.of(context).go('/a/child/grandchild');
              },
              child: const Text(
                'Go to A\'s Grandchild',
                style: TextStyle(color: Colors.white),
              ),
            ),
            TextButton(
              onPressed: () {
                GoRouter.of(context).pop();
              },
              child: const Text('Go Back'),
            ),
          ],
        ),
      ),
    );
  }
}

class PageAGrandChild extends StatelessWidget {
  const PageAGrandChild({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: const BoxDecoration(color: Colors.red),
      child: Center(
        child: Column(
          children: [
            const Text('Page A Grandchild'),
            TextButton(
              onPressed: () {
                GoRouter.of(context).pop();
              },
              child: const Text('Go Back'),
            ),
          ],
        ),
      ),
    );
  }
}

class PageB extends StatelessWidget {
  const PageB({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      decoration: const BoxDecoration(color: Colors.pink),
      child: const Center(
        child: Text('Page B'),
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm (Rosetta), locale en-US)
• Flutter version 3.3.10 on channel stable at /Users/clifton/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (6 weeks ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/clifton/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.74.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.58.0
[✓] Connected device (1 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.1 22C65 darwin-arm (Rosetta)
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Thanks for the report. Seeing the same behavior as reported, so will this issue open for team's thoughts on expected behavior.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (28 hours ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.7.0-27.0.pre.25, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.7.0-27.0.pre.25 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c9affdba9d (3 hours ago), 2023-01-25 21:25:02 -0800
    • Engine revision 8f1e5dc1b1
    • Dart version 3.0.0 (build 3.0.0-157.0.dev)
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Is this perhaps the issue also normally seen in nested navigators?
Usually I have fixed this by clipping the nested navigator.
I am not sure if thats possible with a shellroute 🤔

This is a duplicate of https://github.com/flutter/flutter/issues/113130


Add extra info and formatting to the cave create function

Add some new lines between relevant output items
Add context for how to set up a mapbox token (steal from the readme)
Add some context at the end for where to find all the variables (.env)
Add any other output you might find helpful or missing

Closing this to move the issue to cave_cli for better tracking.


Pull strings from buffer to match performance gained on numerical streams

Idea:

[x] Test if the new variable-length string dtype, numpy.dtypes.StringDType in numpy 2.0 can be used to pull strings

[x] Test:
from ctypes import c_char_p
import numpy as np

# Assuming data_buffer is your ctypes array of c_char_p
# and n_samples_data and self._n_channels are defined
samples = np.ctypeslib.as_array(data_buffer)[:n_samples_data]
samples = samples.reshape(-1, self._n_channels)

# Decode the bytes to strings efficiently using np.char.decode
samples = np.char.decode(samples, 'utf-8')

StringDType in NumPy 2.0 stores variable-length string data not in the main ndarray data buffer but elsewhere. Specifically, the array buffer contains metadata about where the string data is stored, not the string data itself. This design means that functions like np.frombuffer, which rely on the data being in the main buffer, cannot be used with StringDType.

np.ctypeslib.as_array is not working either.
And:
    data = np.array(data_buffer[:n_samples_data], dtype=object)
    data = np.vectorize(lambda x: x.decode("utf-8"))(data)

is not faster.


update mappings for mbc (part 5)

Added MBC mappings to lib and linking namespaces, as well as for rules in other namespaces that were added after those namespaces were originally mapped to MBC. Where possible, all but nursery namespace have been mapped.

awesome, thank you!

awesome, thank you!

😃 Thanks, Willi!

😃 Thanks, Willi!


Truncated genotyping

Hi Jana,
I ran PanGenie for genotyping on my own dataset, and it finished without errors or warnings. However, I found on all 11 chromosomes, the genotyping results stopped too early, around 11 Mb or 13 Mb while the the chromosome length should be close to 30 Mb.
What is your recommendation to solve this problem?
Thank you!
Honghe

Hi Jana,
Thank you for your reply! My output has the same variant record number as
the input, but after some position of each chromosome, all the following
positions are called as missing (./.). I found this problem disappeared
after I removed the ‘-u’ parameter. I didn’t see anything abnormal in the
log.
Best regards,
Honghe
On Thu, Sep 14, 2023 at 12:35 Jana Ebler @.***> wrote:

Hi Honghe,
the output VCF should contain exactly the same variants as the input VCF,
just with variants added. So in your case, the number of variants is
different? Do you have the log output of PanGenie? And can you share the
command you used to run it?
Best,
Jana
—
Reply to this email directly, view it on GitHub
https://github.com/eblerjana/pangenie/issues/48#issuecomment-1719784027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUNRB3JIL5QOHYB4AVHDQDX2MW63ANCNFSM6AAAAAA4UGV6FE
.
You are receiving this because you authored the thread.Message ID:
@.***>

if you use the -u parameter, PanGenie reports genotype „./.“ for all variants not covered by any unique kmers. So I guess in your case, there are no unique kmers for these variants.

Hi Jana,
Then that'll be really weird to me. For each of the 11 chromosomes I have, the genotypes after ~ 10-13 Mb are all "./.". Considering my chromosome length ranges 28-38 Mbp, I cannot believe the rest 20 Mbp have no unique kmers at all. Besides, subsetting the reads with only those mapped to the un-genotyped regions could produce genotypes for some region but again after some position, all the following genotypes were "./.". However, I feel without "-u" parameter, my results look good.
Since I can do genotyping without "-u" well, I think my problem has been solved well. I'll close this issue.
Thank you!
Best regards,
Hognhe

if you use the -u parameter, PanGenie reports genotype „./.“ for all variants not covered by any unique kmers. So I guess in your case, there are no unique kmers for these variants.


Add support for variable interpolation to validator

Depending on #429

Blocks https://github.com/api3dao/airnode/issues/470

Related to https://github.com/api3dao/airnode/issues/431#issuecomment-895075999

Tracked by https://api3dao.atlassian.net/browse/AN-141


Compiler: resolve generics in macros, and add Genreic#resolve and Generic#resolve? macro methods

Fixes #6576
This code right now works:
{{ String }}

String (a Path AST node) is resolved in macros to a TypeNode denoting its type, or a compile-error ir raised. However, the same thing with generics (a Generic AST node) doesn't work:
{{ Array(String) }} # can't execute Generic in a macro

This should work in the same way, resolving to a TypeNode. This is what this PR fixes.
It also adds resolve and resolve? macro methods to the Generic. For example:
# Macros always receive AST nodes, and we need `resolve` to solve them to a TypeNode
macro abstract?(node)
  {{ node.resolve.abstract? }}
end

p abstract? IO            # => true
p abstract? String        # => false
p abstract? Array(String) # => false

Thank you, @asterite ❤

What about Unions? They aren't resolvable as well ATM.

Yes, you can write Union(Sting, Int32)

@asterite,
macro type(type)
  {% pp! type.resolve %}
end

type Int32         # type.resolve # => Int32
type Int32?        # type.resolve # => (Int32 | Nil)
type Array(Int32)? # type.resolve # => (Array(Int32) | Nil)

but
macro type(declaration)
  {% pp! declaration.type.resolve %}
end

type id : Int32                     # declaration.type.resolve # => Int32
type id : Int32?                    # undefined macro method 'Union#resolve'
type id : Array(Int32)?             # undefined macro method 'Union#resolve'
type id : Union(Int32 | Nil)        # declaration.type.resolve # => (Int32 | Nil)
type id : Union(Array(Int32) | Nil) # declaration.type.resolve # => (Array(Int32) | Nil)

Why is it so?

@asterite bump. Maybe you just forgot something little to make ? work? If so, fixing it would make the PR complete


Throw all code together for all in one device?

Hi,
I have a question about the code.
I use the virtual meter for Soyosurce and now I want to use your code for my Neey and JK-BMS, too.
Virtual meter is connected via UART, the Neey and JK-BMS should be connected via BT.
In the JK-BMS code I see a setting for the correct protocol, so I´m not sure if this setting will impact the connection with the Neey if the code is merged.
Iam not very good in programming, but I will try to merge all together if this is possible.
Can you please tell me if it will be possible?

Yes it is possible and should work out of the box. Do you still need support?


Object sainlogic.0.info.last_listener_update is invalid

Describe the bug
During (inital) startup the follwoing warning ist reported:
sainlogic.0 | 2022-06-25 19:58:37.799 | info | State value to set for "sainlogic.0.info.last_listener_update" has to be type "string" but received type "number"
sainlogic.0 | 2022-06-25 19:58:37.408 | warn | This object will not be created in future versions. Please report this to the developer.
sainlogic.0 | 2022-06-25 19:58:37.408 | warn | Object sainlogic.0.info.last_listener_update is invalid: Default value has to be type "string" but received type "number"
To Reproduce
Steps to reproduce the behavior:
Perform an initail installtion of an instance
Expected behavior
No such warning should occure
Versions:

Adapter version: sainlogic 0.9.0
JS-Controller version: 4.0.21
Node version: 14.19.0
Operating system: raspian

Can you show the value it is trying to set into listener_update? Debug log should show it.
Based on the code it should be a string value....

The error does NOT occure when new values arrive.
The error occures when starting a new instance and the datapoints are initially created. The message does not occure a second time or during normal operation. Looks like some sort of initialization error or type mismatch during creation of instance.
I've taken a look into you script and io-package.json but I do not see a problem there.
Maybe the empty string for the object (at io-package.json) is considered numeric - but that would be an surprise.
Anyway:

Object sainlogic.0.info.last_listener_update is invalid: Default value has to be type "string" but received type "number"<
indicates that the problem occured during creation of the object.

I'll try to reproduce at a dev installation to get the exact time of error. But this might last until mid or even end of this week. Sorry.

Sorry for the late reply. I did an installation at a testenvironment (windows ioBroker) today.
The warning was reproduceable with the following steps:
a) Precondition:
New system, sainlogic was never installed at this system before.
b) I set default loggin to DEBUG at system settings
c) I installed<EMAIL_ADDRESS>via admin
The following was logged at installation console (admin console window):
$ iobroker add sainlogic auto --host Speedy
NPM version: 6.14.16
Installing<EMAIL_ADDRESS>  (System call)
host.Speedy 2022-07-12 17:17:12.528	info	iobroker NPM version: 6.14.16
host.Speedy 2022-07-12 17:17:11.218	info	iobroker add sainlogic auto --host Speedy

d) Next I entered the instance setup menu
and
-) marked "enabled" box at listener config
-) selected <IP_ADDRESS> -all IPs
-) closed the setup with save and exit
After this stehp the error was logged again:
sainlogic.0 2022-07-12 17:27:28.173	info	State value to set for "sainlogic.0.info.last_listener_update" has to be type "string" but received type "number"
sainlogic.0 2022-07-12 17:27:28.141	warn	This object will not be created in future versions. Please report this to the developer.
sainlogic.0 2022-07-12 17:27:28.141	warn	Object sainlogic.0.info.last_listener_update is invalid: Default value has to be type "string" but received type "number"
sainlogic.0 2022-07-12 17:27:28.131	info	Creating new data point: weather.info.tf_batt
sainlogic.0 2022-07-12 17:27:28.131	info	Creating new data point: weather.current.tf_ch
:
: see above
:
I hope this information helps diagnosing the cause of the warning.
If I can help further, please contact me (mcm57@gmx.at). German is ok too if prefered.

Hmm. Unfortunately the log doesn't tell what the value was it tried to set :/
I'll check into the codebase...

Can't find anything in code base which would send a number to this state value :/
Changed one line of code to match EW with WU  code.

Can you reproduce this issue with the latest version or is it solved now?

Added to release 0.10.1


.odo/env is not in .gitignore

/kind bug
How did you run odo exactly?
odo create maven

cat .gitignore
# git ignore contains just line with
# .odo/odo-file-index.json

Expected behavior
in addition to .odo/odo-file-index.json odo should also populate .gitingore with .odo/env as this is an environment-specific configuration that shouldn't get to git repository.

I can work on this


there is no way to ignore submodule dir

it seems that there is no way to ignore the submodule dir, is there any advice?

because when I do not ignore the submodules, the cli report me that the commitID can not match.
because the step1 and I do not care much about the submodule, so i just want to ignore it.

because when I do not ignore the submodules, the cli report me that the commitID can not match.

Interesting, I don't expect that to be the case - do you have a repro you can share?

because when I do not ignore the submodules, the cli report me that the commitID can not match.

Interesting, I don't expect that to be the case - do you have a repro you can share?

sorry it is a repo for my company, but you can create this very simple, but add a submodule in a git repo, and the add some commits in the repo

but you can create this very simple, but add a submodule in a git repo, and the add some commits in the repo

We have tests which show that submodules work in at least some cases: https://github.com/bazel-contrib/target-determinator/blob/d4ef4cce0ca6486ef821ef14a403341392bf2013/tests/integration/java/com/github/bazel_contrib/target_determinator/integration/Tests.java#L396-L446
If you could give more detailed instructions (ideally a simple git repository, or a list of commands to run to create one), I'd for sure be interested in working out what's going wrong here.

driver b0e36adca2fa0eb6ffe2b2eacdcd669b50dd7f8e
2022/07/07 10:45:46 Discovering affected targets
2022/07/07 10:45:46 Processing revision 'before' (sha: b0e36adca2fa0eb6ffe2b2eacdcd669b50dd7f8e)
2022/07/07 10:48:12 failed to process change: failed to load metadata at revision 'before' (sha: b0e36adca2fa0eb6ffe2b2eacdcd669b50dd7f8e): failed to checkout revision 'before' (sha: b0e36adca2fa0eb6ffe2b2eacdcd669b50dd7f8e) in /Users/userA/dailywork/exp/release: failed to update submodules during checkout revision 'before' (sha: b0e36adca2fa0eb6ffe2b2eacdcd669b50dd7f8e): exit status 128. Output: Submodule 'product_fl' (http://gitlab.company.local/algorithm/product_fl.git) registered for path 'algorithm/product_fl'
Submodule 'product_library' (http://gitlab.company.local/algorithm/product_library.git) registered for path 'algorithm/product_library'
Submodule 'cli' (http://gitlab.company.local/debug/product_cli.git) registered for path 'cli'
Submodule 'engineS' (http://gitlab.company.local/product_engine/product.git) registered for path 'engineS'
Submodule 'idl' (http://gitlab.company.local/re/idl.git) registered for path 'idl'
Submodule 'sql' (http://gitlab.company.local/sql/go-db.git) registered for path 'sql'
Submodule 'chaos_test' (http://gitlab.company.local/qa/chaos_test.git) registered for path 'tests/chaos_test'
Cloning into '/Users/userA/dailywork/exp/release/algorithm/product_fl'...
Cloning into '/Users/userA/dailywork/exp/release/algorithm/product_library'...
Cloning into '/Users/userA/dailywork/exp/release/cli'...
Cloning into '/Users/userA/dailywork/exp/release/engineS'...
Cloning into '/Users/userA/dailywork/exp/release/idl'...
Cloning into '/Users/userA/dailywork/exp/release/sql'...
Cloning into '/Users/userA/dailywork/exp/release/tests/chaos_test'...
Submodule path 'algorithm/product_fl': checked out 'f3bad31eb4eaf81b8458c962573d91063bde7355'
Submodule path 'algorithm/product_library': checked out 'ea578f0882b495307f1b689dea0b7dae65ab6170'
Submodule path 'cli': checked out 'aa28f8190ec91d6b049aea8cc2f170e9ea74ed13'
Submodule path 'engineS': checked out '01eca6043b8fbd76eaea60d82cb13b29ecd675c3'
fatal: remote error: upload-pack: not our ref 2d7f5d7727c04197d2ad0f173e242c4705cbe84f
fatal: Fetched in submodule path 'idl', but it did not contain 2d7f5d7727c04197d2ad0f173e242c4705cbe84f. Direct fetching of that commit failed.

@sitaktif @illicitonion I have post the error in the above comments

I used the laster released driver version

There is concern about overloading the meaning of --ignore-file. One possibility is to add an argument specifically to avoid checking out submodules.


Fixes broken QMS link in ambition.md (#42)

Or should it be /company/qms/?

Ah thanks for catching this. I think the correct URL might be /company/qms because it looks similar, is this correct @huntons?

Yes, the full URL should be http://way.wunder.io/company/qms/


[libusb:x64-osx] build failure

Host Environment

OS: macOS 10.15.5
Compiler: XCode 11.5

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libusb
Failure logs
Building package libusb[core]:x64-osx...
CMake Error at ports/libusb/portfile.cmake:2 (message):
  Error: the port is unsupported on your platform.  Please open an issue on
  github.com/Microsoft/vcpkg to request a fix
Call Stack (most recent call first):
  scripts/ports.cmake:76 (include)

@matwey, could you help test if PR https://github.com/microsoft/vcpkg/pull/9561 works for you?

The PR #9561 has been merged, please get latest source and try again.


Scaffold drawer fix

Finishes the last part of #14296, adding public queries for the state of the drawers.

Is this the full change? Or does this need to be merged in with the PR referenced in the description (#14296)?
Also, can you add some tests to this?

@goderbauer It is! All the other parts of the referenced PR have already been added to the flutter in earlier commits. I will add some tests!

Please give issues #39736 & #19704 some attention ):


rename test_inner to test_outer

Closes #5921

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

outer does seems like a more appropriate name for the test.  As this is a name change in a test I am going to merge now.  Thanks @exemplary-citizen


Update nats bench to provide better performance metrics

@ColinSullivan1 @kozlovic

Coverage remained the same at 94.566% when pulling c67839bc4199248a91d51714793f086127036dea on update-nats-bench into 2c1f69d5c7719e30736c024a3ab43430cc7d8ee2 on master.


Adjust device popup positioning

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
The requested Resource is not related to an issue. I would like to make a suggestion regarding the display of the popup when clicking on a device. Currently it appears in the center of the map, disturbing the view of the device as they overlap it. I know I can click on the map or even move the popup, imagine doing that with hundreds of devices a day.
Describe alternatives you've considered
My suggestion would be that when clicking on a device, the popup would open next to the devices window, as shown in image "A".
And when hiding the devices, the popup would move into the devices space, as shown in image "B", and when clicking to show the devices, the popup would return to its initial position.
Additional context

The final result I got was this.
https://github.com/user-attachments/assets/40caece3-3e80-426c-8b29-2ebdbfe9df96

Hi guys, what do you think, should I submit?

Not sure I agree with the initial position. I would say in centered vertically on the right side would make more sense.
I like the Idea of saving the position though.

It would already help a lot.


Update command_builder.py

There was an issue submitted in the VVenC repository: https://github.com/fraunhoferhhi/vvenc/issues/315
This PR fixes the issues concerning fix QP mode and logfile for 2pass rate control:

fixing constant QP mode as it is currently not working (as long as video target bitrate is not set 0, the QP is ignored and the default ffmpeg bitrate of 200kbit/s is used)
set rate control statsfile with param rcstatsfile as passlogfile is not available for VVenC
removing no-slow-firstpass=1 as it is not known in VVenC

I have try to update that file to FastFlix installation folder but may not work , maybe it need to complied again


Uplift: Primary CI pipeline specified in yml (#621)

Uplifts CI yml pipeline from #621 to main. Doing this will allow us to disable/delete the old pipeline.

@grigoryk should this PR be directed to the develop branch instead?

Repointed at Develop (our main branch) some small conflicts @grigoryk


Incorrect condition

https://github.com/lautaroangelico/WebEngine/blob/97a91e500f4666a42e1cb727189be001e1fdf3c4/includes/classes/class.login.php#L142
The failed login attemps are never being cleared on a successful login.

Fixed in 1.2.0


Question regarding Delegated Property deprecation

I have noticed, that now Delegated Property are marked as Deprecated in the Readme's Overview:
https://github.com/wada811/ViewBinding-ktx/blob/master/README.md#overview
But looks like it's the only place where it's done. In the Delegated Property section below or in the source code they are not marked as Depricated either.
If they are deprecated - I am wondered what's the reason? Is it because of the IllegalStateException in the Fragment case?
If so - what is the current and the future state of these api?
Are you planing to remove them or make @RequiresOptIn ?
Btw, I am wondered if approach of using Delegated Property with Fragments has any draw-backs comparing to using the official approach described at https://developer.android.com/topic/libraries/view-binding#fragments
P.S. I acknowledge, that withBinding  approach is obviously preferable solution for the new Activities/Fragments, but migrating to it in the old classes might be an effort depending on the side of the code base.

The deprecation statement in the Readme might be too strong.
As you may have noticed, the Delegated Property was temporarily marked as @Deprecated because the withBinding approach was the preferred solution. However, due to the high migration cost for older classes, the decision to officially deprecate it was reconsidered.
The reason for deprecation is the IllegalStateException in the case of Fragments. However, there are no plans to remove, mark as @Deprecated, or use @RequiresOptIn for Delegated Properties, considering the high migration cost.
Comparing Delegated Property with the official approach, there are few drawbacks to using Delegated Property. If there is a possibility of accessing the binding outside the onCreateView and onDestroyView methods, in the official approach, you would use the _binding variable. However, with Delegated Property, using the binding variable casually might lead to a more frequent occurrence of IllegalStateException.
It's worth noting that even in the official approach, if you use the binding variable without considering the IllegalStateException, a similar exception can occur. Therefore, I don't believe the drawbacks of Delegated Property are significant.

I would like to write withBinding as recommended. And I think I'll stop marking Delegated Property as deprecated.


form do not send show errro it seems that you are arobot

form do not send show error" it seems that you are a robot " i

Please help this

Hi, i'm sorry. Another user report me about this issue, but now I have not a solution. The problem is that i can't replicate this issue on my servers ... everywhere I used this form it works well for me. If you have a public url where i can see your form I will try to find what is wrong, and try to fix it.


Fix the return value of bundling.

This happens due to support of grpc streaming -- function should
return an object with cancel method.

Current coverage is 92.34% (diff: 66.66%)

Merging #62 into master will decrease coverage by 0.40%

@@             master        #62   diff @@
==========================================
  Files             9          9
  Lines           980        980
  Methods         147        147
  Messages          0          0
  Branches        206        206
==========================================
- Hits            909        905     -4
- Misses           71         75     +4
  Partials          0          0

Powered by Codecov. Last update cb52529...ff747cf


Haskell-ghc-mod: ghc-mod failed to launch. It is probably missing or misconfigured. ENOENT

[Enter steps to reproduce:]

...
...

Atom: 1.21.0 x64
Electron: 1.6.9
OS: Kali GNU/Linux
Thrown From: haskell-ghc-mod package 2.1.1
User: root
Stack Trace
Haskell-ghc-mod: ghc-mod failed to launch.
It is probably missing or misconfigured. ENOENT
At Error was: Error
spawn ghc-mod ENOENT
Debug information:
{
  "dir": "/root/Desktop/Haskell",
  "err": {
    "code": "ENOENT",
    "errno": "ENOENT",
    "syscall": "spawn ghc-mod",
    "path": "ghc-mod",
    "spawnargs": [
      "version"
    ],
    "cmd": "ghc-mod version"
  },
  "opts": {
    "cwd": "/root/Desktop/Haskell",
    "env": {
      "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    },
    "encoding": "utf8",
    "maxBuffer": null
  }
}
Config:
{
  "ghcModPath": "ghc-mod",
  "enableGhcModi": true,
  "lowMemorySystem": false,
  "debug": false,
  "additionalPathDirectories": [],
  "cabalSandbox": true,
  "stackSandbox": true,
  "initTimeout": 60,
  "interactiveInactivityTimeout": 60,
  "interactiveActionTimeout": 300,
  "onSaveCheck": true,
  "onSaveLint": true,
  "onChangeCheck": false,
  "onChangeLint": false,
  "alwaysInteractiveCheck": true,
  "onMouseHoverShow": "typeAndInfo",
  "onSelectionShow": "",
  "maxBrowseProcesses": 2,
  "highlightTooltips": true,
  "highlightMessages": true,
  "hlintOptions": [],
  "experimental": false,
  "suppressGhcPackagePathWarning": false,
  "ghcModMessages": "console"
}
Environment (filtered):
{
  "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}

Error
    at CP.execFile (/packages/haskell-ghc-mod/lib/util.js:79:36)
    at exithandler (child_process.js:230:5)
    at ChildProcess.errorhandler (child_process.js:242:5)
    at emitOne (events.js:96:13)
    at ChildProcess.emit (events.js:188:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands
     -0:07.4.0 core:delete (input.hidden-input)
     -0:06.5.0 core:save (input.hidden-input)

Non-Core Packages
atom-jade 0.3.0
emmet 2.4.3
haskell-ghc-mod 2.1.1
ide-haskell 2.2.0
language-haskell 1.14.3
pigments 0.40.2
spacegray-atom-dark-syntax 1.3.2

It would appear you're missing binary dependencies. Please refer to https://atom-haskell.github.io/installation/installing-binary-dependencies/
In particular, you need to build ghc-mod.
TL;DR: if using Stack, run stack build ghc-mod in your project root. If using Cabal, create sandbox, install ghc-mod there and add sandbox's bin directory to 'Additional Path Directories'.

i dont know what stack is or cabal , i dont know what sandbox is can you explain in more detail please?

Atom-Haskell packages have binary dependencies that can not be installed with apm. Follow the link provided in my previous comment, then read carefully. Especially warnings. The guide assumes you have at least a basic idea of what you're doing, hence minimal knowledge on the Haskell ecosystem is required. You can start off with https://www.haskell.org/downloads (which you need to get compiler and toolchain anyway)

Closing due to inactivity.


Nami wallet unable to send out or receive tx

I can neither send Ada nor NFTs out from my Nami. Sometimes it says tx submitted and sometimes it says tx failed, but both times the tx are not sent out. I even sent some Ada from eternl to my nami. Even though I have sent it out from eternl successfully, nami still hasn't received the Ada that I successfully sent out from eternl.

I had similar issue but it’s fixed now
You can send a direct message to their support for further clarifications
https://docs.google.com/forms/d/e/1FAIpQLSfphhN7-LuuF4lai4IMg2HZSLpCMZAr54246NzCAdq2dPChig/viewform?usp=sf_link

Talk to Cardano Support on the Live support page so that your issue can be looked into.


Move source codes to src directory

I moved the source code files to the src directory in this change set.

Thanks, Hamed. it was great.


Upgrade to 32.3 stops an automation function

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (0.32.3 upgrade):
Python release (3.4.2):
Component/platform: Automation
#################################################################
#automation:
  - alias: turn_on_music_at_selected_time
    trigger:
      - platform: template
        value_template: "{{ is_state('sensor.time', states('input_slider.music_hour')|int ~ ':' ~ states('input_slider.music_minute')|int) }}"
    action:
      - service: shell_command.play_sound

Description of problem:
With 32.2 automation works properly and music plays on a RPi3, with 32.3 no play. No errors appear in the log. Downgraded back 32.2 and again works properly.
Expected:
Should play selected file
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:
First time experience, hope it is correctly filed.

Seems like you commented "automation:" out.

This is only a part of the automation.yaml file so is a duplicate label.  The only change is when upgraded to 32.3 is this does not work, reverting back to 32.2 and all is well again. No other changes. As a side note, this automation snippet does not work on a Pi2 on either 32.2 or 32.3.

Can you check that you can see the automation listed under Developer Tools? The link looks like <>. Since it's an automation it should show up at the top alphabetically.
Another thing that I've come across is problems when a file has the extension of .yml vs .yaml.

automation.start_music_timer	on	last_triggered: 2016-11-15T15:43:10.553490+00:00
friendly_name: Start Music Timer
input_slider.music_hour	10.0	icon: mdi:clock
max: 23
min: 0
step: 1
input_slider.music_minute	43.0	max: 59
min: 0
step: 1
This is what shows in 32.2  I will upgrade and compare.
Successfully installed homeassistant-0.32.4 requests-2.12.0
After the upgrade, "automation.start_music_timer" does not trigger.
Also with the upgrade it creates an error which may be the actual issue?
Error setting up platform nmap_tracker
It also reports  No such file or directory: 'arp'
However,
Requirement already satisfied: arp in /usr/local/lib/python3.4/dist-packages
Thanks

Issue self cleared after going back & forth between 32.2 & 32.4 a couple of time while looking for clues / errors. Thank you


Want to add one more project idea

We are trying to build a web3 marketplace where the users can buy some assets such as ebooks, pdfs, and other similar kind of files from the creators who want to make some bucks by selling their work.

@anshulsoni4 Are you working in a team or is it an individual contribution? Just confirming as you wrote "we". Let me know, okay!

@anshulsoni4 Are you working in a team or is it an individual contribution? Just confirming as you wrote "we". Let me know, okay!

oh, my bad
working individually

Okay, no worries.

@anshulsoni4 assigned to you. Start working on it.

sure thanks

@shubhisingh184 i have raised a PR please check


Modified team details in PPP

Pull Request Test Coverage Report for Build 471

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.063%

Totals

Change from base Build 469:
0.0%

Covered Lines:
2050

Relevant Lines:
3200

💛  - Coveralls


Enhance Readme with Dynamically Fetched Contributors' Avatars

🚀 Feature Proposal
Proposed Solution
Integrate a dynamic solution that fetches contributors' avatars from their GitHub profiles and displays them in the Readme. This will not only showcase the diverse community contributing to the project but also add a personal touch to the documentation.
Motivation
Adding dynamically fetched contributors' avatars to the Readme file is not just a cosmetic enhancement; it's a visual celebration of our contributors' invaluable efforts. This addition fosters a stronger sense of community, encouraging both new and existing contributors to feel recognized and connected to the project. Let's make our Readme reflect the vibrant and diverse community that drives the success of our open-source endeavor.
Example ( Following will be exactly added to your readme file.)
🤝 Contributors
Thanks go to these wonderful people:

Hi @aditya-armal, can you assign this issue to me?


Update issue templates

Proposing bug report format to streamline issue reporting.

I noticed this feature in the custom card repository and you beat me to it here.


How can i summary some information in wandb

Weights and Biases version: latest
Python version: 3.6
Operating System: MacOS

Description
I used tensorflow estimatore and logging some metric and sub loss value
But metric and sub loss value doesn't show in wandb summary
What I Did
In Estimator model function
        logging_hook = tf.train.LoggingTensorHook({"vae_loss": vae_loss,
                                                "prediction_loss": self.prediction_loss,
                                                'kl_divergence': kl_divergence,
                                                'autoencoder_loss': autoencoder_loss,
                                                'accuracy': accuracy_for_train},
                                                every_n_iter=1000)

        return tf.estimator.EstimatorSpec(mode = mode,
                                        loss = self.loss,
                                        eval_metric_ops = self.metrics,
                                        train_op = self.train_op,
                                        training_hooks = [logging_hook],
                                        predictions = {'prediction': self.prediction})

and start estimator
estimator.train(dataset.train_input_function, hooks=[wandb.tensorflow.WandbHook(steps_per_log=1000)])

Hey @reniew I'm not sure what's happening with the hook.  The easiest way to collect tensorflow metrics is to pass tensorboard=True to your call to wandb.init.  That will automatically collect all metrics logged to tensorboard and add a new tensorboard tab to your run page!  Can you give this a try and let me know if it works?  https://docs.wandb.com/docs/frameworks/tensorflow.html


Error loading package's functions/procedures properties

Field RDB$PACKAGE_NAME misses it's source table alias (see attached image) -- using 64bits <IP_ADDRESS> Snapshot, Firebird 3.0.4 (64bits Windows)

Please, update https://github.com/mariuz/flamerobin/releases/tag/<IP_ADDRESS> and try again

Please, update https://github.com/mariuz/flamerobin/releases/tag/<IP_ADDRESS> and try again

Working perfect now. Thanks @arvanus

Hi @afarias-br
Could you please close this issue?
thanks in advance,
Luciano


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In 2d11fd5, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 5514 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in 818d519 after 26 minutes.


Error when running npm test or npm run lint-test

I recently completed the Is Leap for Javascript.

I tried to run my tests with the command javascript  npm test .
I went to the link provided by the CLI.
Expected: to see the results of my unit tests,
Actual: I got a Type Error.

cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object

Here's my "exercism debug":
**** Debug Information ****
Exercism CLI Version: 2.3.0
Exercism CLI Latest Release: 2.3.0
OS/Architecture: ubuntu, x64
Build OS/Architecture /
Home Dir: /Users/ngethe
Config file: /Users/ngethe/.exercism.json
API Key: *******
Exercises Directory: /Users/ngethe/exercism/javascript
><EMAIL_ADDRESS>test /home/ngethe/exercism/javascript/leap
> jest --no-cache ./*

**ERROR MESSAGE**
 FAIL  ./leap.spec.js
  ● Test suite failed to run

    TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'

      at exports.default (node_modules/jest-util/build/create_process_object.js:15:34)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.444s
Ran all test suites matching /.\/README.md|.\/isLeap.js|.\/leap.spec.js|.\/node_modules|.\/package-lock.json|.\/package.json/i.

This is an issue with Node v11.11 - https://github.com/facebook/create-react-app/issues/6591 For now there is no fix apart from downgrading node version.

The project does not seem to use create-react-app. The following was resolved in jest: Facebook/jest#8050
If you use the version of jest and Babel-jest at v24.2.0-alpha.0 or later, you can resolve it. The latest version of best is v24.3.1. 😄

@micalgenus Yes. This project does not use create-react-app and the issue was in Jest. I just happened to find that issue in create-react-app repo and used that issue link.
Alright so we need to update Jest. I tried doing the same after Jest 24 released recently and ran into all sorts of weird issues due to babel 7 (ref) I will give it a try again today.

@micalgenus - I tried installing jest and babel-jest @ v24.2.0-alpha.0
And still getting an error. Now it's saying Cannot find module './leap' from 'leap.spec.js'

And are you certain there is a leap.js file in that directory?

Resolved in Node 11.12

@mainangethe Please fetch new version of the exercise and try again. Reopen the issue if you are still seeing the issue. Thanks!

npm run build
chromium tests/testsuite.html
npm run lint

@caledrummond90 I don't know why you posted this in this issue, but there is no build script in exercism/javascript, and no testsuite.html.


0.1.0

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@03c7a77). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         5
  Lines           ?        49
  Branches        ?         0
========================================
  Hits            ?        49
  Misses          ?         0
  Partials        ?         0

Continue to review full report at Codecov.

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


different crash: how can I prevent slack-client from crashing all of my users?

After my app created a channel
{ type: 'channel_created',
  channel:
   { id: 'C0PJH9ZJS',
     is_channel: true,
     name: 'admin',
     created:<PHONE_NUMBER>,
     creator: 'U0PB4E1NZ' },
  event_ts: '1456784697.353159' }

I always create channels the same way (with the same code) but for some reason this time my whole app crashed
rtm.on(RTM_EVENTS.CHANNEL_CREATED,created);//go do stuff with the channel
web.channels.create(U.username);

but It crashed (when normally on creating a channel it does not crash)
/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/eventemitter3/index.js:110
    case 2: listeners[i].fn.call(listeners[i].context, a1); break;
                           ^

TypeError: Cannot read property 'call' of null
at RTMClient.emit (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/eventemitter3/index.js:110:32)
at RTMClient.emit (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/lib/clients/client.js:72:39)
at RTMClient._handleWsMessageViaEventHandler (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/lib/clients/rtm/client.js:425:8)
at RTMClient.handleWsMessage (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/lib/clients/rtm/client.js:373:10)
at WebSocket.wrapper (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/lodash/index.js:3095:19)
at emitTwo (events.js:87:13)
at WebSocket.emit (events.js:172:7)
at Receiver.ontext (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/ws/lib/WebSocket.js:816:10)
at /var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/ws/lib/Receiver.js:477:18
at Receiver.applyExtensions (/var/sentora/hostdata/zadmin/public_html/node_modules/@slack/client/node_modules/ws/lib/Receiver.js:364:5)

I've made an attempt to contain your module under a node.js domain to try to catch and restart the slack-client on your errors (the errprs seem vey low level - within your node_modules)

What is the function you've registered as created in your code snippet?
rtm.on(RTM_EVENTS.CHANNEL_CREATED,created);//go do stuff with the channel
web.channels.create(U.username);

The crash you're seeing looks like it indicates that it's a null value. I'd check in your code to see whether it's getting nulled out anywhere.

I just pushed an update that I think will fix the issue you were seeing. You can update to the latest version of @slack/client (2.0.5) to try it.

LOL It is! I nulled it after as I wanted to stop listening after it's created!
function created(ch){
    console.log('created',ch);
if(ch.channel.name==U.username){
	ⵌ.cid=ch.channel.id;
	ⵌ.rtm.on(ⵌ.RTM_EVENTS.CHANNEL_CREATED,null);//stop listening <<<<<-------- here
	G.SLACK[ⵌ.cid]={uid:U.id,'suid':s[1].uid};//saved a note of the connected user
	post();
	}
return;
}

How do I stop listening properly without causing this error?

You can look at the removeListener call on https://github.com/primus/eventemitter3


Fixing storing files to models

Hello everyone!
There's an issue in the latest release of Django (3.2.1), which prevents using a file-like object to assign a file to a model field.
The detailed description of the issue is in a bug report I created here: https://code.djangoproject.com/ticket/32718
Thank you very much for your time, and all the effort you put into making Django such a great framework! :)

Correct me if I'm wrong, but this fix and also this commit breaks the Django file storage completely...
For instance -

Having a file field with an upload_to="users"
Create a new file with name = "steve/file.txt"
Create another file with name = "john/file.txt"
Both files will be written (possibly overwritten) to: "users/file.txt" as you are only using the file basename??

The commit above also forces/invalidates the use of paths in the filename, which previously worked...

@carderm Please stop, you don't need to copy the same comment multiple times in all available channels, it's already 3 times in this PR.

Happy to - my main concern was why the pull request was force-pushed into Djano main... when there are outstanding issues.
Don't get me wrong - I really appreciate the work you are all putting into this and the great result that is Django.

@carderm Nobody pushed into Django main, I force pushed to my branch as I rebased it onto latest main.
kukosk force-pushed the kukosk:filefield-fix branch.

Closing per comment.


Update typeshed.

Fixes rendering of code examples that lacked preceeding double colon.

This looked good locally with a systematic review so just needs a quick peek at the CI branch build.


Errors in compiling

I'm kind of new to programming so please pardon me.
I get these errors when I compile with Visual Studio 2019:
1>------ Build started: Project: nSkinz, Configuration: Release Win32 ------
1>imgui.cpp
1>imgui_draw.cpp
1>config.cpp
1>c1xx: fatal error C1083: Cannot open source file: 'deps\imgui\imgui.cpp': No such file or directory
1>c1xx: fatal error C1083: Cannot open source file: 'deps\imgui\imgui_draw.cpp': No such file or directory
1>imgui_impl_dx9.cpp
1>update_check.cpp
1>render.cpp
1>gui.cpp
1>C:\Users\aldri\Desktop\nSkinz-master\src\Imgui_impl_dx9\imgui_impl_dx9.cpp(9,10): error C1083:  Cannot open include file: 'imgui.h': No such file or directory
1>C:\Users\aldri\Desktop\nSkinz-master\src\update_check.cpp(30,10): error C1083:  Cannot open include file: 'nlohmann/json.hpp': No such file or directory
1>C:\Users\aldri\Desktop\nSkinz-master\src\config.cpp(29,10): error C1083:  Cannot open include file: 'nlohmann/json.hpp': No such file or directory
1>C:\Users\aldri\Desktop\nSkinz-master\src\gui.cpp(31,10): error C1083:  Cannot open include file: 'imgui.h': No such file or directory
1>C:\Users\aldri\Desktop\nSkinz-master\src\render.cpp(34,10): error C1083:  Cannot open include file: 'imgui.h': No such file or directory
1>Done building project "nSkinz.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i got it about 2 years ago when i tried to compile it first time, when choosing the compilator try to change it for another i do this then and it worked because i got two compilators to choose and the second one was fine, i hope i helped :)

try following the readme


[Docbug][Sendproactivemessages]

Corrected zip folder link

Docs Build status updates of commit 680c0e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/sbs-send-proactive.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Register package

@JuliaRegistrator register()

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

Also, note the warning: This looks like a new registration that registers version 0.2.2.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Done.


[feature] Controllable disk cache

[ ] Maximum cache size
[ ] LRU
[ ] Compress cache files

one note on compression is that, it is performance killer on dart side
https://github.com/flutter/flutter/issues/19383


Support absolute name type references.

When we have schemas that reference schemas in a different
packages, you use the full dotted path name to reference the type.
Support these paths during schema import.
Also, as an addition, support the alternate syntax for specifying a type {"type": "CustomType"} just for completeness.

Merged, thanks!


Functional search_rtree on external memory

There's a fair amount of change overlap with #55 , the relevant changes are the exported search function in python/src/rtree.rs.
It should accept every buffer protocol object marked as a 1D uint8 array (I've tested with bytes, bytearray, array, memoryview, geoindex_rs.RTree, 1D numpy u1 arrays, all working identically), and raise more or less immediately (importantly, before the unsafe transmute) on anything else.
Parity for KDTree doesn't look terribly difficult, and by the looks of it the api surface is straightforward (prepend everything with the target buffer, basically).

@H-Plus-Time let me know what you think of #57 . I think it's a bit cleaner


(mobile Devices) btn.addEventListener("click") causes problems with other interactive elements

MeasuresControl causes Problems, if you have other clickable elements, like markers on map.
This behaviour is only on mobile Browsers:
Console:
Unable to preventDefault inside passive event listener invocation.

Hi there @DasAuryn,
First of all, thank you very much for your contribution. I believe it is an existing bug within the mapbox-draw plugin. You can check that the same bug occurs when only using mapbox-draw:
https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/
However, I'm going to try to find a solution for this.
Cheers,
Jorge

@DasAuryn also pointed out this PR that might solve this problem:
https://github.com/mapbox/mapbox-gl-draw/pull/869

Hi @jdsantos
Since the PR has almost 4 years without being merged, and it seems to fix the issue, maybe you could apply the changes in a personal fork? I don't know, but this is an important issue.
Thanks for your work @jdsantos !

Hi @jdsantos
Apparently this issue was fixed in Mapbox Draw<EMAIL_ADDRESS>
I can confirm, it works now.


Return location of existing entry if upload tried

Adds a Location response header when a 409 Conflict error is returned
from the server when a duplicate entry is sent for insertion into the
log. Also changes message printed by CLI to improve usability.
Fixes #222
Signed-off-by: Bob Callaway<EMAIL_ADDRESS>

seems like the u.Location is missing still (not had a chance to debug, just ran a local test)

woops (hit wrong button, did not meant to close)

seems like the u.Location is missing still (not had a chance to debug, just ran a local test)

the patch isn't live against api.rekor.dev so you'll need to try against localhost

seems like the u.Location is missing still (not had a chance to debug, just ran a local test)

the patch isn't live against api.rekor.dev so you'll need to try against localhost

just realised that (I need more coffee)


Performance issue ...

Hi,
I am looking for a fast and portable CRC implementation for Python ... but I think I found a performance bug:
import numpy,zlib,fastcrc
a = numpy.random.random((2048,2048))
%timeit zlib.crc32(a)
26.4 ms ± 29 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
%timeit fastcrc.crc32.aixm(a.tobytes())
83.9 ms ± 8.78 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
%timeit pyFAI.ext.fastcrc.crc32(a)
7.59 ms ± 2.07 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

The implementation from pyFAI relies on the SSE4 instruction, thus not portable.

FYI, crc-rs has a new (unreleased) implementation that's ~6x faster in micro-benchmarks: https://github.com/mrhooray/crc-rs#throughput-gibs. However, a portable implementation just won't be able to match the performance of a SIMD implementation.


How do I make a hca file header that is a C8 C3 C1 file?

I extracted some hca from the game, I found that their file headers are C8 C3 C1, now how do I generate such a file, the file headers I make using hcaenc are 48 43 41
Test hca download link https://www.lanzous.com/i4a3upc

The headers are simply XORed with 0x80. You can write a simple program, or use any hex editor to do that. By the way, most HCA decoders accept both c8 c3 c1 and 48 43 41.

I think what you generated was simply unencrypted HCA, while the HCA extracted from the game is encrypted - therefore you should then encrypt your generated HCA with correct key (otherwise you'll get incorrect waveform, which sounds like unpleasant noise) if you want to replace such audio resource in the game.


What is red "CALLBACK" message above lower edge?

Can anybody tell me what a red message saying CALLBACK means?
It appears under the watchface.
I noticed that for instance the chrono widget timer stops if this message appears.
The message disappears after refreshing the screen.

It's a warning from the watch itself to say that the JavaScript app/widget code caused an error that wasn't handled.
If you could find a way to reliably reproduce this (and what widgets are installed/app running at the time) then we could probably track down what the problem is - but it's basically impossible to track down without that.

OK, Thx Gordon!
I think it has to do with gadgetbridge disconnects.
I'll try to narrow it down!

I see this message one in a while as well... Will try to get some troubleshooting in to narrow it down.

I have seen this message as well. I am running with firmware 2v08 and the following apps:

About
Active Pedometer
Alarms
App Manager
BangleRun
BatteryWidget
Bootloader
Gadgetbridge
Launcher
Morph Clock+
Notifications
Welcome

@phiL0co @Didgeridoohan Maybe you could compare this list of apps to yours so we could narrow down the list of apps that might be causing this?

Thanks - if the error happens over a wide variety of apps it might be worth checking Widgets first - since they will run in the background for a bunch of apps, so one widget might cause the message to appear in many different apps.


add free-programming-books-zh_TW.md

Hi, thanks for your contribution! The goal of a [language] book list file is to list books written in [language]. I'll gladly accept a PR to create a traditional Chinese file holding books in traditional Chinese.


UI should redirect to login page when encounter 401 http code

Login harbor ,  and try to make the current session invalid, then click links in current page, it will return 401 in backend, but from customer's point of view they will see harbor still stay on current page and nothing happens.  Ideally UI should redirect to login page when 401 received.

If it doesn't it should be a regression, in 0.5.0 it will redirect to login page.

@yixingjia
Please confirm which links you clicked.  We support some pages which guests can access.

@steven-zou  all the links on the page has not response.
I find this in the follow scenario:
1>Setup 2 harbor.
2>On top of the Harbor use keepalived as LB
3> Login Harbor and stay on the project page.
4> Stop the harbor instance which currently is serving the request.
5> Click any links on the Harbor page, no response.
I will set up a session share server like to Redis to recheck.

Not reproduced, close it.


SPO PowerShell Overview Section

Hello,
The SPO PowerShell Overview Section should not be a subsection of On-premises. For users, it will be confusing on how to use it. Rather than having it as heading 3, I would promote it to its own heading, add more description on how to use it, like they need to download and install the SharePoint Online Management Shell, with a brief description on how to use it.
Mike

@Techwriter40 owns this topic and can take a look. Thanks for the feedback!


Broken image on new blog post

https://vast.ucar.edu/news/20221130-esds_event/
The blog-feature-image isn't rendering for me (Chrome) on @erogluorhan 's recent post.

Thanks for catching! This is interesting; it worked two days ago when I checked. I am looking into it.


Optimize centrality calculations

Rewrote a few function to use IGraph instead of NetworkX with help of the "fastcentrality" class.

This is a good next step for optimization, it is roughly 11% faster on my computer.
map  is a Python builtin function, I would prefer a more descriptive name.


New release

I was just curious when a new release might be tagged and pushed to npm?

Any update on tagging a new release?

It doesn't seem like this project is maintained anymore, so I developed a modern fork named Cropt which is written in TypeScript and has a simpler API and higher quality image scaling: https://github.com/theodorejb/cropt


Added two additional methods - 217 Contains Duplicates

I've added two additional methods on how to solve the problem in JavaScript using Set() and another method of using Map() that makes the code more readable.
I've also added some comments that explain the code.
If you're only accepting one solution per problem, please don't complete this pull request.

If you're only accepting one solution per problem, please don't complete this pull request.
I think I'll link #189 so all the discussion about this can happen in one place.

Thanks @qasimala !


Fix Gorilla Tactics

The issue was in the second branch of control flow:
['Gmax', 'Dynamax'].indexOf(defender.name) !== -1

which doesn't make sense since Gorilla Tactics doesn't work only if the attacker is not dynamaxed.

The only thing left is finding out what you meant by the  gorillla tactics check being checked twice

(I’m going off of one of your commits name btw)

Yeah so, when I merged, I accidentally left another check for Punk Rock (the one with 0x1300) in the code. So when it was implemented elsewhere, both checks were present (in my local repository).
That commit in tandem with the latest one (that fixes 0x14cd) simply do nothing.

Oooh makes sense. Thanks!

I made something similar in #372


Libdoc: Include usage information to data types in spec files

Libdoc spec files contain information about types used as type hints. Earlier there was only information about enumerations and typed dicts, but RF 5.0 has already added information about custom converters (#4088) and the plan is to add also info about standard converters (#4160). This is handy, but using the information is not so convenient because the information where these data types are actually used isn't directly available.
Libdoc's HTML output contains somewhat complicated Javascript code to map data types to arguments. Because it does mapping using type names, it doesn't work correctly with extended types. Robot obviously itself knows what arguments map to which types and Libdoc could write this information to spec files. It would both make the information easily available and make sure that the information is correct.

Usage information will be added only to types in the new types list (see https://github.com/robotframework/robotframework/issues/4160#issuecomment-1030723899), not to types in the old and deprecated dataTypes. Added information will contain names of the keywords and their arguments using the type. Including the argument information is required to properly support extended types. In practice JSON specs will look like this:
"type": "Custom",
"name": "date",
"doc": "
Date in format dd.mm.yyyy.
",
"usages": [
  {"kw": "Keyword Name",
   "args": ["arg_name"]},
  {"kw": "Keyworrd 2",
   "args": ["arg1", "arg2]}
}

Spec schemas will naturally be updated.

The original implementation didn't work well if an argument had multiple types because type docs were only linked to arguments, not to their types. This was fixed by linking to argument types themselves to type docs. In XML this info is stored like <type typedoc='Example'>ArgType</type> and in JSON each argument has a separate mapping for like {'ArgType: 'Example'}.
Another change in the above commits was that type docs are stored under typedocs, not types, both in XML and JSON specs.


Link is broken: http://oneops.com/general/contribute.html

Hi Team,
I am interested in contributing, but looks like the very first link is broken to understand the guidelines.
Thanks and Regards,
Rahul

Where did you find the broken link. Correct link is http://oneops.com/overview/contribute.html


Improve perf and memory usage with reuse cache by slicing inputs till token idx for 1st token generation.

Reuse cache pre allocates the KV cache. This can be further leveraged to slice the inputs till the token idx for the 1st token inference and improve perf and memory usage by running till the required seq len only rather than running full padded static input (input + max new tokens length). Memory usage and perf will vary according to the actual input seq len but will be better than running full static shapes.
Use torch.zeros to initialize KV cache rather than uninitialized torch.empty.
Also fix bool dtypes default values.
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Llama 7B perf results without and with fix as below:
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-7b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 1 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>0809804 tokens/second
Memory allocated                    = 12.62 GB
Max memory allocated                = 12.63 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.5840961140056606 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>3114542 tokens/second
Memory allocated                    = 12.61 GB
Max memory allocated                = 12.62 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 2.1798126350040548 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-7b-hf/ --max_new_tokens 1000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 1 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>548041 tokens/second
Memory allocated                    = 13.19 GB
Max memory allocated                = 13.23 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 10.586436815996422 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>3775887 tokens/second
Memory allocated                    = 13.08 GB
Max memory allocated                = 13.1 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 8.58467547201144 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-7b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 128 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 7084.259833894209 tokens/second
Memory allocated                    = 20.68 GB
Max memory allocated                = 22.21 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 17.2672253119963 seconds
With fix
Throughput (including tokenization) = 9801.250572694065 tokens/second
Memory allocated                    = 19.63 GB
Max memory allocated                = 20.96 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.1736303310026415 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-7b-hf/ --max_new_tokens 1000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 32 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 1865.7528637898442 tokens/second
Memory allocated                    = 31.03 GB
Max memory allocated                = 31.83 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 49.80568245299219 seconds
With fix
Throughput (including tokenization) = 2022.6046518376145 tokens/second
Memory allocated                    = 28.42 GB
Max memory allocated                = 29.18 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 17.86547275799967 seconds

Llama 13B perf results without and with fix as below:
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-13b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 1 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 73.41020172978796 tokens/second
Memory allocated                    = 24.35 GB
Max memory allocated                = 24.36 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 4.884657262999099 seconds
With fix
Throughput (including tokenization) = 73.44032878995496 tokens/second
Memory allocated                    = 24.34 GB
Max memory allocated                = 24.35 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.37153663499339 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-13b-hf/ --max_new_tokens 1000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 1 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 75.7109614095682 tokens/second
Memory allocated                    = 25.2 GB
Max memory allocated                = 25.25 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 18.432767632009927 seconds
With fix
Throughput (including tokenization) = 76.26934607236079 tokens/second
Memory allocated                    = 25.06 GB
Max memory allocated                = 25.08 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 15.193954528993345 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-13b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 64 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 2865.2254885524662 tokens/second
Memory allocated                    = 30.45 GB
Max memory allocated                = 31.22 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 17.60540542700619 seconds
With fix
Throughput (including tokenization) = 3633.9957034341414 tokens/second
Memory allocated                    = 29.76 GB
Max memory allocated                = 30.42 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 4.64509762400121 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 1 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-13b-hf/ --max_new_tokens 1000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 16 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>375546 tokens/second
Memory allocated                    = 38.5 GB
Max memory allocated                = 38.92 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 49.66154878999805 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>13312 tokens/second
Memory allocated                    = 36.65 GB
Max memory allocated                = 37.03 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 22.37336895200133 seconds

Llama70B results:
python ../gaudi_spawn.py --use_deepspeed --world_size 8 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-70b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 2 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>3193044 tokens/second
Memory allocated                    = 16.96 GB
Max memory allocated                = 17.37 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.4168114269996295 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>3423512 tokens/second
Memory allocated                    = 16.95 GB
Max memory allocated                = 16.98 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.253933574000257 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 8 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-70b-hf/ --max_new_tokens 4000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 2 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>6609697 tokens/second
Memory allocated                    = 18.87 GB
Max memory allocated                = 39.02 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 70.28810204200272 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>1901102 tokens/second
Memory allocated                    = 17.54 GB
Max memory allocated                = 17.58 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 69.67671067500487 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 8 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-70b-hf/ --max_new_tokens 100 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 40 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 1744.4332593278932 tokens/second
Memory allocated                    = 17.71 GB
Max memory allocated                = 31.47 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.674584093008889 seconds
With fix
Throughput (including tokenization) = 1873.2515938931053 tokens/second
Memory allocated                    = 17.33 GB
Max memory allocated                = 17.95 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 3.530354335991433 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 8 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-70b-hf/ --max_new_tokens 4000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 40 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache
Without fix
Throughput (including tokenization) = 1241.8834557707662 tokens/second
Memory allocated                    = 50.08 GB
Max memory allocated                = 88.1 GB
Total memory available              = 94.46 GB
Graph compilation duration          =<PHONE_NUMBER>8799617 seconds
With fix
Throughput (including tokenization) = 1409.4239974630066 tokens/second
Memory allocated                    = 23.58 GB
Max memory allocated                = 24.4 GB
Total memory available              = 94.46 GB
Graph compilation duration          =<PHONE_NUMBER>8501142 seconds
python ../gaudi_spawn.py --use_deepspeed --world_size 8 run_generation.py --model_name_or_path /software/data/llama_inference/Llama-2-70b-hf/ --max_new_tokens 1000 --bf16 --n_iterations 3 --use_hpu_graphs --use_kv_cache --batch_size 16 --limit_hpu_graphs --warmup 1 --attn_softmax_bf16 --trim_logits --reuse_cache --prompt "<300 tokens>"
Without fix
Throughput (including tokenization) =<PHONE_NUMBER>740977 tokens/second
Memory allocated                    = 19.79 GB
Max memory allocated                = 41.1 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 22.690399918996263 seconds
With fix
Throughput (including tokenization) =<PHONE_NUMBER>807274 tokens/second
Memory allocated                    = 18.26 GB
Max memory allocated                = 34.62 GB
Total memory available              = 94.46 GB
Graph compilation duration          = 21.228477083001053 seconds

LGTM! Let's wait for @ZhaiFeiyue's approval to merge.
@puneeshkhanna The numbers your gave were obtained on Gaudi2 right?
Yes.


dmesg: read kernel buffer failed: Function not implemented

A brief description

apt-get install openjdk-9-jdk fails

Expected results
apt-get install openjdk-9-jdk installs successfully

Actual results (with terminal output if applicable)

dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
dmesg: read kernel buffer failed: Function not implemented

Your Windows build number
15063
Steps / All commands required to reproduce the error from a brand new installation
apt-get install openjdk-8-jdk
Strace of the failing command
strace.txt

I am able to reproduce this on 16170.

Closing this out as a duplicate of #1886 so we can track it in one place.

Follow-up: GH-1321

It's fixed now. Please upgrade WSL.

I'm having this issue, in WSL ubuntu 18.04.1 LTS on Windows 10 pro Version 1803 Build 17314.407
HW: Dell Inspiron 5770

Version 1803 Build 17314.407

You're short of 17655 (message).


improving instructions

This addresses @willingc 's comments in #206 and #207 , which was feedback from the binder workshop

done

Thanks @choldgraf


3.0.0.dev3 Bolt.spec(config={}) is not passed to storm_conf when using sparse run

class WordCount(Topology):
    word_spout = WordSpout.spec(
        config={"foo":"bar"}
    )

class WordSpout(Bolt):
    def initialize(self, storm_conf, context):
        foo_var = storm_conf.get('foo')
        ...

foo_var is None.
How did you pass config to storm in your previous code (2.x.x) ShellBolt?

Hmm... weird. I swear we do this in production at Parse.ly, but maybe we're only reading config options passed via the --option foo=bar arguments to sparse submit.

I've made additional change into FluxStormBolt/Spout  so that there is a function, that appends configuration to storm config. But so far it accepts only strings or list of string. It has trouble with dictionaries, since Flux can't convert yaml dict to Java whatever automatically.
The custom java classes, can be also included in project and set in project.clj, which mean I was able to "override" Flux default bolt with my behaviour. Which could be handy, even for Streamparse. Consider having custom Wrapper Bolt/Spout, so you can actually depend on Flux only on converting YAML to topology, and not on having proper "ShellBolt".

Is there any progress on this issue? Are there alternative ways to instantiate Spouts/Bolts within a Topology definition with custom (non-global) parameters?
@Darkless012 is this change published somewhere?

I've made issue at Apache Storm https://issues.apache.org/jira/browse/STORM-1870
But it is not finished, since it doesn't support complete functionality (Passing dictionaries) + it throws WARNINGS.
I've also made pullrequest https://github.com/Parsely/streamparse/pull/266 whenever the flux will be ready.

However if you really need this, I was able to include custom java classes inside streamparse project, with this functionality. If you want to know more, please write me and email and we can discuss it further, but it includes custom version of streamparse code + java libraries inside project, which is a lot of fuss for "standard" user. However it is doable, since we need it in production.

@Darkless012, this issue only affects sparse run, correct? That must be why I haven't encountered it before, because I do most of my testing using this Storm VM.

Any updates on this?

Well, still waiting for upstream/Flux changes in Apache Storm.
See https://issues.apache.org/jira/browse/STORM-1870.

Could this also be related to setting the parallelism? If I try setting it to 4, it still stays set at 1.

Do you mean parallelism of bolts and spouts? It is set in topologies/<name_of_topology>.py file, like here: http://streamparse.readthedocs.io/en/master/topologies.html#simple-python-example
And it should work.
If not, please describe your problem more as a new issue ;)

One thing I should note is that you can now specify a Topology.config attribute with settings you want to apply to your whole topology, and that appears to work fine with sparse run.  Component-specific settings are still waiting on upstream.

https://issues.apache.org/jira/browse/STORM-1870 - Patch is ready for reviewing.
It will probably be in next release of Storm :) whoo!

Sorry to be late. STORM-1870 is merged and will be released to 1.1.0.

hi
I have the config passing issue, to get the fix do I need to update Storm or stremparse or both?
I have storm 1.0.2 and sparse 3.1.1.
thanks
martin

Once storm 1.1.0 is out, you'll just need to upgrade to that. Streamparse should not need to be upgraded.

Will be fixed in 3.5.0 release coming out later today.


Questions about network structure

According to the setting of the paper, for 3dhpe, we can only input 3d poses, and output smooth 3D poses through DeciWatch network. Can we directly input 2D poses, and use the network to lifting the dimension and reduce the noise? Looking forward to your reply:）

Hi @Elliot-hao ,
This is an interesting question. You can try to use the input of 2D poses and simply modify the output dimension as 3D poses with 3D pose GT supervision on your data.


AI model behind ConversationTranscriber

Can you tell me which AI model is used in the background when using the ConversationTranscriber class from the Quickstart: Create real-time diarization sample?
Does it use the Whisper model from OpenAI?

Hi, it's not Whisper. Unfortunately, further model details are not public.


The requested module 'node_modules/dayjs/plugin/weekOfYear.js?v=e2bd8455' doesn't provide an export named: 'default'

Environment

Operating System: Linux
Node Version:     v20.17.0
Nuxt Version:     3.13.2
CLI Version:      3.13.2
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr, devServer, app, plugins, runtimeConfig, modules, antd, eslint, css, imports, postcss, vite, auth, experimental, router, compatibilityDate
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
upgrade to Nuxt 3.13.2 by running npx nuxi@latest upgrade --force
Describe the bug
Hey guys, I upgraded to Nuxt 3.13.2 and I kept having below error. I tried reverting back to 3.13.1 and everything continue to works fine, please check.
[nuxt] error caught during app initialization Error: The requested module 'http://localhost:6100/_nuxt/node_modules/dayjs/plugin/weekOfYear.js?v=e2bd8455' doesn't provide an export named: 'default'
Additional context

Logs
No response

nuxt-antv.zip
类似问题：The requested module '/_nuxt/node_modules/dayjs/plugin/advancedFormat.js?v=eafb9efd' does not provide an export named 'default'

Hope this helps,
I just tried this code given by amihhs
https://github.com/nuxt/nuxt/issues/14716#issuecomment-1397364211
By adding this in your nuxt.config.ts
alias: {
    'dayjs': 'dayjs/esm/'
  },

Personally I used the code below, since the above mentioned will cause an error on yarn build which returns an errors mentioning that it will result in "duplicated modules".
alias: {
    'dayjs': 'dayjs'
  },


Audio not played when app is in the background for some time

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
My app is a simple timer: I can define intervals and it runs them one by one, and when one is finished, the app makes a beep using this package, and goes on to the next interval; if the last interval is finished, it gives a slightly different beep.
I noticed that when the application is in the background, after some time (about 30 seconds?) the app doesn't play the beeps any more, even if their time elapses. When I go back to the app, it seems like it hung up at the very end of one of the intervals (the one that didn't beep) - I can see the timer - then it beeps immediately and goes on to the next interval. Basically, the app gets paused in the background when it's time to beep. This seems not to happen when I disable all sounds. The app has all battery optimizations turned off.
Is anybody aware of what could be going wrong? I could also be not related to this package, but rather some kind of Android-specific behavior, but I'm clueless.
Expected behaviour
The app continues beeping even if in the background.
Affected platforms
Android
AudioPlayers Version
5.2.1
Build mode
release

same issues，with Use stayAwake in AndroidAudioContext options