Tracing\ServiceProvider::class are mandatory ever if tracing are not wanted

How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
3.7.3
Steps to reproduce

Add Sentry\Laravel\ServiceProvider::class but not Sentry\Laravel\Tracing\ServiceProvider::class
Don't add config for tracing
By default redis_origin are true
On call Cache::get('test') an error occurred
Because Sentry/Laravel/Features/CacheIntegration.php call $this->resolveEventOrigin() from trait ResolvesEventOrigin  that call makeBacktraceHelper and Laravel Container need know how to contruct Sentry\Laravel\Tracing\BacktraceHelper, but don't know.
Causing a error

Expected result
works without exception
Actual result
A error
Illuminate\Contracts\Container\BindingResolutionException
Target [Sentry\Serializer\RepresentationSerializerInterface] is not instantiable while building [Sentry\Laravel\Tracing\BacktraceHelper].

Hi @tonybolzan, that is indeed not very nice that it results in the error.
However, we also don't advertise that this is possible, can you tell us a bit more about why you are registering the service providers manually and are not loading the tracing provider?

Sorry for the poor context
We've added Sentry to don't discover to avoid loading features we don't use and improve boot time. We already use other Libs like NewRelic for other types of monitoring, and we would like Sentry to be responsible only for Error Reporting.
If you have 2 providers that depend on each other, why not centralize on 1 provider?
Or better yet, make them work independently, as the only impediment is BacktraceHelper.
Setting all configs of tracing to false resolve the problem because it don't try to load BacktraceHelper
return [
    ...
    'tracing' => [
        'queue_job_transactions' => false,
        'queue_jobs' => false,
        'sql_queries' => false,
        'sql_origin' => false,
        'views' => false,
        'livewire' => false,
        'storage' => false,
        'http_client_requests' => false,
        'redis_commands' => false,
        'redis_origin' => false,
        'missing_routes' => false,
        'continue_after_response' => false,
        'default_integrations' => false,
    ],
];

No worries, at the moment there is indeed a requirement for the tracing provider to be loaded. Removing the tracing provider also doesn't completely disable the integrations.
However I wanted to check another thing with you, since you mentioned this:

Because Sentry/Laravel/Features/CacheIntegration.php call $this->resolveEventOrigin() from trait ResolvesEventOrigin  that call makeBacktraceHelper and Laravel Container need know how to contruct Sentry\Laravel\Tracing\BacktraceHelper, but don't know.

However, that code can only be reached with an active transaction (see https://github.com/getsentry/sentry-laravel/blob/c3d2317297f8b975dc88a097b26eee7c9ec55b79/src/Sentry/Laravel/Features/CacheIntegration.php#L77-L82) so it seems you have an active transaction in your application which should not be possible in the first place... not enterily sure what is happening but without the tracing provider the middleware should not be registered. Are you manually starting transactions?

Não, não estou iniciando transações manualmente.

Okay, in any case 3.8.0 should solve the issue for you. Let me know if it persists!


[WFLY-13297] Provide the deployment's PropertyReplacer to WeldInjecti…

…onServices for its use in handling @Resource injection
https://issues.redhat.com/browse/WFLY-13297

@manovotn WDYT?


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 749

Questions ?
Please refer to the Backport tool documentation


Fix Collector config

Profiling test also has collector conf that has the same issue. The bigger issue is what to do with windows, I believe it runs a different version of collector that probably does not accept the new style of conf.

Upstream completely removed collector from smoke tests and sends data directly to fakebackend. I believe we should do the same to simplify things. For example the windows collector version we used was built by upstream and that also got removed.

The agent exports metrics in the signalfx format, the fake backend can't accept them - we have to use the collector as a translation layer.

Should we update https://github.com/signalfx/splunk-otel-java/pull/190 to contrib and use it?

Is there a contrib windows image? Looks like there's no contrib Windows image: https://github.com/open-telemetry/opentelemetry-collector/issues/2715 😢
We'd have to build it ourselves

~Is there a contrib windows image?~ Looks like there's no contrib Windows image: open-telemetry/opentelemetry-collector#2715 😢
We'd have to build it ourselves

@mateuszrzeszutek isn't your #190 exactly about that?

Right... that's strange; I was almost certain that we're using splunk-otel-collector in linux tests and that's why I chose it for Windows too - but we're actually using contrib everywhere.
Anyway, I'll update that PR so that it builds a contrib-based image - let's use the same collector everywhere.


Mariculture throws no such field error.

crash-2021-10-03_18.53.00-client.txt
I don't expect this to ever be fixed but worth a shot.

The error is clearly thrown by Witching Gadgets, not Mariculture, though?


[Event Request] Report 5706 "Create Stockkeeping Unit" - OnBeforeStockkeepingUnitInsert

Hi, would it be possible to modify the OnBeforeStockkeepingUnitInsert event in report 5706 (Create Stockkeeping Unit) by adding the IncludeSender, like this:
    [IntegrationEvent(true, false)]
    local procedure OnBeforeStockkeepingUnitInsert(var StockkeepingUnit: Record "Stockkeeping Unit"; Item: Record Item)
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Closed channel still shows in channel list

A channel that I opened with my routing node went offline. After trying to get it back online for a while I decided I'd just force-close it from my node's side. That has all resolved itself, including the on-chain transaction for OBW's local balance and the delayed on-chain transaction to my node, but the channel still shows in OBW's channel list.
How can I get the channel to disappear from OBW? I still have an option to force-close the already force-closed non-existent channel from OBW, will that cause any issues?

Seems to be a general issue in recognizing lightning channel states... The other channel I had open was closed by my peer, I see the on-chain transaction for my part of the balance, but it's still showing as open and online/active in the channels list. I tried to send a lightning payment to see what would happen, and it's just showing as preparing.
I don't think I'll be using OBW for lightning at the moment, which is a bummer.
Since I have no open lightning channels at the moment I can do a restore without the channel backup to get the lightning side of things cleared up, but I'll just do L1 transactions and wait to do that in case I can provide any helpful info for fixing the problem.


missing return

Each pull request should address a single issue, and have a meaningful title.
Description
Explain what you have changed, and why.
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

---------Remove from here down in your description----------
Notes

Pull requests must be in English
If the PR solves an issue, reference it with a suitable verb and the issue number
(e.g. fixes 12345
Unsolicited PRs will be considered, but there is no guarantee of acceptance
Pull requests should be from a feature branch in the contributor's fork of the repository
to the develop branch of the project repository

The return; statement is unreachable code.

You missed an important part of the PR process, too: explaining what the problem was you were trying to fix in the first place, and how to recreate it.

In this case I happen to agree with what you've done, and it's not unreachable. I imagine trying strpos on an array would be problematic. :)


CI for Node

✕ Contains the compiled JavaScript (7 ms)
  ✕ Initializes with two players (3 ms)
  ✕ Starts the game with a random player (1 ms)
turn
  ✕ Sets the current player to be whoever it is not


adding rule and alternatives for he/she

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Updating alternative terminology and adding alternatives to He/She pronouns.
What is the current behavior? (You can also link to an open issue here)
Current behavior does not cover he/she pronouns.
What is the new behavior (if this is a feature change)?
Alternatives for he/she pronouns that are more inclusive.
Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
No
Other information:

@caitlinelfring hello! I work for Meredith Corporation and Im interested in using this package on our codebase. I opened this pr to include some alternative suggestions for pronouns that we are using in the office. Let me know what you think.
Im not super familiar with Go and Im not entirely sure why these tests are failing. If you can let me know I would be happy to resolve!
Thanks!

Hi @akaufman3 Thanks so much for the PR!  To add/update the default rules, you need to update https://github.com/get-woke/woke/blob/main/internal/rule/default.yaml and run go generate ./... and commit the updates to both files.
But other than the failing tests, I prefer that any new rules that a user of woke wants to use be added to their own config file instead of being added as a default. See https://github.com/get-woke/woke#rules. The he rule in particular will end up producing a lot of false positives (such as matching this or the). For this rule, you might want to enable the word boundary.

@caitlinelfring Thank you so much for your response and the guidance. Totally understand. Ill close the PR!


Critical error while calling 'nitropy nk3 fetch-update' twice

Maybe you could provide a gentle error in case the firmware file already exists locally?
Nitrokey tool for Nitrokey FIDO2, Nitrokey Start, Nitrokey 3 & NetHSM
Critical error:
Failed to download firmware update v1.0.1
Exception encountered: Exception('File ./firmware-nk3xn-lpc55-v1.0.1.sb2 already exists and may not be overwritten')
/home/jens/.local/lib/python3.10/site-packages/pynitrokey/cli/__init__.py:90: UserWarning: The ls command is deprecated. Please use list instead.
  warnings.warn("The ls command is deprecated. Please use list instead.")

--------------------------------------------------------------------------------
Critical error occurred, exiting now
Unexpected? Is this a bug? Do you would like to get support/help?
- You can report issues at: https://github.com/Nitrokey/pynitrokey/issues/
- Writing an e-mail to<EMAIL_ADDRESS>is also possible
- Please attach the log: '/tmp/nitropy.log.3hi99lq7' with any support/help request!
--------------------------------------------------------------------------------

Thanks for the report!  This is a good point.  I will try to make that error less intimidating. (Related to #133 – we are currently just using Exception for everything that could go wrong.)


Revert pulling zlib from custom fork

Reverts #650 which was done due to builds failing due to https://github.com/madler/zlib/commit/2e3d86c4e12c4c23db4229eea7d0c1cd4571273e

If CI passes, this should be good to merge

@ASpoonPlaysGames I assumed it would just pull the newest zlib version but evidently that's not the case? Or is the upstream fix not working for us?

It fetches the master branch, the fix is only on develop right now

Yeah so develop branch works, don't think we should use that though so best to wait until merged into master ig ^^

The fix for the issue still wasn't ported to master as of today.
Commit: https://github.com/madler/zlib/commit/f1f503da85d52e56aae11557b4d79a42bcaa2b86 (Jan. 29th)
Last release: https://github.com/madler/zlib/releases/tag/v1.3.1 (Jan. 22nd)

:dread:


Incorrect caret position with complex scripts

Steps to Reproduce

Execute flutter run on the code sample on a platform with HW keyboard
Traverse the text using arrow left/right keys

Expected results: Caret advances correctly
Actual results: Caret jumps back and forth

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    const TextStyle style = TextStyle(fontSize: 16.0);
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(
        child: Column(
          children: <Widget>[
            const SizedBox(height: 100.0),
            TextField(controller: TextEditingController(text: 'प्राप्त वर्णन प्रव्रुति')),
            const SizedBox(height: 100.0),
          ],
        ),
      ),
    );
  }
}

Logs
% flutter --version
Flutter 3.7.0-20.0.pre.6 • channel master • https://github.com/flutter/flutter.git
Framework • revision f8628b5cb1 (15 hours ago) • 2023-01-11 18:48:03 -0800
Engine • revision 4a8d6866a1
Tools • Dart 3.0.0 (build 3.0.0-112.0.dev) • DevTools 2.20.0

Hi @tgucio, thanks for filing the issue.  I also can reproduce this on the latest stable and master channels.
On the Web, it seems better even though the cursor doesn't move one step when moving to the space character between words.
This issue makes me remember the old issue that I have reproduced before: #106472. These issues seem to be similar since the it looks better on Web and they are all about cursor traversal (but they are different languages)

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.3.10 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (13 hours ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 108.0.5359.124

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

• No issues found!

[!] Flutter (Channel master, 3.7.0-20.0.pre.26, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.7.0-20.0.pre.26 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f7b444e117 (17 minutes ago), 2023-01-13 03:11:08 +0100
    • Engine revision 8aa26baa9d
    • Dart version 3.0.0 (build 3.0.0-119.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 108.0.5359.124

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

! Doctor found issues in 1 category.

Thanks @huycozy. I think they're actually different issues. This one, I believe, has to do with incorrect calcs when text shaping is used (either standard rules for Indic scripts or GSUB, GPOS in fonts). #106472 has to do with incorrect word boundaries, seen with Han script which normally doesn't use text shaping.

cc @jason-simmons @justinmc

Is this a duplicate of https://github.com/flutter/flutter/issues/118566?  That issue may have a fix in progress in Skia.

@justinmc I don't think so: the Skia fix appears to be specific to RTL runs. Here it's LTR and my bet is that it has to do with what happens when the text shaper substitutes glyphs.


Cleanly shut down connectors before stopping server

Fix for flaky tests:

AliasedArtifactResolutionIntegrationTest.does not re-download maven artifact downloaded from a different maven repository when sha1 matches
RecoverFromBrokenResolutionIntegrationTest.can run offline mode after connection problem with repo when using ivy dynamic version

Example of failed build:
https://builds.gradle.org/viewLog.html?buildId=2091645
It looks like we are only stopping and releasing the HTTP connector after stopping the server. This might cause side-effects if other tests are trying to acquire a connector (which might become available under certain conditions for a port that's technically already in use). At the very least the change should make our Jetty shutdown logic more robust.

As discussed I couldn't quite make a clear connection here either. Maybe theory was that the server socket wasn't closed properly and could be grabbed by another HttpServer instance. Though that doesn't explain why only these two tests fail specifically.


[Create by yourself. Size] 'Size' dropdown contains duplicates.

Environment: Windows 10, Chrome Version 96.0.4664.110
Reproducible: Always
Preconditions
Go to https://horondi-front-staging.azurewebsites.net/
Steps to reproduce:

Click on Burger menu
Select "Create by yourself"
Click on 'Size' dropdown menu

Actual Result
'M' option is duplicated
Expected Result
Size dropdown does not contain duplicates.

This bug is related to add validation for checking if size is already created #1073.
https://github.com/ita-social-projects/horondi_client_be/issues/1073
I removed duplicate sizes from the admin panel and everything is gone


Fix modals dependency cycle.

modals.js: Move out functions that handle closing of modals. Create object for holding injected handling functions.
drafts.js: Move in function for handling close of drafts modal.
invite.js: Move in function for handling close of invite modal.
settings.js: Move in function for handling close of settings modal.
ui.js: Move in function for handling close of lightbox and info modals.
subs.js: Move in function for handling close of subscription modal.

Automated message from Dropbox CLA bot
@wangjames, it looks like you've already signed the Dropbox CLA. Thanks!

Looks like the travis build failed because of backend test coverage, but this pr does not have any code related to backend.

yeah that was broken on master briefly.

@showell can you review and merge this one?  It looks like we just need to tweak some whitespace and resolve the merge conflict added by Brock's changes yesterday (basically a new line in the lightbox handler).

@wangjames This looks good, but I might not get around to merging it for a day or two.  If you have time, can you try to deal with the merge conflict?  If not, I can do it.

its ok i can do it

made requested changes

This code looks good to me.  I reviewed all the code moves, but I still need to manually test a bit.

Merged!  Thanks, @wangjames!


How to debug: 403 You do not have sufficient authority to access the MQ Console?

I have the MQ deployed on a Kubernetes cluster.
If I do a kubectl port-forward to access the MQ Console it works perfectly fine.
However when I try to reach it from outside the cluster http:my-cluster/ibmmq/console (I have it exposed with a Virtual Service conected to an istio ingress gateway)
I get the following message:
403 You do not have enough authority too access MQ Console.

I cannot find any helpful material regarding this specific error message.

One update, it acutally works however I still want to mention an issue.
Going to:   http:localhost:9080/ibmmq/console/
will prompt you with
403 You do not have enough authority too access MQ Console.

Why it does not redirect you to login page instead?


Client crashes when a mimic is set to render as a beacon.

Happens on:
Forge 1.20.1
Steps to reproduce:
Set mimic to a beacon.
Log From Crash:
Mimic Test Log.txt

I've made a pr to fix this issue
https://github.com/SirEdvin/Turtlematic/pull/20

Fixed in new release


Extract local bloom filter from broadcasted join alias if possible

Bloom filter is more efficient than broadcast join sometimes (see tpch-8). Following work of #3459.

05:14:22 [qtp1128660293] - >> INNER (partsupp:800000 + part:2144)
05:14:22 [qtp1128660293] - part (R) is merged into partsupp (L) as a filter with expected number of values = 2144
05:14:22 [qtp1128660293] - >> INNER (supplier:10000 + nation:1)
05:14:22 [qtp1128660293] - nation (R) is merged into supplier (L) as a filter with expected number of values = 1
05:14:22 [qtp1128660293] - >> INNER (lineitem:911946 + supplier+nation:412)
05:14:22 [qtp1128660293] - supplier+nation (R) is broadcasted for lineitem (L) with estimated number of 412
05:14:22 [qtp1128660293] - .. apply bloom filter supplier+nation:InDimFilter{values=[3], dimension='S_NATIONKEY'} (R) to lineitem (L)
05:14:22 [qtp1128660293] - >> INNER (partsupp+part:8508 + lineitem+supplier+nation:-1)
05:14:22 [qtp1128660293] - partsupp+part (L) -----> 8508 rows, type? INNER, hashing? true
05:14:22 [qtp1128660293] - lineitem+supplier+nation (R) -----> -1 rows, type? INNER, hashing? false
05:14:22 [qtp1128660293] - >> INNER (supplier:10000 + partsupp+part+lineitem+supplier+nation:-1)
05:14:22 [qtp1128660293] - supplier (L) -----> 10000 rows, type? INNER, hashing? true
05:14:22 [qtp1128660293] - partsupp+part+lineitem+supplier+nation (R) -----> -1 rows, type? INNER, hashing? false


Create_task() is only available in python 3.7 and later

Is it possible to fall back to ensure_future() instead create_task() in order to support python 3.6?
The create_task() function is currently called in 1 place in file proxy_object.py
Thanks!

I'm not the maintainer of this project, so my opinion may not be worth much.
Having said that, Python 3.6 is no longer supported. Source: https://peps.python.org/pep-0494/
Supporting 3.6 add some complexity to the build system since the main distribution of pip no longer supports 3.6.  Hence pr #118  removes 3.6 support to get CI builds working again.

I'm not the maintainer of this project, so my opinion may not be worth much.
Having said that, Python 3.6 is no longer supported. Source: https://peps.python.org/pep-0494/
Supporting 3.6 add some complexity to the build system since the main distribution of pip no longer supports 3.6. Hence pr #118 removes 3.6 support to get CI builds working again.

@garyvdm I understand. I will settle with the following workaround for now:
# Dbus_next calls asyncio.create_task() which does not exist in python 3.6.
# All else seem working. See issue #127
try:
    asyncio.create_task
except AttributeError:
    asyncio.create_task = asyncio.ensure_future
import dbus_next as dbus

@garyvdm I understand. I will have the following workaround for now:
# Dbus_next calls asyncio.create_task() which does not exist in python 3.6.
# All else seem working. See issue #127
try:
    asyncio.create_task
except AttributeError:
    asyncio.create_task = asyncio.ensure_future
import dbus_next as dbus

As I mentioned, I'm not the maintainer/owner of this project, so it's not up to me.


Issue #6: Include message to use @wustl.edu email if possible

Patch Notes
Includes message to use wustl.edu email if possible.
Additional Notes
Please let me know if you want me to change the message.
The bold font is very hard to tell from the normal text, but if you look closely the font is indeed bolded

.

Nice job! Have you looked at all at #11?

I took a look just now doesn't seem too difficult; I'll take a look at it when I get home.


Add watch flag

This PR fixes a kubectl command in the docs. We refer the command as watch but we don't pass the "watch" flag.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@vendrov thanks for the contribution!
However, I believe the command is correct as-is.  It's using the watch tool rather than using kubectl --watch, which in this case is desirable since it shows the current status of all pods.
Does that make sense?

My bad


fix: use semantic instead of literal comparison in DefaultEqualityTester

This fixes https://github.com/linkedin/datahub/issues/1663
Also change the signature of EqualityTester to compare only DataTemplates
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Actually upon closer inspection, we should probably use rest.li's DataMapUtils instead of messing with the codecs directly: https://linkedin.github.io/rest.li/how_data_is_serialized_for_transport
Will discard this PR and try a different approach instead.

Actually DataMapUtils is in the internal namespace (com.linkedin.restli.internal.server.util) so probably not a good idea to depend on it. It's also doing exactly the same JSON serialization/deserialization in our RecordUtils without special coercion fix-up. Look like doing semantic equality testing is still the most appropriate fix in this case. Re-opening the PR with added unit test.


Right click menu/ scrolling output by default

Hello!
I know there is there is a ticket dealing with this issue for Jupyterlab in browser, but is there a way in the Jupyterlab app desktop to add the copy/paste options in the right-click menu (If I can replace right click by shift+ right click for example)?
Also is there a way to set a maximum length before scrolling output activate? Or simply to enable scrolling output by default?
Thanks in advance

Thank you for your contribution! It looks like there are already JupyterLab items for your requests, so I would recommend following along with them in the JupyterLab repo (or by submitting pull requests there).
The related JupyterLab items are https://github.com/jupyterlab/jupyterlab/issues/3224 and https://github.com/jupyterlab/jupyterlab/issues/13553.
JupyterLab also has multiple issues concerning scrolling, such as https://github.com/jupyterlab/jupyterlab/issues/9673 and https://github.com/jupyterlab/jupyterlab/issues/7567.


Errors on Make

Hi Dmitry & Community,
Having some challenges compiling viewssld for use on Ubuntu server 14.04 , pasted below are the results from ./configure and make.
Any help would be greatly appreciated.
root@ssl-decrypt:/etc/viewssld/viewssld-0.7.0# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating distribute.sh
config.status: executing depfiles commands
config.status: executing default commands
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking dssl/sslcap.h usability... yes
checking dssl/sslcap.h presence... yes
checking for dssl/sslcap.h... yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
root@ssl-decrypt:/etc/viewssld/viewssld-0.7.0# make
Making all in src
make[1]: Entering directory /etc/viewssld/viewssld-0.7.0/src' gcc  -g -O2  -lpcap -lssl -lnet -ldssl -o viewssld viewssld.o utils.o viewssld.o: In function error_callback_proc':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:776: undefined reference to SessionToString' viewssld.o: In function init_fake_session_state':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:408: undefined reference to libnet_init' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:424: undefined reference to libnet_seed_prand'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:437: undefined reference to libnet_get_prand' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:438: undefined reference to libnet_get_prand'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:431: undefined reference to libnet_destroy' viewssld.o: In function sendEmptyTCPSegment':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:535: undefined reference to libnet_build_tcp' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:559: undefined reference to libnet_build_ipv4'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:583: undefined reference to libnet_build_ethernet' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:595: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:535: undefined reference to libnet_build_tcp' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:559: undefined reference to libnet_build_ipv4'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:577: undefined reference to libnet_geterror' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:601: undefined reference to libnet_write'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:610: undefined reference to libnet_clear_packet' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:604: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:597: undefined reference to libnet_geterror' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:579: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:553: undefined reference to libnet_geterror' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:555: undefined reference to libnet_geterror'
viewssld.o:/etc/viewssld/viewssld-0.7.0/src/viewssld.c:606: more undefined references to libnet_geterror' follow viewssld.o: In function session_event_handler':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:447: undefined reference to SessionToString' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:499: undefined reference to pcap_stats'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:511: undefined reference to libnet_destroy' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:465: undefined reference to SessionSetCallback'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:467: undefined reference to SessionSetMissingPacketCallback' viewssld.o: In function data_callback_proc':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:679: undefined reference to libnet_build_tcp' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:713: undefined reference to libnet_build_ipv4'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:737: undefined reference to libnet_build_ethernet' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:749: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:765: undefined reference to libnet_clear_packet' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:679: undefined reference to libnet_build_tcp'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:713: undefined reference to libnet_build_ipv4' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:707: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:765: undefined reference to libnet_clear_packet' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:755: undefined reference to libnet_write'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:758: undefined reference to libnet_geterror' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:731: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:709: undefined reference to libnet_geterror' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:751: undefined reference to libnet_geterror'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:733: undefined reference to libnet_geterror' viewssld.o:/etc/viewssld/viewssld-0.7.0/src/viewssld.c:760: more undefined references to libnet_geterror' follow
viewssld.o: In function main': /etc/viewssld/viewssld-0.7.0/src/viewssld.c:237: undefined reference to SSL_library_init'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:238: undefined reference to OpenSSL_add_all_ciphers' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:239: undefined reference to OpenSSL_add_all_digests'
viewssld.o: In function proceed': /etc/viewssld/viewssld-0.7.0/src/viewssld.c:316: undefined reference to pcap_open_live'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:328: undefined reference to pcap_compile' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:333: undefined reference to pcap_setfilter'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:342: undefined reference to CapEnvCreate' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:344: undefined reference to CapEnvSetSSL_ServerInfo'
viewssld.o: In function main': /etc/viewssld/viewssld-0.7.0/src/viewssld.c:243: undefined reference to EVP_cleanup'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:244: undefined reference to CRYPTO_cleanup_all_ex_data' viewssld.o: In function proceed':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:371: undefined reference to CapEnvDestroy' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:377: undefined reference to pcap_close'
viewssld.o: In function main': /etc/viewssld/viewssld-0.7.0/src/viewssld.c:243: undefined reference to EVP_cleanup'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:244: undefined reference to CRYPTO_cleanup_all_ex_data' viewssld.o: In function proceed':
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:357: undefined reference to CapEnvSetSessionCallback' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:359: undefined reference to CapEnvCapture'
/etc/viewssld/viewssld-0.7.0/src/viewssld.c:335: undefined reference to pcap_geterr' /etc/viewssld/viewssld-0.7.0/src/viewssld.c:330: undefined reference to pcap_geterr'
collect2: error: ld returned 1 exit status
make[1]: *** [viewssld] Error 1
make[1]: Leaving directory `/etc/viewssld/viewssld-0.7.0/src'
make: *** [all-recursive] Error 1
Thank you,
Andrew

I met the same problem. undefined reference problem.
I already installed libdssl_2.1.1 and there are no any error messages when configuring...
Please let me know how can i solve it... Thanks.

Hi,
Before carrying on working on getting it compiled, it’s worth thinking about this:
The issue that viewssld faces in today’s world is that more and more SSL/TLS servers are using some form of perfect forward secrecy (“PFS”, usually a flavour of Diffie-Hellman) for key agreement, rather than using the server’s private key to encrypt the pre-master secret. There’s lots of maths ‘n’ stuff here: http://vincent.bernat.im/en/blog/2011-ssl-perfect-forward-secrecy.html
The bottom line is that viewssld’s days are numbered unless you cripple your server’s SSL/TLS configuration to not use PFS (thereby scoring poorly on the SSL Labs test https://www.ssllabs.com/ssltest/ !), so it (viewssld) doesn’t have much of a future outside of some very specific cases. I guess that in a PFS world the best way to do this would be to terminate SSL/TLS on a box in front of your servers and have your NSM tap on the unencrypted link between the two?
alec
From: crjang<EMAIL_ADDRESS>Sent: 04 February 2015 05:28
To: plashchynski/viewssld
Subject: Re: [viewssld] Errors on Make (#10)
I met the same problem. undefined reference problem.
I already installed libdssl_2.1.1 and there are no any error messages when configuring...
Please let me know how can i solve it... Thanks.
—
Reply to this email directly or view it on GitHub https://github.com/plashchynski/viewssld/issues/10#issuecomment-72793049 .Image removed by sender.


clean should clean previousCompile

sbt:untitled223233> compile
[info] compiling 1 Scala source to D:\Repos\untitled223233\target\scala-3.3.4\classes ...
[success] Total time: 3 s, completed Nov 4, 2024, 12:36:46 p.m.
sbt:untitled223233> show previousCompile
[info] PreviousResult(analysis: Optional[Analysis: 2 Scala sources, 3 classes, 2 binary dependencies], setup: Optional[MiniSetup(output: Sin
gleOutput(D:\Repos\untitled223233\target\scala-3.3.4\classes), options: MiniOptions(classpathHash: [Lxsbti.compile.FileHash;@57c69937, scala
cOptions: [Ljava.lang.String;@1ad1c363, javacOptions: [Ljava.lang.String;@1ad1c363), compilerVersion: 3.3.4, order: Mixed, storeApis: true, extra: [Lxsbti.T2;@446b64b3)])
[success] Total time: 0 s, completed Nov 4, 2024, 12:37:09 p.m.
sbt:untitled223233> clean
[success] Total time: 0 s, completed Nov 4, 2024, 12:37:21 p.m.
sbt:untitled223233> show previousCompile
[info] PreviousResult(analysis: Optional[Analysis: 2 Scala sources, 3 classes, 2 binary dependencies], setup: Optional[MiniSetup(output: SingleOutput(D:\Repos\untitled223233\target\scala-3.3.4\classes), options: MiniOptions(classpathHash: [Lxsbti.compile.FileHash;@57c69937, scala
cOptions: [Ljava.lang.String;@1ad1c363, javacOptions: [Ljava.lang.String;@1ad1c363), compilerVersion: 3.3.4, order: Mixed, storeApis: true, extra: [Lxsbti.T2;@446b64b3)])
[success] Total time: 1 s, completed Nov 4, 2024, 12:37:26 p.m.

Spins off from https://github.com/sbt/sbt/issues/7432#issuecomment-2453137349

Actually no we should not overload clean to clear previousCompile, as if we clean, we don't actually want Zinc to start from scratch....

Probably also need to ensure BSP BuildTargetCleanCache clears previousCompile


Use MotionDetector but output raw footage

I have a simple application in mind: The iPhones camera is used as a security camera. When motion is detected (via MotionDetector) it should display the cameras raw footage. How do I do that?
Currently it seems the motionDetectedCallback is only fired when I feed it's output to the RenderView. However I don't want the filtered output to be displayed but rather the original footage.
I want something like:
...
let motionDetector = MotionDetector()
motionDetector.motionDetectedCallback = motionDetected
camera --> motionDetector
camera --> renderView
...

func motionDetected(p: Position, strength: Float){
       if (strength > 0.1){
          print('intruder detected!')
       }
}

But the motionDetectedCallback does not get fired like that.

I think I found the solution. In MotionDetector.swift I changed the output like this:
self.configureGroup{input, output in
            input --> output
            input --> self.motionComparison --> self.averageColorExtractor // --> output
            input --> self.lowPassFilter --> self.motionComparison
}


iOS Action button is not showing - looks similar to issue 1954 recently reported

Expected Behaviour
iOS Action buttons should show
Actual Behaviour
The action buttons are not showing. The message comes through but the Action buttons don't show.
Reproduce Scenario (including but not limited to)
Initialization code
		pushN = PushNotification.init({
		   "android": {
		       "senderID": <my senderID>
		   },
		   "ios": {
		       "senderID": <my senderID>,
		       "gcmSandbox": true,
		       "sound": "true",
		       "vibration": "true",
		       "badge": "true",
		       "categories": {
		           "invite": {
		               "yes": {
		                   "callback": "app.accept",
		                   "title": "Accept",
		                   "foreground": true,
		                   "destructive": false
		               },
		               "no": {
		                   "callback": "app.reject",
		                   "title": "Reject",
		                   "foreground": true,
		                   "destructive": false
		               },
		               "maybe": {
		                   "callback": "app.maybe",
		                   "title": "Maybe",
		                   "foreground": true,
		                   "destructive": false
		               }
		           },
		           "delete": {
		               "yes": {
		                   "callback": "app.doDelete",
		                   "title": "Delete",
		                   "foreground": true,
		                   "destructive": true
		               },
		               "no": {
		                   "callback": "app.cancel",
		                   "title": "Cancel",
		                   "foreground": true,
		                   "destructive": false
		               }
		           }
		       }
		   },
		   "windows": {}
		});

Code to send the notification
var apiKey = "<mykey>"
var gcm = require('node-gcm');
var service = new gcm.Sender(apiKey);

var deviceID = "<my device regid>";
var message = new gcm.Message();
message.addNotification({
    	"title": "AUX Scrum new",
    	"body": "Scrum: Daily touchbase @ 10am Please be on time so we can cover everything on the agenda.",
        "click-action": "delete",
    	"notId": "1"
});

service.send(message, { registrationTokens: [ deviceID ] }, function(err, response){
  if (err) {
    console.log(err);
    console.log("Something has gone wrong!");
  } else {
    console.log("Successfully sent with response: ", response);
  }
});

When run I get a success message printed out and the notification shows on iOS device - but without the action buttons.
Steps to Reproduce
Code above
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS: 10.2.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
N/A
Cordova CLI version and cordova platform version
cordova --version                                    6.4.0
cordova platform version android

Installed platforms:
android 6.0.0
ios 4.3.1
Plugin version
cordova plugin version | grep phonegap-plugin-push    1.10.5

Sample Push Data Payload
Sample example above
Sample Code that illustrates the problem
Code above
Logs taken while reproducing problem
Don't see any relevant logs in XCode  (8.2.1) - running app on iOS through XCode
I am trying to follow the example as closely as possible for the Action buttons to show up on iOS but seems like I may be missing something simple.
I don't yet have all the callback functions in place - assuming that shouldn't be a problem as it will be needed when a action button us clicked. To rule it out I tried initializing with just the "delete" category and added the two needed function.
Thank you for your help and pointers.
-S

Running the code on iPhone 6+ simulator I was able to capture the logs below - as expected ultimately push init fails because notification doesn't work on simulator though the categories seem to get setup ok. For some reason when I point Xcode to my physical device I don't get these logs though the App works fine otherwise.
2017-09-15 07:21:06.243 GroupTrac[42124:4070114] PushPlugin.register: setting badge to false
2017-09-15 07:21:06.243 GroupTrac[42124:4070114] PushPlugin.register: clear badge is set to 0
2017-09-15 07:21:06.244 GroupTrac[42124:4070114] PushPlugin.register: better button setup
2017-09-15 07:21:06.244 GroupTrac[42124:4070114] categories: key delete
2017-09-15 07:21:06.246 GroupTrac[42124:4070114] Adding category delete
2017-09-15 07:21:06.247 GroupTrac[42124:4070114] categories: key invite
2017-09-15 07:21:06.248 GroupTrac[42124:4070114] Adding category invite
2017-09-15 07:21:06.262 GroupTrac[42124:4070114] GCM Sender ID
2017-09-15 07:21:06.262 GroupTrac[42124:4070114] Using GCM Notification
2017-09-15 07:21:06.263 GroupTrac[42124:4070114] Using GCM Sandbox
2017-09-15 07:21:06.448 GroupTrac[42124:4066362] Push Plugin register failed
2017-09-15 07:21:06.667 GroupTrac[42124:4066362] push error =  - remote notifications are not supported in the simulator
2017-09-15 07:21:06.783 GroupTrac[42124:4066362] ERROR: initPushNotification - Error initializing pushNotificationService - error =  Error:  - remote notifications are not supported in the simulator

I am not sure if updating this issue's title to reflect similar issues with Android as well is the right Forum etiquette here - please let me know and I will update the title or open another ticket as appropriate.
I copied the code from documentation almost verbatim for Android (captured below). Icon missing errors are understandable (I also tried without icons in the message and get same results) but I get other strange errors about expecting String but getting android.text.SpannableString. Though the message does show up on my device but without the Action buttons.
The device is an old Nexus 2 device with Android 4.4.2. Is that an issue?
var FCM = require('fcm-node');
var apiKey = "My Api key";
var deviceID = "My device id";
var fcm = new FCM(apiKey);

var message = {
    to: deviceID,
    data: {
        title: "Android only - 2",
        message: "Android message",
        actions: [
            { icon: "emailGuests", title: "EMAIL GUESTS", callback: "app.emailGuests", foreground: true},
            { icon: "snooze", title: "SNOOZE", callback: "app.snooze", foreground: false},
        ]
    }
};

fcm.send(message, function(err, response){
  if (err) {
    console.log(err);
    console.log("Something has gone wrong!");
  } else {
    console.log("Successfully sent with response: ", response);
  }
});

Output from adb logcat
D/Push_GCMIntentService(23307): onMessage - from: XXXXXXX
D/Push_GCMIntentService(23307): normalize extras
D/Push_GCMIntentService(23307): key = google.sent_time
D/Push_GCMIntentService(23307): replace key google.sent_time with google.sent_time
D/Push_GCMIntentService(23307): key = actions
D/Push_GCMIntentService(23307): replace key actions with actions
D/Push_GCMIntentService(23307): key = title
D/Push_GCMIntentService(23307): replace key title with title
D/Push_GCMIntentService(23307): no locale found for key = title, error Value Android of type java.lang.String cannot be converted to JSONObject
D/Push_GCMIntentService(23307): key = google.message_id
D/Push_GCMIntentService(23307): replace key google.message_id with google.message_id
D/Push_GCMIntentService(23307): key = message
D/Push_GCMIntentService(23307): replace key message with message
D/Push_GCMIntentService(23307): no locale found for key = message, error Value Android of type java.lang.String cannot be converted to JSONObject
D/Push_GCMIntentService(23307): background
D/Push_GCMIntentService(23307): message =[Android message]
D/Push_GCMIntentService(23307): title =[Android only - 2]
D/Push_GCMIntentService(23307): contentAvailable =[null]
D/Push_GCMIntentService(23307): forceStart =[null]
D/Push_GCMIntentService(23307): create notification
E/Push_GCMIntentService(23307): Number format exception - Error parsing notId: Invalid int: "null"
D/Push_GCMIntentService(23307): stored icon=null
D/Push_GCMIntentService(23307): stored iconColor=null
D/Push_GCMIntentService(23307): stored sound=true
D/Push_GCMIntentService(23307): stored vibrate=true
D/Push_GCMIntentService(23307): no icon resource found - using application icon
D/Push_GCMIntentService(23307): create actions: with in-line
D/Push_GCMIntentService(23307): adding action
D/Push_GCMIntentService(23307): adding callback = app.emailGuests
D/Push_GCMIntentService(23307): adding action
D/Push_GCMIntentService(23307): adding callback = app.snooze
W/Bundle  ( 1071): Key android.title expected String but value was a android.text.SpannableString.  The default value <null> was returned.
W/Bundle  ( 1071): Attempt to cast generated internal exception:
W/Bundle  ( 1071): java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String
W/Bundle  ( 1071): 	at android.os.Bundle.getString(Bundle.java:1121)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.model.apps.NotificationExtractor.extractContent(NotificationExtractor.java:85)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.model.apps.NotificationExtractor.extractNotificationContent(NotificationExtractor.java:53)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.model.PblNotification.<init>(PblNotification.java:140)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.model.PblNotification.from(PblNotification.java:79)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.PblNotificationService$1.run(PblNotificationService.java:80)
W/Bundle  ( 1071): 	at com.getpebble.android.common.core.util.ProcessUtil.runWithClearedIdentity(ProcessUtil.java:83)
W/Bundle  ( 1071): 	at com.getpebble.android.notifications.PblNotificationService.onNotificationPosted(PblNotificationService.java:77)
W/Bundle  ( 1071): 	at android.service.notification.NotificationListenerService$INotificationListenerWrapper.onNotificationPosted(NotificationListenerService.java:168)
W/Bundle  ( 1071): 	at android.service.notification.INotificationListener$Stub.onTransact(INotificationListener.java:56)
W/Bundle  ( 1071): 	at android.os.Binder.execTransact(Binder.java:404)
W/Bundle  ( 1071): 	at dalvik.system.NativeStart.run(Native Method)
I/MediaFocusControl(  583):  AudioFocus  requestAudioFocus() from android.media.AudioManager@420fa5e0
D/audio_hw_primary(  177): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER(  177): ACDB -> send_afe_cal
E/MediaPlayer(  675): Should have subtitle controller already set
D/dalvikvm( 1071): GC_CONCURRENT freed 5021K, 39% free 11063K/18096K, paused 3ms+8ms, total 64ms
D/dalvikvm( 1071): WAIT_FOR_CONCURRENT_GC blocked 46ms
D/dalvikvm( 1071): WAIT_FOR_CONCURRENT_GC blocked 46ms
D/dalvikvm( 1071): GC_CONCURRENT freed 490K, 38% free 11288K/18096K, paused 2ms+2ms, total 26ms
D/dalvikvm( 1071): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/ConnectivityService(  583): handleInetConditionHoldEnd: net=1, condition=100, published condition=100
I/MediaFocusControl(  583):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@420fa5e0
I/PowerManagerService(  583): Going to sleep by user request...
D/SurfaceFlinger(  174): Screen released, type=0 flinger=0xb8a67450
D/SurfaceControl(  583): Excessive delay in blankDisplay() while turning screen off: 185ms
E/ANDR-PERF-LOCK(  185): Failed to apply optimization for resource: 4 level: 0
V/KeyguardHostView(  675): Initial transport state: 0, pbstate=0
E/com.facebook.katana:SignatureAuthSecureIntent( 1630): Invalid auth bundle
D/dalvikvm(  675): GC_FOR_ALLOC freed 1957K, 22% free 23776K/30456K, paused 43ms, total 43ms
D/dalvikvm(  675): GC_FOR_ALLOC freed 1311K, 26% free 22756K/30456K, paused 27ms, total 27ms
V/KeyguardHostView(  675): hide transport, gen:67
V/KeyguardHostView(  675): music state changed: 0
W/View    (  675): requestLayout() improperly called by android.widget.TextView{426609c0 V.ED.... ......ID 0,0-88,42 #7f0b018b app:id/widget_folder} during layout: running second layout pass
W/View    (  675): requestLayout() improperly called by android.widget.TextView{420ce100 V.ED.... ......ID 0,0-259,33 #7f0b018e app:id/widget_account} during layout: running second layout pass
W/View    (  675): requestLayout() improperly called by android.widget.TextClock{424d9a30 V.ED.... ......ID 163,0-473,213 #7f0e0045 app:id/the_clock} during layout: running second layout pass
W/View    (  675): requestLayout() improperly called by android.widget.TextClock{42588f30 V.ED.... ......ID 206,0-429,38 #7f0e0041 app:id/date} during layout: running second layout pass
D/PhoneStatusBar(  675): disable: < EXPAND* icons alerts TICKER* system_info back home RECENT* clock search >
V/PanelView(  675): animationTick called with dtms=0; nothing to do (h=1184.0 v=-4000.0)
V/PanelView(  675): animationTick called with dtms=0; nothing to do (h=1184.0 v=-4000.0)
V/PanelView(  675): animationTick called with dtms=-5; nothing to do (h=1184.0 v=-4000.0)
D/dalvikvm( 2297): GC_CONCURRENT freed 541K, 6% free 10287K/10928K, paused 3ms+3ms, total 39ms
D/dalvikvm( 1627): GC_CONCURRENT freed 395K, 5% free 9132K/9560K, paused 2ms+2ms, total 29ms
D/BluetoothAdapter(  814):<PHONE_NUMBER>: getState() :  mService = null. Returning STATE_OFF
D/PhoneStatusBar(  675): disable: < EXPAND icons alerts TICKER system_info BACK* HOME* RECENT CLOCK* search >

Thank you for any feedback/pointers.
-S

Since the android.text.SpannableString seemed to be caused by the Pebble App on the device I removed the App and that error went away. The new adb logcat output is included below.
D/Push_GCMIntentService(23307): onMessage - from: XXXXXX
D/Push_GCMIntentService(23307): normalize extras
D/Push_GCMIntentService(23307): key = google.sent_time
D/Push_GCMIntentService(23307): replace key google.sent_time with google.sent_time
D/Push_GCMIntentService(23307): key = actions
D/Push_GCMIntentService(23307): replace key actions with actions
D/Push_GCMIntentService(23307): key = title
D/Push_GCMIntentService(23307): replace key title with title
D/Push_GCMIntentService(23307): no locale found for key = title, error Value Android of type java.lang.String cannot be converted to JSONObject
D/Push_GCMIntentService(23307): key = google.message_id
D/Push_GCMIntentService(23307): replace key google.message_id with google.message_id
D/Push_GCMIntentService(23307): key = message
D/Push_GCMIntentService(23307): replace key message with message
D/Push_GCMIntentService(23307): no locale found for key = message, error Value Android of type java.lang.String cannot be converted to JSONObject
D/Push_GCMIntentService(23307): background
D/Push_GCMIntentService(23307): message =[Android message]
D/Push_GCMIntentService(23307): title =[Android only - 4]
D/Push_GCMIntentService(23307): contentAvailable =[null]
D/Push_GCMIntentService(23307): forceStart =[null]
D/Push_GCMIntentService(23307): create notification
E/Push_GCMIntentService(23307): Number format exception - Error parsing notId: Invalid int: "null"
D/Push_GCMIntentService(23307): stored icon=null
D/Push_GCMIntentService(23307): stored iconColor=null
D/Push_GCMIntentService(23307): stored sound=true
D/Push_GCMIntentService(23307): stored vibrate=true
D/Push_GCMIntentService(23307): no icon resource found - using application icon
D/Push_GCMIntentService(23307): create actions: with in-line
D/Push_GCMIntentService(23307): adding action
D/Push_GCMIntentService(23307): adding callback = app.emailGuests
D/Push_GCMIntentService(23307): adding action
D/Push_GCMIntentService(23307): adding callback = app.snooze
I/MediaFocusControl(  583):  AudioFocus  requestAudioFocus() from android.media.AudioManager@42298578
V/KeyguardHostView(  675): hide transport, gen:68
E/MediaPlayer(  675): Should have subtitle controller already set
E/AudioSink(  177): received unknown event type: 1 inside CallbackWrapper !
D/audio_hw_primary(  177): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER(  177): ACDB -> send_afe_cal
D/ConnectivityService(  583): handleInetConditionHoldEnd: net=1, condition=100, published condition=100
I/MediaFocusControl(  583):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@42298578
V/KeyguardHostView(  675): hide transport, gen:69
W/MessageQueue(  675): Handler (android.media.MediaPlayer$EventHandler) {42699588} sending message to a Handler on a dead thread
W/MessageQueue(  675): java.lang.RuntimeException: Handler (android.media.MediaPlayer$EventHandler) {42699588} sending message to a Handler on a dead thread
W/MessageQueue(  675): 	at android.os.MessageQueue.enqueueMessage(MessageQueue.java:320)
W/MessageQueue(  675): 	at android.os.Handler.enqueueMessage(Handler.java:626)
W/MessageQueue(  675): 	at android.os.Handler.sendMessageAtTime(Handler.java:595)
W/MessageQueue(  675): 	at android.os.Handler.sendMessageDelayed(Handler.java:566)
W/MessageQueue(  675): 	at android.os.Handler.sendMessage(Handler.java:503)
W/MessageQueue(  675): 	at android.media.MediaPlayer.postEventFromNative(MediaPlayer.java:2335)
W/MessageQueue(  675): 	at dalvik.system.NativeStart.run(Native Method)
V/KeyguardServiceDelegate(  583): onScreenTurnedOn(showListener = com.android.internal.policy.impl.PhoneWindowManager$17@42a86720)
I/PowerManagerService(  583): Waking up from sleep...
E/com.facebook.katana:SignatureAuthSecureIntent( 1630): Invalid auth bundle
E/ANDR-PERF-LOCK(  185): Failed to reset optimization for resource: 4 level: 0
D/SurfaceFlinger(  174): Screen acquired, type=0 flinger=0xb8a67450

After more experimenting, I tried a slightly newer Android device, I noticed that the buttons show up but then they hide soon after. Then I went back to the messages on the older Android Nexus 2 device and I found that if I tried to slide the message down then the action buttons show up. Not sure why they are hidden and if there is a way to force them to show all the time but at least the mystery of buttons not showing on Android is solved.
However I am still stuck on buttons not showing on ios devices though the notification message is showing. Tried using the same trick as in older Android device but you can't slide open the buttons on ios. Feels like I must be missing something obvious as it looks fairly straightforward in the examples and the notification message is showing, just the buttons are not. Appreciate any pointers experts on this forum may have to test/debug/resolve this issue for ios.
Thanks,
-S

@stib that is normal behaviour on Android phones. On your iOS devices did you try sliding the notification to the left to reveal the buttons?

Thank you @macdonst - I did try that and I see buttons View and Clear which seems to be standard for all messages. It doesn't show my buttons Delete and Cancel in the example above.

Thanks @macdonst  I figured it out. You have to tap on the View button for the Action buttons to show up - I thought from the documentation that the Action buttons will show with the message as they do in Android. So that mystery is solved.
Is there anyway for the buttons to show up inline with the message on iOS as in Android?
Also, it sounds like we will need to send separate messages to Android and iOS devices when you need Action Buttons. Is that correct? Is there a way to combine them in one GCM message? Perhaps I should open another thread for this.

@stib nope, they will show up when the notification is initially shown but then they'll recede to save space. Sorry, you'll need to send one payload for ios and a second payload for android.

Thanks @macdonst - appreciate the clarification.

We are working on IONIC1 app and using FCM server for Android Notification and APNS for iOS notification.
Below are the details for notification plugin using for this app.
phonegap-plugin-push version 2.1.2
fcm version 11.0.1
cordova-plugin-fcm version 2.1.2
we need to show notification with actionable button.(See attached screenshots)
We are using fcm-node and sending the below JSON:
{
"registration_ids": ["my device id"],
"data": {
"title": "AUX Scrum",
"message": "Scrum: Daily touchbase @ 10am Please be on time so we can cover everything on the agenda.",
"actions": [
{ "icon": "emailGuests", "title": "EMAIL GUESTS", "callback": "emailGuests", "foreground": true},
{ "icon": "snooze", "title": "SNOOZE", "callback": "snooze", "foreground": false}
]
}
}
But actions button are not displaying, only default notification is showing.
below link for reference:
https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/PAYLOAD.md#action-buttons


Tron style still doesn't look correct

I have pulled newest version of Mapzen Android SDK to see whether Tron style is correct, but unfortunately it still looks as I mentioned in #206. I am attaching screenshots from Nexus 5X device with Android 7.1.1:

@rwrx Can you share the logcat output from your application when this happens (preferrably in a gist or pastebin)?

Ok, here it is: https://gist.github.com/rwrx/cc2ea81c5edcd15af66485e050349809

The log seems to indicate that some of the GLSL code used in the style is missing, which would happen if the submodules in tron-style were not initialized.
Try git submodule update --init --recursive and rebuild.

Thank you a lot. I always forgot about that --recursive option. I was doing only git submodule update. Thank you. Closing this.


Remove setup_js_env.sh and its calls as it has been moved to the UI repo

The file is still used by the UI repo travis tests, but it was moved.

Its needed for the amazon provider controller specs:
https://github.com/ManageIQ/manageiq-providers-amazon/tree/master/spec/controllers
but then, I was thinking it makes sense to move those to the UI repo anyway.

The amazon controller specs were removed in https://github.com/ManageIQ/manageiq-providers-amazon/pull/97

And controller specs are being moved here https://github.com/ManageIQ/manageiq/pull/13393

Seems like everything is good in the other repos, so I'm merging.


Feature request: add option to display bingo card item names

This will make it easier for not so experienced players to find out what they should fetch & (through the wiki) how to get it.
This option can be a command or something else.

There are item names visible on the card in the lobby when you get close enough to the frame.
Currently, there is no way to get item names during the game.


PyPI v 0.2.0 not up to date

Hey folks. Thanks for the mixin. Definitely made my life easier.
Unfortunately v 0.2.0 is not up to date on PyPI. Specifically the merge preventing the filter from being applied to nested serializers is not present.
Thanks again and cheers.

Thanks for the heads-up. Version 0.3.0 is relased on PyPi.


API Failure: Only absolute URLs are supported

When starting foundry, the importer fails to load. Reverting back to 2.9.30 fixes the issue.
Environment:

Foundry version 9 Build 269
DnD5e version 1.5.7
D&D Beyond Importer version 2.9.31
No other Foundry modules enabled
ddb-proxy v0.0.15 (working off of main on commit 784d33911987e2c978953a7397b59a975ee0cb72 which is the latest as of the writing of this issue)
game.settings.get("ddb-importer", "api-endpoint") --> http://localhost:3000
game.settings.get("ddb-importer", "custom-proxy") --> true
Proxy run via both Docker and via node index.js and get the same issue either way

Two errors in the console of Foundry
logger.js:67 DDB Importer | ERR > API Failure: Unknown error during config loading: TypeError: Only absolute URLs are supported

ddbConfig.js:46 Uncaught (in promise) Unknown error during config loading: TypeError: Only absolute URLs are supported

Full stack trace from the proxy when I start my world in Foundry
Retrieving ddb config
undefined
Error retrieving DDB Config
TypeError: Only absolute URLs are supported
    at getNodeRequestOptions (/srv/node_modules/node-fetch/lib/index.js:1327:9)
    at /srv/node_modules/node-fetch/lib/index.js:1440:19
    at new Promise (<anonymous>)
    at fetch (/srv/node_modules/node-fetch/lib/index.js:1437:9)
    at /srv/lookup.js:30:5
    at new Promise (<anonymous>)
    at Object.getConfig (/srv/lookup.js:8:10)
    at /srv/index.js:42:6
    at Layer.handle [as handle_request] (/srv/node_modules/express/lib/router/layer.js:95:5)
    at next (/srv/node_modules/express/lib/router/route.js:137:13)
TypeError: Only absolute URLs are supported
    at getNodeRequestOptions (/srv/node_modules/node-fetch/lib/index.js:1327:9)
    at /srv/node_modules/node-fetch/lib/index.js:1440:19
    at new Promise (<anonymous>)
    at fetch (/srv/node_modules/node-fetch/lib/index.js:1437:9)
    at /srv/lookup.js:30:5
    at new Promise (<anonymous>)
    at Object.getConfig (/srv/lookup.js:8:10)
    at /srv/index.js:42:6
    at Layer.handle [as handle_request] (/srv/node_modules/express/lib/router/layer.js:95:5)
    at next (/srv/node_modules/express/lib/router/route.js:137:13)

v0.0.16 should fix this.


Allow customizing manifests to choose reactors [3d]

This feature has been delivered. It is configurable in the config.toml file.


License

Hi, great cms!
Which license has this project?
Greetings.

I'm also interested in clarification on this

Hi there. I'm SUPER sorry for the silence. I've been away from Bumble for a long time! The birth of my second child and work craziness has kept me incredibly busy. I've updated the repo to add a license. I do plan on working on a free Laravel CMS product in the future, but Bumble is on hiatus until I can get back to it (or find one of the companies using it to sponsor some development time). I will however review and merge good pull requests if they happen to come in!
Thank you so much for asking!

Don't worry!, thanks for your answer.
Merry christmas!


Rework of Javascript code

Currently the javascript code autonomously checks for updates to the client list and uses some logic to break an infinite feedback loop of session save<->session updated when more than one web client is connected.
Background: the server communicates with the web UI through log commands sent though a websocket. Log lines can contain data delimited by #{ }# in the form of json. All possible commands can be found here: https://github.com/alvr-org/ALVR/blob/master/alvr/common/src/logging.rs#L110 (fields are converted to camelCase).

Update the UI in response to #{ "type": "sessionUpdated", "data": { "webClientId": ..., ...} } only when the webClientId is different from the own one.
Make the UI update the client list only in response to #{ "type": "sessionUpdated", "data": { ..., "updateType": "clientList"} }
Enter and exit stream statistics mode only in response to clientConnected and clientDisconnected.
Other log commands like clientFoundWrongVersion should be intercepted and produce a custom and localized notification message.

(A few of these things may already be fixed but i did not thoroughly check the code)

I might be missing some background here but why even allow multiple web clients to run simultaneously?
You could disallow multiple instances of the executable to run:
https://users.rust-lang.org/t/how-to-ensure-there-is-only-one-instance-of-the-application/5170/18
Or just don't allow more than 1 TCP connection from the server side.

I might be missing some background here but why even allow multiple web clients to run simultaneously?
You could disallow multiple instances of the executable to run:
https://users.rust-lang.org/t/how-to-ensure-there-is-only-one-instance-of-the-application/5170/18
Or just don't allow more than 1 TCP connection from the server side.

The dashboard can be open in the ALVR launcher window and in the Oculus Browser or a smartphone.

The dashboard can be open in the ALVR launcher window and in the Oculus Browser or a smartphone.

if I may I would like to add

Use let and const instead of var, if externat access needed create setter and getter function.

if I may I would like to add

Use let and const instead of var, if externat access needed create setter and getter function.

@Ekristoffe I agree completely. I already encountered a nasty bug solved by switching from var to let

@Ekristoffe I agree completely. I already encountered a nasty bug solved by switching from var to let

Beside optimization and better integration with the server, there are other things we could consider to make the code maintainable and easy to extend:

For translations: merge translation files into one per language (not sure if this could cause slower loading times);
For logic code: witch to a framework like React and/or to TypeScript;
All in one rewrite: switch to Rust + webassembly (use the Elm-like Iced library for the UI) or to Elm

Beside optimization and better integration with the server, there are other things we could consider to make the code maintainable and easy to extend:

For translations: merge translation files into one per language (not sure if this could cause slower loading times);
For logic code: witch to a framework like React and/or to TypeScript;
All in one rewrite: switch to Rust + webassembly (use the Elm-like Iced library for the UI) or to Elm


Write order

I searched the documentation and could not find any notes on the order of write operations.
Is the order of an Asynchronous Write guaranteed? Or would an Await() be needed after each to guarantee order?

Hi~
The order is guaranteed by a IWriteRequestQueue inside each session. Write operations will be wrapped into IWriteRequests and be queued before being actually sent. The MessageSent event will also be fired one by one in the same order.
You don't have to call Await() unless you want to receive some responses from the remote :)
I'll improve the docs later. Thanks for ask.

Thank you :)


[fix-#11689] change replaceAll to replace in method of tryExecute…

…SqlResolveColumnNames
Purpose of the pull request

Brief change log
change replaceAll to replace in method of tryExecuteSqlResolveColumnNames
Verify this pull request
This pull request is code cleanup without any test coverage.
this close  #11689

Codecov Report

Merging #11696 (a53050f) into dev (71eeab3) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##                dev   #11696   +/-   ##
=========================================
  Coverage     39.81%   39.81%
+ Complexity     4720     4717    -3
=========================================
  Files          1002     1002
  Lines         37872    37854   -18
  Branches       4229     4222    -7
=========================================
- Hits          15077    15072    -5
+ Misses        21194    21181   -13
  Partials       1601     1601

Impacted Files
Coverage Δ

.../dolphinscheduler/plugin/task/datax/DataxTask.java
0.00% <0.00%> (ø)

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
55.12% <0.00%> (-1.29%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
27.90% <0.00%> (ø)

...cheduler/server/master/utils/DependentExecute.java
0.00% <0.00%> (ø)

...phinscheduler/plugin/task/chunjun/ChunJunTask.java
0.00% <0.00%> (ø)

...cheduler/plugin/task/api/ShellCommandExecutor.java
0.00% <0.00%> (ø)

...nscheduler/service/process/ProcessServiceImpl.java
31.80% <0.00%> (+0.02%)
:arrow_up:

... and 6 more

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

Could you please add UT for this, in fact, replace is the same as replaceAll, will replace all matched.

you can see the issue #11689

Sorry, I missunstanderstand, this bug is caused by we didn't translate .

thanks for your review


Suggestion: Markdown Previewer

Add grip to base pip install so we can:

verify markdown files before uploading to GitHub
view rendered markdown files without internet access

Sounds neat. Feel free to add it.


Make prefix not being recognised as dirs anymore (#244)

Branch for running live server tests for PR #244
Closes #208

Thanks @frndmg!


Drone-Webhook fails after update to 1.22.3

Description
After I've updated my gitea instance to 1.22.3, my drone webhook fails with
Delivery: Post "https://ci.example.de/hook?secret=SECRET": context deadline exceeded (Client.Timeout exceeded while awaiting headers).
The log showed
 2024/10/11 09:56:11 ...eb/routing/logger.go:102:func1() [I] router: completed GET /api/v1/repos/myorg/project1/raw/a770584dec278ed7ff344add85deb6457c87f8f3/.drone.yml for <IP_ADDRESS>:0, 403 Forbidden in 1.8ms @ v1/api.go:762(v1.Routes.verifyAuthWithOptions)
2024/10/11 09:56:16 ...s/webhook/webhook.go:101:handler() [E] Unable to deliver webhook task[598]: unable to deliver webhook task[598] in https://ci.example.de/hook?secret=SECRET due to error in http client: Post "https://ci.example.de/hook?secret=4F3H2nYIQtC8oq9EPaYHMMc22rB9iKdi": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I already checked the webhook.ALLOWED_HOST_LIST-setting - it does have the correct url.
Also, the gitea server is reachable by ping from the ci server.
Gitea Version
1.22.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.43.0
Operating System
openSUSE
How are you running Gitea?
go-binary
Database
MySQL/MariaDB

Delivery: Post "https://ci.example.de/hook?secret=SECRET": context deadline exceeded (Client.Timeout exceeded while awaiting headers).

Just FYI: it means that Gitea can't make a connection to https://ci.example.de, maybe you need to check your network and/or proxy setting, etc.

Yup, that's weird (and doesn't seem to be related to Gitea at the moment).
Ping works doesn't mean "https" also works.
I think you could try to figure out why the https request failed, eg:

try curl https://ci.example.de/hook?secret=SECRET on your Gitea server
try to figure out whether there are proxy settings (enviroments)
use tcpdump or wireshark to see the real network packets.

ps: and there is a setting DELIVER_TIMEOUT which defaults to 5 (seconds)

ps: and there is a setting DELIVER_TIMEOUT which defaults to 5 (seconds)

Just to make sure, you think that the operation is taking too long and runs into timeout?

Yup, that's also a possible problem.
exceeded while awaiting headers could also mean that "Gitea has sent the request to Drone, but Drone are not able to respond in time, so Gitea cancels the request after 5sec timeout" (still, just a guess). So if there could be some logs from Drone side to see whether the requests have reached Drone, it would help a lot.

Also, I've added a bit more log entries I found - hope that helps more.

By reading the new logs, if I understand correct, a best guess is like this:

TestWebhook tries to make Gitea send a webhook request to Drone
Drone receives the request and tries to access /login/oauth/access_token and /api/v1/repos/org/project1/raw/a770584dec278ed7ff344add85deb6457c87f8f3/.drone.yml

BUT Drone fails to access .drone.yml

Drone fails to process the webhook request
Gitea fails to complete the webhook request and recevies no response in 5 sec, then it redirects to the "webhook edit" page and shows an error message.

If the guess is right, the key problem is in step 2

If the guess is right and it is related to the token scope/permission, maybe it is related to this:  Fix bug when a token is given public only (#32204) #32218  and maybe you could try to fix the token's permission which is used by Drone.

If the guess is right and it is related to the token scope/permission, maybe it is related to this: Fix bug when a token is given public only (#32204) #32218 and maybe you could try to fix the token's permission which is used by Drone.

Well, Drone uses a service account and is authenticated through oauth - and there's no way to actually change the permissions assigned to an oath app, is there?

"Fix bug when a token is given public only (#32204) #32218" fixed a permission (security) bug, that's the only possible related change I can recall but I didn't read the details about it. Maybe others could have some ideas .....

Hmm, one more thing, were you using the Drone webhook in a private repo? If yes, could you try to setup a public repo to use Drone webhook? If the public one works but the private one doesn't work, then it makes "Fix bug when a token is given public only (#32204) #32218" more suspicious.

That's really strange .... to be honest I have no idea at the moment either.
Could you try to downgrade to 1.22.2 or the last usable version? Maybe finding the breaking point would help.

I am pretty sure that the breaking point is the last version 1.22.3, since the upgrade was made on the 9th and the webhook still worked on the 8th. The upgrade from 1.22.2 to 1.22.3 is also the only change that happened during that period in that section of the network (gitea, drone).

Yup, I agree that's the most suspicious part, while there could still be a small chance that other unknown bugs causes the problem (eg: unfortunately downgrading to 1.22.2 doesn't work either now)
Think about some cases:

There is a bug between 1.22.2 and 1.22.3 (maybe it is the most suspicious case)

Somebody could guess right soon and propose a fix.
Very difficult to catch the real problem:

Some maintainers also use Drone and they also encounter the bug and they will fix it.
You could provide a reproducible setup with detailed steps then some people to debug and fix
Some people could help to build a special binary with enough debug logs and you convince the admin to deploy it and collect more debug information.

There is an old bug before 1.22.3 (there could still be a small chance to hit)

Some operations triggers the bug during upgrading, eg: edit tokens, change settings, etc
It still needs to do something like "Very difficult to catch the real problem" to figure out how it happens.

I'll need to clear a downgrade with my admin, if the points above don't convince you :)

I am not expert and could just guess, maybe there could be some experts to provide more ideas. Actually, "Drone CI/CD stopping working" is a strong reason to convince the admin.

Well, that's really difficult to guess ......


Clearing Game Log

is there a way to clear the Game Log (join and leaves of world and ect) cause i reached my max table size now it doesent do anything anymore and clearing the vrcx cache does nothing

Make sure debug logging is enabled https://github.com/pypy-vrc/VRCX/issues/443#issuecomment-1336856875

Make sure debug logging is enabled #443 (comment)

its enabled

The log size in database is unlimited, this is just the size of the table.
Debug logging in VRChat not VRCX, click the link and follow the instructions

The log size in database is unlimited, this is just the size of the table. Debug logging in VRChat not VRCX, click the link and follow the instructions

and enabling that will make new things show in the game log even with max set table size reached?

Yes.

ok thank you, you can close this then now ^w^

Yes.

nvm reopening this do i need to restart anything cause i had vrchat already running someone just joined and left while i also changed a playing video and nothing has changed in the game log

You need to rejoin the instance yes

ok so tried and nothing happened not even the video got registered in game log

Try restart your game and make sure you have nothing in the search box and no filters set.

nvm only logged my homeworld and then gave up

Try restart your game and make sure you have nothing in the search box and no filters set.

I FIGURED IT OUT I WAS SOMEHOW PLAYING ON AN TEMPORARY SUSPENDED ACCOUNT BRUH


Bam4d/generic entity ids

More information on this in here -> #74
I've also modified the "cherry-pick" env and the "count" env to use strings as entityIDs as tests for guaranteeing #74.
Also Griddly now partially trains using EntityIDs that are hashes of underlying pointers in c++. HOWEVER.... it still cannot solve the environment. At the moment, the agent learns to avoid the spikes (which kill it) but does not learn to actually create any "clusters".
I'm not sure whether this is a tuning issue, or an underlying bug or limitation of the pooling layers. I could do with some more perspective from @cswinter or anyone who knows more about the pooling implementation.

Closes #14

With some hyperparameter search the environment starts to learn!

./train.py --gym-id=GDY-Clusters-0 --exp-name=griddly-clusters-test --track --total-timesteps=4000000 --num-envs=64 --learning-rate=0.0005 --ent-coef=0.1 --d-model=128 --d-qk=128 --n-layer=3

Very cool!
Our architecture does quite poorly if you just feed it raw x/y positions. I would expect much faster training with https://github.com/entity-neural-network/incubator/issues/104 (maybe with rotation as well?). I've not tried this yet, but I think some kind of better positional encoding would also solve the issue, especially once we have an actual transformer backbone.

Very cool! Our architecture does quite poorly if you just feed it raw x/y positions. I would expect much faster training with #104 (maybe with rotation as well?). I've not tried this yet, but I think some kind of better positional encoding would also solve the issue, especially once we have an actual transformer backbone.

Actually in this case because its a single level with full observability, the x,y positions probably dont even matter because the network would probably just remeber a sequence of moves. In the case where the env is procedurally generated I agree the positional encodings/rotation normalization would be a useful normalizing feature for sure. You can configure griddly to give you these positional encoding/invariances automatically.

I see, makes sense. Though even if it just learns a specific sequence of moves, it still needs to figure out what state in the sequence it is in, which could be easier with better positional encodings. Less clear though.


Update label to explain more.

https://github.com/rancher/dashboard/issues/1289

https://github.com/rancher/dashboard/issues/1295


cargo update behaves different with and without workspaces

It appears that cargo update on a workspace will pull in all the optional dependencies of the members, whereas doing cargo update on a single member crate will not. This behaviour difference seems like a bug. It is also blocking use of a workspace to reduce build times in the Firefox build, because the extra optional dependencies need to get vendored into the Firefox tree even though they are never used.
To illustrate the problem, I created a little test repo with a workspace - https://github.com/staktrace/cargo-bug. The STR to reproduce are in the README file.
/cc @froydnj

Sorry my STR aren't quite correct... it worked before but for some reason doesn't work now. Gimme a bit to figure out what changed.

Ok, I updated the cargo-bug repo from my initial comment so that it reproduces the problem properly. It turns out there needs to be one extra "optional" layer in between. But still, the cargo update on the workspace behaves differently from cargo update on the only crate it contains, which seems like a bug.

Thanks for the report and the reproduction! I think you're running into expected behavior, however.
Currently a workspace contains one lock file for all its members, and all that lock file contains all optional dependencies for all members. So following the instructions in your README the first situation doesn't have subproj1 as a member of the workspace, so ipc-channel is omitted. In the second scenario, however, subproj1 is a member so its optional dependency is included.
Does that make sense? Currently there's no way to explicitly remove a member from a workspace, but that's tracked by https://github.com/rust-lang/cargo/issues/3192

Hm, ok. I guess my mental model of how a workspace is supposed to work is wrong then. We can close this. However, I'd also like to document why my mental model was wrong, so that you can take it into account in future changes to cargo workspaces (although I suspect for backwards compat we're kind of stuck with this now).
Upon reading the cargo documentation, it seems that there's two ways to include members into a workspace: one is to put it inside the subtree rooted at the workspace, and the other is to list it in the "members" list. Because these are orthogonal there are four possible combinations:
If W is the workspace and A is a crate, then:
(1) W lists A as a member, and A is in the subtree of W  => A gets built as part of W
(2) W doesn't list A as a member, and A is in the subtree of W  => building A produces error
(3) W lists A as a member, and A is outside the subtree of W  => A can be built standalone OR as part of W
(4) W doesn't list A as a member, and A is outside the subtree of W  => A is built standalone
In my mind both outcomes (2) and (3) are unexpected. I would expect a member to either be in a workspace or standalone, whereas in (2) it is neither and in (3) it is both. Since I was not expecting this behaviour, I subconsciously figured that the more "explicit" behaviour (listing A as a member of W) would take priority so that (2) would get resolved as "A is standalone" and (3) would get resolved as "A gets built as part of W". In this world, subproj1 would be standalone and not get included into the top-level workspace in my reproduction project.
Perhaps the documentation on cargo workspaces should be made more explicit to cover these four options?

I don't think your mental model with "subtree" is quite right, per http://doc.crates.io/manifest.html#the-workspace-section

All path dependencies residing in the workspace directory become members. You can add additional packages to the workspace by listing them in the members key. Note that members of the workspaces listed explicitly will also have their path dependencies included in the workspace.

There's sort of a weird non-symmetric property here which is that you can have a workspace defined at the root of a directory tree, and it can specify members, so you could leave out some crates that are in subdirectories, but [package.workspace] defaults to "the first crate whose manifest contains [workspace] upwards in the filesystem". It's unclear to me what happpens to crates in that situation, although if you're not building them it's probably not really an issue.

Ah, you're right. While doing more experimentation I found what appears to be a real bug: https://github.com/staktrace/cargo-bug-2
In this scenario we have this structure:
test-repo/ <-- workspace
subproj1  <-- belongs to test-repo workspace
subproj2 <-- belongs to test-repo2 workspace
test-repo2/ <-- another workspace
subproj3 <-- belongs to test-repo workspace
Where all the Cargo.toml files are consistently pointing to their workspaces and members. But running cargo update in subproj3/ or in subproj2/ results in an error. I don't see why.

@alexcrichton for my previous comment - Is my understanding wrong, or should I file an issue for that?

@staktrace yeah that looks like it's a bug, but I wonder if that's just https://github.com/rust-lang/cargo/issues/3586?


How do we use pyfolio with custom data?

I want to use pyfolio with custom data
This is what I have done
import pandas as pd
import pyfolio as pf
import numpy as np

dates = pd.date_range(start='2017-01-01',end='2017-12-31', freq=pd.tseries.offsets.BDay())
data = np.random.rand(260)
df = pd.DataFrame({'dates':dates,'col':data})
df = df.set_index('dates')
pf.create_returns_tear_sheet(df['col'])

the end result is this error

The current behaviour of 'Series.argmin' is deprecated, use 'idxmin'
instead.
The behavior of 'argmin' will be corrected to return the positional
minimum in the future. For now, use 'series.values.argmin' or
'np.argmin(np.array(values))' to get the position of the minimum
row.

Hod do we use pyfolio with custom data?

Pyfolio version:  latest
Python version:  3.5
Pandas version:  0.24.2
Matplotlib version: latest

I got the same message as a warning, and the tearsheet still works.
See screenshot below:


[Event Request] Codeunit 99000854 "Inventory Profile Offsetting" - New Event "OnBeforeTransShptTransLineToProfile"

Could we please have a new publisher “OnBeforeTransShptTransLineToProfile” in Function “TransShptTransLineToProfile”, Codeunit 99000854 "Inventory Profile Offsetting”?
    local procedure TransShptTransLineToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item)
    begin
        >>>> NEW CODE >>>>
        OnBeforeTransShptTransLineToProfile(InventoryProfile,Item);
        <<<< NEW CODE <<<<
        FilterIsSetOnLocation := Item.GetFilter("Location Filter") <> '';
        if TransLine.FindLinesWithItemToPlan(Item, false, true) then
            repeat
                if TransLine."Shipment Date" <> 0D then begin
        ...

    [IntegrationEvent(false, false)]
    local procedure OnBeforeTransShptTransLineToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Increase image

this increase images (4,8,16...)on each correct answer and reset on wrong ans.   -T.Aatreya

Okay so I need images added vertically below so I can scroll down to choose, and also csi image position should be random and not fixed (i.e. csi logo can be placed on any of the 8 images)

Changes made , i didnt made randomize img fn as its another issue ,,and i was working on it ,,instead i am randomizing the divs.

Okay so that issue was merged recently, please check it out and change your code accordingly

this branch has no conflict at the time of writing, please start reviewing from the oldest pr ,how will i be able to account for changes in master(from new merges)that came  after my pr ,and people are changing class name and image name breaking code for others please ask them no to do so .

Yes good job, it works now

Congrats on solving an extreme issue!


Fix protobuf version

🐛 bug fix
A freshly cloned dat-network-protocol repo does not compile, because the latest protobuf lib (1.6) is incompatible with version 1.4. Restricting the version to 1.4.x solves the problem. See https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html
This PR also upgrades the protobuf lib to the latest compatible version which is 1.5
Checklist

[x] tests pass

Semver Changes
Patch level

v0.1.3 :tada:


Redirect URI is wrong, need to add https://localhost to get it to work

If you follow the steps as written you will get an auth failure from Azure indication that the redirect URL does not match that provided by the app (it will be something like http://localhost:).
To fix it you need to go to your app registration in Azure and add http://localhost as a redirect URI, then the app works as intended.

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

ID: c9b69d53-2f6f-38bc-321d-f5330518670e
Version Independent ID: d0a8b8ab-02bf-d588-465c-03dc1e1fd013
Content: Tutorial: Create a Windows Presentation Foundation (WPF) app that uses the Microsoft identity platform for authentication - Microsoft Entra
Content Source: articles/active-directory/develop/tutorial-v2-windows-desktop.md
Service: active-directory
Sub-service: develop
GitHub Login: @henrymbuguakiarie
Microsoft Alias: henrymbugua

@TrevorBarry
Thanks for your feedback! We will investigate and update as appropriate.

@TrevorBarry
Can you send me the screenshot where i can find this URI


⚠ ClamAV has degraded performance

In 5afda7a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in d68673f.


Spike: How to Configure Access Controls for Register

Description:
Spike on what methods we can use to configure access controls for the data register.
Options:

status quo: keycloak custom realm
cognito

Configure access controls for who can view statuses of parks.
Sys admin = all
Open = legal and repealed NOT pending (also does not see notes field)
Acceptance Criteria:

pro/con decision matrix to inform decision

Notes:

Resolving this as done.  We are currently using Keycloak shared realm for authorization access.  Users who do not provide a JWT on their api calls (web app users or api) are limited only to parks that are repealed or established


Update config_flow.py

current version of ha requires parameter "reason" in async_abort()
I tested (as appropriate):

[x] restart ha without error message now

sorry, had a typo and am not really familiar with GitHub

sorry, had a typo and am not really familiar with GitHub


Add shorten-url protocol

Include shorten-url protocol that allows requesting the mediator to create a short url that redirects to the long url. That mechanism should be use to get smaller QR codes. It was implemented as a demo in the mediator dev view. See screenshots
Before:

After:

Such a simple protocol, but so important in a world that needs barcodes :)
Great job!