Automate new platform config setup

The problem you're addressing (if any)
Not fully prepared platform configs for release test execution.
Describe the solution you'd like

[ ] Clear list of platform config needed for full regression tests

[ ] Determine and prepare list of configs that need to be set
[ ] Prepare test for checking if needed configs are missing

[ ] Automate extraction of information from HCL reports to provide input for filling platform configs

[ ] Determine what information is currently available from HCL reports.
[ ] Expand the HCL reports to include as much information as needed for adding new platform into the test environment
[ ] If some information is not possible to obtain from HCL reports, then add tips on where to get this information, eg. from processor documentation

Ultimately, aim to automate this process as much as possible.
Where is the value to a user, and who might that user be?
This benefits developers and testers by automating adding new platform to test environment, making the testing process faster.
Describe alternatives you've considered
none
Additional context
Refer to the current flow: Adding New Platforms

This mostly sounds like a duplicate of https://github.com/Dasharo/open-source-firmware-validation/issues/386 to me.
Maybe a bit more defined into steps.
From my perspective, we have done a first step with generating variables for configs.
Now, we should proceed with config validation, to detect problems with missing variables sooner than during regression executino.

Okay, we are abandoning the stronger use of HCL reports, I'm closing this issue


Separate manageClient into more files for readability

Motivation
ManagementClient class has become disorganized and confusing, so it's split into many files for readability.

I would prefer file ManagementClient.Taxonomy.cs renamed to more ManagementClient.TaxonomyGroup.cs. From what I saw, this name is used in documentation and also in model classess.

yeah, good point.

Thanks for reflecting my comments, looks good now. Approved


login radio buttons for refresh token timing

after https://github.com/Nonprofit-Exchange-Hub/web-app/pull/91 we have a cookie that auto refreshes every 1hr
instead we should:
on login have a pair of radio buttons (both unselected as initial value)

[ ] this is a public/shared computer
[ ] this is my private computer

option 1 will make the session reset at midnight, so user has to log back in the next day
option 2 will never reset, so cookie persists indefinitely
we do this by passing a daterange/end time from the client to the BE /auth/login endpoint
that daterange/end time is what we use as the expiration value for the cookie
this cookie can otherwise stay the same as its current implementation (being passed to BE automatically as cookies do)
but with this, we want users whose cookies have expired to be able to log back in and keep any current form state they have going
i'm thinking that we have a wrapper around fetch that maybe comes from a provider
look at userProvider for example
except inside this provider we'll have something like
async function fetchWrapper<ReturnType>(url, method, data): ReturnType {
  // can we check to see if cookie is still unexpired?
  // if it's expired we instead setIsOpen(true); and save the request for after they've logged in (so maybe need to get user context)
  // or if it fails with unauthorized then setIsOpen(true); and save the request for after they've logged in (so maybe need to get user context)
  const response = await fetch(url, {
    method,
    body: JSON.stringify(data),
  });
  const res = await response.json();
  return res;
};

return (
  <NewContext.Provider value={fetchWrapper}>
    {children}
    <LoginModal isOpen={isOpen} />
  </NewContext.Provider>
);

Should we still do this for MVC? I think letting the cookie expire is standard. We would just need to handle what the user sees when they are no longer authorized.


Replace Class.newInstance() with Class.getDeclaredConstructor().newInstance()

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

Given this is deprecated, we have to move our usage out ... but one caveat is the loss of cached constructor we can no longer leverage.

Good point~ one approach is to add a Guava Cache to cache these no-argument Constructors to alleviate this problem, another approach is to maintain the status quo and continue to use the .newInstance() API for now.

Note - we need the cache only if we think this is in a hot path, else might not be worth it :-)

Personally, I don't think they are hotpaths, let's use .getConstructor().newInstance() directly.

There is also use in streaming.sources test suites, can you fix those as well ? Thanks

There is also use in streaming.sources test suites, can you fix those as well ? Thanks

done ~

Merged to master for Apache Spark 4.0.0.


Compilation of app_uart fails on strip rust_begin_unwind

Thanks for making zinc! I find the platform and ideas really exciting, and I'm working on trying to understand how zinc is put together and how to make nice things.
However, when compiling with rake PLATFORM=lpc17xx build_all, compilation fails at app_uart with:
rustc --opt-level 2 -Z no-landing-pads -g --cfg cfg_mcu_has_spi --cfg mcu_lpc17xx --cfg arch_cortex_m3 --target thumbv7m-linux-eabi -Ctarget-cpu=cortex-m3 -C relocation_model=static  -C lto  --emit obj  -L /home/kko/projects/zinc/build  -o /home/kko/projects/zinc/build/intermediate/uart/app_uart.o  /home/kko/projects/zinc/apps/app_uart.rs
arm-none-eabi-strip -N rust_stack_exhausted -N rust_begin_unwind -N rust_eh_personality /home/kko/projects/zinc/build/intermediate/uart/app_uart.o
arm-none-eabi-strip: not stripping symbol `rust_begin_unwind' because it is named in a relocation

I'm running on debian/unstable with latest rust.

This isn't really a thing anymore as fail was changed to panic upstream and some of how the lang items work was changed. Upstream bug was closed.


fix to avoid pdf page to be displayed upside down

when displaying the document on some modals the image can be rendered on the canvas upside down. I just restore the canvas context before it is rendered.

Hi @lisandrop05
1/ please make changes atomic
2/ pdfjs-dist must come from mozilla/pdf.js

Hi, I used a modified version of Mozilla/pdf.js because by default it ignore digital signatures on pdf rendering and it’s required for me, just make a comment about it in case someone where experiencing the same issue.


feat: cached ebrains queries

fixes #212 #243

Codecov Report

Merging #254 (002b53a) into refactor_v0.4 (7c5e05a) will increase coverage by 0.13%.
The diff coverage is 45.54%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                Coverage Diff                @@
##           refactor_v0.4     #254      +/-   ##
=================================================
+ Coverage          35.92%   36.06%   +0.13%
=================================================
  Files                 59       59
  Lines               4721     4814      +93
=================================================
+ Hits                1696     1736      +40
- Misses              3025     3078      +53

Impacted Files
Coverage Δ

siibra/retrieval/repositories.py
30.72% <14.81%> (-1.40%)
:arrow_down:

siibra/retrieval/datasets.py
48.43% <33.33%> (-0.77%)
:arrow_down:

siibra/retrieval/requests.py
48.96% <56.06%> (+2.09%)
:arrow_up:

siibra/livequeries/ebrains.py
26.02% <66.66%> (ø)

siibra/features/external/__init__.py
66.66% <100.00%> (ø)

siibra/features/external/ebrains.py
46.66% <100.00%> (ø)

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


First cut at bdist_pex

Something to start with
$ pwd
/Users/marca/dev/git-repos/pex

$ python -V
Python 2.7.9

$ python setup.py bdist_pex
running bdist_pex
creating dist/pex-1.0.0.dev3.pex

$ dist/pex-1.0.0.dev3.pex
Python 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

$ python setup.py bdist_pex --python=python3.4
running bdist_pex
creating dist/pex-1.0.0.dev3.pex

$ dist/pex-1.0.0.dev3.pex
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  5 2014, 20:42:22)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

$ python setup.py bdist_pex --python=python3.4 --dist-dir=pex-dist
running bdist_pex
creating pex-dist/pex-1.0.0.dev3.pex

$ pex-dist/pex-1.0.0.dev3.pex
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  5 2014, 20:42:22)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>

See #99.
Cc: @sontek

Note that @wickman has his own branch where he's been working on this -- see https://github.com/pantsbuild/pex/compare/master...wickman:wickman/99

This is now merged as part of 1d1cae2e87


Test Istio CA can load plugin key/certs from secret.

https://github.com/istio/istio/blob/9323eb9534b0ef8cb6d947a27fc8ae48900bca9e/security/pkg/pki/ca/ca_test.go#L82

This issue is fixed.


Enhance ReactiveUI support

Hi,
ReactiveUI team would like to improve Avalonia support. We'd like to implement type-safe bindings for Avalonia platform, Reactive UserControls that implement IViewFor, etc. See https://github.com/reactiveui/ReactiveUI/issues/1739
We could create a new package providing support for AvaloniaUI, but there is one already published to NuGet.
It would be great if you could transfer the ownership to the ReactiveUI organization and rename it to ReactiveUI.Avalonia, so we can improve the UX when publishing updates with enhanced ReactiveUI support.
Thanks in advance!

Hello @worldbeater! This is just an inquiry on the behalf of the team with regards to your proposal.
We would like to see a more detailed plan with regards to the integration of Avalonia.ReactiveUI port to the mainline ReactiveUI project and also the type-safe bindings. But nevertheless, this is a great initiative that I personally would like to see bloom into fruition :smile:
Hoping to hear back soon!

Hello @jmacato! Glad to hear you like the initiative! ✨
We've started implementing support for WhenActivated and bindings here: reactiveui/ReactiveUI#1748 Any help on completing this PR would be highly appreciated. After we finish, let's continue the discussion in our Slack room and find out how we could transfer the packages.


Vox chat bubbles broken by Lawyer Badges

Description

Equipping a lawyer badge as a Vox changes your speech bubble sprite to the lawyer's as expected. After removing the badge however, it defaults to the default instead of going back to the Vox speech bubble.
Reproduction

Spawn Urist McVox
Control Mob: Urist McVox
Equip Lawyer badge
Drop Lawyer badge on the floor
Default speech bubble aquired

Screenshots

Additional context

dupe issue

Yeah this is for all species and its fixed in #29492


Iainland/calibration system

:)

Relates to #165

@imaitland did this PR move to another?

Succeeded by #175


Change CNAME to match tutorial

fixes https://github.com/kubernetes/website/issues/40726

Please sign the CLA in order for the PR to be reviewed.


The connection is suddenly interrupted

After about 10-60 minutes the server lose connection and no one can connect (''connecting'' starts flashing)
The MultiOgar-Edited command prompt is still running as usual when the connection hangs and gives no errors.
How server logs looks like: https://goo.gl/KLunlx
What is causing this problem and is there any solution?
Facts:
I use the latest version 1.5.0 and hosting server with Windows Server 2012 R2.
Thanks in advance,
Joseph

Duplicate of #406
@Megabyte918 is aware of this problem

This happens to me if I use codeanywhere
When I used to have the solo server files for MultiOgar-Edited it never disconnected me, codeanywhere disconnects me after 10 mins.
It's probably because of the new moneyclip agar update. Try playing on different clients such as astr.io or nbk.io and you should be fine.
@Megabyte918 Close.

@AlexHGaming Do you have skype or any means to communicate with you?

=== Started 2017-01-19T17-28-39-725 ===
[INFO ][17:28:39] 0 IP ban records loaded.
[WARN ][17:28:39] User account "Local Administrator" disabled
[WARN ][17:28:39] User account "Local Moderator" disabled
[WARN ][17:28:39] User account "Local User" disabled
[INFO ][17:28:39] 0 user records loaded.

 Please anyone help me?
=== Started 2017-01-20T17-00-55-417 ===
[INFO ][17:00:55] 0 IP ban records loaded.

 k. Please help or just stop commenting

@ARBCells
°I'll try to help,
°Which host do you use?
°Which version of the server do you use or occupy?

@Jhair2015 I hosting the server with Windows Server 2012 R2. I keep getting this Schannel error in logs: A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 10. The Windows SChannel error state is 1203.

@ARBCells It seems like you have TLS on. Try turning off TLS on the server.

@Luka967 Today the server worked 72 minutes before the connection was lost, sometimes it lose connection after only 12-30 minutes.. Weird. Maybe  it is as you say, that the TLS haunts.. How can i turn it off in Windows Server 2012?

@ARBCells No idea, ask someone else, I just know that MultiOgar supports it.

Can someone trustworthy go into my server and check everything?

Hi.
You just need to Send the json packages.
:ARB Cells
söndag 22 januari 2017 skrev Luka967<EMAIL_ADDRESS>
@ARBCells https://github.com/ARBCells No idea, ask someone else, I just
know that MultiOgar supports it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Megabyte918/MultiOgar-Edited/issues/422#issuecomment-274353493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXysILk8hlpJ-IM-6iRvDNXN27etBau1ks5rU7BGgaJpZM4LoT-q
.

 The server worked for whole 190 minutes before the connection was interrupted. What happen?

I got the same problem with latest version of multiogar edited.... Moneyclip sucks

I got the same problem with latest version..

Refer to #406


Remove version: Canonical.Juju version 2.9.12

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://launchpadlibrarian.net/556055301/juju-setup-2.9.12.exe
Status Code: 200
(Automated message - build 903)


[BUG] Image.network - Not loading image after executing errorbuilder

Flutter 1.20.4 • channel stable • https://github.com/flutter/flutter.git Framework • revision fba99f6cf9 (4 weeks ago) • 2020-09-14 15:32:52 -0700 Engine • revision d1bc06f032 Tools • Dart 2.9.2
Code to test
`import 'dart:async';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
StreamController controller;
List imgs = [
'https://images.unsplash.com/photo-1519336367661-eba9c1dfa5e9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80',
'https://images.unsplash.com/photo-1594164070019-a3bd58576d55?ixlib=rb-1.2.1&auto=format&fit=crop&w=675&q=80',
'nothing here'
];
int i = 0;
@override
void initState() {
super.initState();
controller = StreamController();
const oneSec = const Duration(seconds: 5);
new Timer.periodic(oneSec, (Timer t) {
  print('value of i $i');
  controller.sink.add(imgs[i]);
  i++;
  if (i > 2) {
    i = 0;
  }
});

}
@override
void dispose() {
controller.close();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: StreamBuilder(
stream: controller.stream,
builder: (context, snapshot) {
if (snapshot.hasData) {
return Image.network(
snapshot.data,
loadingBuilder: (context, child, loading) {
if (loading == null) return Center(child: child);
return Center(child: CircularProgressIndicator());
},
errorBuilder: (context, object, error) {
return Center(child: CircularProgressIndicator());
},
);
} else {
return Container();
}
},
),
);
}
}
`
The first two images are shown in the screen successfully
The third image is not a valid url and throws an error.
After that error, if I try to load the first image without using the set state, the first image is not loaded

Hi @maheshkumar2150
You can check if snapshot.data is valid URL.
if (snapshot.hasData && isValidUrl(snapshot.data))
Stackoverflow

Hi @maheshkumar2150
You can check if snapshot.data is valid URL.
if (snapshot.hasData && isValidUrl(snapshot.data))
Stackoverflow

What if the URL is valid and does not contain any image?
Or if the image is deleted from the server?
If the server is down?

Hi @maheshkumar2150
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/ .

Hi @maheshkumar2150
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/ .
Thank you

I thought it is a bug.
I have given the code to check the bug.
If you change the code and create a list, the image after the invalid url will be displayed.
It is difficult to explain for me in English about this bug.
For me it is a bug.
If you do code, you must try ListView.builder, the story is different.

Hi @maheshkumar2150
Just tried to reproduce this issue on Android 8 Emulator, no issues,
Can you please provide more information and screen capture if you can .

flutter doctor -v
flutter doctor -v
[√] Flutter (Channel master, 1.23.0-8.0.pre.283, on Microsoft Windows [version 10.0.19041.508], locale fr-FR)
    • Flutter version 1.23.0-8.0.pre.283 at D:\fork\flutter
    • Framework revision 1a9d635f64 (29 hours ago), 2020-10-09 21:03:37 -0700
    • Engine revision 11d756a62e
    • Dart version 2.11.0 (build 2.11.0-207.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\hamdi\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Users\hamdi\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.6.30225.117
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.50.0)
    • VS Code at C:\Users\hamdi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.15.0

[√] Connected device (2 available)
    • AOSP on IA Emulator (mobile) • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
    • Windows (desktop)            • windows       • windows-x64 • Microsoft Windows [version 10.0.19041.508]

• No issues found!

main.dart
import 'dart:async';

import 'package:flutter/material.dart';

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

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

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State {
  StreamController controller;
  List imgs = [
    'https://images.unsplash.com/photo-1519336367661-eba9c1dfa5e9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80',
    'https://images.unsplash.com/photo-1594164070019-a3bd58576d55?ixlib=rb-1.2.1&auto=format&fit=crop&w=675&q=80',
    'nothing here'
  ];
  int i = 0;

  @override
  void initState() {
    super.initState();

    controller = StreamController();
    const oneSec = const Duration(seconds: 5);
    new Timer.periodic(oneSec, (Timer t) {
      print('value of i $i');
      controller.sink.add(imgs[i]);
      i++;
      if (i > 2) {
        i = 0;
      }
    });
  }

  @override
  void dispose() {
    controller.close();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: StreamBuilder(
        stream: controller.stream,
        builder: (context, snapshot) {
          if (snapshot.hasData) {
            return Image.network(
              snapshot.data,
              loadingBuilder: (context, child, loading) {
                if (loading == null) return Center(child: child);
                return Center(child: CircularProgressIndicator());
              },
              errorBuilder: (context, object, error) {
                return Center(
                    child: Text(
                  object.toString(),
                  style: TextStyle(fontWeight: FontWeight.bold),
                  textAlign: TextAlign.center,
                ));
              },
            );
          } else {
            return Container();
          }
        },
      ),
    );
  }
}

Super sir. I tested with real device. I will share the screen capture in little moment.
For me, the first two images are shown properly. Third image is not displayed. When the loop begins again, the first image is not shown. Stuck with the loading image.
I will give all the details in a moment.

Just tested in windows with the same physical device - Works fine. I will check on my mac now.

Hi @maheshkumar2150
This is a duplicate of https://github.com/flutter/flutter/issues/64752 and I have fixed it in https://github.com/flutter/flutter/pull/65180.
The fix might not be in the current stable version of Flutter right now but it is on current master channel.
@dnfield can we have this fix on next cherrypick for the stable channel?
Closing as recently fixed.
Thank you

We usually reserve cherry picks for bugs that affect a very large number of applications/developers. If we get some more evidence that this is seriously impacting a large number of developers, we can look at a cherry pick.
In the mean time, it should be fairly simple to locally cherrypick f800a67ee479bad708d8ffd6df1f6e3a3e53c419 into your checkout to fix this bug.

Hi @maheshkumar2150
This is a duplicate of #64752 and I have fixed it in #65180.
The fix might not be in the current stable version of Flutter right now but it is on current master channel.
@dnfield can we have this fix on next cherrypick for the stable channel?
Closing as recently fixed.
Thank you

How did you fix it? I need that solution please.. i read the post and cant find the fix.
@dnfield Why is it so that a very large number of applications/developer should have this problem? If it is a bug, it must be fixed right? Flutter is awesome. Why should there be a bug regardless of usage?

@pedromassangocode Should i add the following line in core file?
_lastException = null; _lastStack = null;
packages/flutter/lib/src/widgets/image.dart

@maheshkumar2150 - it is fixed on master, just not on stable yet.
Cherry picking fixes from master to stable is a risky process. It can fix one bug and introduce more. Part of our release process involves letting things "bake" for a time on various channels to get exposed to usage by developers more willing to deal with potential breakages.
We try to avoid cherry picks unless the bug is pretty serious and impacts a large number of (or, really, most) applications.
Youc an locally cherry pick from your local Flutter git repository:
cd path_to_flutter_root
git fetch https://github.com/flutter/flutter.git
git cherry-pick f800a67ee479bad708d8ffd6df1f6e3a3e53c419


ProtoNode RuntimeException

Description
We have a user report of the following ProtoNode exception triggering repeatedly (every 500ms) on an instance of teku (running 20.12.1):
10:34:16.842 ERROR - PLEASE FIX OR REPORT | Unexpected exception thrown for event 'interface tech.pegasys.teku.util.time.channels.TimeTickChannel.onTick' in handler 'tech.pegasys.teku.services.beaconchain.BeaconChainController'
java.util.concurrent.CompletionException: java.lang.RuntimeException: ProtoNode: Delta to be subtracted is greater than node weight for block 0xa99cb183832311be35d7b6f46ee722dee84d52626aa3085d8ccb2781c38ef1ca (543848). Attempting to subtract<PHONE_NUMBER>8 from 461006704
	at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:367) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:376) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:1093) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2152) ~[?:?]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateResult$3(SafeFuture.java:141) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
	at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883) ~[?:?]
	at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2315) ~[?:?]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.whenComplete(SafeFuture.java:494) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.whenComplete(SafeFuture.java:28) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.propagateResult(SafeFuture.java:138) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.propagateTo(SafeFuture.java:235) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.statetransition.forkchoice.SingleThreadedForkChoiceExecutor.lambda$performTask$0(SingleThreadedForkChoiceExecutor.java:58) ~[teku-ethereum-statetransition-20.12.1.jar:20.12.1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.RuntimeException: ProtoNode: Delta to be subtracted is greater than node weight for block 0xa99cb183832311be35d7b6f46ee722dee84d52626aa3085d8ccb2781c38ef1ca (543848). Attempting to subtract<PHONE_NUMBER>8 from 461006704
	at tech.pegasys.teku.protoarray.ProtoNode.adjustWeight(ProtoNode.java:66) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArray.applyDelta(ProtoArray.java:434) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArray.lambda$applyDeltas$6(ProtoArray.java:423) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArray.applyToNodes(ProtoArray.java:450) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArray.applyDeltas(ProtoArray.java:423) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArray.applyScoreChanges(ProtoArray.java:184) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArrayForkChoiceStrategy.findHead(ProtoArrayForkChoiceStrategy.java:207) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.protoarray.ProtoArrayForkChoiceStrategy.findHead(ProtoArrayForkChoiceStrategy.java:99) ~[teku-protoarray-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.storage.store.StoreTransaction.applyForkChoiceScoreChanges(StoreTransaction.java:154) ~[teku-storage-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.statetransition.forkchoice.ForkChoice.lambda$processHead$1(ForkChoice.java:106) ~[teku-ethereum-statetransition-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.statetransition.forkchoice.SingleThreadedForkChoiceExecutor.lambda$syncPerformTask$1(SingleThreadedForkChoiceExecutor.java:77) ~[teku-ethereum-statetransition-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.infrastructure.async.SafeFuture.of(SafeFuture.java:77) ~[teku-infrastructure-async-20.12.1.jar:20.12.1]
	at tech.pegasys.teku.statetransition.forkchoice.SingleThreadedForkChoiceExecutor.syncPerformTask(SingleThreadedForkChoiceExecutor.java:77) ~[teku-ethereum-statetransition-20.12.1.jar:20.12.1]
	... 4 more

block a99cb183832311be35d7b6f46ee722dee84d52626aa3085d8ccb2781c38ef1ca appears to be a pyrmont block hash, and it's an orphaned block.

This happens when the ProtoArray and the record of votes wind up out of sync.  In previous cases we've seen this was caused by multiple threads updating the votes simultaneously but it was rearchitected to make that exceptionally unlikely.  Code review strongly suggests that wasn't what caused it this time.
The other possibly risk is that the ProtoArray was updated but then the storage of votes failed and that transaction was rolled back. The changes in the ProtoArray don't use transactions and so wouldn't have been rolled back, leaving the two out of sync.
We may need to make vote updates not use transactions either - the weightings in the ProtoArray aren't stored on disk so we only need the in-memory ProtoArray and votes to be in sync.  It's ok if the votes on disk are out of sync because of a missed update - that will be correctly when the next attestation from the relevant validators is received.

Switched votes to always update in memory even if the disk update fails.  Can't be certain that this was the original cause of the issue but it seems the most likely, so closing for now.  If it pops up again we may need to add asserts to ensure votes and protoarray weightings are only ever changed on the fork choice thread.


unable to load video via LabeledVideoDataset

Here is the dame frame, containing path
	group     label	path
0	17	        90	../../splitvideos/17/0/0.avi
1	17		90	../../splitvideos/17/0/1.avi
2	17		91	../../splitvideos/17/0/2.avi
3	17		90	../../splitvideos/17/1/0.avi
4	17		90	../../splitvideos/17/1/1.avi

I passed it as follow
train_dataset=LabeledVideoDataset(labeled_video_paths=(list(train_df.path),list(train_df.pulse)),
                   clip_sampler=make_clip_sampler("random", 2),decode_audio=False)
train_loader=DataLoader(train_dataset,batch_size=2)

But when i do
batch=next(iter(train_loader))
it throws error StopIteration
EDIT:
I changed the code to
train_dataset=LabeledVideoDataset(labeled_video_paths=list(zip(train_df.path,train_df.pulse)),

but now i am getting error when i run batch=next(iter(train_loader))
TypeError: 'int' object is not a mapping

This issue is because of the following line, which in my case return a label.
https://github.com/facebookresearch/pytorchvideo/blob/6744240a239b615bdc3ab3e2b795977a4db38848/pytorchvideo/data/labeled_video_dataset.py#L213

I believe this line
https://github.com/facebookresearch/pytorchvideo/blob/6744240a239b615bdc3ab3e2b795977a4db38848/pytorchvideo/data/labeled_video_dataset.py#L213
should be replaced with
"info_dict":info_dict,

@talhaanwarch, you are not using LabeledVideoDataset correctly. labeled_video_paths should a list of dictionaries i.e, each element in the list is a dictionary. And each dictionary contains lablels and other information associated with a single clip.
Please refer to our documentation for more details.
An example of labeled_video_paths can be found at - https://github.com/facebookresearch/pytorchvideo/blob/main/pytorchvideo/data/labeled_video_paths.py#L13
Closing the issue now. Feel free to re-open it if you have more questions.

@kalyanvasudev can you please provide a sample dictionary


Feature/prlc100 176 updated

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Fixes are merged into master as part of other PRs, closing this PR


⚠ Bofrost.es has degraded performance

In 1aee4cb, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1761 ms

Resolved: Bofrost.es performance has improved in 3b4ba42 after 22 minutes.


"Valea Mare-Bratia" is listed in the drop-down menu

Description:
"Valea Mare-Bratia" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Valea Mare-Bratia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Valea Mare-Bratia, Argeș (Bălilești)".


Feature request: TestSphere

Bounding sphere visibility test.

you can compute a bounding rect from a sphere.
https://research.nvidia.com/publication/2d-polyhedral-bounds-clipped-perspective-projected-3d-sphere

That is an excellent article, thank you! With the bounding rect there would be some amount of false negatives for culling as it doesn't fit tightly, but if that is a problem one can use a bounding polygon with more sides and test using already available MaskedOcclusionCulling::TestTriangles.
I'll leave this open in case anyone wants to write an implementation based on the Nvidia paper!


Refactor: split modules

continuation from #261
This PR splits mocket.py into multiple modules
this is done for multiple reasons:

to make the codebase more manageable (also for typing)
to prepare for the introduction of a state-object
to prepare for the removal of cyclic imports

coverage: 99.545% (+0.02%) from 99.529%
when pulling 14513def5d44e47c845618c5b4f39ba77fd1174a on betaboon:refactor-split-modules
into 54618df4796a906bc3f7d709abc654cda403cf7d on mindflayer:main.


fix(surge): add surge pr support to travis

What:

Link to Storybook:

Additional issues:

PatternFly documentation deployment: https://5-pr-patternfly-react-dgutride.surge.sh


Add uninterruptible disk sleep to system/process metrics

What does this PR do?
This is a fix for https://github.com/elastic/beats/issues/20961
It differentiates between actual idle states and an uninterruptible disk sleep.
Why is it important?
These are two different states, but we've always reported both as idle, for whatever reason.
Checklist

[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added an entry in CHANGELOG.md

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-06-01T17:22:39.424+0000

Duration: 3 min 48 sec

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Build doesn't work with default CMake setup

Using CMake GUI on Windows and not changing any settings, I get the following link error when trying to compile ntv2player4k
Error	LNK2001	unresolved external symbol "struct poptOption * poptHelpOptionsAutoHelp" (?poptHelpOptionsAutoHelp@@3PEAUpoptOption@@EA)	ntv2player4k	D:\devel\libajantv2\Build\demos\ntv2player4k\main.obj

Malcom,
Which branch did you check out? Which CMake generator are you using? Could you pastebin your CMake settings so I can take a look?
I just tested building libajantv2, including ntv2player4k, with a VS2022 solution generated by CMake GUI. I used the default CMake options presented after running the Configure step, and then ran the Generate step for VS2022. Upon running cmake --build <build-dir> everything built successfully. I didn't see any errors of any kind.

Hey Paul,
Thanks for the quick reply. This happened both using the head of main today, as well as tag ntv2_17_0_1.
Sorry, I realize AJANTV2_BUILD_SHARED needs to be turned on to get this error.
I'm using CMake 2.28.1, Visual Studio 2019. I compiled using the Visual Studio project directly, not via cmake --build
Here is the CMakeCache.txt from that configuration.
CMakeCache.txt


Allow some apps

Hello,
Some applications running on the computer, I do not want to be affected by WireGuard. What can I do for it?
For example: "Microsoft Mouse Border Garage".
Thank you

Hello,
Some applications running on the computer, I do not want to be affected by WireGuard. What can I do for it?
For example: "Microsoft Mouse Border Garage".
Thank you

Try Tunnel app for Windows. It allows excluding apps via the wg tunnel.


Variable in tag name not working

I'm on version 2.0.0 of the grafana pi web api plug in. It appears that grafana variables aren't working in the tag name. I can manually type out the tag name with the variable, and it seems that the grafana is properly interpreting the variable, but that there is an extra space in the tag name that I can't get rid of. Is there a way to make this work?

Will be fixed in version 2.1.0.

Fixed in version 2.1.1


23971 - allow editable certify legal name

Issue #: /bcgov/entity#23971
Description of changes:
Allow Certify Legal Name section to be editable for regular users. As per discussion with Mihai, firms and coops are not considered in this ticket.

Filing Type
is Editable Before
is Editable Now
Notes

alteration
❌
✔

limitedRestorationExtension
✔
✔

limitedRestorationToFull
✔
✔

specialResolution
❌
✔

CorpCorrection
✔
✔

CoopCorrection
✔
✔
Not considering Coops and Firms at this moment

change
❌
❌
Not considering Coops and Firms at this moment

FirmCorrection
✔
✔
Not considering Coops and Firms at this moment

Change Example - Alteration for a corp as a regular user
Before

Now

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-594-bn9uy8wh.web.app

Sorry, I forgot to squash and merge, will keep in mind next time


Clarifications and link updates in README

These are changes to Android-centric wording; though this is an Android sample, GCM is not an Android-only API product.
Also added some link updates and minor readability fixes.

LGTM, thanks! :+1:


Cannot configure a custom calendar

I've tried for a solid hour to create a custom calendar and cannot do it. The warning that additional data is required is displayed on the top and I've tried filling out every single item with a very simple test case and can't save it. Have looked over and over for any red warnings and there are none. Tried a preset calendar and that worked but I can't modify it to my calendar as it keeps adding days or months from the preset back in. I've installed the latest version as at 23/12/22 and it does not work.

I am also having a similar issue - started creating a fresh custom calendar and it will not let me save.  The error reads that my current date is invalid and that a day's name cannot be empty.  I had clicked the add button for a new day 1 too many times and now cannot delete the entry.


⚠ Turnos 24x7 has degraded performance

In e6ad216, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1230 ms

Resolved: Turnos 24x7 performance has improved in 0453efd.


arm64 binary

Would it be possible to include a binary for arm64 in this recipe?
There seems to be one on CRAN https://cran.r-project.org/web/packages/Rserve/index.html

Sorry no one responded to this previously. I'm looking into it now.

Builds should be uploaded and indexed in 1-2 hours.


(maint) Pin sematic-puppet for component acceptance

The bolt runners in the component acceptance tests have ruby interpreters < 2.7. There is a new sematic puppet release that requires ruby 2.7 and the gem install commmand is not smart enough to pull in dependencies based on ruby version requirements. This commit updates the test runners to pre-install a suitable sematic puppet version before installing the bolt gem.

MEant to address https://jenkins-platform.delivery.puppetlabs.net/view/bolt/job/platform_bolt_vanagon-integration-component_main_project-main/932/


telemetry version conflicts in newer app

Getting errors importing twirp-elixir into applications that are using telemetry version 1.
Looking at how other libraries are handling this, it appears that supporting both .4 and 1.0 is a common pattern.
https://github.com/phoenixframework/phoenix/blob/master/mix.exs#L66
https://github.com/elixir-ecto/ecto/blob/master/mix.exs#L35
#119  -- follows the above approach

a workaround has been to add telemetry to the apps dependencies with override: true


Implementation of the Catalog of  my Things console App

Project Description
In this project, we worked in a team of 3 members. Each one was assigned specific tasks
This video presents the project
Tasks List

[x] #1
[x] #2
[x] #3
[x] #4
[x] #5
[x] #6
[x] #7
[x] #8
[x] #9
[x] #10
[x] #11
[x] #12
[x] #14
[x] #15
[x] #16
[x] #17
[x] #18
[x] #19
[x] #20
[x] #21
[x]  #22
[x]  #23
[x] #24
[x]  #25
[x]  #26
[x]  #27
[x]  #28
[x]  #29
[x]  #30
[x]  #31
[x] #32
[x] #33

@VICTOR-CHUKWU Thank you very much for reviewing our work and your appreciation

Thanks a lot @VICTOR-CHUKWU

Thank you @VICTOR-CHUKWU for the review and thanks for the appreciation it means alot 🙏


runAsNonRoot needs to be explicitly set for initContainer on restricted namespace

Hello,
I am using k8tz 0.16.0. For a namespace enforcing pod security :
apiVersion: v1
kind: Namespace
metadata:
  name: yolo
  labels:
    pod-security.kubernetes.io/enforce: restricted
  annotations:
    k8tz.io/strategy: initContainer

Pods are not created with error :
... violates PodSecurity "restricted:latest": runAsNonRoot != true (pod or container "k8tz" must set securityContext.runAsNonRoot=true)

Hi,
I have checked with the apps I want to deploy. I have tuned the helm values accordingly, but I still have some problems with apps deployed by operators (like CockroachDB). I will check with their team accordingly.


Fixed package setup

Fixed package setup so now one can build and install the package. Examples still don't work since several resources are not included in package, but I beleave they should not be there. Fixing examples could be done in another pull request.

I made already some fixes by myself. Thank you anyway for your contribution.


refactor: php doc-blocks on Share.php

This PR corrects the Doc-Blocks on Jorenvh\Share\Share, in particular page() and currentPage() public methods,
to help static analysis tools getting the correct type.

@jorenvh any ETA on this?

@leMaur Thanks for your contribution! And sorry for the slow response, I had other things on my plate the last couple of months


7TV emotes not working after 7TV V2 API shutdown

Existing Issues

[x] I have searched for existing issues, this is not a duplicate.

Unmodded Twitch

[ ] I have checked and this issue only occurs using bttv-android and not with the unmodded Twitch App

What happened?
7TV emotes are not showing up in chat right now and this is also an issue on desktop for lots of streamers who use certain chat overlays
bttv-android version
v.0.40.1-beta
android version
13
device
Samsung S21 Ultra
Anything else?

Duplicate of #633


style: use eslint-config-standard + prettier

Per comment
/cc @gr2m

hey what’s with all the integrations? Do you think we need them all? I’d probably go with either codeclimate or codecov and I don’t think we need the gitcop thing?

hey what’s with all the integrations? Do you think we need them all? I’d probably go with either codeclimate or codecov and I don’t think we need the gitcop thing?

codeclimate check the code by running eslint and adding comments to PRs where there is a violation. It helps contributors to figure out where they made mistakes (rather than reading the logs of the CI build).
But as eslint runs on precommit a contributor would know if there is a violation (unless he skip the hook) so maybe it's not that important.
codecov is different as it reports on the PR the lines that are not covered by tests. It's also helpful for contributor so they can see directly in the PR what line is not covered.
The coverage is checked during the CI build, so it will fail if the modification reduce the coverage, but it might be more friendly for contributors to see it directly as comments in the 'Files changes' tab of the PR.
Other semantic-release repos uses coverall which is an alternative. I could switch to coverall if you prefer.
gitcop checks the commit message are properly formatted. It's quite important to enforce that as semantic-release relies on commit message format to decide about a release. I use commitlint to verify the commit messages are valid on commitmsg hook. gitcop act as a double check in case a contributor skip the commitmsg hook.
All these integrations are not necessary per say but I think they make the contribution experience easier by reporting directly in the PR with a nice comment. It also allow to display a badge on the README with '100% coverage' or 'no code violation', giving confidence in the code quality to potential users.
That said, I can remove them if you prefer.

thanks for all the clarifications :)
I’d remove gitcop because the limitation of the commit message subject is a problem for semantic-release, which uses them to generate changelogs. And I would not limit the characters to express whatever they want to express.
I’m a bit cautious, I’m not sure how people will react if they send their first pull request and then robots respond with some cryptic information that they might not understand. At the end of the day, these integrations should help us not to merge pull requests that e.g. drop code coverage below 100% but I think it’s enough if the people reviewing the pull requests know how to find out what the exact problem is, they can do an extra click.
But I don’t have evidence, all I know is people like appreciation from humans and error messages from bots, so happy to experiment with this. Maybe let’s add Codecov and drop Coveralls as it tends to be down, but let’s leave out Code Climate for now?

I’d remove gitcop because the limitation of the commit message subject is a problem for semantic-release, which uses them to generate changelogs. And I would not limit the characters to express whatever they want to express.

semantic-release relies on the commits message format to determine the release type and generate the changelog. Therefore it expects to have commit messages parsable (like feat: my feat). It's having invalid message that creates problems for semantic-release not enforcing their validity...
If someone push a commit like this Feature: my feature then it won't trigger a release even though it should as we added a new feature. So we need to make sure, one way or the other, that the commit message are valid and parsable.

I’m a bit cautious, I’m not sure how people will react if they send their first pull request and then robots respond with some cryptic information that they might not understand.

Maybe robot are not friendly as humans, but it's a lot better than having just a message "Travis build failed" without any explanation on the PR, letting the contributor wondering what went wrong (is it his code ? existing code ? Travis config ? Travis platform ?) and expect him to go to the Travis build, read the 500 lines of logs just to realize he forgot a comma somewhere...
I'm ok removing whatever you prefer. But I don't understand the rationale behind it... the point of those integration is to make both maintainer and contributor life easier.

So we need to make sure, one way or the other, that the commit message are valid and parsable.

It will be part of our own GitHub App :) I’m mentoring a RGSoC team that is working on the validation parts: https://github.com/semantic-release-validation-bot/semantic-release-validation-bot

is it his code

"their" code. We can’t assume genders, so we use they/them to also refer to a single person :)

I'm ok removing whatever you prefer. But I don't understand the rationale behind it... the point of those integration is to make both maintainer and contributor life easier.

As I said, I’m happy to experiment :)

It will be part of our own GitHub App :) I’m mentoring a RGSoC team that is working on the validation parts: https://github.com/semantic-release-validation-bot/semantic-release-validation-bot

I wasn't aware a semantic-release Github App. It seems semantic-release-validation-bot is doing something similar to gitcop, and will probably do more in the future.
Should I configure semantic-release-validation-bot with this repo ?

"their" code. We can’t assume genders, so we use they/them to also refer to a single person :)
I'll keep that in mind. I didn't know it was valid in English, so I still have to make some progress.

As I said, I’m happy to experiment :)
I'm confused, which one I keep, which one I remove ?

semantic-release-validation-bot is not ready yet. There is no work done on the semantic-release GitHub App. Next step is to create a Google Doc to gather thoughts and come up with plan. I’ll invite you to it among with some other people who expressed interest to work on it :) If I wouldn’t have been sick the past two days I would have done it yesterday but will have to catch up with work first. But stay tuned, I’ll keep you posted :)

I'm confused, which one I keep, which one I remove?

I give it some more thought and I’ll let you decide, we can keep them all and see how it goes?

Ok, let's experiment with this 2 repos (not the other semantic-release ones) for now and see how it goes. We can re-evaluate later.
Any other modifications that I should do? Should I merge this PR?
What's next ?  Should we change the name to @semantic-release/release-notes-generator? Should we transfer those repo to the semantic-release org?
And again, no rush. It doesn't have to be done right now.

I’d merge this PR, it’s good to go.

What's next ? Should we change the name to @semantic-release/release-notes-generator? Should we transfer those repo to the semantic-release org?

My understanding is that your plugin has the same features as the current plugin, right?
https://github.com/semantic-release/release-notes-generator it only adds features? Even if there are some breaking changes, no problem, we should just document them.
So I would suggest we do the following:

[ ] merge this PR
[ ]  rename https://github.com/semantic-release/release-notes-generator to https://github.com/semantic-release/release-notes-generator-v3 and archive it
[ ] rename this repository to release-notes-generator and move it to the semantic-release organization
[ ] change the package name to @semantic-release/release-notes-generator
[ ] manually release<EMAIL_ADDRESS>create the git tag and release and add all changelogs
[ ] deprecate the sr-release-notes-generator package and point it to  @semantic-release/release-notes-generator
[ ] setup the integrations in the semantic-release/release-notes-generator repository (I can make you admin for that repo, then I think you should be able to do it yourself)

^^ sounds good?

Alright sounds good.
I think I need the permission to create repo on semantic-release org in order to transfer it.

I’ve renamed https://github.com/semantic-release/release-notes-generator to https://github.com/semantic-release/release-notes-generator-v3. Can you try to move yours now? Rename it to release-notes-generator first. If you can’t make it, can you make me admin on this repository so I can do it?

I can't transfer it to semantic-release org as I don't have the permission to create repo there.
I can't make you admin either. There is no option to change your permissions in Settings > Collaborator.
Should I give you ownership? Or should you give me temporary permission to create repo in semantic-release ?

Oh okay, I forgot you can’t give me admin rights to a repository that is not on an organization. Hmm ... hmmm okay can you transfer it to me then?
I also don’t mind adding you as admin to the semantic-release organisation, I’d just ask you to enable 2FA authentication to reduce chances of your account being hacked

I transferred ownership to you

I don’t see it yet? https://github.com/gr2m/release-notes-generator/

Maybe it takes time ?

I got an email asking me to allow the transfer, it worked now, thanks  👍

move completed 👍

I will open a PR to rename the package in package.json with a BREAKING commit.
Then we can configure the integration and set the NPM_TOKEN on travis that can release on npm.
Then when we merge the PR it should release 4.0.0 automatically I think

no the 4.0.0 release won’t work automatically I think, it will break because it cannot find the commit from the last release on npm, that’s why we need to do it manually once

ah yes you're right !


Fix #361: Add Fibonacci for C++

Description
Add Fibonacci for C++
Related Issue
Issue #361
Please link to the issue here: https://github.com/Asiatik/codezilla/issues/361
How Has This Been Tested? (Optional)
Please describe in detail how you tested your changes.
You can skip this if you have not added any tests.
Screenshots (Optional)
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (change which fixes an issue with the algorithm)

[X] New Algorithm (non-breaking change which adds functionality)

[ ] Documentation

@thakursaurabh1998 Change made, wasn't sure how to click Resolved.


🐛 [Bug] Encountered bug when using Torch-TensorRT

Bug Description
I'm running a smallest test code.  When I use torch_tensorrt to compile the model, it throw s shape mismatch error in TorchScript, but the torch.jit.trace itself didn't show the same error.
Can you please help me with this problem?
To Reproduce
Steps to reproduce the behavior:

python trt_sample.py

code sample:
`
    import time
    import random

    import torch
    import torch_tensorrt
    from torch import nn

    torch.manual_seed(0)

    class Model(torch.nn.Module):
        def __init__(self, n_in=128, n_out=64, norm='LN', act=True):
            super().__init__()

            self.linear = nn.Linear(n_in, n_out, bias=False)
            self.norm = nn.LayerNorm(n_out)
            self.relu = nn.ReLU(inplace=True)
            self.act = act

        def forward(self, cout, rand, emb):
            idcs = torch.where(rand > 0.2)[0]

            out = self.linear(emb.view(1, -1, 128))

            out = self.norm(out)

            if self.act:
                out = self.relu(out)

            cout[:, idcs.long()] = out
            # cout.index_add_(1, idcs, out)
            return cout

    # Init data
    rand = torch.rand(5740).cuda()
    s = torch.where(rand>0.2)[0]

    emb = torch.rand((1, len(s) * 128)).cuda()
    cout = torch.rand(1, 5740, 64).cuda()

    # Init model
    model = Model().eval().cuda()

    # torch jit trace
    traced = torch.jit.trace(model, (cout.clone(), rand.clone(), emb.clone()))
    traced_output = traced(cout.clone(), rand.clone(), emb.clone())
    print('traced output: ', traced_output.shape)

    # trt compile
    enabled_precisions = {torch.float}
    trt_ts_module = torch_tensorrt.compile(
        model,  # traced,
        inputs=(cout.clone(), rand.clone(), emb.clone()),
        enabled_precisions=enabled_precisions,
        torch_executed_ops=['aten::index', 'aten::index_put_', 'aten::where', 'aten::to'],
        truncate_long_and_double=True,
        debug=True
    )
    print('trt compiled')

    # infer with trt
    result = trt_ts_module(cout.clone(), rand.clone(), emb.clone())
    print('trt: ', time.time() - start_time)

`
error message:
`
Traceback (most recent call last):
  File "test_trace.py", line 52, in <module>
    trt_ts_module = torch_tensorrt.compile(
  File "/opt/conda/lib/python3.8/site-packages/torch_tensorrt/_compile.py", line 113, in compile
    return torch_tensorrt.ts.compile(ts_mod, inputs=inputs, enabled_precisions=enabled_precisions, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch_tensorrt/ts/_compiler.py", line 134, in compile
    compiled_cpp_mod = _C.compile_graph(module._c, _parse_compile_spec(spec))
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
  File "test_trace.py", line 30, in forward
            out = self.relu(out)

        cout[:, idcs.long()] = out
        ~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
        # cout.index_add_(1, idcs, out)
        return cout
RuntimeError: shape mismatch: value tensor of shape [1, 4582, 64] cannot be broadcast to indexing result of shape [1, 4631, 64]

`
Expected behavior
run without shape missmatch
Environment
docker image:  nvcr.io/nvidia/pytorch:22.09-py3

The origin of the issue seems to be the rand argument in the forward function. During partitioning, Torch-TRT currently generates random inputs to the the forward function, and so when the line idcs = torch.where(rand > 0.2)[0] is executed on internally-generated inputs, its size differs from that of the externally-generated rand. We are working on adding an argument to specify sample input tensors and value ranges currently (RFC #1425). A temporary solution would be to change rand to s, so the indices are computed outside of the forward function, potentially like so:
def forward(self, cout, s, emb):
    idcs = s
    ...

...

s = torch.where(rand > 0.2)[0].int().cuda()

### Then replace all instances of rand.clone() with s.clone()

The above changes make the code and inference functional on my machine, using the current latest version of Torch-TRT (commit e3b9929). Let me know if this also works on your end.

Sorry but another wierd problem occurs when I try to convert the model to torch script first,
trt_ts_module = torch_tensorrt.compile(
   　traced,  # model
    　inputs=(cout.clone(), rand.clone(), emb.clone()),
    　enabled_precisions=enabled_precisions,
    　torch_executed_ops=['aten::index', 'aten::index_put_', 'aten::where', 'aten::to'],
    　truncate_long_and_double=True,
    　debug=True
     )

the compilation says nothing wrong, but the returned tensor of inference is just all zero, something like the code
           cout[:, idcs.long()] = out
was not executed

When I substitute in the above code, I am seeing a CUDA out-of-bounds error, because it seems that the cout[:, idcs.long()] = out[:, idcs.long()] line in the forward function tries to access out-of-bounds indices on the out tensor (because idcs includes indices larger than the size of out). Could you send the entire script you are using which is displaying the behavior, including tensor initializations? This will help to isolate the problem

import time
import random

import torch
import torch_tensorrt
from torch import nn

torch.manual_seed(0)

class Model(torch.nn.Module):
    def __init__(self, n_in=128, n_out=64, norm='LN', act=True):
        super().__init__()

        self.linear = nn.Linear(n_in, n_out, bias=False)
        self.norm = nn.LayerNorm(n_out)
        self.relu = nn.ReLU(inplace=True)
        self.act = act
        # self.register_buffer('zero_buffer', torch.zeros([4, 5740, 64]))

    def forward(self, idcs, emb):
        bs = emb.shape[0]
        out = self.linear(emb.view(1, -1, 128))

        out = self.norm(out)

        if self.act:
            out = self.relu(out)

        cout = torch.zeros([bs, 5740, 64], device=emb.device)
        cout[:, idcs.long()] = out[:, idcs.long()]
        return cout  # cout[:, idcs.long()], out

# Init data
rand = torch.rand(5740).cuda().float()
s = torch.where(rand>0.2)[0]

emb = torch.rand((1, 5740 * 128)).cuda()

cout = torch.zeros([1, 5740, 64], device=emb.device)

# Init model
model = Model().eval().cuda()

# torch jit trace
traced = torch.jit.trace(model, (s, emb))
print(traced.graph)

# trt compile
enabled_precisions = {torch.float}
trt_ts_module = torch_tensorrt.compile(
    traced,
    inputs=(s.int(), emb),
    enabled_precisions=enabled_precisions,
    torch_executed_ops=['aten::index', 'aten::index_put_', 'aten::where'],  # , 'aten::to'],
    truncate_long_and_double=True,
    debug=True
)
print('trt compiled')

emb = torch.rand((1, 5740 * 128)).cuda()

model_output = model(s, emb)

traced_output = traced(s, emb)
print('traced output: ', traced_output.shape)

# infer with trt
trt_output = trt_ts_module(s.int(), emb)
print('trt: ', trt_output.shape, trt_output.max())

diff = traced_output - trt_output
print(diff.max(), model_output.max(), traced_output.max(), trt_output.max())

@bowang007 can you look at this case for the int64 <-> int32 partitioning?
@gs-olive Is looking at a lowering pass to handing in place index_put_ -> out-place index_put

As an update, to make this code work temporarily while a more robust fix is in development, replace this line in the forward function:
cout[:, idcs.long()] = out[:, idcs.long()]
######################### Replaced With #########################
# The permutes are used to ensure the index being selected is the first dimension, to avoid
# having to select along each axis, etc.
out = out.permute(1, 0, 2)
cout = cout.index_put((idcs.long(),), out[idcs.long()])
cout = cout.permute(1, 0, 2)

This issue seems to arise because the cout = torch.zeros(...) call in the forward function initializes a Constant tensor in the graph, so all of the inplace operations applied to the tensor are applied to copies of it, which are discarded and the initial tensor of zeros is then returned. The solution is to use a non-inplace index_put, which makes a copy of the tensor containing the correctly-filled indices, avoiding this issue.

Under investigation.

User provided with workaround.

I run into the similar problem while I differ in tensorrt engine generation. It seems tensorrt doesn't support index_put, any suggestion:
import torch
import torch.nn as nn
from torch.onnx import OperatorExportTypes

class E2E(nn.Module):
    def __init__(self):
        super().__init__()
        self.bs = 1
        self.num_steps = 51
        self.pad_id = 14667
        self.bos_id = 14666
        self._device = torch.device('cpu')
        self.tgt_in = torch.full((self.bs, self.num_steps), self.pad_id, dtype=torch.long, device=self._device)
        print("shape:", self.tgt_in.shape)

    def forward(self, j, ind):
        self.tgt_in[:, j] = ind
        # alternative
        # self.tgt_in = self.tgt_in.permute(1, 0)
        # self.tgt_in = self.tgt_in.index_put((j,), ind)
        # self.tgt_in = self.tgt_in.permute(1, 0)
        return self.tgt_in

if __name__ == "__main__":
    e2e = E2E()
    dummy_input = (torch.randint(1, 51, [1]), torch.randint(1, 14661, [1]))

    input_names=['input', 'index']
    output_names=['output']
    torch.onnx.export(
                e2e,
                dummy_input,
                "e2e.onnx",
                opset_version=14,
                operator_export_type=OperatorExportTypes.ONNX_ATEN_FALLBACK,
                verbose=True,
                export_params=True,
                input_names=input_names,
                output_names=output_names,
            )

Onnx is generated ok, but tensorrt complains about this operator,
07/30/2023-11:42:45] [I] [TRT] Searching for plugin: ATen, plugin_version: 1, plugin_namespace:
[07/30/2023-11:42:45] [E] [TRT] ModelImporter.cpp:726: While parsing node number 5 [ATen -> "output"]:
[07/30/2023-11:42:45] [E] [TRT] ModelImporter.cpp:727: --- Begin node ---
[07/30/2023-11:42:45] [E] [TRT] ModelImporter.cpp:728: input: "2"
input: "6"
input: "input"
input: "4"
input: "5"
output: "output"
op_type: "ATen"
attribute {
  name: "operator"
  s: "index_put"
  type: STRING
}
doc_string: "(omitted)"

[07/30/2023-11:42:45] [E] [TRT] ModelImporter.cpp:729: --- End node ---
[07/30/2023-11:42:45] [E] [TRT] ModelImporter.cpp:732: ERROR: builtin_op_importers.cpp:5428 In function importFallbackPluginImporter:
[8] Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?"
[07/30/2023-11:42:45] [E] Failed to parse onnx file
[07/30/2023-11:42:45] [I] Finish parsing network model
[07/30/2023-11:42:45] [E] Parsing model failed
[07/30/2023-11:42:45] [E] Failed to create engine from model or file.
[07/30/2023-11:42:45] [E] Engine set up failed
&&&& FAILED TensorRT.trtexec [TensorRT v8503] # trtexec --onnx=e2e.onnx --fp16 --saveEngine=e2e.trt

My env related is
torch                   1.10.2
onnx                    1.13.0
protobuf                3.20.3
tensorrt <IP_ADDRESS>

@serser : Did you solve this issue?


Do not send incomplete URI for a proposed entity to the server

Generally avoid using the directly put values, and instead parse the result provided in the response from the API proposal call.

Closed by #251 .


Datadog plugin integration errors

I tried using this plugin with the serverless-datadog-plugin, but I get errors when EventBridge tries to invoke the function.
Presumably because of the fact that the datadog plugin installs and attaches a Lambda Layer to the function, which the warmup function has troubles with? Not sure though.
The error is:
{
    "errorType": "Runtime.ImportModuleError",
    "errorMessage": "Error: Cannot find module 'handler'\nRequire stack:\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js",
    "stack": [
        "Runtime.ImportModuleError: Error: Cannot find module 'handler'",
        "Require stack:",
        "- /var/runtime/UserFunction.js",
        "- /var/runtime/index.js",
        "    at _loadUserApp (/var/runtime/UserFunction.js:100:13)",
        "    at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
        "    at Object.<anonymous> (/var/runtime/index.js:43:30)",
        "    at Module._compile (internal/modules/cjs/loader.js:1015:30)",
        "    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)",
        "    at Module.load (internal/modules/cjs/loader.js:879:32)",
        "    at Function.Module._load (internal/modules/cjs/loader.js:724:14)",
        "    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)",
        "    at internal/main/run_main_module.js:17:47"
    ]
}

Removing the datadog plugin from the plugin list in serverless.yml fixes the problem entirely.
I'm curious to hear if others had problems with this as well, or if maybe there's something wrong with my configuration.
My warmup setup is pretty barebones, with enabled: true, prewarm: true and schedule set to every 5 minutes.
"serverless": "^2.11.0",
"serverless-plugin-warmup": "^4.9.0",
"serverless-plugin-datadog": "^2.6.0"

Hi @judehunter ,
In which order are you setting up the plugins?
serverless-plugin-warmup adds an extra function to your service, the warmer. This is a standard function configured to be triggered by a scheduled CloudWatch event.
serverless-plugin-datadog seems to be adding a layer to each handler and wrapping each handler in their own.
So serverless-plugin-warmup should be declared before serverless-plugin-datadog.
The fact that the warmer function is erroring, seems to point that you are already using the right order.
I took a quick look at the serverless-plugin-datadog codebase and everything else seems fine.
So other than that, I'd need to get an example project to be able to debug and see what's going on.
And considering that the lambdas don't seem OSS, I'm not sure of how to do that.
You might want to try asking for support on the serverless-plugin-datadog end.

@judehunter The serverless-datadog-plugin by default overrides the handlers of all functions if you have the addLayers flag enabled with their plugin. A solution to this has been merged into the serverless-plugin-datadog repo, which allows you to manually exclude functions from this default behavior, and should be included in it's next release. @juanjoDiaz You can feel free to close this issue because it isn't relevant to this plugin (https://github.com/DataDog/serverless-plugin-datadog/pull/87).

ℹ To help those who need an immediate response
If you use the default configuration, add this in your Datadog configuration :
custom:
  datadog:
    exclude:
      - warmUpPluginDefault

Hi @astuyve,
Thanks for the good work.
This is a tricky one...
There is a reason why the warmers are set twice.
If you browser through this repo you can find quite a few issues related to other plugins (webpack, rollup, etc..).
The problem is always the same: not all of us use the same lifecycle events.
I asked long time ago the serverless guidance to document the lifecycle events and provide better guidance for us the plugin authors.
The real issue comes from here:
https://github.com/juanjoDiaz/serverless-plugin-warmup/blob/c9ee9fa9a8fa97395d32db0a6aebeeefd34ea3a0/src/index.js#L75
The warmup lambdas are added on the after:package:initialize event. Which is the same event used by the datadog plugin.
However, the webpack, bundle and similar plugins use the before:package:createDeploymentArtifacts event and break things.
For that, I need to reset the warmers during the before:package:createDeploymentArtifacts event.
I wish I could get rid of that hack but then I'd break the library for all people bundling their JS.
Ideally, we all should use the same event...
Sadly, that seems unlikely.
I am happy to hear suggestions.
And I am happy to accept any PR as long as it still works with the webpack, bundle and similar plugins :sli

#338 is exactly about that.
Let's discuss there.
Another option is that you implement double events in the datadog plugin like I do here to avoid issues.

Yup, sounds good - we're happy to implement whatever is easiest and have similar challenges with bundlers.


Release time

Dear Authors
What is the approximate time of release?

Dear Xuhao084,
Thank you for your interest in our work.
We will release the code as soon as possible.

Dear Xuhao084,
Thank you for your interest in our work.
We will release the code as soon as possible.

Dear Authors,
Thanks for the reply. I look forward to your job.

We released the code today.


Multiple sum are getting the same name 'sum'

Maybe someone else has experienced and knows if there is a solution.
I query a table and want to calculate sum on two columns. In the returned json both have the value 'sum' so it becomes difficult to separate the two.
 table?_groupby=source,medium&_select=source,medium,sum:markov_value&_renderer=json&_select=sum:totalcost
  {          "source": "email.t-online.de",          "medium": "referral",          "sum": 169688.36,          "sum": 0      },
So there is two fields named sum.
Does anyone know how this could be mitigated? In SQL one renames the column but prest does not have that functionality.

@nkolster can you implement your “bug” report?


Builds sometimes fail with Could not resolve dependencies for project

Example log:
+ ./mvnw install -DskipTests -Dair.check.skip-all=true -Dmaven.javadoc.skip=true -B -q -T C1 -pl '!presto-docs,!presto-server-rpm'

[ERROR] Failed to execute goal on project presto-parser: Could not resolve dependencies for project io.prestosql:presto-parser:jar:302-e.0-SNAPSHOT: Failed to collect dependencies at io.airlift:slice:jar:0.36: Failed to read artifact descriptor for io.airlift:slice:jar:0.36: Could not transfer artifact io.airlift:slice:pom:0.36 from/to starburst_nexus (http://nexus.aws.starburstdata.com:8081/nexus/content/repositories/central): /home/ubuntu/.m2/repository/io/airlift/slice/0.36/slice-0.36.pom.part (No such file or directory) -> [Help 1]

This could be related to: https://jira.apache.org/jira/browse/MDEP-518
It is suggested there that Takari's builder fixes the issue. I've seen that we had Takari as Maven extension once, but was removed via: https://github.com/prestosql/presto/commit/33e41f3b7ed2c2129103d74c33943d8cf4114788
FYI @electrum

Would this cause missing dependencies in the final package?
I have seen intermittent ClassNotFoundException in travis-ci test, but couldn't find the root cause.

No. It breaks the build.

i wonder why this doesn't happen on travis (does it?)
internally, this was quite frequent until we restored some maven config change (i think it was 33e41f3b7ed2c2129103d74c33943d8cf4114788, not sure of it)

It probably doesn't happen on Travis because they only have 2 cores.


Add CONTRIBUTING.rst and AUTHORS.rst

:+1:

Even though I'm always wondering if an authors file is really necessary when you have a CSV.

authors seems useless to me.


Wrong description for the Enable smaller "new note" & "new todo" button

Describe the bug:

The setting property name is correct but the description means the opposite.

This issue has been fixed in the ReMoods Theme v4.5.0 updates.


Support use of date picker in mdDialog

When I used mdp-date-picker in md-dialog then after clicking cancel button of date picker it closes dialog not date picker. Same thing happens when hit escape button.

Hi,
it happens of you set parent property in your dialog.
look this pen and tell me if it helps http://codepen.io/alenaksu/pen/NNRQrE

I'm having this issue, except also in the mdp-time-picker. I have not set the parent property on my dialog.
I was able to resolve the issue in the mdp-date-picker by setting the clickOutsideToClose property to false., but this had no effect on the mdp-time-picker.
Any ideas?

I was previously running on angular 1.4.8 and angular-material 1.0.6, but updated to angular 1.4.10 and angular-material 1.0.7, and all seems to be well. That little factoid may come in handy?

@alenaksu  Thanks that helped...:).
@shawmanz32na In my case its working for both date picker and time picker even if clickOutsideToClose property is true.

@alphazhe @shawmanz32na there was a bug in angular material resolved with commit 6d39c21
If I remember correctly it was released after 1.0.6.

Yes, I was using 1.0.6 before and after updating to latest 1.0.7 it worked.
@alenaksu  Are you using mdDialog for date time picker ? If yes can I ask you, how you are able to open mdDialog over another one?

@alphazhe yes, looking into the Angular Material code, I've found an undocumented property for mdDialog. Its name is skipHide and if setted to true, the $mdDialog service will not close other dialogs.

@alenaksu Thanks a lot ... it saved my day :)


v3.0.2144 (19e235da) [master] - missing declaration for HideCmdTypeEnvironment and HighlightCmdEnvironment

CustomBuildTools build failure on v3.0.2144 ( Git 19e235da ) then have missing declaration for HideCmdTypeEnvironment and HighlightCmdEnvironment :
 Version: 3.0.2144 (19e235da) [master]

 [00:00] Building ProcessHacker (x32)...
[ERROR] processhacker\prpgenv.c(766): error C2039: HideCmdTypeEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker.vcxproj]
 processhacker\prpgenv.c(778): error C2039: HighlightCmdEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker\ProcessHacker.vcxproj]
 processhacker\prpgenv.c(1081): error C2039: HighlightCmdEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker\ProcessHacker.vcxproj]
 processhacker\prpgenv.c(1264): error C2039: HideCmdTypeEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker\ProcessHacker.vcxproj]
 processhacker\prpgenv.c(1439): error C2039: HideCmdTypeEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker\ProcessHacker.vcxproj]
 processhacker\prpgenv.c(1447): error C2039: HighlightCmdEnvironment: not member "_PH_ENVIRONMENT_CONTEXT" [ProcessHacker\ProcessHacker.vcxproj]

Where better to add them? It seems to include everything external and, as I understand it, they are called from the Windows Platform SDK and there they probably forgot about DOS as a nightmare long ago. :) Can take them to your prpgenv.h or write to another leader, and connect it to include?

Thank! I saw the commit and realized that we think the same way. The test copy was assembled successfully, I check.


Example in README throws error

I tried to run the examples and I have the following error :
Steps to reproduce :

cargo new --bin fdb
Paste the below rust program in src/main.rs

extern crate futures;
extern crate foundationdb;

use std::thread;
use futures::future::*;
use foundationdb::{self, *};

fn main() {
    let network = foundationdb::init().expect("failed to initialize Fdb client");

    let handle = std::thread::spawn(move || {
        let error = network.run();

        if let Err(error) = error {
            panic!("fdb_run_network: {}", error);
        }
    });

    // wait for the network thread to be started
    network.wait();

    // work with Fdb
    let db = Cluster::new(foundationdb::default_config_path())
        .and_then(|cluster| cluster.create_database())
        .wait().expect("failed to create Cluster");

    // set a value
    let trx = db.create_trx().expect("failed to create transaction");

    trx.set(b"hello", b"world"); // errors will be returned in the future result
    trx.commit()
        .wait()
        .expect("failed to set hello to world");

    // read a value
    let trx = db.create_trx().expect("failed to create transaction");
    let result = trx.get(b"hello", false).wait().expect("failed to read world from hello");

    let value: &[u8] = result.value()
        .expect("failed to get value from result") // unwrap the error
        .unwrap();   // unwrap the option

    // should print "hello world"
    println!("hello {}", String::from_utf8_lossy(value));

    // cleanly shutdown the client
    network.stop().expect("failed to stop Fdb client");
    handle.join();

}

cargo build
➜  fdb git:(master) ✗ cargo build
   Compiling fdb v0.1.0 (file:///Users/karthikeyansingaravelan/stuff/rust/fdb)
error[E0254]: the name `foundationdb` is defined multiple times
 --> src/main.rs:6:20
  |
2 | extern crate foundationdb;
  | -------------------------- previous import of the extern crate `foundationdb` here
...
6 | use foundationdb::{self, *};
  |                    ^^^^ `foundationdb` reimported here
  |
  = note: `foundationdb` must be defined only once in the type namespace of this module
help: You can use `as` to change the binding name of the import
  |
6 | use foundationdb::{self as other_foundationdb, *};
  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `std::thread`
 --> src/main.rs:4:5
  |
4 | use std::thread;
  |     ^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused import: `self`
 --> src/main.rs:6:20
  |
6 | use foundationdb::{self, *};
  |                    ^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0254`.
error: Could not compile `fdb`.

To learn more, run the command again with --verbose.

cargo.toml
[package]
name = "fdb"
version = "0.1.0"
authors = ["Karthikeyan S<EMAIL_ADDRESS>
[dependencies]
foundationdb = "*"
futures='*'

rustc version
rustc 1.26.0 (a77568041 2018-05-07)
Solution :
I had to use use foundationdb::{self as other_foundationdb, *}; as mentioned in the example to run the program. I am a rust beginner so kindly add in if I am missing anything.
Warnings
➜  fdb git:(master) ✗ cargo build
   Compiling fdb v0.1.0 (file:///Users/karthikeyansingaravelan/stuff/rust/fdb)
warning: unused import: `std::thread`
 --> src/main.rs:4:5
  |
4 | use std::thread;
  |     ^^^^^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused import: `self as other_foundationdb`
 --> src/main.rs:6:20
  |
6 | use foundationdb::{self as other_foundationdb, *};
  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused `std::result::Result` which must be used
  --> src/main.rs:48:5
   |
48 |     handle.join();
   |     ^^^^^^^^^^^^^^
   |
   = note: #[warn(unused_must_use)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 3.57 secs

Thanks for the library.

This was fixes by #88, right?

No, these are import errors. I tried to fix them but due to my limited knowledge the program still generates warnings.

From what I've seen, you can resolve your issues with:

Removing use std::thread;
Changing use foundationdb::{self, *}; to use foundationdb::*;

Hope this helps.

Fixed with https://github.com/bluejekyll/foundationdb-rs/pull/91 and closing


GEODE-10117: Added section in docs about memory

Added section in the doc about lru max memory being over written if
local max memory is set.
Also mentioned that these two settings are local and not cluster wide

For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Formatted to preserve existing note at equal emphasis with the new one

.

Thank you so much @davebarnes97


OwO bot is stuck!

I was playing my favorite barbie music and someone called me so I pressed "stop" on bot control panel.
When I came back I noticed something truly  horrible: OwO bot was stuck!
I tried to help him but control panel was gone!
Steps to reproduce (bug, not with bot)

!play barbie
select favorite barbie music
press stop on control panel

This was intended behavior however it's marked to be changed as it's confusing. Once the major refactor of all bot systems is done, this will be taken care of

Closed in https://github.com/kowalskiPl/OwO_bot/pull/12


Bug: Two lines around Code Fences.

Describe the Bug
Will add two lines around Code Fences.
How to Reproduce
Steps to reproduce the behavior:

Enable Empty Line Around Code Fences
Enable Consecutive blank lines

Expected Behavior
A clear and concise description of what you expected to happen.
Expected output if applicable:
The formatted result:
``` markdown
1. 修改 php.ini

    ```
    upload_max_filesize = 20M
    post_max_size = 20M
    ```

2. 修改 Nginx 配置文件

    ```
    client_max_body_size    20m; # 文件最大大小
    ```

1111

```
int a = 0;
```

2222
```

The code block not in the list is correct, it is around with a blank line.
The code block in the list will be around two blank lines. I think the code block around with one line is correct.
Device

[x] Desktop

Oh. I just to show the content of the file, so use the markdown block.
``` markdown

I will see about reproducing this tonight and if I can, I will aim to have it done for the next release.

Looks like I have a fix for the bug. The issue is that it was trying to match the whitespace of it with that of the previous line which is technically how it was written, but I see that that is not really necessary, so I have gone ahead and removed that part of the logic. This should take care of the problem and will hopefully not create any others.

This should be taken care of now. It will be pushed out with the next release. If you would like, you may go ahead and use the master version of the plugin before then.
Please let us know if the issue persists either on master or in the next release.


Create command to create issues on github.com pertaining to WaveTact

This is a publicly released bot and I fail to see a reason to implement a command that no one will use. Sure I'll use it, but my purposes often require setting labels, milestones and assignees. All of which require push access. Besides, having to open up the browser and put the issue in forces the user to think the issue over rather than blindly shoving the idea on github.


Ideas from Jonathan Corbet's talk: The kernel’s limits to growth

The kernel’s limits to growth - Jonathan Corbet from LWN - BUD17-500K1
https://www.youtube.com/watch?v=_hajkHgyVbk (Streamed live on Mar 9, 2017)
Jonathan points out the importance of maintainers, demanding better resources and training.

maintainer_documentation
The project SHOULD document the responsibilities and tasks of the maintainer role.
Rationale: Much knowledge about maintainership builds up over the years and is not sufficiently passed down to new maintainers. Documenting the maintainer role can help recruit, train, and mentor new maintainers

Jonathan promotes the advantages of group maintainership vs. single-maintainer model. I don't think we should enforce either model, but we might help projects think about it if we asked to document what kind of maintainership model is followed.

maintainership_model_documentation
The project SHOULD document the maintainership model and structure.
Note: Complements requirement: maintainer_documentation.
Rationale: A project may have a single-maintainer model or group maintainership. The maintainership may be centralized or distributed across sub-modules. By defining the maintainership model a project gains clarity about its operation and can ensure that underlying assumptions don't go unchallenged.

The proposed badge +1 and +2 include two_person_review.
Jonathan recognizes that the number of reviewers in the kernel does not scale with the number of new contributors and suggests better documentation and training.

code_review_documentation
The project SHOULD document how code review is conducted and how a contributor can learn to review code.
Rationale: Code review is a cornerstone of quality and secure coding practices. Projects often seek new contributors but lack training and documentation to increase the number of reviewers. An increase in code reviewers lowers maintainer workload while aiding in meeting the badge requirement two_person_review.

I very much agree with maintainer_documenation.  As you state in the rationale, it can really help get new maintainers on board. This can help projects more quickly achieve the bus_factor criterion.
maintainership_model_documentation is similar to what we were going for in governance.

Good stuff.
The first two somewhat overlap our current "governance" criterion, and I think it's useful to identify that as a separate criterion.  So we kept our "governance" criterion, and merged what was left of the first two into this:

The project MUST clearly define and publicly document the key roles in the
project and their responsibilities, including any tasks those roles
must perform.  It MUST be clear who has which role(s), though this
might not be documented in the same way.
[roles_responsibilities]
Details: The documentation for
governance and roles and responsibilities
may be in one place.
Rationale: Much knowledge about the project roles builds up
over the years, and is not sufficiently passed down to new people.
Documenting the roles can help recruit, train, and mentor new
project members.  Projects may choose document the roles
and responsibilities in one place, and identify who has the roles
separately, so that the project doesn't need to update the role
information when people change roles.
The goal is to make underlying assumptions clear.

We reworded the third one to:

The project MUST document its code review requirements, including
how code review is conducted, what must be checked,
and what is required to be acceptable.
[code_review_standards]
Details: See also
two_person_review and
contribution_requirements
Rationale: Code review is a cornerstone of quality and
secure coding practices. Projects often seek new contributors but lack
training and documentation to increase the number of reviewers. An
increase in code reviewers lowers maintainer workload while aiding
in meeting the badge requirement two_person_review.
See
https://github.com/linuxfoundation/cii-best-practices-badge/issues/699
from GeorgLink.

Thanks!

This is great! Thank you


Rename submit_transaction to send_transaction and notify unsupported

Rename eth_submitTransaction - not in the https://eth.wiki/json-rpc/API spec - to eth_sendTransaction.
On method call, return an unsupported InternalError code: methods that require stored private keys are unsupported

We have removed any unofficial RPC methods. So I think we can close this PR.


Error While Fetching Player Data of new player on web panel after latest update

Which clusters panel is this on?
c8
Describe the bug
After New Update , Player data is fetched on basis of their rockstar license , before it use steam hex . at that time we can open each and every player profile even with few mins of playtime one . but now when we try to open player profile with few mins to an hour or two playtime . there is error pops up.
To Reproduce

Go to '...'player section in management
Click on '....'any player with few mins of playtime
Scroll down to '....'
See error TypeError
App\Player::getSteamIdentifier(): Return value must be of type string, null returned

Expected behavior
it must return player data like before.
Screenshots
https://i.imgur.com/DeLPsny.png ,

this should be fixed

Appreciated . and one more thing , I observed that on Live map section EMS count always shows zero even when EMS is on duty ingame. https://i.imgur.com/LinlhHd.png  Sent from Mail for Windows From: LauraSent: 22 December 2022 06:56 AMTo: ExpDev07/legacy-rp-admin-v3Cc: Vikky98; AuthorSubject: Re: [ExpDev07/legacy-rp-admin-v3] Error While Fetching Player Data of new player on web panel after latest update (Issue #662) this should be fixed—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


remove all activation function modifications

before refactoring activation function decoration, I first need to clean up any activation function modification logic from the code.
refactor currently available basic activations like CQ.

okay


docs: tips for users coming from vim and vscode

This adds two new pages in the "Getting Started" with tips for vim and vscode users. Kind of a FAQ but targeted towards specific user groups. I also think these will make it easier to contribute documentation as the format lends itself well to adding self-contained tips.

Also, feel free to add any tips you already have to this PR!

Thanks for adding this, @glennsl - will definitely be helpful!


Get filename when loading whole folder

I couldn't find any option or solution to get the source filename when I load a complete folder.
Would this be possible without iterating separately every file manually?

Maybe, it sounds like you are looking for input_file_name function?

wow, great, yes. Thanks, and I'm very sorry for the apparently stupid question.
BTW, I have to say, you are the best developer ever, always ready to help, and quickly answer for that matter. I'm new to spark and python and you helped me a lot. Thanks again.
The function works, however I am having a few consequent issues, if you have time to take a look:

I want to get only the filename, not the path. For this I created a function with the path as input, and filename as output, which I then registered to the sql session and call it in the column selection. But I am getting an empty column in the output. The function registering and calling works (have other functions too), the function itself works (tried directly returning the input string), and I even tried to create a new dataframe.withColumn('filename',input_file_name()), and then call the function(filename), but still returns empty.

Now just discussing here, so I hope it doesn't sound stupid. Depending on the columns I select to output in the end, I also get some rows kind of repeated, with e.g. one row with all columns, the other has a column with a null value. From what I noticed, this happens if I have exploded multiple levels of parent elements, where some child element may not be present in each parent element. This is related to the other issue I opened with the flattening of nested XML, and the fact that multiple-levels of arrays cannot be accessed. So at the moment, I solved it by iteratively going through the path, and exploding arrays. I guess if spark-xml can directly flatten when reading would be better performing, so I'm hoping to see it as an option, but anyway.
So, if I have this:

<root>
  <tag>

      <textA>1</textA>

      <textA>2</textA>

      <textB>3</textB>

  </tag>
  <tag>

      <textB>4</textB>

  </tag>
</root>

Since from what I saw, spark doesn't support exploding nested columns and preserving the path to it, it needs to create a completely new unnested column with the exploded entries. So in order to get to root.tag.A.textA, I need to explode tag and A. However, by exploding iteratively and getting new columns for each explosion, I would also get new rows for tags that may not be present in a parent, e.g. I would get a row for root.tag.B.textB, where the column for root.tag.A.textA would be null. It is an expected behavior if I were to flatten the table completely, and of course each tag would have a column and tags that are not present would be null. But I don't want to flatten the whole table.  I just want to eliminate arrays, thus exploding same name tags, but keep the nested column structure generally. And since nested columns are still there, this would allow me to get only the elements I need, e.g. root.tag.A.textA, while no root.tag.B.textB are retrieved, and thus eliminating null columns.
I'm not sure, but I guess this would be achievable if spark-xml directly stores same name tags as separate entries, eliminating arrays, and at the same time, keeping the nested structure.  Is there anything I can do here, or is there any chance this will be added as an option soon in spark-xml?
Sorry for the long text, and thanks a lot for you help until now.

@someonehere15 Oh, IIRC, that should work fine from 1.6.3. Otherwise, that would return empty strings.  For the 2. i will take a look closely soon.

Thanks for answering.
I managed to create a function that iteratively explodes the columns. The one I posted on the other issue page was wrong, but I fixed it and it is working fine for now, until hopefully you can fix it directly in spark-xml.
I am still having problems with extracting the filename though. I have spark 2.1.0 and the latest build from spark-xml. If I callinput_file_name()directly, it works, but if I try to use another function on top of it as described earlier, it is empty.

@someonehere15 It sounds like a bug in Spark. Could I please ask the code snippet? I will try as well.

I tried even with a simple return and no processing:
def filename(path):
    return path

and I save it as a udf:
sourceFile = udf(filename, StringType())
df = df.withColumn('filename', sourceFile(input_file_name()))

and then select the filename column, and comes empty.
I also tried registering it:
session.udf.register('filename',filename)
but same thing.
To be honest I am trying this on Windows, so maybe that's a problem?
But then why would the input_file_name() function work separately but is not usable anywhere else?

I will try to take a look deeper on this weekend.

@someonehere15 Yeap, I just tried and I was able to reproduce this as below:
from pyspark.sql.functions import *
from pyspark.sql.types import *

def filename(path):
    return path

sourceFile = udf(filename, StringType())
spark.read.json("tmp.json").select(sourceFile(input_file_name())).show()

+---------------------------+
|filename(input_file_name())|
+---------------------------+
|                           |
+---------------------------+

spark.read.json("tmp.json").select(input_file_name()).show()

+--------------------+
|   input_file_name()|
+--------------------+
|file:///Users/hyu...|
+--------------------+

I believe this is an issue in Spark itself. I will take a look deeper and leave a comment here with a JIRA.

BTW, it seems it is PySpark-specified problem.
import org.apache.spark.sql.functions.udf
import spark.implicits._

val path = "tmp.json"
val filename = (path: String) => path
val filenameUDF = udf(filename)

spark.read.json(path).select(filenameUDF(input_file_name())).show()

+----------------------+
|UDF(input_file_name())|
+----------------------+
|  file:///Users/hyu...|
+----------------------+

Good to know. thanks.

Just FYI, I added on the JIRA ticket that I continue to have the same problem on pySpark 2.1.0, and some additional issues.

Hello again,
just FYI,  I posted on the JIRA ticket from above that the problem is still present specifically when using spark-xml.

Thank you for your update.


It is possible to check for  port forward?

It is possible to check the NAT/PAP/CGNAT rules checking the name and external port?

Because for example trying to display info of NAT I get this

Hey,
You should request one of the following parameters in a post request as seen in this example.

In the body as application/json array including the parameters you want to get.
Example curl to check if nat is enabled, the ip, local port and wan port of the first nat entry:
curl --request GET -s --url http://localhost:3000/api/v1/nat  --header 'Content-Type: application/json'  --data '[ "Nat_enable", "lan_ipaddr1", "lan_port1", "wan_port1" ]'
Gives the following output