I cannot get this thing to work

I have the given example up and running but it does nothing

Help people to help you. Which example ? Which platform ?
If you're talking about the samples, on Windows you have to launch it from VS an look at the output window.  I don't know about other platforms, haven't tried.

I used the "Usage" example from the main page of this repository with SFML, the project is 64-bit and I'm on Windows 10 64-bit. The samples work
#include <SFML/Graphics.hpp>
#include <iostream>
#include <gainput/gainput.h>

#define WIN_WIDTH 1280
#define WIN_HEIGHT 720

using namespace std;

enum Button
{
	ButtonConfirm
};

int main() {
	sf::RenderWindow window(sf::VideoMode(WIN_WIDTH, WIN_HEIGHT), "Gainput Key Finder");

	gainput::InputManager manager;
	manager.SetDisplaySize(WIN_WIDTH, WIN_HEIGHT);
	const gainput::DeviceId keyboardId = manager.CreateDevice<gainput::InputDeviceKeyboard>();
	//const gainput::DeviceId mouseId = manager.CreateDevice<gainput::InputDeviceMouse>();
	//const gainput::DeviceId padId = manager.CreateDevice<gainput::InputDevicePad>();
	//const gainput::DeviceId touchId = manager.CreateDevice<gainput::InputDeviceTouch>();

	gainput::InputMap map(manager);
	map.MapBool(ButtonConfirm, keyboardId, gainput::KeyReturn);
	//map.MapBool(ButtonConfirm, mouseId, gainput::MouseButtonLeft);
	//map.MapBool(ButtonConfirm, padId, gainput::PadButtonA);
	//map.MapBool(ButtonConfirm, touchId, gainput::Touch0Down);

	/*bool old_val = false, new_val = false;
	gainput::MappedInputListener listen;
	listen.OnUserButtonBool(ButtonConfirm, old_val, new_val);
	map.AddListener(&listen);*/

	sf::Color clearColor(255, 0, 0);

	while (window.isOpen()) {
		sf::Event e;
		while (window.pollEvent(e)) {
			if (e.type == sf::Event::Closed) window.close();
		}

		manager.Update();

		if (map.GetBoolWasDown(ButtonConfirm)) {
			clearColor = sf::Color(0, 255, 0);
		}
		else {
			//clearColor = sf::Color(255, 0, 0);
		}

		window.clear(clearColor);
		window.display();
	}

	return 0;
}

while (window.pollEvent(e)) {
if (e.type == sf::Event::Closed) window.close();
}
It erased the event queue and nothing left for the library to process.

while (window.pollEvent(e)) {
if (e.type == sf::Event::Closed) window.close();
}
It erased the event queue and nothing left for the library to process.

I don't see how the SFML polling loop has anything to do with the gainput  stuff. Can you explain?

I tried to use SFML with Gainput too, you can't do that, unless you modify SFML quite a lot. SFML isn't meant to share the input consumption with another lib.
The loop while (window.pollEvent(e)) will consume all the awaiting window events, which are used by Gainput (on windows, keyboard events, mouse movements and clicks are retrieved as window messages : https://docs.microsoft.com/en-us/windows/win32/learnwin32/window-messages).
My personal conclusion, as I didn't want to modify SFML, was that SFML isn't designed to be mixed with other input libraries. With SFML, only use SFML input features.

Darn, I want to implement game pad controls for my game but last I checked it wasn't possible with SFML, unless I am wrong?

I haven't tested it, but as far as I know SFML works fine with gamepads detected by windows, using the joystick API (https://www.sfml-dev.org/tutorials/2.5/window-inputs.php#joystick). Googling a bit seems to bring up people using xbox 360 controller via this API, so I guess you should be fine, theoretically.


ISPN-13120 CacheMetricsRegistration compatibility with Wildfly 23

https://issues.redhat.com/browse/ISPN-13120

integrated! thanks @diegolovison !


Failed to build model: Error while loading 'runners': Lengths of data series must be equal

$wc -l ../train_data/_train.q
8000000 ../train_data/_train.q
$wc -l ../train_data/_train.a
8000000 ../train_data/_train.a
but:
2017-06-18 10:26:50: INI file is parsed.
2017-06-18 10:26:50: Building model based on the config.
2017-06-18 10:26:50: Initializing dataset with: source, target
_get_name_from_paths return name dataset-../train_data/_train.q-../train_data/_train.a
^@^@^@^@2017-06-18 10:27:50: Failed to build model: Error while loading 'runners': Lengths of data series must be equal. Instead: source: 8000000, target: 8000953

This was cause by some a dataset!


CI failing for test_repartition_quantiles

dask_expr/tests/test_quantiles.py::test_repartition_quantiles is failing locally for me in main. The failure is also showing up in CI:
E               AssertionError: Series.index are different
E
E               Series.index values are different (16.66667 %)
E               [left]:  Index([0.0, 0.2, 0.4, 0.6000000000000001, 0.8, 1.0], dtype='float64')
E               [right]: Index([0.0, 0.2, 0.4, 0.6, 0.8, 1.0], dtype='float64')

Looks like the cause is numpy:
np.linspace(0, 1, 6)[3]  # Returns: 0.6000000000000001

This is probably not new in numpy. This may only be failing now, because the check_exact default changed from False to True in assert_frame_equal for pandas 2.2 (https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html#pandas-testing-assert-frame-equal)


Better examples

Is this a bug report or a feature request?
feature request (?)
Better examples needed, for me it is not evident how to pass additional arguments to jest in package.json config.
For instance the most basic: how to pass the jest config file.
"majestic": {
  args: [   ],  // in what format?

}

Version Info

Version of Majestic: 1.2.24
Version of Jest: 23.6.0
Version of Node: v8.11.3
Operating System: Win7

Just like you would pass in a terminal but here as comm separated array items.
"majestic": {
  args: ["--config=./path/to/your/config.json"],
}

Thanks, that worked. However to nitpick a bit, in the example the syntax is wrong, as we are talking about a json file you need to have string for keys:
"majestic": {
"args": [...]
}

The readme could be better. Would you like to send a PR to improve it?


[Triton SPIRV] Intel GPU support for Triton MLIR

Hi Dears,
This is an RFC for supporting the Intel GPU in Triton language.
The tool chain for Intel GPU is based on the SYCL/SPIRV spec. As a result, we'd like to upstream the SPIRV support to the Triton MLIR as a part of supporting Intel GPU in Triton language.
The comprehensive supporting is separated into two aspects: kernel compiling and kernel launching.
kernel compiling
The Triton kernel would be lowered to SPIRV IR for Intel GPU as illustrated:

The SPIRV dialect is quiet mature to support all the operations defined in Triton dialect. We will use the SIMT flavor SPIRV for the first stage to enable the Triton kernel on Intel GPU. And to enable the SIMD flavor SPIRV for best performance in the future.
All the related codes are going to be located at SPIRV specific folder in the Triton project:

The conversion from Triton/TritonGPU dialect to SPIRV dialect is located at Conversion/TritonGPUToSPIRV floder.
The translation from SIRPV MLIR to SPIRV IR is located at Target/SPIRV floder.

The SPIRV lowering path would be common for other vendor's device than Intel. If there is any Intel specific logic, the logic would be located Intel specific floder under the SPIRV specific floder.
Kernel launching
JIT mode
The Triton only supports to run PyTorch E2E model in JIT mode on CUDA device now.
We will decouple the JITFunction with torch.cuda. To support run the PyTorch E2E model on the Intel GPU just like on NV GPU.
It requires the Intel® Extension for PyTorch* (IPEX) at the first stage. The IPEX adds a new namespace torch.xpu to Pytorch and it is transparent to the Triton code. The Triton JIT mode could chose to compile the kernel launcher for the NV GPU or Intel GPU based on different device type deduced from the parameters to the kernel.
The kernel launcher is based on SYCL runtime libraries in C++ language. It could be compiled by g++/Clang++. We  would add a python extension helper to look up the necessary SYCL libraries for Intel GPU just like looking up the CUDA runtime for NV GPU.
In the future, the namespace torch.xpu would be up-streamed to PyTorch and the IPEX is not required any more.
AOT mode
We will support to launch the AOT compiling kernel thru the dpctl package in Python. It would be easy for end user to try the Triton without AI framework dependency, Like PyTorch or IPEX, in Python.
dpctl is a SYCL runtime wrapper for Python: IntelPython/dpctl
PR Plan
Because we need some SPIRV dialect features in the newer LLVM version than the LLVM 14 used by Tritno now. We will upstream the changes to Triton after the @llvm-head migration completed.
The upstream changes are grouped into multiple stages to minimize the size of the code changes for better code review. The stages are grouped from the functional view as:

Compiling
-- Basic SPIRV dialect conversion/translation and support elemwise kernel
-- Support reduce kernel
-- Support dot kernel
-- Support flash attentions
Launcher
-- Support JITFunction
-- Support launch AOT compiling kernel.

Triton Ops Table
TODO: Add the table of the ops in Triton to SPIRV for information.

The SPIRV dialect is quiet mature to support all the operations defined in Triton dialect.

Just want to double-check something here. Triton still has some unstructured control flow and early exits from kernels.  For example, one may do:
@triton.jit
def fn(...):
  val = 0
  if tl.load(Cond1):
    if tl.load(Cond2):
      return
    else:
      val = 1
  # rest of the kernel

and this will get lowered to something that doesn't use scf and has multiple basic blocks. Is that something that spir-v will handle well?
Otherwise the plan seems reasonable. I think all efforts should be put on the compiler at first, since it's quite easy to get the TTIR and the TTGIR and do almost all the work without touching python. This will also give us time to design a more modular runtime while you work on that.

and this will get lowered to something that doesn't use scf and has multiple basic blocks. Is that something that spir-v will handle well?

Yes, I think it  is well handled in SIMT flavor SPIRV. We lower all the scf -> cf -> spir-v in SPIRV path in SIMT flavor.
The IGC would help to add rendezvous block for early exits from kernel for SIMD flavor. (CUDA do it in HW. Intel do it in SW.)

Sounds good to me then!

Close as it is obsoleted.


feature: enable customizations for ui

Add customizations for these elements/attributes

ActionBar background color
ActionBar title text appearance
Navigation icon
Navigation icon tint
Download icon
Download icon tint

Hi @afreakyelf, I have updated the code to include your requested feature. Please check again.

Hi @KaungMyat-Min ,
Thank you for your valuable contribution.
Please rectify these changes:

Toolbar text is not properly aligned to the centre or left.
Put up a dark version of theme in pdf viewer.

Thank You


[Help] I fail to build via CI run

SailfishOS VERSION: < 4.0.1
SailfishOS:Chum GUI application VERSION: Both, 0.5.0 and 0.5.1

QUESTIONS
To play with building the SailfishOS:Chum GUI app, I submitted it at the SailfishOS-OBS from SailfishOS:Chum/sailfishos-chum-gui to a freshly created subproject sailfishos-chum-gui of my personal SFOS-OBS repo.

1. Fails to build on SFOS 3.1.0 - 3.3.0
But after I accepted the self-submitted sailfishos-chum-gui package, it would not build on any SailfishOS release between and including 3.1.0 and 3.3.0, due to the failing build dependency on YAML-C++ (nothing provides pkgconfig(yaml-cpp)).  But it does build for SFOS 3.1.0 - 3.3.0 on the same build host with (apparently) the same configuration for SailfishOS:Chum and SailfishOS:Chum testing?!?
CI runs at GitHub fail for exactly the same reason, but also when building with the Sailfish-SDK for 3.4.0?!?
Currently I fail to comprehend, why YAML-C++ is first defined as a hard dependency, and later gets special treatment on SailfishOS < 4.0.1, specifically %define __requires_exclude ^libyaml-cpp.*$.
But apparently YAML-C++ is needed to parse the metadata for SailfishOS:Chum.  Puzzled.

2. Cannot find token-gitlab.txt and token-github.txt
When compiling with a CI workflow at GitHub, it does not find token-gitlab.txt and token-github.txt, neither in ~/rpmbuild/SOURCES/ (where rpmbuild looks for them) or in ~/build/rpm/(where cmake is told to look for them, AFAIK):
cat: can't open '/home/nemo/rpmbuild/SOURCES/token-github.txt': No such file or directory
cat: can't open '/home/nemo/rpmbuild/SOURCES/token-gitlab.txt': No such file or directory
[…]
cat: can't open '/home/nemo/build/rpm/token-github.txt': No such file or directory
cat: can't open '/home/nemo/build/rpm/token-gitlab.txt': No such file or directory

Note that the user is nemo on SFOS < 3.4.0
But the SailfishOS-OBS finds and downloads / extracts token-gitlab.txt and token-github.txt fine!?!  Edit: It does not download or extract anything, the two files are just uploaded there.
OTOH, I fail to find them in then source tree of sailfishos-chum-gui:
$ find . -name '*.txt'
./src/CMakeLists.txt
./icons/CMakeLists.txt
./CMakeLists.txt
./translations/CMakeLists.txt
$ grep -r 'token-git..b\.txt'
rpm/sailfishos-chum-gui.spec:Source1:        token-github.txt
rpm/sailfishos-chum-gui.spec:Source2:        token-gitlab.txt

Hence I conclude they must be generated on-the-fly somehow and somewhere.  But where if grep only finds them referenced in the spec file?

@piggz, @rinigus, can one of you please point out what I am failing to find / see / comprehend.  Maybe you already have an idea / suggestion how to resolve this for CI runs at GitHub.

Re OBS. Looks like we have https://build.merproject.org/package/show/sailfishos:chum/yaml-cpp .
As for the tokens, those are available in Chum repo - see closer at what is included at OBS for GUI

Note that tokens cannot be uploaded to Github - they will be disabled immediately. That could be a breaker for building GUI in CI

Thank you very much.
With that knowledge It was easy to rectify the failures at SFOS-OBS: Submit yaml-cpp and add the two token text files.
I will ponder about how to use these at GitHub.

I was able to upload and check-in a GitHub access token inside a gzipped tarball.
It would be nice if such a tarball is part of a git-checkout, which is then copied inside the docker image of the Sailfish-SDK to ~/build/ for compiling and packaging.  What would be an appropriate location for it, i.e., in which directory are two token files expected, for rpmbuild and cmake to find them?  Then I would put the gzipped tarball of them in that directory and untar it inside the running Docker image of the Sailfish-SDK, right before invoking mb2.

I have never used the Sailfish-SDK locally, but see in the logs of CI runs at GitHub, that for some software many build dependencies are downloaded and installed before compiling.  Hence this silly question: What is a suitable measure to make  https://build.merproject.org/package/show/sailfishos:chum/yaml-cpp available for the Sailfish-SDK, so it can be used when calling mb2.  The easiest and most generic solution appears to be adding the SailfishOS:Chum repo: Can I call ssu ar <repo> or zypper ar <repo> in the Docker image of the Salfish-SDK?

I was able to upload and check-in a GitHub access token inside a gzipped tarball at GitHub.

I did not like the idea of implementing such a bad workaround, which may collapse any time when GitHub improves its security scanner (… to search inside tar.gz archives).  Assuming, we are not the first to encounter this issue, I searched and quickly found:
https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository
Hence please copy the content of token-github.txt and token-gitlab.txt into two new "secrets" named Token_GitHub and Token_GitLab for the repository sailfishos-chum-gui.
Then it is trivial for me to use them in a CI workflow.

Secrets added, use them as TOKEN_GITHUB and TOKEN_GITLAB. As for "where", that would be current directory in CI. May work as you show.

Secrets added, use them as TOKEN_GITHUB and TOKEN_GITLAB. As for "where", that would be current directory in CI. May work as you show.

Neither creating the two token-text files in ~ (= initial $PWD = /home/{nemo,defaultuser}) or in build(=/home/{nemo,defaultuser}/build) silenced the complaints that they cannot be found.  I ended up deploying them to both, ~/rpmbuild/SOURCES/ and ~/build/rpm (which is the checked out rpm directory) to silence all warnings.
You may take a brief look, if you have any idea how to simplify this or if this indicates something not working as it should (at OBS etc.).  For now I believe that OBS or tar_git does some magic, which these CI runs lack.
So the point "CI workflow with access token text files" is ultimately done. :rocket:
Thank you for your kind support.

I have been avoiding SFOS CI, tbh. So, don't know the internals nor lack any experience with it. Sorry.

I have been avoiding SFOS CI, tbh. So, don't know the internals nor lack any experience with it. Sorry.

That is fine; never mind.  It is working; and while I do hate to not fully comprehend why, it is only GH-CI / -"actions".
But the last open point is much easier to address with some experience in using the Sailfish-SDK interactively (which I never did):

Hence this silly question: What is a suitable measure to make https://build.merproject.org/package/show/sailfishos:chum/yaml-cpp available for the Sailfish-SDK, so it can be used when calling mb2?
The easiest and most generic solution appears to be adding the SailfishOS:Chum repo: Can I call ssu ar  or zypper ar  in the Docker image of the Sailfish-SDK?

Note that the coderus' docker images comprise a regular Ubuntu LTS installation on which the Sailfish-SDK was installed.  So everything should be as if the Sailfish-SDK was installed on a Linux-PC / -Notebook.

I guess you can follow then https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages/#building-packages-locally and add Chum repo for targets (SFOS version + arch) that you build for. Although, it is quickly becoming rather extensive as the list of targets is long.

Plus https://docs.sailfishos.org/Tools/Platform_SDK/Building_Packages/
This looks easy ("famous last words"), just execute a ssu ar <repo> before calling mb2.  Well, I might add an ssu ur and maybe a pkcon -pv repo-set-data <repo> refresh-now true after that to be cautions.

Thanks again for the pointer (I have no idea, why I missed to find this SDK-documentation when I tried), which led me to searching and finding the mb2 tool, because the sfdk command is not available (at least in Coderus' Sailfish-SDK Docker-image for <IP_ADDRESS>, which I used for my experiments, because it is the latest release requiring an externally supplied yaml-cpp repectively yaml-cpp-devel).
I researched and understood:

The Sailfish-SDK introduces a(nother) level of containerisation ("virtualisation"): To alter things "inside" the Sailfish-SDK, one shall use the sfdk command (not available here), which is a frontend for the mb2 command (used here), which in turn is a front-end for sb2 "inside" the Sailfish-SDK.
Hence one must use the command mb2 for all setup and executing steps required for the Sailfish-SDK proper on Coderus' Sailfish-SDK Docker-images or his GitHub action which utilises these images.  I ultimately found mb2's sources with its documentation in code comments.
Hence one must mb2 build-shell [--maintain] [--] [<command> [<arg>...]] to manually configure the repository configuration, but …

mb2 build-shell [<command> [<arg>...]] executes commands in the regular user's context ({nemo|defaultuser}), hence a ssu ar or zypper ar fails.
Side note: pkcon is installed, but the packagekitd is not available, rendering it is useless.
mb2 build-shell --maintain [<command> [<arg>...]] always fails with --maintain could not be executed: No such file or directory, regardless is using a shell internal command (e.g., echo) or anything else, which I have checked to be installed.
This is in stark contrast to its "official" documentation (examples) and its internal documentation.
As this was documented as the simple and core method for satisfying external dependencies, I started to look for workarounds.

The documentation states: Simply put RPM dependencies in the output directory and thy will by found when calling mb2 build.  I downloaded yaml-cpp and yaml-cpp-devel there via curl (which works fine) and they are not used / found!
The global option --search-output-dir[={verbose|quiet}] does find RPMs in the output directory, creates a local repository and then fails to copy them into this local repo.  Creating and putting them into ./.mb2/filtered-output-dir (where the error indicates they are searched for) yields nothing: The ./.mb2 directory seems to be erased and newly created on each run of mb2.
The global option -o, --output-dir <dir> implies --search-output-dir and yields the same: Nothing but error messages, no matter where I located the output directory (tested ./RPMS = ~/build/RPMs and ~/RPMS, because thy were used in the examples).
Using a separate, prior call mb2 -t SailfishOS-<IP_ADDRESS>-armv7hl -o ./RPMS build-requires --refresh pull (or without -o and / or --refresh seems to get a little further ("Directory walk done - 2 packages", yeah!), but ultimately fails to utilise them, too. :sigh:

Ultimately these experience is in line with former ones:

CI workflows at GitHub are a bit tedious to develop, but ultimately everything works nicely and as documented.
Jolla's build tools mostly work for "beaten paths" (i.e., regularly used ones), but are broken for much else, regardless if these features are documented as core functionality.  The (shell) code of these tools is overly complex, full of BASHims and seems to never have undergone some sort of quality assurance, regardless if I analysed tar_git or mb2; their principal author seems to be savvy, but also seems to generate a high rate of flaws in his code (I spotted a few sure ones and some likely ones), which in combination with unnecessary complexity and lacking QA results in much broken functionality.
As I am not willing to analyse mb2 in depth (as I did for tar_git), I finish this excursion with the same conclusion again: Do avoid Jolla's own tool as much as one can, because they are full of flaws; if you have to use them do not deviate from the way everybody else uses them, or you will likely run into broken functionality.

Ultimate consequence of this: CI for sailfishos-chum-gui will be performed on the Sailfish-SDK for <IP_ADDRESS> and SailfishOS-latest (currently <IP_ADDRESS>).  The build tests for SailfishOS 3.1.0 to 3.4.0 will be solely on the SFOS-OBS.


balloon: bz#1766844 add new memory statistics tags.

Can one of the admins verify this patch?

run tests


Performance tuning of Flink stream executor

This ticket is considered to be a child of the story #11, where more detailed description of the problem can be found.

Obsolete.


Add context to robustness interfaces

Suggestion from @carlbraganza:
Add context to all interface methods, exposed through engine actions to the test writer/engine user.
This PR is branched from https://github.com/kastenhq/kopia/pull/125.

Thanks!


Integration with packaging & uploading

This will be done with the CLI and REST deployment, already started in the tng-project repo


[ENH] Make the footer of the "1 tab" the same as "Configuration tab"

Is your feature request related to a problem? Please describe.
The "Configuration tab" has, bellow the bottom buttons, a space where some informations are displayed : usually the GSE version, but when the player presses the "Save" button, a message appears informing him/her that "the macro has been saved".

The "1 tab" doesn't have this footer. Pressing the "Save" button on that tab makes the player not know if pressing "Save" worked.

Describe the solution you'd like
I think that this footer also deserves to have a space where some informations can be displayed.
Desktop
OS: Windows 10 64bits pro
Hardware: nvidia GTX 1070 8GB - driver: 471.11
Game Version
World of Warcraft Shadowlands version <IP_ADDRESS>289 (french language)
GSE Version
Version: 3.0.14

That’s a bug - it “should” show it it knits Lyra the buttons over the top.  WoW’s UI stuff doesn’t just “handle” it you need to explicitly figure all that out.

In your options what sizes are in Editor Height and Editor Width?

Width: 710
Height: 820
But I noticed that these options (width and height) change if I resize the Sequence Editor.
The new values are the new dimensions of the window that I resized.

The saving of the resizing is expected


kup: init at 0.9.1

Motivation for this change
Kup is a very simple to use backup application, and one of the standard KDE applications.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@bachp  thanks for reviewing this. Is there anything else I need to do so that it gets merged? (Sorry, I'm new to this process.)

Thanks


Better error reporting

Hi,
this PR introduces more readable error reporting. It will display message in marble format, like in the screenshot:
  it('should work with a cold observable', () => {
    const provided = cold('-a----b|', { a: 1, b: 2 });
    const expected = cold('--a---b|', { a: 1, b: 3 });

    expect(provided).toBeObservable(expected);
  });

it prints marble comparison and detailed JSON.stringified test messages below
if notification is found in the expected TestObservable, then it will match marble character to this Notification, if not, the character will be equal to ?

Additionally, it fixes not.toBeObservable.
Fixes #51, #11
Please let me know what do you think about these changes :)

after a closer inspection, I think the library was designed to be both used by the jasmine ToBeObservable assertion and the RxJS test Scheduler, but the logic for the two ways is nearly completely separated.
so your PR fix the ToBeObservable way of testing,
and mine fix the "TestScheduler" way.
I think the best would be to merge part of our two work so it uses a single codebase for the two way of testing.
I will try to check your code more closely to see how to fix the TestScheduler from your code

Ok, I checked again, and I realize that there is no link between the two style of marble testing.
It is virtually like if there was 2 library in one.
I don't think there is much value to keep these 2 part together.  It would be more sensible to split the library.
In fact, after closer inspection, I see that the TestScheduler of rxjs already give everythings needed to make marble testing, so I will use it direcly instead of using a third party library.

Thanks @krzysztof-grzybek, apologies for the delay. I will cut a release soon

No worries @brandonroberts , thank you!


fix(sidebar): Multiple active highlights when navigating between categories

Bug: Multiple Active States in Sidebar Navigation
Current Behavior
When navigating between different categories in the sidebar (e.g., from /docs/cards/birthday to /docs/button/github), the active state highlight persists on both the previous and current items, resulting in multiple active states being displayed simultaneously.
Expected Behavior
Only one item should be highlighted as active at a time. When navigating to a new route, the previous active state should be cleared before the new one is applied.
Steps to Reproduce

Navigate to /docs/cards/birthday
Click on a button category item (e.g., /docs/button/github)
Observe that both items remain highlighted with the active state

Technical Details
The issue occurs in components/shared/docs-sidebar.tsx within the DocsSidebarNavItems component. The active state animation is not properly resetting when switching between categories.
Proposed Solution
Reset the active state before applying the new one using a small delay:

Fixed. from localhost


Upgrade filament v2 to v3 didnt work

Package
filament/filament
Package Version
v3.2
Laravel Version
v10
Livewire Version
v3
PHP Version
PHP 8.2
Problem description
Hello all, I'm trying to upgrade my filament version to 3 but it didnt work, I tried the automatically upgrade, it changed a lot of stuff in my code, but at the composer update process I got this:
Access level to Filament\Forms\Concerns\InteractsWithForms::getFormStatePath() must be public (as in class Filament\Resources\Pages\ViewRecord)
I fixed other errors like that, but, this error is happening inside the filament package, I not sure how to fixed it

my composer.json:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.2",
"ext-iconv": "*",
"devaslanphp/filament-avatar": "@stable",
"doctrine/dbal": "^3.5",
"dutchcodingcompany/filament-socialite": "@stable",
"filament/filament": "^3.2",
"filament/spatie-laravel-media-library-plugin": "^3.2",
"filament/spatie-laravel-settings-plugin": "^3.2",
"guava/filament-icon-picker": "@stable",
"guzzlehttp/guzzle": "^7.2",
"jeffgreco13/filament-breezy": "@stable",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8",
"league/flysystem-aws-s3-v3": "~3.12",
"league/oauth2-client": "^2.6",
"maatwebsite/excel": "^3.1",
"owenvoke/blade-fontawesome": "^2.1",
"protonemedia/laravel-verify-new-email": "^1.6",
"psr/simple-cache": "^1.0",
"pusher/pusher-php-server": "^7.2",
"spatie/laravel-permission": "^5.5",
"stichoza/google-translate-php": "^4.1"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"kkomelin/laravel-translatable-string-exporter": "^1.17",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"install-project-win": [
"npm install",
"composer install",
"npm run build",
"composer dump-autoload",
"copy .env.example .env",
"@php artisan key:generate",
"@php artisan migrate",
"@php artisan db:seed"
],
"install-project": [
"npm install",
"composer install",
"npm run build",
"composer dump-autoload",
"cp .env.example .env",
"@php artisan key:generate",
"@php artisan migrate",
"@php artisan db:seed"
],
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
"@php artisan filament:upgrade"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
Expected behavior
to upgrade the version
Steps to reproduce
Tried to upgrade the filament version 2 to 3
Reproduction repository (issue will be closed if this is not valid)
https://github.com/devaslanphp/project-management
Relevant log output
No response

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

I belive that you overridden the default getFormStatePath() in on of your ListPages.
You just need to match the function signiture.


Is there any way to generate raw attributes without any escaping?

I would like to do something like:
templ AttrTest(csrf, boo string) {
  <button
    hx-headers={ fmt.Sprintf("'%q:%s'", "csrf-token", csrf) }
    hx-vals={ fmt.Sprintf("'%s'", boo) }
  ></button>
}

where boo in this case is valid json like {"foo":"bar"}. Currently both hx-headers and hx-vals come out mangled, I mean escaped. Is there any way to disable it?

Using @templ.Raw() for the whole button instead of using an expression just for value works, but it would be nice if we could exlude some specific attributes from being mangled/escaped...

Hi @PyrekP , please see the discussion here: https://github.com/a-h/templ/discussions/519#discussioncomment-8443104
Although it may not be readable for a human, escaping attributes in this case is correct.

@joerdav Thanks, works great.


Some fixes and some features for ResourceModel

fix $abortRequest bug (https://github.com/troyanskiy/ng2-resource-rest/commit/bb8435380ff8a577e7c3034314c51937051b73a1)
useModel feature (https://github.com/troyanskiy/ng2-resource-rest/commit/8e2fe67333b667890ef450a294d5cc34bdff9b26)
ResourceModel fix returns (https://github.com/troyanskiy/ng2-resource-rest/commit/e3a275a996807f7de54e8605171454adf76ddfd2)
Request query params using in case if param is array (https://github.com/troyanskiy/ng2-resource-rest/commit/c3a438863a1b0d00ad65480934566dea3a1dfecf)
Opportunity of using getResourceModel method instead static model variable. (https://github.com/troyanskiy/ng2-resource-rest/commit/d9570d3fc132a12341d0a7641f1c4718c8eb6149)

Hello thanks! Checking that.
In your example requestAction variable is not necessary.
You can do like that
let users;

filterUsers(isActive: boolean) {
    if (users && !users.$resolved) {
         users.$abortRequest();
    }
    users = this.userResource.query({is_active: isActive});
}

Does not need to compile bundle. I will recompile all the files anyway.
Thanks a lot.


Update Ruby readme to list Ruby 3.x support

grpc works Ruby 3.x along with Ruby 2.x
Ruby 3.0 was released in December 2020 and is seeing increased adoption
in the community.
I am also happy to say "Ruby 2.x or higher", but I thought that explicitly including 3.x was more clear.
My understanding of the keyword args comment is that it was explaining why grpc will not work with Ruby 1.x. That is less relevant now that fewer people are using Ruby 1.x. (Support for Ruby 1.x ended in 2015)
Sadly, I don't think I can add the area/documentation and lang/ruby labels that this seems to need.

@nicolasnoble

@stanley-cheung Unless I'm mistaken, it doesn't look like we have CI builds/tests that cover Ruby v3.x. I think we'd want to have those in place before gRPC claims support.


Sets InstanceType in LaunchTemplateData to not required.

Files changed
ec2.py
Summary
Sets InstanceType in LaunchTemplateData to not required.
Fixes #1200

Thanks!


With a large number of lines in a worksheet data validations get removed

It was reported to me that with a large number of lines (> 8000) the data validations get removed. I will first extend the demo report ZDEMO_EXCEL9 to optionally output the SBOOK table including data validations.

Closed.
Data validation has changed significantly during the last years - and we have a newer discussion with topic #366


I don't see the tokens in my wallet that I used to deploy the token

I deployed a token with the ticker "FRACTAL" twice:
The first time, I deployed it with a premine of 8 million tokens, and everything went smoothly.
Here’s all the information about the first collection:
Token FRACTAL has been deployed.
TokenId: bc90641f76e74dabb8a78d30ec1c54a57078405b5e0a72e9843e4ae0c87a98a1_0
Genesis txid: bc90641f76e74dabb8a78d30ec1c54a57078405b5e0a72e9843e4ae0c87a98a1
Reveal txid: c48beccf3992c05c5fa6719c462588192cdbe7bba1a7d6d45deb361e3e36037d
Minting 8,000,000 FRACTAL as premine in txId: aecdc44a939739902d9d5b94b23795a6bc12adb01120121724458406241f7393
However, I later realized that I had premined too many tokens, so I decided to create the same collection with the same ticker "FRACTAL" but with a premine of 1 million.
For some reason, the 1 million tokens didn’t appear in my wallet, even though I successfully received 8 million tokens the first time.
Here is the information for the second deployment:
Token FRACTAL has been deployed.
TokenId: bc90641f76e74dabb8a78d30ec1c54a57078405b5e0a72e9843e4ae0c87a98a1_0
Genesis txid: bc90641f76e74dabb8a78d30ec1c54a57078405b5e0a72e9843e4ae0c87a98a1
Reveal txid: c48beccf3992c05c5fa6719c462588192cdbe7bba1a7d6d45deb361e3e36037d
Minting 8,000,000 FRACTAL as premine in txId: aecdc44a939739902d9d5b94b23795a6bc12adb01120121724458406241f7393
What should I do? How can I receive my 1 million premine tokens?
Wallet address where I deployed the collections:
bc1pjwj5vu0xuelnnh39qvhr3ecmsk4p0ty273w33jjkwdlkxxnh3nyq57kl07
The address where my 1 million tokens are currently stored:
bc1p5j6n8mlpktxwyrnjc8mzstw7ywsfgnq48fqlf7my7rujcu8aejvsm5x5u8

what's the problem


Http parameter with placeholder not work

Search before asking

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

What happened
Save Process Definition
Add Http Task Node，and add Http parameter with placeholder
(添加Http任务节点，并且添加占位符参数)

Task run with manual was successed, but failed if scheduled
手动执行任务可以成功，定时执行失败，任务实例只显示提交成功

What you expected to happen
Http job is allow to run with placeholder parameter
Http任务可以通过占位符传参
How to reproduce
See [What happened]
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@Amy0104 please assign to me

Done.


Remove trailing forward slash

The trialing forward slash messes up the regex when the base_folder string already contains a trailing forward slash (which occurs when you use the folder icon next to the export to select a folder).

v4.3.stable.arch_linux
Either way, with or without the trailing forward slash in the base folder string, the code still works with my changes. More testing may be needed though.


Updated links

Updated links

          1 Warning

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: Danger


Allow phpcbf to use the cache

Is your feature request related to a problem?
Yes and no. When using phpcs --cache, subsequent runs are fast. When using phpcbf --cache, every run takes the same amount of time as the first.
Describe the solution you'd like
When using phpcbf --cache, subsequent runs should be faster - as they already are with phpcs --cache. Also, when using both phpcs and phpcbf, the cache generated by one should be usable by the other.
phpcbf should be able to use the cache to determine if the sniffs need to be run or not on a particular file. When the cache is valid for a file, and there are no fixable errors reported, then the file can be skipped. When the cache is invalid, or there are fixable errors reported, then the file needs to be run through the sniffs as normal.
Internally when phpcbf runs, there is actually a run of (the equivalent of) phpcs first, and if there are any fixable errors reported then the fixer is enabled and run through the file. When the fixer is enabled, the cache should be temporarily disabled to avoid any negative performance overhead as it runs the sniffs up to 50 times.
At the end of a run of phpcbf, the cache does not need to be in a perfect state. If there were no changes made, then the cache should still be valid for the files it was valid for to start with. If any changes were made, then the state of the cache is undefined. The next time the cache is read, it will be validated as normal.
phpcs
This is the existing behaviour for phpcs --cache.
flowchart
    A[Load ruleset]
    A --> B{Caching enabled?}
    B -->|Yes| C[Load cache]
    B -->|No| D[Run sniffs]
    D --> F
    C --> E{Cache entry valid?}
    E -->|No| D
    E -->|Yes| F[Report results]

phpcbf
This is the proposed behaviour for phpcbf --cache.
flowchart
    A[Load ruleset] --> B{Caching enabled?}
    B -->|Yes| C[Load cache]
    B -->|No| D[Run sniffs]
    C --> E{Cache entry valid?}
    E -->|Yes| H{Fixable errors?}
    H -->|No| F[Report results]
    H -->|Yes| D
    E -->|No| D
    D --> G[Run fixer]
    G -->|1-50x| G
    G --> F

Additional context (optional)
Given the low test coverage of the areas in question here, making changes to this functionality is risky. Therefore this feature is likely blocked by https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/146 and/or https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/147
The proposed changes have been implemented in https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/481

[x] I intend to create a pull request to implement this feature.

@jrfnl let's discuss this on our next call. I am interested to learn about these logic errors that you hinted at. I think that the implementation in #481 matches the table above.

Wouldn't it be possible to start small? Just skip the files that are already cached and with no errors if unmodified since last phpcs run.
Even if it does not update the cache and re-runs for fixed files before phpcs is ran again, it would still make fixing few files in codebases with 1000+ files significantly faster and not break anything.
And updating the cache would be as simple as running phpcs again.
It would be far from perfect but from my (possible naive) point of view it would do 90% of the results for 10% of the work, with very little (possibly none?) risk involved.

In my call with @jrfnl, we determined that there are not actually any logic errors, but instead the language used was confusing. I will review the words/language to better communicate the intent.

Just came across old repo issue https://github.com/squizlabs/PHP_CodeSniffer/issues/3781 and I think that needs to be looked into in relation to this ticket as it gives the impression that - at least in some cases - the cache is already being taken into account for PHPCBF....

would end-to-end tests be sufficient to get this moving forward or do we also need unit tests for the caching related stuff?

@staabm I have a feeling a combination of both will be needed. With end-to-end, we'd probably need too many tests to cover it properly, with a combination, the effort needed to get the tests in place will probably be lower.


Can't read characteristics from HRM

Can anyone help with the below. I'm trying to read a random characteristic from a heart rate monitor before I try and actually pull the heart rate data. I' getting the error:
Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.

[[4,29],[21,0],[[61,2000,1651308190120,false]],168]

The code I am using is as follows:
const connectDevice = device => {
    // manager.stopDeviceScan();
    //console.log(device)
  manager.connectToDevice(device.id).then(async device => {
              await device.discoverAllServicesAndCharacteristics()
              .then((results) => {
                console.log(results);
                // manager.servicesForDevice(device.id)
                //   .then((services) => {
                //     console.log('services');
                    //console.log(services);
                    //console.log(this.getValueFromBase64("AwYA5AcEDRAmCgAAeLDx"));
                    //console.log(this.getValueFromBase64("AwUA5AcEBxYRFwAAW7Dx"));
                    manager.readCharacteristicForDevice(
                      device.id,
                      '0000180d-0000-1000-8000-00805f9b34fb',
                      '00002A38-0000-1000-8000-00805f9b34fb',
                      (error, characteristic) => {
                        console.log(characteristic.value);
                        if (error) {
                              console.log('Error: ' + error.message + '. My error message')

                          }
                          if (true) {
                            console.log('Getting value')
                            console.log(characteristic.value)
                          }
                          //console.log(response, 'response')
                          console.log('hello')
                        }
                      )
                  //});
              });
              // console.log(devices)
              manager.stopDeviceScan();
              setDisplayText(`Device connected\n with ${device.name}`);
              setConnectedDevice(device);
              setDevices(device);
              // console.log(device)
              device.services().then(async service => {
                // console.log(service)
              })

  })}

Does anyone know why I can't read the data? Is there something very wrong with my function...?
Thanks in advance!

@JamesOwen7 were you able to slove this issue, I am also facing the same issue. getting same error when trying to read data from Smart Weight Scale

i am also facing this issue is it solved?

I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.
If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.


False positive UnsupportedPythonVersion Error while installing from a virtual environment

While installing a package which requires a specific version of python3 to work, pipenv seems to raise a false positive unsupported error if pipenv is installed on python2 system.
More details here: https://github.com/aio-libs/aiohttp/issues/2843

You Pipenv version is way too old. The runtime detection has been significantly improved since then. Please upgrade.


Feature: Fluxcd App listing support  in devtron

🔖 Feature description
Currently in Devtron, Fluxcd Apps are not recognized or support is given yet.
🎤 Pitch / Usecases
This will improve the visibilty of  fluxcd apps in devtron for getting listed and also it will be convenient for user to have list in dashboard instead of typing the commands repeatedly.
🔄 Alternative
Some UI dashboard like capacitor support this, but its for the devtron user it will be more convenient to use in devtron integrated.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#9946

https://github.com/devtron-labs/devtron/pull/5528


Alcatel-Lucent(Nokia) router ssh connect timeout

I tried to use pyats to connect Alcatel-Lucent(Nokia) router but ssh timeouts. What is going wrong ?
my tb.yaml
devices:
    SR1-Services-Leaf2:
        os: sros
        type: sros
        connections:
            cli:
                ip: <IP_ADDRESS>
                protocol: ssh
            netconf:
                ip: <IP_ADDRESS>
                port: 830
        credentials:
            default:
                password: Nokia2018!
                username: admin

my script:
from genie.testbed import load
testbed = load("./tb.yaml")
dev = testbed.devices["SR1-Services-Leaf2"]
dev.connect(log_stdout = True, via="cli")

run log
(pyats) [sshanggu@atims1 bell.ca]$ python ./NokiaCLITest.py
[2020-02-13 15:25:19,427] +++ SR1-Services-Leaf2 logfile /tmp/SR1-Services-Leaf2-cli-20200213T152519425.log +++
[2020-02-13 15:25:19,427] +++ Unicon plugin sros +++

<EMAIL_ADDRESS>password:
[2020-02-13 15:25:19,496] +++ connection to spawn: ssh -l admin <IP_ADDRESS>, id:<PHONE_NUMBER>12000 +++
[2020-02-13 15:25:19,497] connection to SR1-Services-Leaf2

[]
A:admin@SR1-Services-Leaf2#
[2020-02-13 15:25:19,709] +++ initializing handle +++
//
INFO: CLI #2051: Switching to the classic CLI engine
*A:SR1-Services-Leaf2# Traceback (most recent call last):
  File "src/unicon/statemachine/statemachine.py", line 719, in unicon.statemachine.statemachine.StateMachine.go_to
  File "src/unicon/statemachine/statetransition.py", line 217, in unicon.statemachine.statetransition.StateTransition.do_transitions
  File "src/unicon/eal/dialogs.py", line 430, in unicon.eal.dialogs.Dialog.process
  File "src/unicon/eal/dialog_processor.py", line 300, in unicon.eal.dialog_processor.SimpleDialogProcessor.process
  File "src/unicon/eal/dialog_processor.py", line 259, in unicon.eal.dialog_processor.SimpleDialogProcessor.timeout_handler
unicon.core.errors.TimeoutError: timeout occurred:
              timeout value: 60
              last_command: '//\r'
             pattern: ['^A:SR1-Services-Leaf2(>.*)?#\\s?$']
             buffer:'//\r\nINFO: CLI #2051: Switching to the classic CLI engine\r\n*A:SR1-Services-Leaf2# '

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "src/unicon/bases/connection.py", line 623, in unicon.bases.connection.Connection.connect
  File "src/unicon/bases/routers/connection_provider.py", line 146, in unicon.bases.routers.connection_provider.BaseSingleRpConnectionProvider.connect
  File "/home/sshanggu/pyats/lib/python3.7/site-packages/unicon/plugins/sros/connection_provider.py", line 21, in init_handle
    timeout=con.connection_timeout)
  File "src/unicon/statemachine/statemachine.py", line 722, in unicon.statemachine.statemachine.StateMachine.go_to
unicon.core.errors.StateMachineError: Failed while bringing device to "classiccli" state

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./NokiaCLITest.py", line 7, in <module>
    dev.connect(log_stdout = True, via="cli")
  File "src/genie/conf/base/device.py", line 599, in genie.conf.base.device.Device.connect
  File "src/pyats/connections/manager.py", line 334, in pyats.connections.manager.ConnectionManager.connect
  File "src/unicon/bases/connection.py", line 629, in unicon.bases.connection.Connection.connect
unicon.core.errors.ConnectionError: failed to connect to SR1-Services-Leaf2
Failed while bringing device to "classiccli" state
(pyats) [sshanggu@atims1 bell.ca]$

Hi tahigash,
With regard to "" character at front of prompt, please refer to:
https://documentation.nokia.com/html/0_add-h-f/93-0070-10-01/7750_SR_OS_System_Basics_Guide/CLI Usage.html#2178948
( a “” appears in the prompt string indicating that the changes have not been saved)
The existing pattern:
'^A:SR1-Services-Leaf2(>.*)?#\s?$'
may I  suggested pattern:
'\?**A:SR1-Services-Leaf2(>.)?#\s?$'
or
r'^*?A:SR1-Services-Leaf2(>.*)?#\s?$'
Thanks,
sshanggu

Hi @sshuguan ,
Thanks for the doc. I've opened below pull request in unicon.plugins repo.
https://github.com/CiscoTestAutomation/unicon.plugins/pull/1
The fix will be in next release v20.3 (end of March). or once the PR is merged, the fix can be used by using latest source on GitHub. please let me know if we can close this issue.

assuming issue is fixed - please re-open if still there


only produce tensorboard logs on rank 0 by default

Stack from ghstack (oldest at bottom):

-> #339

For tensorboard metrics, we mostly care about loss, memory, wps/mfu. Loss is all-reduced so will be the same on all ranks; other metrics are likely to be very similar among all ranks. So by default it suffices to only do tb logging on rank 0 -- the straggler effect should be small for tb writes. User could always toggle on all-rank logging for debugging purposes.

Remove torch dependency in requirements.txt as it cannot work alone / is not used anyways. Currently we are suggesting users to install latest nightly in README, and do so in all the CI tests.

not sure why the 1D compile test is failing...


Fn-toggle stops working after some time

I'm afraid this issue has returned.
I'm using the latest version of TouchBarServer and I've noticed that the Fn key stops working after some time. It takes a lot longer now before it stops working (days even)..

me too

me too

found this, always work https://red-sweater.com/touche/

Thanks 😊

Il giorno 16 nov 2016, alle ore 04:33, おとめ座 ひなたぼっこ<EMAIL_ADDRESS>ha scritto:
found this, always work https://red-sweater.com/touche/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Could you check again with the latest version? Not much has changed for how the modifier presses are handled, but it does allow changing the toggle key.
Perhaps you could use control as a modifier key and see if it stops working after a while as well?
Also, I'm curious how to "make it work again". Does it require quitting and restarting TouchBarServer, or can you also disable and then re-enable the on-screen Touch Bar using the app's status menu?

Hello,
are you one of the developer?
I’ve download the 1.4 version two days ago.
It works fine, thanks!

I still can’t change the toggle key (no setting).
The touch bar still is not a real dock, so all the windows opened go above it.

Before the update when the touch bar server app didn’t work, I usually quit all the process relative to “touch bar” in activity monitor, or I simply restarted the Mac.
Hope to be useful.
All the best,
Mek Vox
Video Editor
<EMAIL_ADDRESS><EMAIL_ADDRESS>ELSE TEAR PRODUCTION
www.elsetearproduction.com http://www.elsetearproduction.com/

Il giorno 16 nov 2016, alle ore 20:34, Robbert Klarenbeek<EMAIL_ADDRESS>ha scritto:
Could you check again with the latest version? Not much has changed for how the modifier presses are handled, but it does allow changing the toggle key.
Perhaps you could use control as a modifier key and see if it stops working after a while as well?
Also, I'm curious how to "make it work again". Does it require quitting and restarting TouchBarServer, or can you also disable and then re-enable the on-screen Touch Bar using the app's status menu?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/bikkelbroeders/TouchBarDemoApp/issues/46#issuecomment-261047871, or mute the thread https://github.com/notifications/unsubscribe-auth/AWVyrKUOCzko6fCp-ox9rNZOOivWWPaxks5q-1q7gaJpZM4KwxF_.

Yes, @MekVox, I'm 1 of the developers. Let's please stay on topic and keep this issue about the Fn key not working anymore after some time, instead of other issues/feature requests. Please check the releases page for changelogs of each release. As you can see, v1.4 did not add the features you're asking about, we never claimed it did. As of v1.5, you can change the toggle key (see #28).
Thank you for the additional information. Why did you quit all the Touch Bar processes in Activity Monitor? Did a restart of the TouchBarServer app not work?

Ok thanks!
Yes for your last question the answer is yes 😊

Il giorno 17 nov 2016, alle ore 01:40, Robbert Klarenbeek<EMAIL_ADDRESS>ha scritto:
Yes, @MekVox, I'm 1 of the developers. Let's please stay on topic and keep this issue about the Fn key not working anymore after some time, instead of other issues/feature requests. Please check the releases page for changelogs of each release. As you can see, v1.4 did not add the features you're asking about, we never claimed it did. As of v1.5, you can change the toggle key (see #28).
Thank you for the additional information. Why did you quit all the Touch Bar processes in Activity Monitor? Did a restart of the TouchBarServer app not work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Just committed a fix for this. Build the latest source or wait until the v1.6 release.

Fantastic! Thanks again!
Are you going to improve the touch bar with the overlay function?
Thanks,
Mek Vox
Video Editor
<EMAIL_ADDRESS><EMAIL_ADDRESS>ELSE TEAR PRODUCTION
www.elsetearproduction.com http://www.elsetearproduction.com/

Il giorno 17 nov 2016, alle ore 15:45, Robbert Klarenbeek<EMAIL_ADDRESS>ha scritto:
Just committed a fix for this. Build the latest source or wait until the v1.6 release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/bikkelbroeders/TouchBarDemoApp/issues/46#issuecomment-261264997, or mute the thread https://github.com/notifications/unsubscribe-auth/AWVyrBT1k31B0QJyVTklr3-tv1JiUpxUks5q_GingaJpZM4KwxF_.


Update Readme.md

Adding missing path.

@lsalazar1 @nastacio
Looks like this was fixed by Liam's PR on Dec14th: https://github.com/IBM/cp4waiops-samples/commit/d1ed0616b5b14c74bb3f188bb4f61ba414cb52ee


Need icon for Crypto concurrency

What's "crypto concurrency"?

@LoganDark Like BitCoin, Ethereum, etc.

A general Crytocurrency Icon, not specific one.
On Tue, Jun 12, 2018 at 11:35 AM, Zihua Wu<EMAIL_ADDRESS>wrote:

@LoganDark https://github.com/LoganDark Like BitCoin, Ethereum, etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webkul/vivid/issues/2#issuecomment-396481071, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkJdWVO7PPO31R-8vAQo6tNL2gjo7zz-ks5t72EegaJpZM4Uifa_
.

Also I request icons for these
1- Blockchain
2- ICO
On Tue, Jun 12, 2018 at 12:21 PM, Shahid Karimi<EMAIL_ADDRESS>
wrote:

A general Crytocurrency Icon, not specific one.
On Tue, Jun 12, 2018 at 11:35 AM, Zihua Wu<EMAIL_ADDRESS>wrote:

@LoganDark https://github.com/LoganDark Like BitCoin, Ethereum, etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webkul/vivid/issues/2#issuecomment-396481071, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkJdWVO7PPO31R-8vAQo6tNL2gjo7zz-ks5t72EegaJpZM4Uifa_
.

I think currencies in general could be added. I propose icons for the following:

USD
Euro
GBP
Yen
Bitcoin
Litecoin
Ethereum

@lucifer1004 I know what a cryptocurrency is... but I was wondering about cryptoconcurrency. I was poking fun at a typo.

A generic icon for currency will be added.

Off-topic: wouldn't 'crypto concurrency' just be a multi-core CPU?


Refactored AppBar component

Issue #156

@hovoodd this looks great! I am going to test it tomorrow and most likely merge it


VSCode 1.33 two main bugs on Ubuntu 18.04

Here are the bugs i've been noticing on Ubuntu 18.04 even despite disabling extensions and changing to default settings.

Intellisense is EXTREMELY SLOW. for example, I will type 'hello' randomly in my typescript function and the red underline that should come up almost instantly takes nearly 7-8 seconds to see.
Saving files has a weird behavior. When i save, it will, for one second, be saved, but then unsaved again. Repeating this process to save around 3-4x will do the trick.

VSCode Version: 1.33
OS Version: Ubuntu 18.04.2 LTS

Steps to Reproduce:

Download Ubuntu 18.04.2 LTS
Open a typescript file in VSCode 1.33

By the lack of open issues about this has me worried that i'm an extreme edge case and that it has to do more with my machin than vscode, but please still check it out. It's been bugging me since 1.32

Does this issue occur when all extensions are disabled?: Yes/No
Yes
I have to revert my code to version 1.31 to have these issues mitigated. I say mitigated because i'm still having the saving issue on 1.31, but the intellisense is what it should be.

Hey @fc373745, can you also please make sure you have the latest version of @types/styled-components installed? See DefinitelyTyped/DefinitelyTyped#34391 for details, both of these issue may be caused by that

seems to be the solution. thanks!

was fine for one day, but all of the sudden its broken with the same problems again
also typing console.log auto imports import console = require("console"); to my file.
I have reverted back to 1.31
@types/styled-components is in its latest version

Sorry i didn't read thoroughly to the referenced issue, and upon further reading, i had to DOWNGRADE @types/styled-components to 4.5.1 which seems to solve it.

After playing around with the versions of typescript, @types/styled-components, and vscode, i have gotten the bugs with any of the combination of these
code 1.34
typescript 3.4.5, 3.3.4000,
@types/styled-components 4.1.11, 4.1.12, 4.1.15

any version of code 1.34 has a problem with matching with any of these dependencies
For some reason upgrading, downgrading typescript or @types/styled-components serves as an initial solution, but after a couple of hours, it will start to break down again (weird saving behaviors, extremely slow intellisense and typescript linting/checking)
The best way i can mitigate this is to downgrade code to 1.31 and it actually has the best result.
here is what i'm using.
code 1.31
typescript 3.4.5
@types/styled-components 4.1.11 (the latest - 4.1.15 will give me problems even in code 1.31)

Really weird things happening, might give up styled-components and go back to css modules after this :sob:

Duplicate of https://github.com/microsoft/TypeScript/issues/30819. Please try using the latest VS Code insiders build


Fix docker run command

The command as it stands will fail with "Gemfile not found". The working directory should be set to $(pwd) as well to start execution in the istio.github.io directory and find the Gemfile.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
Assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @deeglaze. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/assign @geeknoid

:( neither of these commands work for me actually. Without -w $(pwd) it
says "Gemfile not file", with it, it says Rakefile not found. Without rake
test, it sits there for a second and then quits quietly.
On Wed, Apr 25, 2018 at 11:22 AM, Yangmin<EMAIL_ADDRESS>wrote:

I just synced to this commit and used the command but seeing the following
error:
$ docker run --name istio-jekyll --volume=$(pwd):/srv/jekyll -w $(pwd) -it -p 4000:4000 jekyll/jekyll:3.7.3 sh -c "bundle install && rake test && bundle exec jekyll serve --incremental --host <IP_ADDRESS>"
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
(See full trace by running task with --trace)
I then tried the old command but it failed with the following error:
Running ["ScriptCheck", "LinkCheck", "ImageCheck", "HtmlCheck"] on ["./_rakesite"] on *.html...
Found 0 links in the cache...
Adding 359 links to the cache...
Removing 0 links from the cache...
Checking 359 external links...
Ran on 241 files!
HTML-Proofer finished successfully.
Configuration file: /srv/jekyll/_config.yml
Source: /srv/jekyll
Destination: /srv/jekyll/_site
Incremental build: enabled
Generating...
jekyll 3.7.3 | Error:  Permission denied @ dir_s_mkdir - /srv/jekyll/_site
I finally successfully ran the command with the following command (Added chown
-R jekyll /srv):
$ docker run --name istio-jekyll --volume=$(pwd):/srv/jekyll  -it -p 4000:4000 jekyll/jekyll:3.7.3 sh -c "bundle install && rake test && chown -R jekyll /srv  && bundle exec jekyll serve --incremental --host <IP_ADDRESS>"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio.github.io/pull/1201#issuecomment-384385922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq-HPZhENr9TGfOD20KAsw7CG5WK-Nrks5tsL7QgaJpZM4TjuA3
.


Activation Sparsity

Sparsity of activations in a model, at each timestep, for each sample in the testing set. Count the number of zeroes and divide by total number of possible activations (0.0 refers to no sparsity/all neurons activated, 1.0 refers to full sparsity/no neurons activated). A possible activation is any neuron activation that can theoretically happen.

I am trying to implement this metric and I have some questions about some implementation details.

Is the GPU-running supported now?
When running poetry run python neurobench/examples/dvs_gesture.py, the batch data preparation takes a lot time which makes the responsiveness poor. Can we accelerate it (maybe by putting it into gpu)?
The method net() in NeuroBenchModel has 4 surrounding underscores. Are there any reasons for this way of naming?

Is the GPU-running supported now?

Not as a whole, but models and data can be sent to GPU separately for now (can see example here)

When running poetry run python neurobench/examples/dvs_gesture.py, the batch data preparation takes a lot time which makes the responsiveness poor. Can we accelerate it (maybe by putting it into gpu)?

True, we did notice the batch preparation time is slow but we haven't gotten to addressing the issue yet.

The method net() in NeuroBenchModel has 4 surrounding underscores. Are there any reasons for this way of naming?

No very strong reason, do you suggest some different naming?

Conceptually, the activation sparsity (i.e. sparseness of neural activity in [1]) can be defined as average firing probability per time-step per neuron.
Following this definition, if we have the total_neuron_number of a SNN model and the total_number_of_spikes and number_of_time_steps for each sample, we can compute this metric as
	sparsity = total_number_of_spikes / (total_neuron_number * number_of_time_steps)

With hooks, the steps can be as followings:

Add an abstract class named NeuroBenchNetwork, inherited from nn.Module , with a method named neuro_layers to return all the neuron layers.

Add a method in the class of NeuroBenchModel to return all the neuron layers (i.e. all the PyTorch layers that emit spikes). It can call NeuroBenchNetwork.neuro_layers () to get all the neuron layers.

Define a class of Hook to collect all the output of such layers

class Hook():
def init(self, module):
self.outputs = []
self.hook = module.register_forward_hook(self.hook_fn)
def hook_fn(self, module, input, output):
    self.outputs.append(**output[0]**)

def close(self):
    self.hook.remove()

For each layer returned in step 1, register a forward hook (i.e. create a Hook object with each layer) in Benchmark.

After inference of a batch in Benchmark.run(), iterate each hook so that we can get total_number_of_spikes (number of output elements that are not zeros) and total_neurons(numbers total output elements, equals to total_neuron_number * number_of_time_steps).

[1] Yin, Bojian, Federico Corradi, and Sander M. Bohté. "Accurate and efficient time-domain classification with adaptive spiking recurrent neural networks." Nature Machine Intelligence 3.10 (2021): 905-913.


[Event Request] Table 39 Purchase Line - OnUpdateUnitCostAndAmountOnValidateLineDiscountAmount

Hi Team,
In Table 39 we need possibility to have our additional checks and/or avoid using standard code. Having event with handling on OnValidate trigger on field "Line Discount Amount" would be a perfect solution:

[IntegrationEvent(false, false)]
local procedure OnUpdateUnitCostAndAmountOnValidateLineDiscountAmount(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)

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.


Scalability discussion

Original issue: https://github.com/vuejs/vuepress/issues/2689

As some users were trying to use vuepress on large scale projects, there might be some scalability issues to be solved.
I'll update some concerns and testing results here.
Test results on real-world projects
1. https://github.com/zumasys/docs by @itsxallwater

total pages: ~2040

theme: not finished default theme

plugins: no

dev: ~80s

intialization and preparation: ~8s
webpack compilation: ~70s

build: ~200s

intialization and preparation: ~4s
webpack compilation: ~155s
pages rendering: ~40s

@itsxallwater
I got different result from https://github.com/vuejs/vuepress/issues/2689#issuecomment-725034732.
Also, found some issues of your site, which might work in vue 2, but fail in vue 3:
Invalid component usages
</PageFooter>

https://github.com/zumasys/docs/blame/master/site/mv-connect/mvdbtoolkit/mvdbtoolkit-config/README.md#L13

Wrapping some contents with <>
the <> won't be escaped and will be put into .vue SFC as is
<http://my.pickserver.com:8180/config>

https://github.com/zumasys/docs/blame/master/site/mv-dashboard/installation-guide/configuration/README.md#L11

which is translated to mean <CTRL>+G or CHAR(7)

https://github.com/zumasys/docs/blame/master/site/jbase/howto/create-terminal-definitions-for-jbase/modify-existing-terminfo-definition/README.md#L54

Obsolete HTML tag
<center>
...
</center>

https://github.com/zumasys/docs/blame/master/site/jbase/miscellaneous/multitenancy/README.md#L17-L25

I saw those other fails as well, we'll definitely get them cleaned up. Thanks for the work so far!

I saw those other fails as well, we'll definitely get them cleaned up. Thanks for the work so far!

In fact, those issues make your build failed, but our cli didn't terminate the process, so you thought it was stuck.

Closing as the original issue has been fixed in v2.


add $fill-buzzfeed color

We have a few places in dashboard where we map platforms (of which BuzzFeed is one) to solid colors. As we do more with BuzzFeed O&O stats, we need a BuzzFeed solid color.

that’s interesting as a social color. I’m not against it in particular, but a little unsure if it merits a new social color. How many places is the BF red used as a platform color and not a brand signifier?

@emilybrick check the screenie! It's contexts like this, where we're programmatically assigning colors to icons

I'm okay with this, could you add it to the documentation in mono as well?


add matchedLays and matchedBacks to streaming output

Coverage increased (+0.005%) to 95.144% when pulling fbe2a1f3479232bea407840b1df847b62db61a82 on task/369-output-matched-backs-lays into 525f916f7a9f40f858fa45916d65ae871ee266f1 on release/2.12.0.

Coverage increased (+0.005%) to 95.144% when pulling fbe2a1f3479232bea407840b1df847b62db61a82 on task/369-output-matched-backs-lays into 525f916f7a9f40f858fa45916d65ae871ee266f1 on release/2.12.0.


Upgrade flag handling, add new optimization flags

This gets flags like  -unspecified-to and -opt-undetermined-vals working.

bors r+


DataService->DownloadPDF causes PHP error when trying to download PDF for Invoice

I've been trying to setup my script to download invoice PDFs but I've run into an issue.
My code:
$this->data_service = DataService::Configure([
	'auth_mode' => $this->auth_mode,
	'ClientID' => $this->client_id,
	'ClientSecret' => $this->client_secret,
	'accessTokenKey' => $this->access_token,
	'refreshTokenKey' => $this->refresh_token,
	'QBORealmID' => $this->realm_id,
	'baseUrl' => $this->api_uri,
]);
$this->data_service->setLogLocation(TMP_DIR);
$entity = $this->data_service->FindById([REDACTED]);
$this->data_service->DownloadPDF($entity);

The code above throws this PHP error:

Warning: DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 1 in /var/www/vhosts/[REDACTED]/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php on line 307

Here's the SDK's Request log:

REQUEST URI FOR SEQUENCE ID 00032
https://quickbooks.api.intuit.com/v3/company/[REDACTED]/invoice/[REDACTED]/pdf?minorversion=8
REQUEST HEADERS
Authorization: Bearer eyJl[REDACTED]PMw
host: quickbooks.api.intuit.com
user-agent: V3PHPSDK4.0.0
accept: application/pdf
connection: close
content-type: application/pdf
content-length: 0
REQUEST BODY

and here's the SDK Response log:

RESPONSE URI FOR SEQUENCE ID 00033
https://quickbooks.api.intuit.com/v3/company/[REDACTED]/invoice/[REDACTED]/pdf?minorversion=8
RESPONSE HEADERS
Server: nginx
Date: Wed, 13 Dec 2017 01:23:33 GMT
Content-Type: application/pdf;charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Strict-Transport-Security: max-age=15552000
intuit_tid: bf65c64b-d7ce-7ce3-93f7-539ff658ae2c
QBO-Version: 1710.850
Cache-Control: max-age=0, no-cache, no-store, must-revalidate, private
Expires: 0
Service-Time: total=321, db=69
RESPONSE BODY
<?xml version="1.0"?>

Is this an implementation error on my end, in the SDK, or on Intuit's servers?

Hi.
It looks that your request body is empty which causes the response to also be empty. Check the value of $entity variable if it does contain invoice object.
i'm using similar code (sdk v4.0.1) and i get pdf. The only difference is that i get invoice with $this->dataService->Query("SELECT * FROM Invoice WHERE Id = '<invoice_id>'");

@ljudbane where does it download to so I can check too?

@donwilson i use the return of DownloadPdf() function.
$pdfTmp = $this->dataService->DownloadPDF($invoice);
rename($pdfTmp, 'mypath/for/invoices/invoice123.pdf');

Ah that works. Also using @$this->dataService->DownloadPDF($invoice); suppressed the error for me too.


Add config file handling in app

Read config file on startup and write upon reconfiguration. ~For the moment the location and whether to write are non-configurable.~
Resolves https://github.com/ssec-jhu/evolver-ng/issues/24
Also sneaks in a change to set host and port for http server via environment variables

@amitschang Also, I think the files should rep descriptors not just the config such that the file also has the classinfo so that when looking at a config file you know what model it's for.

@amitschang My approval doesn't count since I last contributed - I would just admin merge this.


[IMP] Add Allow to Create Order Line access rights

I have a case like that :

the screen is opened by the Manager with a generic user (ex pos1) that does not have the right to make an order (we want only real users to make an order)
the real user (ex John Doe) has to identify himself with a PIN code or a barcode to make an order.
When John Doe has finished his order, I comes back to the generic user (who has no PIN code)
Next waiter that uses the pos has to identify himself too

@ilmir-k review this update please


Telemetry - option_keys to include meltano options also

We currently collect most optional arguments like described in https://github.com/meltano/meltano/discussions/6036#discussioncomment-2892418:
$ meltano run --dry-run tap-gitalb target-jsonl
command = run
sub_command = None
option_keys = ["dry_run"]

$ meltano schedule set --job
command = schedule
sub_command = set
option_keys = ["job"]

$ meltano invoke something
command = invoke
sub_command = None
options_keys = []

We dont collect things like --log-level=debug or --environment=dev. It would be nice to know what CLI arguments are being used and not used.
cc @pandemicsyn @tayloramurphy this is low priority but we talked about it yesterday and wanted to log it.

👍 we can snag these as part of https://github.com/meltano/meltano/issues/6041 (referenced there too but definitely worth this explicit issue)

I do wonder if we'll want/need a hashed_options_values entry at some point that we use selectively/carefully. At least its an easy schema evolution if we do need it since its just an addition.

@pandemicsyn and @tayloramurphy - Per these comments, I'm removing this from our Engineering Assignments board, but with a mention in the description of #6041 that we can opportunistically solve this issue there if feasible.

@aaronsteers this actually was one of the bigger pieces that was fixed yesterday as part of https://github.com/meltano/meltano/issues/6041 , so gonna go ahead close.

@pandemicsyn can you cross-link the PR? Catching up from vacation and the context isn't clear here.


fix #12034: For the $set returned in advance, should judge whether there is …

…responsive processing.

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks but see https://github.com/vuejs/vue/issues/12034#issuecomment-826972311


⚠ Bofrost.at has degraded performance

In c1fa30d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1973 ms

Resolved: Bofrost.at performance has improved in 3dade0b.


Bump Django

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 83.838%

Files with Coverage Reduction
New Missed Lines
%

gnosis/eth/ethereum_client.py
1
81.44%

gnosis/safe/safe.py
1
87.7%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
3268

Relevant Lines:
3898

💛  - Coveralls


support multiple events within a single step

PR-Codex overview
The focus of this PR is to update the questStep model to include arrays for types and addresses, improve event handling in mapBlock function, and add new quest types.
Detailed summary

Updated questStep model to include arrays for types and addresses
Improved event handling in mapBlock function
Added new quest types and their configurations with multiple addresses and types

The following files were skipped due to too many changes: src/constants.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#7  👈
main

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

Join @zkSoju and the rest of your teammates on  Graphite

Merge activity

Sep 4, 1:44 AM EDT: @zkSoju started a stack merge that includes this pull request via Graphite.


mpw6 designs added

Signed-off-by: vijayank88<EMAIL_ADDRESS>Following MPW6 designs added to CI:
FPU_Bfloat_16
FPU_Single_Precision
FPU_half_precision
Ghazi_DFT
fossiAES
hp35_core
hsv_mixer
mpw6-leaf
mpw6_REST_II
mpw6_aes_rng
mpw6_alu_xor
mpw6_alu_xor4
patmos_chip
rng_chaos_scroll
spectrometer_hyperspace
yonga_modbus_controller

@vvbandeira
Earlier OpenLane tag used to take a hour to complete this 'UETRV_Ecore UETRV_Wishbone_InterConnect design. But now more than 8Hrs taking for Detail routing with latest tag. Its a MPW5 designs.
Can we comment from CI list and continue or move to unstable list?
I have another 6 design pending to push to CI from MPW6, its blocking my work.


LanguageExtension fails to execute condition

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about the bug
What goes wrong? Please describe the issue in as much detail as possible.
When i add AWS::LanguageExtension Serverless-2016-10-31 to my CFN i get an error at build indicating a missing map in response to a FindInMap function.
Which is true the map isn't there and should not be there. however the FindInMap should not be executed due to a condition placed on the resource. The CFN seems to execute all functions regardless.
This doesn't happen without the LangEx. Builds normally then.
Expected behavior
resource stack builds.
Observed behavior
resource stack reports error of missing map.
Test cases
Please include a minimal CloudFormation template here that reproduces the issue
Additional context
Anything else we should know?

Thanks for bringing this to our attention @tayodok! Will discuss this behavior with our team and will get back to you

Hi. I've figured out a solution that unblocks my issue. LangEx adds DefaultValue enhancement to FindInMap so providing this allows the mapping to execute.  i still question whether the behavior is optimal. going forward a default value will need to be provided for all uses of FindInMap to avoid executing null conditions.

The bugfix has rolled out to all regions and this issue is now resolved

Possibly related:
There was an error creating this change set
Transform AWS::LanguageExtensions failed with: Condition layout is incorrect

The Conditions:
Conditions:

  # If you set the desired count of a service to be 0 or 1, then it means
  # that this service does not support auto scaling.
  ScalingSupported:
    Fn::Not:
      - Fn::Or:
          - !Equals [ !Ref DesiredCount, "0" ]
          - !Equals [ !Ref DesiredCount, "1" ]

  # Check if command exists
  CommandExist: !Not [ !Equals [!Ref Command, '']]

  # Check if secure environment variables are defined
  SecureEnv1Exist: !Not [ !Equals [!Ref SecureEnv1, '']]
  SecureEnv2Exist: !Not [ !Equals [!Ref SecureEnv2, '']]
  SecureEnv3Exist: !Not [ !Equals [!Ref SecureEnv3, '']]

  # Check if HTTP
  IsHTTP: !Equals [!Ref Protocol, 'http']

  # Check if None
  IsNone: !Equals [!Ref Protocol, 'none']

  # Check if service needs public access
  RequiresPublicAccess: !Equals [ !Ref AccessType, "Public" ]

  # Check if service needs internal access
  RequiresInternalAccess: !Equals [ !Ref AccessType, "Internal" ]

  # Check if this service requires an ALB
  # A service requires an ALB if it requires either public or internal access
  RequiresLoadBalancer: !Or
    - !Condition RequiresPublicAccess
    - !Condition RequiresInternalAccess

  # Check if service requires target group.
  # A service requires a target group only if:
  # - It needs public OR internal access
  RequiresTargetGroup: !Or
    - !Condition RequiresInternalAccess
    - !Condition RequiresPublicAccess

  PagerdutyIntegrationEnabled:
    Fn::Not: [ !Equals [ !Ref "PagerdutyIntegrationUrl", "disabled" ] ]

  # Check if sidecar init container is required
  RequiresSideCarInitContainer:
    Fn::Not: [ !Equals [ !Ref SSMSecrets, "" ] ]

Any idea?


Hide number spinner in firefox browsers.

I have added the css for hiding the spinner appearing on input type number specific to firefox browser.
Tested in Firefox 57.0 (64-bit).

I signed the CLA agreement!!!

Thanks guys, that was my first ever contribution to this project and Open Source world in general!!!


Fix #112 - Support vendoring URL resources

Fix #112 — Add a new url source to the vendor collection.
cc @anowak-r7 @vchaudhari-r7 Internally you guys may be able to use this to pull resources into your AMI using a buildfile like we do for regular services. I'll ping you more specifically in our private chat (vs. this open source issue).

Note, I haven't tested these changes yet. I'll hop on that later today.

Validated these changes using the following changes to my Gemfile/Buildfile and running bundle exec build prepare:
diff --git a/Buildfile b/Buildfile
index df5675f..96ca867 100644
--- a/Buildfile
+++ b/Buildfile
@@ -3,6 +3,11 @@ build_number ENV.fetch('BUILD_NUMBER', 0) ## From Jenkins

 autoversion.create_tags true

+vendor 'example.config.xml' do |v|
+  v.url 'https://github.com/rwilliams-r7/ignite/raw/765d1c4fd6135a435570a023ce6c698c7e6f28f0/example.config.xml'
+end
+puts vendored('example.config.xml')
+
 cookbook.depends 'rapid7-ignite' do |cookbook|
   # See: https://github.com/rapid7/chef-rapid7-consul/blob/master/Buildfile#L10-L13
   if ENV['BAKING']
diff --git a/Gemfile b/Gemfile
index a66d943..2f11aef 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,3 +1,3 @@
 source 'https://rubygems.org'

-gem 'builderator', '~> 1.0'
\ No newline at end of file
+gem 'builderator', github: 'erran/builderator', branch: 'issue-112/support-vendoring-files-by-url'

$ head .builderator/vendor/example.config.xml
<?xml version="1.0" encoding="UTF-8"?>

<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at


FnApiMonitoringInfoToCounterUpdateTranformer with User counters

User counters were refactored to use urn and counter name as label. Patching urn matching logic in FnApiMonitoringInfoToCounterUpdateTransformer.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@ajamato @pabloem

Run Python PreCommit

This looks fine to me. LMK if I should merge.

The change is pretty straightforward, so please merge.