encoding_test: Compare unmarshalled set in maps

Golang's maps do not have any order guarantee when copying or iterating.
That's not usually a problem when you compare their JSON representations
because assert.JSONEq uses reflect.DeepEqual which takes this into
account
However, in this case, the unmarshalled represetation of the map is
actually a slice, whose ordering does matter.
Therefore, a more robust comparison would be to use
assert.ElementsMatch()
Fixes #73
Signed-off-by: Adrian Moreno<EMAIL_ADDRESS>

Coverage remained the same at 76.932% when pulling 3edcf159796a2a49c98cf1cf8853a5c36ded21f2 on amorenoz:encoding into f72596d8d9cb062b45946723b1a92c14fcf11a3d on socketplane:main.


Navigator 2.0 Remaining Work

[x] Integrate Navigator 2.0 with the web engine (https://github.com/flutter/flutter/issues/64494), PR: https://github.com/flutter/engine/pull/20794
[ ] Integrate Navigator 2.0 and state restoration for the web

dependent on https://github.com/flutter/flutter/issues/62916

[ ] examples, codelabs, tutorials (https://github.com/flutter/flutter/issues/63429)

/cc @johnpryan @chunhtai

In a discussion with @mdebbar, @yjbanov, and @chunhtai we decided to punt on #65777. We believe that if users really need to restore state, they can do so manually for now by adding stuff to the history entry (just like you can do in other web frameworks or native web as well, so this is not a regression in Flutter). If we receive feedback that people would like to see this done by the state restoration framework, we can revisit that decision and implement #65777 at a later point. At that point, we will also have to solve https://github.com/flutter/flutter/issues/33615.

Had a conversation with @johnpryan , Our currently plan is to post a blog post about how to use the router widget, and there is no plan to provide opinionated class at this time.
That means we will have a several code samples along with a tutorial blog post, and the stock app rewrite with the Router. @csells Is there anything else that is required to release the Router?

@chunhtai is the Router approach going to be the recommended one? What about simple Pages API approach where we would just provide a list of pages to the Navigator. Would you also describe this in the blog post as an alternative? From the discussions with folks after the meetup people seem to feel much more comfortable with just Pages API.

@orestesgaolin Yes we will recommend Router. In the case where developer only wants to use page API, we should make the Route information parsing in Router API optional. For example, something like this should work
import 'package:flutter/material.dart';
void main() {
  runApp(MaterialApp.router(routerDelegate: MyRouterDelegate(),));
}

class MyRouterDelegate extends RouterDelegate<void> with ChangeNotifier, PopNavigatorRouterDelegateMixin {
  @override
  GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
  @override
  Future<void> setNewRoutePath(void data) => Future<void>.value(null);

  @override
  Widget build(BuildContext context) {
    return Navigator(
      key: navigatorKey,
      pages: <Page>[MaterialPage(builder: (BuildContext context) => Placeholder())],
      onPopPage: (_,__) =>false,
    );
  }
}

This is currently not working because the RouteInformationParser is a required parameter. We should probably update that.

@orestesgaolin The main reason to use Router is to handle routes from the host platform. If you just want to have declarative navigation, then using the pages API alone should work.


add Draw{RDKit,Morgan}Bits

Nice suggestion from @PatWalters

As a reference, here's what this can do:
https://gist.github.com/greglandrum/e7a93084c93f3db537325a61fa24fd40


bad password

hi, i have added the secret for the repo with the right name and given the secret value as password but still it gives me bad password while i'm entering same password i have saved as secret

Hi @jamiekarvans
Are you sure the secret name is correct and you have no typo in the password?
Also try to update the repo by committing a new change and pushing. This will rebuild the site and use the current password.

Yes I have already updated the HTML file for index and pushed the update, I
have received an error message while GitHub was building the environment I
guess. I will do that again tonight and will send you the error message.
On Sun, Jun 4, 2023, 9:51 AM Alex Naumann @.***> wrote:

Hi @jamiekarvans https://github.com/jamiekarvans
Are you sure the secret name is correct and you have no typo in the
password?
Also try to update the repo by committing a new change and pushing. This
will rebuild the site and use the current password.
—
Reply to this email directly, view it on GitHub
https://github.com/a-nau/password-protected-website-template/issues/4#issuecomment-1575419213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQRGDFDRCATSLQ6GA7TSG7DXJQSPFANCNFSM6AAAAAAYZBKZYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@jamiekarvans does the issue persist?

no, it is working.  thanx
On Wed, Jul 5, 2023, 06:09 Alex Naumann @.***> wrote:

@jamiekarvans https://github.com/jamiekarvans does the issue persist?
—
Reply to this email directly, view it on GitHub
https://github.com/a-nau/password-protected-website-template/issues/4#issuecomment-1620936058,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQRGDFE7CZC5DTTWQIWUUVDXOTHXBANCNFSM6AAAAAAYZBKZYA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Cool, thanks for the update!


AMC Networks | HTTP Error 401: Unauthorized

[X] I've verified and I assure that I'm running youtube-dl 2017.11.15
[X] At least skimmed through the [README](https://github.com/rg3/youtube-
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Unable to download from AMC Networks
youtube-dl -v --ap-mso Comcast_SSO --ap-username REDACTED --ap-password REDACTED -o '~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s' http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'-o', u'~/Movies/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s - %(title)s.%(ext)s', u'http://www.amc.com/shows/the-walking-dead/full-episodes/season-08/episode-05/the-big-scary-u']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.15
[debug] Python version 2.7.14 - Darwin-17.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[AMCNetworks] the-big-scary-u: Downloading webpage
[AMCNetworks] the-big-scary-u: Downloading JSON metadata
[AMCNetworks] V1uio7Ft7ton: Downloading Provider Redirect Page
[AMCNetworks] V1uio7Ft7ton: Logging in
[AMCNetworks] V1uio7Ft7ton: Retrieving Session
ERROR: Unable to download webpage: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 506, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2196, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Most likely a duplicate of #11538. Comcast_SSO is not always working as of now.


Add e2e tests for map

Closes #205

Posted an issue in the playwright github actions repo to see why the target can't be found in Firefox Desktop. We'll see what they have to say.


Game crashes after renaming city

After giving city a short name (e.g. R), and exiting and entering the city repeatedly, eventually the game crashes. Strangely this didn't happen when I gave it a longer name (or it could be I just didn't test it often enough).

I am unable to reproduce this, do you have any more details on how to reproduce? Did you see an error message?
Maybe, in order to catch the error, you need to open a command prompt and run the game from there:

Here's a screenshot of what I get after error & zip file.
settings.zip

Tried it few more time and again this happens only with short city names. Rename a city with 1 or 2 characters and try exiting & entering city a few times. This is when the crash happens.

It happens when you have a unit from a short city name in the city. I can fix it. Thank you!


Stuck at [mason-lspconfig.nvim] installing sumneko_lua

Describe the bug
nvim never gets past "[mason-lspconfig.nvim] installing sumneko_lua"

To Reproduce
Steps to reproduce the behavior:

Start clean
Copy the repo's init.lua in ~/.config/nvim/
Start nvim

Exit nvim and start it again
This is the last status message displayed.

Exit nvim and start it again.
Never gets past this

Desktop (please complete the following information):

OS: Ubuntu 22.04 in WSL2 on Windows 11
Terminal: Windows Terminal

** Neovim Version **
:version
NVIM v0.8.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by runner@fv-az190-151

Features: +acl +iconv +tui
See ":help feature-compile"

  system vimrc file: "$VIM/sysinit.vim"
 fall-back for $VIM: "/share/nvim"

I would check the mason.log file to see if there are any error messages. It should be located here: $HOME/.cache/nvim/log

Hey ysiivan
I experienced the same issue on my WSL install of Debian. After a bit of digging I realized that I needed a tool called unzip to install the lsp which I installed with
# sudo apt install unzip

After that it installed just fine.
Hopefully this solves the issue for you!

@redonaghy
Thank, but unzip is already installed

@seantwie03
Indeed a Mason issue. By default it connects to a proxy repository, access to which is blocked by my corporate watchdog appliance.  Other users are reporting the same for their corporate networks.
The solution is to config Mason not to use its intermediate repo.
    -- The provider implementations to use for resolving package metadata (latest version, available versions, etc.).
    -- Accepts multiple entries, where later entries will be used as fallback should prior providers fail.
    -- Builtin providers are:
    --   - mason.providers.registry-api (default) - uses the https://api.mason-registry.dev API
    --   - mason.providers.client                 - uses only client-side tooling to resolve metadata
    providers = {
        "mason.providers.client",
    },


Create service catalog endpoint

when the broker receives PUT /v2/catalog, must return a response matching the specification HERE

Let's make the catalog configurable similar to how we did it for the initial release. Below is a yaml example of the catalog spec from the earlier version of the broker. We can make the config part of the json configuration we already pass to the broker:
---
- type: replace
  path: /instance_groups/name=docker/jobs/name=cf-containers-broker/properties/services/-
  value:
    name: 'eth'
    id: '24736f4a-72b8-4298-96f7-b48c4045ddfd'
    description: 'Ethereum Geth Node'
    bindable: true
    tags:
      - 'eth'
      - 'geth'
    metadata:
      displayName: 'Geth 1.8'
      longDescription: 'Geth Node'
      providerDisplayName: 'Cloud Foundry Community'
    dashboard_client:
      id: docker-broker-eth
      secret: ((docker-broker-eth-secret))
    plans:
    - id: 'd42fc3cc-1341-4aa3-866e-01bc5243dc2e'
      name: 'free'
      container:
        backend: 'docker'
        image: 'nimak/eth-dev'
      description: 'Free Trial'
      metadata:
        costs:
          - amount:
              usd: 0.0
            unit: 'MONTHLY'
        bullets:
          - 'Dedicated Geth Node'


franz: 5.5.0 -> 5.6.1

Motivation for this change
Update to Franz 5.6.1.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 104046 run on x86_64-linux 1

2 packages built:

ferdi
franz


What is the license?

Hello,
Great work!
What is the license of the project?

Hi, thanks for asking! Just included the MIT licensing in the repo.


how to use custom shaders?

hi how can i use cutom fragment shaders? as far as i can see i can only pass a custom colorMatrix toaddFilter. suppose i want to achieve bloom effect how can i go about it?

Currently, there's no built in API to define custom shaders from the outside. However, you can easily add a new filter in the source. I.e.:
	filter.bloom = function( bloomSize ) {

		var program = _compileShader(_filter.bloom.SHADER);
		gl.uniform2f(program.uniform.bloomSize, 0, bloomSize);
		_draw();
	};

	_filter.bloom.SHADER = [
		'precision highp float;',
		'uniform float bloomSize',
		...
	];

I'll happily accept pull requests for a bloom shader!

@phoboslab thankyou, I will work on it and give a PR.

being able to declare custom shaders from the outside could introduce another benefit:
we could move the filter implementations out of the main library, and that would mean not needing to pull in every filter when using this library somewhere (i.e., I only use 2 filters in my site/app, I wouldn't need to pull in 250 lines of code that are baked into WebGLImageFilter and never used.)


Exclude cancelled TO order items

Current behavior
Currently if a TO order item is marked as cancelled, it still appears on the TO detail page and able to create a buggy shipment for the same.
Expected behavior
Cancelled order items should not come.
Steps to reproduce the issue

Can you handle fixing this bug by yourself?

[ ] YES
[ ] NO

Environment details

Browser:
OS:
Code Version:

Additional information

Issue verified in release v2.9.0, and it was found that when a user attempts to search for a cancelled TO order item, it gets successfully scanned, and the "Create Shipment" option becomes enabled for the scanned item.
Hence, reopening this issue.
https://jam.dev/c/ee947a5c-fdea-453b-bb77-17933f8b401f

Verified and working fine in release v2.9.3. Hence, closing this issue.


Created project plan builder draft

Project Plan Builder
Issue Number(s): #8
Added Project Plan Builder page with basic functionality
Checklist

[ ] Project Plan Builder page created
[ ] Cards are searchable
[ ] Handler + Button created to export selected cards
[ ] Cards are selectable
[ ] Created separated logic for text filtering
[ ]  Database schema docs have been updated or are not necessary
[ ]  Code follows design and style guidelines
[ ]  Code is commented with doc blocks
[ ]  Tests have been written and executed or are not necessary
[ ]  Latest code has been rebased from base branch (usually develop)
[ ]  Commits follow guidelines (concise, squashed, etc)
[ ]  Github issues have been linked in relevant commits
[ ]  Relevant reviewers (Senior Dev/EM/Designers) have been assigned to this PR

Critical Changes

Search-bar component has custom hook (useTextFilter()) for text-filtering logic

API calls weren't working from my branch; may need help with setting up mongodb on my machine.
Also, db .env file isn't in the gitignore


[AMD | VR-Tek WVR2] vrcompositor searches for resolution at incorrect orientation resulting in Direct Mode failure

VR-Tek being the funky wacky HMD it is has an internal resolution of 1440x2560, that being width by height. When SteamVR is started, vrcompositor attempts to search for the same resolution, but inverted (i.e., 2560x1440) and results in being "unable to find a Direct Mode compatible resolution". Currently using the master branch of SteamVR-OpenHMD and the master branch of OpenHMD. Here's a snippet of the log:
Mon Aug 31 2020 08:52:57.000914 - HMD deviceUUID is 7c4734bb84d31201
Mon Aug 31 2020 08:52:57.000959 - Looking for direct display through RandR
Mon Aug 31 2020 08:52:57.000978 -  - Root 0x5b1
Mon Aug 31 2020 08:52:57.419875 -    - Output 0x42 - 67 modes, 1 preferred
Mon Aug 31 2020 08:52:57.420012 -      - Mode 0 0x4a 1366x768 (looking for 2560x1440)
Mon Aug 31 2020 08:52:57.420529 -    - Output 0x43 - 0 modes, 0 preferred
Mon Aug 31 2020 08:52:57.420957 -    - Output 0x44 - 2 modes, 1 preferred
Mon Aug 31 2020 08:52:57.421071 -      - Mode 0 0x8d 1440x2560 (looking for 2560x1440)
Mon Aug 31 2020 08:52:57.421219 -    - Output 0x45 - 0 modes, 0 preferred
Mon Aug 31 2020 08:52:57.421889 -    - Output 0x46 - 0 modes, 0 preferred
Mon Aug 31 2020 08:52:57.422062 -    - Output 0x47 - 0 modes, 0 preferred
Mon Aug 31 2020 08:52:57.422204 -    - Output 0x48 - 0 modes, 0 preferred
Mon Aug 31 2020 08:52:57.422273 - Tried to find direct display through RandR: (nil)
Mon Aug 31 2020 08:52:57.422321 - Looking for direct display through Vulkan WSI
Mon Aug 31 2020 08:52:57.422371 - Tried to find direct display through Vulkan WSI: (nil)
Mon Aug 31 2020 08:52:57.422414 - CHmdWindowSDL: Failed to create direct mode surface

The thing I'm not sure about is if it's an issue with SteamVR, OpenHMD, or this here bridge for the two. Sorry in advance if this is in the wrong repository.

I just opened up the vrtek.c file from the OpenHMD source, and they have a commented line that states that the user is expected to have rotated their HMD display by using the command xrandr --output HDMI-A-1 --rotate left. It seems pretty unfair to only include that in commented code in an obscure C-file that a non-developer would never dare touch, but that's what they propose. Might be good to put that in the docs if it isn't in there already.

So openhmd does not provide display rotation information at the moment. The projection matrices it provides do transparently rotate the images appropriately (I believe for the WVR2 this is the case but not 100% sure right now).
SteamVR-OpenHMD has some dodgy code to extract the rotation from the projection matrix, and rotates the images in the distortion code https://github.com/ChristophHaag/SteamVR-OpenHMD/blob/f3840280d99208bc58edd6c55cd134d2e199b3d4/driver_openhmd.cpp#L676-L690.
Now the issue is that we have to tell SteamVR about the rotated orientation of the display so it searches for the right resolution. I am pretty sure this is possible, for example the DK2 had a rotated display too. If nowhere else, the solution may be found in OSVR-Oculus-Rift + SteamVR-OSVR.
Once we figure out how to tell SteamVR about the display rotation we may have to remove the rotation hack from the distortion function because it's possible that SteamVR can handle it internally.
But we should make sure it also works with more exotic rotations like the LG 360 which I believe has the left display rotated 90° counter clockwise and the right display 90° clockwise.

I used to have the Windows drivers for this VR-Tek headset. I wonder if it does it through the VR settings JSON...

https://developer.valvesoftware.com/wiki/SteamVR/steamvr.vrsettings Valve has entries for driver sections in here that allow to specify width and height, but I'm not sure about rotation. However, I have noticed that when the output is manually rotated clockwise, it seems to have the two halves of the screen rotated counter-clockwise in each respective eye. It's working with a really cursed matrix for sure.

As expected, rotating the HMD display allows it to display to the HMD. However, SteamVR still reports that Direct Mode is disabled. It's possible I missed a step during setup, but I can't quite make out why this is occurring. I'm gonna take a more thorough look through the logs and attach anything that might shed some light.

https://github.com/ValveSoftware/SteamVR-for-Linux#known-issues

The VR status window isn't currently aware of direct mode being enabled or not, so the "enable direct mode" and "disable direct mode" buttons should not be used; direct mode is automatically enabled where supported


[Issue ] Responsiveness issue with YouTube video element in hero page

Description:
This issue is related to the "Moksh" website. When viewing the website on smaller devices, there are responsiveness issues with the YouTube video element present in the hero page. The video element does not adapt properly to smaller screen sizes, leading to layout problems and potential content overflow.
To provide a better user experience, it is necessary to address this responsiveness issue and ensure that the YouTube video element scales appropriately on smaller devices.
Labels: bug, GSSoC
Additional Information:
I would like to work on this issue and contribute to its resolution.

some are working on it


Add annotations to service on helm chart

Hey just simple PR to add the ability to annotate service of kminion.
Let me know what you think.

@rjmasikome Looks good to me, can you add a default (possibly commented?) in the values.yaml?

@weeco thanks! Default added, I will merge this PR and proceed in closing it


[2.5] Backport: Update rancherd to point to rke2 v1.18.12+rke2r1

https://github.com/rancher/rancher/pull/30178


keyboard shortcut: [Equal] is mistaken for V

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.75.0, e2816fe719a4026ffa1ee0189dc89bdfdbafb164, x64
OS Version: Ubuntu 22.04.1 LTS (Jammy Jellyfish)

Steps to Reproduce:

Update VS Code (for me, it was from 1.74.1 to 1.75)
Just look at your custom keyboard shortcuts (e.g. edit keybindings.json)

I was literally unable to copy-paste inside VS Code because pasting was also ctrl+v..

superseeded by #173325


proc macro panicked CompositeTemplate

When compiling from master I get the following errors:
   Compiling gtk4 v0.7.3
   Compiling lact-gui v0.5.0 (/home/user/LACT/lact-gui)
error: proc macro panicked
  --> lact-gui/src/app/info_row.rs:32:14
   |
32 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 5 column 10:
              5 |template $InfoRow: Box {
                |         ^

error: proc macro panicked
  --> lact-gui/src/app/page_section.rs:37:14
   |
37 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PageSection: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

Full logs with more errors like above
   Compiling gtk4 v0.7.3
   Compiling lact-gui v0.5.0 (/home/user/LACT/lact-gui)
error: proc macro panicked
  --> lact-gui/src/app/info_row.rs:32:14
   |
32 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 5 column 10:
              5 |template $InfoRow: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/page_section.rs:37:14
   |
37 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PageSection: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/info_page/vulkan_info/feature_window/row.rs:31:14
   |
31 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $VulkanFeatureRow: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/info_page/vulkan_info/feature_window/mod.rs:38:14
   |
38 |     #[derive(CompositeTemplate, Properties, Default)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $VulkanFeaturesWindow: Window {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/oc_page/gpu_stats_section.rs:85:14
   |
85 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $GpuStatsSection: $PageSection {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/oc_page/power_cap_section.rs:44:14
   |
44 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PowerCapSection: $PageSection {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/oc_page/power_states/power_state_row.rs:37:14
   |
37 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PowerStateRow: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/oc_page/power_states/power_states_frame.rs:80:14
   |
80 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PowerStatesFrame: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/oc_page/power_states/power_states_list.rs:94:14
   |
94 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $PowerStatesList: Frame {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc macro panicked
  --> lact-gui/src/app/root_stack/software_page.rs:48:14
   |
48 |     #[derive(CompositeTemplate, Default, Properties)]
   |              ^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: error: Could not determine what kind of syntax is meant here
           at <stdin> line 4 column 10:
              4 |template $SoftwarePage: Box {
                |         ^

   = note: this error originates in the derive macro `CompositeTemplate` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `lact-gui` (lib) due to 10 previous errors

The errors look like #210 but I here's no mention of blueprint-compiler and I have that installed.
Ubuntu 22.04
rustc 1.70.0 (90c541806 2023-05-31)
cargo 1.70.0

The blueprint-compiler version shipped with ubuntu 22.04 is too old. You can install a deb file of a newer version, here's how it's done for the package builds: https://github.com/ilya-zlobintsev/LACT/blob/master/pkg/recipes/lact/recipe.yml#L30

Done: https://github.com/ilya-zlobintsev/LACT/commit/7e2791e79ae4fbbd587780d0c7766acb89adbe9d


Feature: Add a Scroll "Progress Indicator Bar"

Describe the Feature
Hey @Tejashri-Taral,
I want to add a Scroll Down Progress Bar to the website.
Feature Description:
This feature adds a progress bar that visually indicates the user's scroll progress as they move down the page. It enhances the user experience by providing a clear visual cue of their current position on the page and how much content is left to be viewed.
Benefits:

Improves user engagement by offering a sense of progression.
Offers a better navigation experience for longer pages with substantial content.

 But in this website feature bar is not working / Clickable I want to improve this please assign me this issue.


🐛 BUG: unstable_dev inspect and inspector_port appear not to work

What version of Wrangler are you using?
2.6.2
What operating system are you using?
Windows
Describe the Bug
describe('UnstableDevWorker', () => {
	let worker: UnstableDevWorker
	let base: string

	beforeAll(async () => {
		worker = await unstable_dev(
			'src/worker.ts',
			{ inspect: true, inspectorPort: 39929 },
			{ disableExperimentalWarning: true }
		)
		base = 'http://' + worker.address + ':' + worker.port
	})

netstat never shows 39929 opening even when pausing the debugger or leaving a long wait in the test. This is preventing me from debugging inside of unstable_dev and makes it much less useful. I use hono router in front of it and tend to use that instead so I can debug inside the "worker" itself, I would like to be able to use unstable_dev in vscode for this however
Success Criteria
Be able to set a breakpoint within Visual Studio code using a test in vitest with unstable_dev and have it pause on the breakpoint inside the worker when calling fetch

If you could provide a minimal repro that would help immensely, to get to it sooner.

We're going to close this for now, but feel free to comment here with a minimal reproduction and we can investigate further. It's also possible this has been fixed in recent versions of Wrangler, as unstable_dev is undergoing fairly active development.

Hi @penalosa , Commented on wrong issue before.I am actually running into the same issue. The reproduction is quite simple. This is on wrangler 3.4
await unstable_dev('index.ts'), {
        port: 42000,
        local: true,
        inspectorPort: 42001,
        inspect: true,
        compatibilityDate: "2023-03-14",
        logLevel: "debug",
        experimental: {
            disableExperimentalWarning: true,
            watch: false
        }
    });
await server.start();

Trying to connect using devtools will not work. Running netstat -an | findstr :42001 shows no active connections.
I am trying to see where unstable_dev and the regular startServer diverge. But perhaps you know where to look.

As an update, using Wrangler v3 and this configuration, should work fine:
https://github.com/cloudflare/workers-sdk/discussions/4174

@penalosa still having this issue, here is a repro:
inspectorPort does not actually open the port when requested.
Test (vitest)
import { describe, expect, it } from 'vitest'
import { unstable_dev } from 'wrangler'

describe('Unstable Dev No Inspector Test', () => {
	it('should open inspect on custom port', async () => {
		const worker = await unstable_dev('src/worker.ts', {
			inspect: true,
			inspectorPort: 10000,
			ip: '<IP_ADDRESS>', //Just to make sure IPv6 isn't used
		})

		console.log(worker.address)
		console.log(worker.port)
		const x = await worker.fetch('index.json')
		expect(true).toBeTruthy()
	})
})

Notes

wrangler dev works fine

Fixed by: https://github.com/cloudflare/workerd/issues/1408


Skip some macro-related code processing if there are no macros

Considering #1503, maybe we ought to check if there even were any macros in the code before running some of the related post-processing like removeExtraBrackets and constants processing? I'm thinking specifically of everything in the function below this line:
https://github.com/nimble-dev/nimble/blob/f9df240a477a6f0a59dc6b5602f6af5e556d34c1/packages/nimble/R/BUGS_macros.R#L410
It seems like processMacrosInternal could return a TRUE/FALSE if it found any macros and only run the following code if TRUE.
That way if there are any future bugs in the post-processing code they would only affect models with macros and not models in general.
@perrydv @paciorek

Yes, I like this idea for robustness in general and was about to suggest something along these lines this morning and then forgot.


Huge drop in performances when setting custom clusterContent or clusterItemContent with many items

Hello,
While using the Clustering in the com.google.maps.android:maps-compose-utils:2.13.0 library, if I customize the clusterContent or clusterItemContent, I have a huge drop in performances with 100+ items.
Even for a simple composable as the one below, the app stutter when I move on the map, but I don't have any problem if I leave clusterContent and clusterItemContent to null.
     clusterContent = { cluster ->
             Surface(
                 Modifier.size(40.dp),
                 shape = CircleShape,
                 color = Color.Blue,
                 contentColor = Color.White,
                 border = BorderStroke(1.dp, Color.White)
             ) {
                 Box(contentAlignment = Alignment.Center) {
                     Text(
                         "%,d".format(cluster.size),
                         fontSize = 16.sp,
                         fontWeight = FontWeight.Black,
                         textAlign = TextAlign.Center
                     )
                 }
             }
         },

Thanks!

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@AdrienDruesne Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

Same here, it's making the app freeze and being unusable at the moment.
But even when using the default cluster+item config it's not working when adding 1000+ (clustered) markers

to replicate - just increase the cluster count of the ClusterSample to e.g. 4000
lot's of GC happening according to logs and screen is freezing.

would it be possible to expand clusters only for the visible viewport? - seems like it's currently expanding on zoom level - adding lot's of individual markers on areas that are potentially not viewed at all

This seems to be a problem with the clustering utility, not specifically a Compose Utils problem. Underlying issue reported here: https://github.com/googlemaps/android-maps-utils/issues/1199

I am also facing this issue, is there any workaround to this?

It seems that selecting NonHierarchicalViewBasedAlgorithm would implement @cwsiteplan's suggestion to only render the items within the current viewport. Can anyone verify that this helps with a large number of items? See demonstration in #463. @AdrienDruesne @Anas304

Is there a way to set the NonHierarchicalViewBasedAlgorithm without creating a CustomClusterManager?
I want to continue using this Clustering constructor

But I don't know how to set NonHierarchicalViewBasedAlgorithm in this case.
At the moment I still having this problem


Changed implementation of current EmbeddedPrompt to IPromptSupplier w…

…ith dependency injection

Motivation and Context (Why the change? What's the scenario?)
resolves #110
High level description (Approach, Design)
The current EmbeddedPrompt has been replaced by a new implementation with the IPromptSupplier interface and thus also DepndencyInjection.

@microsoft-github-policy-service agree

@lecramr thanks for the PR! I made a few changes mostly in the memory builder, and added an example. Let me know if this is still in line with your idea - LGTM

Great, I have looked at your changes and like them very much! Many thanks for the quick feedback and for the revision.


basic game page layout with some static values pulled from db

[X] generate some base values for a game and hand model
[X] need a dice model, shouldn't be too difficult (or integrate into the hand model?)
[x] #43
[x] #42

completed first two

#47 will close this


Add missing toString(), equals(), and hashCode() to classes

All classes, where applicable, should have these methods implemented.

This has proven to be unnecessary as time has gone on. With release nearing, I have opted to implement these methods at a later date, but only if:

I find an immediate use for it.
A user requests it.

Completed in commit 4d5366971ee0b65c6e29d9a7f32858b0ee06297f.


GpuGlobalLimitExec and GpuCollectLimitExec support offset

Closes #5589
Support the parameter offset in GpuGlobalLimitExec and GpuCollectLimitExec, which is introduced in spark-3.4.0.
Since spark-rapids are failing to build against spark-3.4.0, I verified this locally with some local changes.

A temporary PR for code discussion.

What exactly do you want to discuss? For Spark 3.4.0+ we either need to fall back to the CPU if we see an offset in the GlobalLimitExec or we need to implement it to match what Spark is doing. I am fine with either solution.

build

@sinkinben How are you testing this. From my understanding we cannot build against 3.4.0 yet. Even then when I try to run select * from test_table offset 1 I get errors back from 3.4.0-SNAPSHOT on the CPU. If you cannot test this can we please mark this PR as draft and pull it out of the 22.08 release?

Sorry I was using an out of date 3.4.0 :(. Will test again.

Another question. When I run the tests on the CPU.
"select id from test_table limit 1 offset 80" does not insert in a GlobalLimitExec at all. It just does a CollectLimitExec. Did you verify that the test is hitting your change?

Move to release 22.10, since it is a feature for Spark 3.4.0.
Need to retarget to 22.10 when it is branched out.

Another question. When I run the tests on the CPU.
"select id from test_table limit 1 offset 80" does not insert in a GlobalLimitExec at all. It just does a CollectLimitExec. Did you verify that the test is hitting your change?

Yes, Hi @sinkinben , you can refer to the existing tests in limit_test to figure out how to hit GlobalLimitExec.

@revans2 @firestarman
I have added a helper function to test both GlobalLimit and CollectLimit.
def offset_test_wrapper(sql):
    conf = {'spark.rapids.sql.exec.CollectLimitExec': 'true'}

    # Create dataframe to test CollectLimit
    def spark_df(spark):
        unary_op_df(spark, int_gen, length=2048, num_slices=1).createOrReplaceTempView("tmp_table")
        return spark.sql(sql)
    assert_gpu_and_cpu_are_equal_collect(spark_df, conf)

    # Create dataframe to test GlobalLimit
    def spark_df_repartition(spark):
        return spark_df(spark).repartition(1)
    assert_gpu_and_cpu_are_equal_collect(spark_df_repartition, conf)

For spark_df above, it will generate override-plan like:
*Exec <CollectLimitExec> will run on GPU
  *Partitioning <SinglePartition$> will run on GPU
  ! <RDDScanExec> cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.RDDScanExec
    @Expression <AttributeReference> a#207 could run on GPU

For spark_df_repartition, it will generate override-plan like:
*Exec <ShuffleExchangeExec> will run on GPU
  *Partitioning <SinglePartition$> will run on GPU
  *Exec <GlobalLimitExec> will run on GPU
    *Exec <ShuffleExchangeExec> will run on GPU
      *Partitioning <SinglePartition$> will run on GPU
      ! <RDDScanExec> cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.execution.RDDScanExec
        @Expression <AttributeReference> a#213 could run on GPU

Since repartition(1), it will guarantee that there is no races.

LGTM

@sinkinben please retarget this to 22.10

build

build

build


TOTAL amount values are only integers

when we send an amount like 99.99, or 120.40, the script it's only retrieving 99.00 or 120.00 on the TOTAL in the amazon payment page, weird no?

Solution: Remove the parseInt function in the ExpressPayment.php file before AMOUNT:


Issue

Could not find com.github.mukeshsolanki:country-picker-android:2.0.4.
Required by:
project :app
Search in build.gradle files
I am gettting this errror

Have you added maven { url 'https://jitpack.io' }


where is iran flag?

It is very strange that you have forgotten the flag of the oldest country in the world.
https://www.worldatlas.com/articles/the-oldest-countries-in-the-world.html
Why is there no Iranian flag? :(

According to Wikipedia, the ISO country code of Iran is IR.
So check flags/4x3/ir.svg and  flags/1x1/ir.svg which look like the flag in https://en.wikipedia.org/wiki/Flag_of_Iran

LOL :)


[9.x] Added ShouldDispatch

This change adds an optional shouldDispatch function to jobs. The function gives the ability to keep the condition for dispatching or not a job inside of the job itself. With this, you can dispatch a job and if the shouldDispatch is false, the job will not be dispatched to queue and reduce processing.

What about forcing the dispatch? If I add the method, I'm forever bound to what the method returns.
I think this could be fixed with a forceDispatch on the job itself that changes de job condition to true.

This adds unnecessary complexity imo.

I see it useful for keeping condition if the job needs to be run inside, in one place. These conditions can be like services are enabled, a user has subscribed to. It removes the condition from the handler, so the model isn't fetched to only discard the job at the first line. When you have more than 1k jobs per minute and you can discard job dispatch that will not be executed, that will help.

I like the strategy of adding my own static method to my job.
public static function dispatchOnChange($model)
{
    return static::dispatchIf($somecheck, $model);
}

What about sending a PR for dispatchIf and dispatchUnless so you can provide a callback as the argument? i.e.
public static function dispatchIf($condition, ...$arguments)
    {
        return value($condition)
            ? new PendingDispatch(new static(...$arguments))
            : new Fluent;
    }

(dispatchNow() is deprecated btw)

@bert-w like this, you need to repeat the condition everywhere you dispatch the job. With my solution, the job is responsible for knowing if we need to dispatch or not.

yea thats true. Nothing a simple inheritance cant fix :)

trait DispatchesConditionally
{
    protected $dispatchable = true;

    public function shouldDispatch()
    {
        return $this->dispatchable;
    }

    public function forceDispatch()
    {
        $this->dispatchable = true;

        return $this;
    }
}

// Before
if ($message->isNotEmpty()) {
    $user->notify(new Notification($message));
}

// After
$user->notify(new Notification($message));

// Forcefully

$user->notify((new Notification($message))->forceDispatch());

Anyway, I don't think this is gonna pass as it's somewhat difficult tomake a "everyone should use this" case. I've been around quite a number of projects and haven't seen the need to.


boxcar for vector search

Now that we have embedded vector search, add a boxcar that scans search results and gives a coherent summary.
Ideally, the class would be Boxcars::VectorSearch
@jaigouk - your new additions will enable this. I want to accept the default in-memory vector store that you provided or external (Posgresql, Redis, Pinecone, ...) stores.

Can take a cue from AutoGPT. Here's their setup: https://github.com/Significant-Gravitas/Auto-GPT/tree/master/autogpt/memory

👍  Great idea @mculp - I will study this approach as it solves another problem I was considering too.

@francis
https://github.com/BoxcarsAI/boxcars/pull/74 is using Boxcars::VectorStore::Document for building vectore stores and search results and Boxcars::VectorStore::Document has content, embedding and metadata. Can we close this ticket?

can we mark this issue as done? https://github.com/BoxcarsAI/boxcars/pull/92 is merged.


Native iOS and Android button updates to [main]

Native iOS and Android button updates to [main]

Hey, I've got 2 points for right now:
@lisavo7 @lakmobile @debra-lonsdorf
1. Skip links: Let's remove the skip links and anchor tags for now. If we change our minds it will be very easy to re-add these.
2. Formatting:  Let's tighten up our tabs to 2 spaces and keep them uniform throughout. For example, bulleted lists should have 1 space after the "-" and if it's a sub bullet it should have  2 spaces before.

Very close!
@lakmobile

2 misspelled words
Don't make headings bold with ** — the typography of the headings is set and shouldn't be altered.

[{
"resource": "/Users/CTriple7/Documents/Repos/magentaA11y/_checklist-native/button.md",
"owner": "cSpell",
"severity": 2,
"message": ""overrwrite": Unknown word.",
"source": "cSpell",
"startLineNumber": 98,
"startColumn": 104,
"endLineNumber": 98,
"endColumn": 114
},{
"resource": "/Users/CTriple7/Documents/Repos/magentaA11y/_checklist-native/button.md",
"owner": "cSpell",
"severity": 2,
"message": ""behaviour": Unknown word.",
"source": "cSpell",
"startLineNumber": 198,
"startColumn": 46,
"endLineNumber": 198,
"endColumn": 55
}]

This looks great! We're a no-deploy Fridays product, so we'll merge and deploy on Monday! Great work.


Use crossfilter

Use crossfilter for table generation, filtering, sorting, and grouping:
https://square.github.io/crossfilter/

See also Falcon.


Add restartability when flow is in EXECUTION_STOPPED state

This task is an on-going effort in continuation to:

added flow status for pod failure (#2892)
set job status to terminal state when pod goes down (#2907)

Context:
Add flow cleanup for abrupt pod terminations. Azkaban finalizes the flow and sets it to a new terminal flow state EXECUTION_STOPPED  that better indicates a pod failure.
This work:
Based on user setting in flow parameters,  the flow could:

[default option] remain in EXECUTION_STOPPED state, waiting for further actions from user
restart the overall execution with a new execution id

Pull Request Test Coverage Report for Build 6396

32 of 39 (82.05%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.06%) to 45.203%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/ExecutionControllerUtils.java
30
37
81.08%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/execapp/jmx/JmxJobMBeanManager.java
1
72.73%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
1
77.42%

Totals

Change from base Build 6394:
0.06%

Covered Lines:
17720

Relevant Lines:
39201

💛  - Coveralls

It seems like it will continue to be restarted. It is better to add some number of retries and a pause between them.

It seems like it will continue to be restarted. It is better to add some number of retries and a pause between them.

Afaik, it should cause endless restart calls in a containerized world. A changed has been submitted taking into account your suggestion.


[mobile] Added enhancements for wait API for mobile UI

Approach:
created a mobile-specific options MobileDriverOptions to override functions according to mobile driver needs
Added enhancements for below wait APIs to ensure it works for mobile,

waitFor(locator)
waitForAny([locator1, locator2,... locatorN])
waitForText(locator, text)

Bonus changes:

changes to support other relevant APIs on mobile like retry(), optional(), exists(), clear()
added wait related examples to mobile-test and points to updated demo app.

only waitUntil(function) is expected to work for mobile, other overload for waitUntil() may work for mobile-web but not supported on mobile apps.

Relevant Issues : https://github.com/intuit/karate/issues/1548
Type of change :

[X] New feature
[ ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

Hi,
Firstly, thank you for your update and effort. Please, can you let us know how we can get it to our local? Do we need to change the karate version in dependency? Is it now in the master branch? or develop one?
Thanks
Emrah

@bltemrah Yes, the changes are  available in develop branch you can follow the steps in https://github.com/intuit/karate/wiki/Developer-Guide to build and use it locally.
Once you built it locally change your karate version in dependency to develop branch version which is 2.0.0

Thanks for your prompt reply. I use Karate Fw by maven dependency in pom XML. I think that I need to wait your version update. Can you please let me know when you update version?
Thanks

@bltemrah if you can't build locally and test - we won't have the confidence to release an official version sooner. so right now there is no confirmed date. we will have to wait for others to confirm

@ptrthomas we would like to test it.

@bltemrah great ! please do

Hi @babusekaran  and @ptrthomas
We have applied "waitFor" in our test. It seems that it works well. Please note that we have not used "waitForAny" and "waitForText" yet.
Thanks

@bltemrah thanks. please note that the more gaps we discover now saves everybody time

@ptrthomas @babusekaran we did also a test of "waitForText", and it works well, fyi.

Please, can you let me know when you update dependency?

Please, can you let me know when you update the dependency?

@bltemrah a release candidate is available now with these changes, pls try 1.1.0.RC1 in your dependency.

Hi @babusekaran,
I have checked https://mvnrepository.com/search?q=karate to find 1.1.0.RC1, but I could not it. Can you make it clear to me how I get it?
Thanks

@bltemrah mvnrepository is not up to date: https://search.maven.org/artifact/com.intuit.karate/karate-core


added persp-list-buffers function

I like to use C-x C-b to call the buffer-menu, that allows me to cleanup unused buffers.
But when I use perspective, I usually have 5 to 10 concurrent perspectives, which can amount to a lot of buffers in total, making C-x C-b almost unusable.
This is just a function that does the same, but filters for buffers in the current perspective.
There is not much to the function itself, so I can't really tell if it's just user customization, or if it has its place in perspective itself. Anyway, I find it very useful!
Cheers.

Wow, I didn't think anyone used buffer-menu — I hated it so much when I started with Emacs (oh so many moons ago) that finding a different way to switch buffers by selecting from a list became my number one priority (number two: eliminating tilde backup file litter). In retrospect, the thing I truly hated was default display-buffer behavior. So, when I wrote Perspective-aware wrappers for buffer switching, I ignored that one. (See persp-bs-show, persp-ibuffer, persp-ivy-switch-buffer, persp-counsel-switch-buffer, and persp-switch-to-buffer*.)
That said, of course Perspective should have a native wrapper for it. A few requests for this PR.

Rename the function to persp-buffer-menu for consistency with the other functions in that family.
Move it to the same general area of the source file as the other functions which do this.
All the other buffer switching functions use the following pattern: without a prefix arg, they filter by perspective. With a prefix arg, they show the full buffer list. Please change your function to work the same way.
Update the Usage section of the README to include it.


Able to see initial dashboard and wg0 as active however unable to see clients or any additional info. May be similar to issue#3

Describe The Problem
Have same/similar issue as described in Issue# 3. Able to get the dashboard running however only displays Wg0. When selecting that interface shows blank screen. Did run sh wgd.sh update to make sure had the latest version
Expected Error / Traceback
[08/May/2021 10:44:14] "GET /get_config/wg0 HTTP/1.1" 500 -
[2021-05-08 10:44:31,342] ERROR in app: Exception on /get_config/wg0 [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "dashboard.py", line 406, in get_conf
    "peer_data": get_peers(config_name),
  File "dashboard.py", line 183, in get_peers
    get_conf_peers_data(config_name)
  File "dashboard.py", line 142, in get_conf_peers_data
    total_sent = cur_i[0]['total_sent']
IndexError: list index out of range

To Reproduce
Default page shows Wg0.  When  selecting Wg0 returns blank page with navigation on left still visible.  Error shown above.
OS Information:
 PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

- Python Version: Python 3.7.3-1

Sample of your .conf file
username = admin
password = ABCD

[Server]
wg_conf_path = /etc/wireguard/
app_ip = <IP_ADDRESS>
app_port = 10086
auth_req = false
version = v2.0

My WG Directory Structure
Not sure if this might be the problem. I did move a few client configs to root /etc/wireguard and I did see them in the dashboard but no metrics.
/etc/wireguard
├── client
└── keys
    ├── client
    │   ├── private
    │   └── public
    └── server
        ├── private
        └── public

I see, the dashboard will only look for .conf in the top-level directory.


Replaced type aliases with structs

Closes https://github.com/gfx-rs/gfx-rs/issues/616

This is a tricky PR - more code in exchange for better error messages about handles.
Named fields are no-no here, because they serve no goal: handles are constructed once and accessed via getters anyway (get_link). If we change all the handle type aliases by their own structs, this would make errors cleaner but would require get_info() and get_name to be implemented for each and every handle...
@bjz @csherratt @cmr - any ideas?

@kvark I think better error messages are worth the extra code. The library is for the users after all.

With @csherratt vote, and mine undecided, we have 2.5 : 0.5 now, pretty much decided positive.
@bvssvni - please proceed with stripping the named fields from these structs and resolving the merge conflicts (sorry!).

@bvssvni the unnecessary borrows are all over batch.rs and one in render/lib.rs. You could leave these files untouched.

It looks complete now. Leaving for others to merge, since I abstained from the vote.


[HUDI-4729] Fix fq can not be queried in pending compaction when query ro table with spark

…y ro table with spark
Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Impact
Describe any public API or user-facing feature change or any performance impact.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@alexeykudinkin can help review this pr?

@hudi-bot run azure

@microbearz please fill up the PR description with details according to the template

@xushiyan hi, pr description was updated, please help review.

@hudi-bot run azure

@microbearz Can you please check the CI failure?

@microbearz Can you please check the CI failure?

yeah, working on it today

@codope @alexeykudinkin hi, can help review this pr?

CI report:

6b13901 Azure: FAILURE

No tests failed. The time limit for a test job exceeded. I ran all the functional tests locally and it's passing. Ok to land this patch.

@codope
thanks Sagar. I see ci passed in actions tab


When connecting to embedded H2 database file, database is deleted.

System information:

Operating system (distribution) and version : Windows 10
DBeaver version : <IP_ADDRESS>005311732
Additional extensions : none

Connection specification:

Database name and version: h2  - 1.4.1999
Driver name: org.h2.Driver
Do you use tunnels or proxies (SSH, SOCKS, etc)?  N/A

Describe the problem you're observing:
When connecting to embedded H2 database file, database is deleted.
I'm using the following JDBC URL: jdbc:h2:c:/temp/db/config;AUTO_SERVER=TRUE;AUTO_RECONNECT=TRUE
Steps to reproduce, if exist:

Place an H2 file in the file system
Create a connection with the following setup:

Click on Test (or just try to connect)

All data from database is gone! The database is empty as it was just initiated.
I think this behavior started 2-3 version ago.

thanks for the bug report

Can't reproduce.
Note: when you connect to H2 db you need to specify database name, not directory name.
In your case there should be a file config.mv.db in folder c:/temp/db/.
This is not obvious but this is how H2 driver works..


Add test command to README

So other developers will know how to run the test suite.
And remove some stray whitespace

Coverage remained the same when pulling 9d8d1636a7ab24066e30294949b2bffca0861def on kyletolle:add-test-command-to-readme into af55e113574c2b7c48749615aa60606de98dd3e0 on Leaflet:master.


Probelm of Evaluation

Hi ,Haotiain,I encountered this bug in the 7th epoch when training the model, but there is no problem in the previous few epochs. Do you know how to solve it?

If it is the case, typically the model diverges in epoch 7. Is it the case that you tried out learning rate schedules other than what is provided by us?

如果是这种情况，通常模型会在第 7 个时期发散。您是否尝试了我们提供的学习率计划以外的学习率计划？

Hi ，Haotian，thank you for your reply,
I changed some parameters of the optimizer, I changed "lr" to 1.0e-4, the above problem still occurs, I don't know how to avoid this problem, by the way, before encountering this problem, I modified the  depth network IN view- Transform part, I want to retrain this model, should I try other learning rate plans?

Another thing you could try is to train the model in FP32. But this will incur much larger memory cost. Reducing the batch size might be necessary. It could also be helpful if you could share with us some of the modifications you made to the depth network.

Closed due to inactivity. Please feel free to reopen if you feel it necessary.


Anchor links from URL

I'm trying to have a menu link in my site that goes to a specific scrollify section, eg. mywebsite.com/about#our-work.
If the user clicks this menu link on the page in question I'm going to use some javascript to capture the href and use the scrollify move function, which is all working fine.
However if they click this link from another page on the site, the anchor link doesn't work. They end up at mywebsite.com/about#our-work but the page is stuck at the top, looking at the first scrollify section, instead of #our-work.
Also scrollify isn't enabled on mobile, so I need to be able to use nromal anchors relating to section IDs for mobile, but scrollify section names for desktop, I guess?
Is there something I need to do when I init scrollify to make it respect an anchor tag in a url?

Having the same issue, any updates?

If anyone else runs into this issue, a quick fix i worked up is to capture the anchor link on page loads var type = window.location.hash.substr(1); disable scrollify then enable it again after a 200ms timeout, and use the move function `setTimeout(function(){
$.scrollify.enable();
$.scrollify.move("#" + type);
}, 200);

If anyone else runs into this issue, a quick fix i worked up is to capture the anchor link on page loads var type = window.location.hash.substr(1); disable scrollify then enable it again after a 200ms timeout, and use the move function setTimeout(function(){ $.scrollify.enable(); $.scrollify.move("#" + type); }, 200); Inside $(document).ready(function(e){}

This is not working


fix: (partial) ERR_UNSUPPORTED_ESM_URL_SCHEME

This is partial fix for windows problem #684

I tried running a comparison between the original and the new using yarn build and yarn dev
but didn't see any difference after the patch unfortunatley

I tried running a comparison between the original and the new using

this is a partial fix, instead of 24 broken imports in the folder ".nuxt\prerender" there are only 10 broken imports

trying to find the problem

Ok I think you're building against a different project with more files in so that makes more sense.
(I'm just trying to build the docs inside the docus project)

problem somewhere else


Serial protocol fixes

Always add "\n" at end of Improv commands
Align UI with ESP Web Tools (fixes https://github.com/esphome/esp-web-tools/issues/110)
Rewrite serial data handling to handle \r and \n characters in Improv commands

Marking as draft as I will include the updated Improv Serial protocol in this PR.

Merging this now, will do protocol update in a new PR.


[BUG] Longhorn doesn't remove the system backups crd on uninstallation

Describe the bug (🐛 if you encounter this issue)
After Longhorn is uninstalled from a kubernetes cluster, I could still see the systembackups.longhorn.io crd and the namespace Longhorn stuck in terminating state.
To Reproduce
Steps to reproduce the behavior:

Install Longhorn 1.5.0-rc2
Have some system backups from previous version (Didn't check with the newly created system backups)
Uninstall Longhorn
Longhorn namespace is stuck in terminating state

Expected behavior
The systembackups.longhorn.io crd should get deleted during uninstallation and the longhorn-system namespace should not stuck in terminating state.
Log or Support bundle
longhorn-system namespace status:
status:
  conditions:
  - lastTransitionTime: "2023-06-23T23:17:20Z"
    message: All resources successfully discovered
    reason: ResourcesDiscovered
    status: "False"
    type: NamespaceDeletionDiscoveryFailure
  - lastTransitionTime: "2023-06-23T23:17:20Z"
    message: All legacy kube types successfully parsed
    reason: ParsedGroupVersions
    status: "False"
    type: NamespaceDeletionGroupVersionParsingFailure
  - lastTransitionTime: "2023-06-23T23:17:52Z"
    message: All content successfully deleted, may be waiting on finalization
    reason: ContentDeleted
    status: "False"
    type: NamespaceDeletionContentFailure
  - lastTransitionTime: "2023-06-23T23:17:20Z"
    message: 'Some resources are remaining: systembackups.longhorn.io has 8 resource
      instances'
    reason: SomeResourcesRemain
    status: "True"
    type: NamespaceContentRemaining
  - lastTransitionTime: "2023-06-23T23:17:20Z"
    message: 'Some content in the namespace has finalizers remaining: longhorn.io
      in 8 resource instances'
    reason: SomeFinalizersRemain
    status: "True"
    type: NamespaceFinalizersRemaining
  phase: Terminating

systembackup.yaml.zip
Environment

Longhorn version: 1.5.0-rc2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: 1.26

Number of management node in the cluster: 1
Number of worker node in the cluster: 3

I've set the severity low, as in my environment there were some system backups which were is error or deleting state
NAME                VERSION      STATE      CREATED                LASTSYNCEDAT
backup-test-1       v1.4.0-rc2   Ready      2022-12-22T20:34:14Z   2023-06-24T17:28:32Z
backup-test-2       v1.4.0-rc2   Deleting   2022-12-22T21:33:00Z   2023-06-23T23:15:17Z
bi-test-1           v1.4.0-rc2   Ready      2022-12-22T22:22:09Z   2023-06-24T17:28:33Z
disk-tag            v1.4.0-rc1   Ready      2022-12-20T23:20:39Z   2023-06-24T17:28:33Z
pv-test-1                        Error                             2023-06-24T17:28:33Z
pv-test-2           v1.4.0-rc1   Ready      2022-12-19T21:04:49Z   2023-06-23T20:21:59Z
pv-test-3           v1.4.0-rc1   Ready      2022-12-19T21:18:33Z   2023-06-24T17:28:33Z
setting-1           v1.4.0-rc1   Ready      2022-12-20T20:16:38Z   2023-06-24T17:28:32Z
setting-test-1      v1.4.0-rc1   Ready      2022-12-20T23:22:58Z   2023-06-23T20:21:59Z
...

I've set the severity low, as in my environment there were some system backups which were is error or deleting state. I'm not sure if those are causing the problem.
NAME                VERSION      STATE      CREATED                LASTSYNCEDAT
backup-test-1       v1.4.0-rc2   Ready      2022-12-22T20:34:14Z   2023-06-24T17:28:32Z
backup-test-2       v1.4.0-rc2   Deleting   2022-12-22T21:33:00Z   2023-06-23T23:15:17Z
bi-test-1           v1.4.0-rc2   Ready      2022-12-22T22:22:09Z   2023-06-24T17:28:33Z
disk-tag            v1.4.0-rc1   Ready      2022-12-20T23:20:39Z   2023-06-24T17:28:33Z
pv-test-1                        Error                             2023-06-24T17:28:33Z
pv-test-2           v1.4.0-rc1   Ready      2022-12-19T21:04:49Z   2023-06-23T20:21:59Z
pv-test-3           v1.4.0-rc1   Ready      2022-12-19T21:18:33Z   2023-06-24T17:28:33Z
setting-1           v1.4.0-rc1   Ready      2022-12-20T20:16:38Z   2023-06-24T17:28:32Z
setting-test-1      v1.4.0-rc1   Ready      2022-12-20T23:22:58Z   2023-06-23T20:21:59Z
...

cc: @c3y1huang

The system backup gets cleared out when the target setting is set to an empty value during the uninstallation process. This behavior is same to how Longhorn backup CRs are cleaned up. However, based on the remaining CRs, it appears that none of them are being cleaned up.
I am unable to reproduce this. Can you provide the uninstall er's log?

I am unable to reproduce this with the reproducing steps:

Can you provide the uninstaller's log?
How many system backup CRs were there?

I think I am able to reproduce this by having 200 system backups using the script.
The issue is likely caused by the uninstaller controller not waiting for system backup CRs to get cleaned up.

I found a strange behavior while reproducing the problem and test the fix.
The problem only happens when there is an attached volume exists in the system.
I tested with 1.5.0-RC3, below is the result:
With an attached volume in system - FAILED

Installed Longhorn 1.5.0-rc3, set backup target to my s3 bucket where I have 20 systembackups (Some of them are problematic)
Created a volume and attached it to a pod.
Uninstall the Longhorn using https://raw.githubusercontent.com/longhorn/longhorn/v1.5.0-rc3/uninstall/uninstall.yaml
The uninstallation failed with below error because I had some problematic systembackups

time="2023-06-26T21:22:20Z" level=warning msg="Failed to uninstall" controller=longhorn-uninstall error="found 5 SystemBackups remaining"
time="2023-06-26T21:22:22Z" level=warning msg="Failed to uninstall" controller=longhorn-uninstall error="found 5 SystemBackups remaining"

The systembackup.longhorn.io crd stuck in deletion.
uninstall-1.log

Without any volume - PASSED

Installed Longhorn 1.5.0-rc3, set backup target to my s3 bucket where I have 20 systembackups (Some of them are problematic)
Uninstall the Longhorn using https://raw.githubusercontent.com/longhorn/longhorn/v1.5.0-rc3/uninstall/uninstall.yaml
Uninstallation succeeded.
Longhorn-system namespace cleaned up.
uninstall-2.log

Additional context: While testing this I found https://github.com/longhorn/longhorn/issues/6197, I'm not sure if that is related.

I found a strange behavior while reproducing the problem and test the fix. The problem only happens when there is an attached volume exists in the system.
I tested with 1.5.0-RC3, below is the result:
With an attached volume in system - FAILED

Installed Longhorn 1.5.0-rc3, set backup target to my s3 bucket where I have 20 systembackups (Some of them are problematic)
Created a volume and attached it to a pod.
Uninstall the Longhorn using https://raw.githubusercontent.com/longhorn/longhorn/v1.5.0-rc3/uninstall/uninstall.yaml
The uninstallation failed with below error because I had some problematic systembackups

time="2023-06-26T21:22:20Z" level=warning msg="Failed to uninstall" controller=longhorn-uninstall error="found 5 SystemBackups remaining"
time="2023-06-26T21:22:22Z" level=warning msg="Failed to uninstall" controller=longhorn-uninstall error="found 5 SystemBackups remaining"

The systembackup.longhorn.io crd stuck in deletion.
uninstall-1.log

Without any volume - PASSED

Installed Longhorn 1.5.0-rc3, set backup target to my s3 bucket where I have 20 systembackups (Some of them are problematic)
Uninstall the Longhorn using https://raw.githubusercontent.com/longhorn/longhorn/v1.5.0-rc3/uninstall/uninstall.yaml
Uninstallation succeeded.
Longhorn-system namespace cleaned up.
uninstall-2.log

Additional context: While testing this I found #6197, I'm not sure if that is related.

Unable to reproduce in my environment.  Also checked with @khushboo-rancher and we're not able to reproduce this yet. @khushboo-rancher will try more tests to see if this is reproducible.

Tried couple of more times, I couldn't reproduce the problem this time. Closing the issue for now. If encounter in future, I'll reopen it. Thanks @c3y1huang for looking into it.


Can't invalidate FutureProvider.future

Describe the bug
final futureProvider = ...
ref.refresh(futureProvider.future);     // compiles
ref.invalidate(futureProvider.future);  // does not compile

Scenario
I have two FutureProviders, where the second one uses the result of the first one. I'd like to invalidate upstream:
@riverpod
Future<Foo> first(FirstRef ref, String key) => ...

@riverpod
Future<Foo> second(SecondRef ref) {
  final provider = firstProvider("test");
  if (ref.state.isRefreshing) {
    ref.refresh(provider.future);     // shows warning (useResult)
    ref.invalidate(provider.future);  // does not compile
  }
  return ref.watch(provider.future);
}

Remarks

Can we have a function on ref to register a callback that is triggered when the providers is being invalidated?
Could FutureProvider.provider return the underlying FutureOr, since my solution flickers even if first is a FutureOr-value.

read is not watch

There's no reason to invalidate ".future"
Invalidate the provider itself.

I tried but that threw an exception.

That's a different issue. Please open a new one and share it


replace btreemap with vec

see https://github.com/neondatabase/neon/pull/3486#discussion_r1091712440

Merged into the target branch, thank you.


Share mocks between ports

When I run my app in a new port (i.e. 8081 instead of 8080) the mocks are not available. Thanks :)

I think localStorage is bound to Same Origin Policy and a different port is considered a different origin.
What is you specific use case?

Closing this as now you can set an app scope and use mocks synced from your project files.


feat(client): fragment support

Add support for custom fragment to prisma-lib.

Released to alpha via https://github.com/prisma/prisma/pull/3026


chore(main): release 5.3.6

:robot: I have created a release beep boop
5.3.6 (2023-09-13)
Minor changes and bug fixes

add requested by string before mention (e3efa48)
fix duration validation not using padded and formatted duration (c4f9403)
refactor filters disable button (9458ed6)
refactor guilds command (c689452)
refactor remove command (230ba5f)
refactor volume command (fca1a90)
refactored autocomplete interactions (af78759)
refactored filters select menu component (a9ce285)
refactored guilds command (56b25f9)
refactored nowplaying skip button component + more common methods (78e8f12)
refactored seek command (c871a75)
refactored shards command (9259bc2)
refactored skip command (90346e7)
refactored status commands (20bc4aa)
remove async from class methods for getting author (fe14fc3)

Miscellaneous

formatting strings to multiple lines (e57dcaf)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mariusbegby/cadence-discord-bot/releases/tag/v5.3.6 :sunflower:


Hotfix issue-111: Only consider setting body and head texture in onInitialized if present from cache

Only consider setting body and head texture in onInitialized if present from cache.
Probably fixed #111. I can not really test this (see issue #113) and do not know enough about the changes you did. So take this with caution.

Looks like we need to update bsf because the version for the ci is not available anymore.
Isnt there a better way to do it? Why can we not just use the bsf git submodule?

Thanks for the fix! I'm still wondering why those textures are not set, though...

Looks like we need to update bsf because the version for the ci is not available anymore.
Isnt there a better way to do it? Why can we not just use the bsf git submodule?

The CI is using prebuilt binaries so the build is faster. When I set up the CI, Azure did not have any way to cache files between builds, however, Github Actions supports that so we might aswell just compile our own and cache it.


Use pgstac api to get item rather than direct query

In PGStac 0.5.0, the data stored in the items table is compressed by removing information that is stored at the collections level. Directly querying the items table will only return part of the json. By using the get_item function, it will return the fully hydrated item feature.

This doesn't seems to be compatible with <0.5.0. Let's wait for it to be released then

@bitner  Would it be the same (performance wise) to use the search function, so we can support pgstac<0.5.0?

Yes, the only difference being that using search will return a Feature collection with a single feature - the advantage of using search is that you could also use the fields extension if there was only limited information that you needed from the item. I can tweak the PR.

👍 let's use the search function then. No need to add more complexity with the field extension, the idea is to get the full item

🙏 thanks @bitner


The example as-is doesn't work and doesn't make sense

Firstly, greatly appreciate the effort in making flashbots available to the Python community. Ty!
Running the simply.py example as is as I see it, has 3 issues for me. One is logical - as mentioned elsewhere - in which rarely does one have the receiver's private key to sign. The second may be code related and the compiler throws an error in the bundle declaration (line 72) with some dictionary merge issue. Is this common? Lastly, the library doesn't seem to be updated to work with EIP1559 - requiring gasFee as opposed to their new counterparts, which is not a work-stopper, but it's sub-optimal.
Is it expected for this library to be maintained further?
(If I had the knowledge to contribute and further this library, I would)
Thanks again

Can confirm the example does NOT work at all. Do you have any updates on this?

I ran into the same problem, and confirm that the main reason for me is the master branch of this repo does not update to support EIP1559.
If you have the same reason, please have a look at #44 and lekhovitsky/web3-flashbots.
Thanks to all contributors, and hope this repo can be maintained continuously : )

I have the same problem. How can I solve it?

Still struggling with simple.py example. Looks like #44 was merged.
I am getting a TransactionNotFound error upon receipt of the flashbots bundle return request. It appears that the Flashbot transaction never happens. Bundle is sent, but the transaction is never recorded it seems.
I am running a mev-geth node on goerli to test with.
The error trace:
Traceback (most recent call last):
  File "/Users/andrew/Documents/VSCode/Flashbots/minter_py/example.py", line 111, in <module>
    receipts = result.receipts()
  File "/Users/andrew/Documents/VSCode/Flashbots/minter_py/flashbots/flashbots.py", line 72, in receipts
    return list(
  File "/Users/andrew/Documents/VSCode/Flashbots/minter_py/flashbots/flashbots.py", line 73, in <lambda>
    map(lambda tx: self.w3.eth.get_transaction_receipt(tx["hash"]), self.bundle)
  File "/usr/local/lib/python3.9/site-packages/web3/module.py", line 57, in caller
    result = w3.manager.request_blocking(method_str,
  File "/usr/local/lib/python3.9/site-packages/web3/manager.py", line 198, in request_blocking
    return self.formatted_response(response,
  File "/usr/local/lib/python3.9/site-packages/web3/manager.py", line 177, in formatted_response
    apply_null_result_formatters(null_result_formatters, response, params)
  File "/usr/local/lib/python3.9/site-packages/web3/manager.py", line 82, in apply_null_result_formatters
    formatted_resp = pipe(params, null_result_formatters)
  File "cytoolz/functoolz.pyx", line 667, in cytoolz.functoolz.pipe
  File "cytoolz/functoolz.pyx", line 642, in cytoolz.functoolz.c_pipe
  File "/usr/local/lib/python3.9/site-packages/web3/_utils/method_formatters.py", line 656, in raise_transaction_not_found
    raise TransactionNotFound(message)
web3.exceptions.TransactionNotFound: Transaction with hash: '0x5a7e6b317b297a477d2666ad318d4323745612ef67d33b3ca1d62f6b8f6e5a9a' not found.

solved my problem... If you are using Goerli testnet, you need to set the relay uri when you create the Flashbot module. Otherwise, the default uri is set to the mainnet relay.
(around line 26)
w3 = Web3(HTTPProvider("http://<IP_ADDRESS>:8545"))
flashbot(w3, FLASHBOTS_SIGNATURE, "https://relay-goerli.flashbots.net")

resolved with #55

also note: EIP-1559 support was added in version 1.0.1


[Relay][Topi][Op][Onnx] Support negative indices in gather, gathernd. Fixes NLL Loss tests

Supports negative indices for gather and gathernd op.
This was what caused issues https://github.com/apache/tvm/issues/8918 and https://github.com/apache/tvm/issues/8964. Finally, the onnx tests throw invalid indices at you but mask them with ignore_index. This was not accounted for and sometimes caused failures too.
This should fix the flaky onnx test and allow for the remaining non-expanded onnx tests
Testing:
Ran pytest tests/python/frontend/onnx/test_forward.py::test_onnx_nodes -k test_nllloss_NCd1d2d3_none_no_weight_negative_ii --count=100 and confirmed no failures
Ran pytest tests/python/frontend/onnx/test_forward.py::test_onnx_nodes -k test_nllloss_NCd1d2d3_sum_weight_high_ii --count=100 and confirmed no failures
Ran pytest tests/python/frontend/onnx/test_forward.py::test_onnx_nodes -k test_gather --count=100 and confirmed no failures

@AndrewZhaoLuo Maybe we can remove this function?
https://github.com/apache/tvm/blob/cf439ec7e73ba2bee3bb58ae1b90a543beb0ee76/python/tvm/relay/frontend/onnx.py#L1510-L1511

@AndrewZhaoLuo Maybe we can remove this function?
https://github.com/apache/tvm/blob/cf439ec7e73ba2bee3bb58ae1b90a543beb0ee76/python/tvm/relay/frontend/onnx.py#L1510-L1511

I need to replace "take" so I'll put it in another PR.

This is ready for a full review now.

Another topic of discussion is whether we should just allow negative indices to be always on. There is overhead but I believe it is very small.

@AndrewZhaoLuo, can you try profiling that with a larger input?

This failed the dynamic gather test in test_any

This failed the dynamic gather test in test_any

Should be fixed now. In general it seems people are inconsistent with using kwargs in the codebase.

Ok folks, I've removed the controversial changes and did an alternate work around. PTAL when you have time.

https://github.com/apache/tvm/pull/9023 <-- discussion about making negative indices simpler

@masahi can you land this one if you are OK?


HTML export - rendering issues

Version of Archi
4.7.1
Archi Plug-ins
None
Operating System
Windows 10
Expected Behaviour
Given a view which uses a Wingdings 2 font
When I generate an HTML export
Then I would expect it to be correctly rendered
Actual Behaviour
The characters are replaced by other ones during the export
Steps to Reproduce the Behaviour

On a view, create a note and set the font to Wingdings 2
Type "w" (or any other key) inside the note and check the equivalent Wingding 2 character/symbol
Export to HTML and check the difference

Interesting notes:
The other exports ("Copy As Image to Clipboard" or "Export --> View as Image") render it correctly. Since the HTML export also creates images of the views, maybe it should reuse the same mechanism. There are also other rendering problems with the "Customer" element and the border colors in the attached images. They are not related to Wingdings 2, but would also benefit from reusing the same image export mechanism as I have just mentioned.
Wingings x Wingdings 2: Wingdings work just fine, the problem is really just with Wingdings2

I tested this, and it works for me.

Since the HTML export also creates images of the views, maybe it should reuse the same mechanism.

It use exactly the same mechanism.

There are also other rendering problems with the "Customer" element and the border colors in the attached images. They are not related to Wingdings 2, but would also benefit from reusing the same image export mechanism as I have just mentioned.

Strange. As I just mentioned it uses exactly the same mechanism.
Try on a different machine and see if it is reproducible. There should be no difference when creating image files as it's the same code.

I think you are right.
The export is being done by an Azure Devops build agent, not on my machine.
What kind of things could be impacting it? Maybe the server does not have the Wingdings 2 font, but then what about the border colors, it is proably something on that Archi instance setting, I will check both things.

The export is being done by an Azure Devops build agent, not on my machine.

The problem with rendering images using the Eclipse framework is the Eclipse org.eclipse.swt.Image class. This renders an image to the current system Device. The system Device is the current graphics driver (physical or virtual). So, in your case, this will be the graphics  device used by the build agent. So there may be issues with that.
Ideally, when generating an Image we would like to specify something like our own  internal virtual device for rendering so that we could get the same result each time. Unfortunately, Eclipse only uses system devices, either physical or virtual.

The problem with rendering images using the Eclipse framework[...]

In this case the issue is (IMHO) only this: as soon as you generate the report on another machine, you absolutely need to have the exact same set of fonts installed and the exact same Archi's configuration.

Maybe the server does not have the Wingdings 2 font,

It clearly don't have

what about the border colors

Open Archi on this server and you'll most certainly see that "Derive element line colours from fill color" is set (this is the default):

The problem with rendering images using the Eclipse framework[...]

In this case the issue is (IMHO) only this: as soon as you generate the report on another machine, you absolutely need to have the exact same set of fonts installed and the exact same Archi's configuration.

Maybe the server does not have the Wingdings 2 font,

It clearly don't have

what about the border colors

Open Archi on this server and you'll most certainly see that "Derive element line colours from fill color" is set (this is the default):

I thought the same. Unfortunately however, I have just installed the font (wasn't there) and set the "Derive element line colours from fill color" and still the same result :(

In this case the issue is (IMHO) only this: as soon as you generate the report on another machine, you absolutely need to have the exact same set of fonts installed and the exact same Archi's configuration.

Open Archi on this server and you'll most certainly see that "Derive element line colours from fill color" is set (this is the default

Good call.
So there are two things:

Font rendering will be different (see https://forum.archimatetool.com/index.php?topic=918.0)
2, The only way a border will be different will be as JB says.

Try changing the line colors again.

Font rendering will be different (see https://forum.archimatetool.com/index.php?topic=918.0)
I haven't finished reading this, but I am only working with Windows.

I have just tested a few things from within the server, always using the same portable instance (4.7.1). Let me explain what I tried so far:
1-Tried using the graphical UI, running under my user account (which is admin of the server)
Result: Everything worked perfectly
2- Using the CLI with my user account
Result: Wingdings 2 working fine, but border colors not
3- Using the CLI with the same account used by the build agent (NT authority\Network Service)
Result: same as number 2 above

It has to be the case that the preferences are not being picked up. Try copying them across.

Sorry, what do you mean by copying?
Because the different test results are all using the same instance, therefore it should be using the same ini folder mappings and ,consequently, the same preferences too.

My misunderstanding. I thought they were different.
But it seems that somehow the preference is not being picked up.
The preference file is .metadata\.plugins\org.eclipse.core.runtime\.settings\com.archimatetool.editor.prefs
And the setting inside that file should be:
deriveElementLineColor=false
If that setting is not present then its value is true.

The setting is present, I can confirm that:

This looks wrong:
-Dosgi.instance.area=instance
Perhaps you meant:
<EMAIL_ADDRESS>

My intention with this setting is to create everything under the same portable folder, instead of having Archi files in different places.
It seems that Dosgi.configuration.area does not work properly, this is what happens when I try to set it to "C:\ArchiPortableConfig":

It tries to create some files on the root folder, but the user account does not have write access to it, hence the error.
It uses relative path to write to a folder one level below. This became more evident when I set it to a second level folder and executed the CLI again:

You can see the artifacts.xml and p2 folders which were not supposed to be there.

Perhaps the best thing is to set these locations to something that works.

Maybe be best thing is to first create a fully portable version of Archi following this wiki page and especially this part.
When you're sure this setup is working for you and uses a known path for configuration which is not related to a user profile, then running this instance from command line should work.

It seems that Dosgi.configuration.area does not work properly, this is what happens when I try to set it to "C:\ArchiPortableConfig"

Do not set this this to be the same folder as Archi. It will mess with the "p2" folder and other folders. Also, when Archi starts (in non-CLI mode) it cleans up the configuration and deletes certain files in order for Archi plug-ins to work.

So here's how I spent my Sunday...
Because of potential conflicts with the Archi installation "p2" folder and the one that Eclipse generates in the parent folder of the osgi.configuration.area I've added a new entry to Archi.ini:
<EMAIL_ADDRESS>This puts the ".p2" folder inside of the osgi.configuration.area and also adds a "." to "p2" just in case the user sets the osgi.configuration.area to the same location as the Archi location folder.
I've also changed the "cleanup" code to be safer when deleting files.
This won't solve the OP's immediate problem but that's caused by a preference file not being picked up.

Getting back to the OP...
I installed portable Archi with this Archi.ini file:
-clean
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area=instance
-Dosgi.configuration.area=instance/config
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%user.home%/AppData/Roaming/Archi4/dropins
--add-modules=ALL-SYSTEM

I ran Archi in UI mode and set the preference for "Derive element line colours from fill color" to false.
I ran Archi from the CLI:
Archi -application com.archimatetool.commandline.app -consoleLog -nosplash
--loadModel "C:\\test.archimate" --html.createReport "C:\\OutputFolder"

And the element borders were as expected - coloured.

With your help I have managed to solve the problems now.
TLDR:
Wingdings2: I installed the font for all users on the server, including the NT\Network Service user
Border colors / preferences: I used psexec to run Archi UI as NT\Network Service and set the preferences accordingly.
Some explanation:
Windows OS deals with these built-in accounts differently, in terms of user profile, and I struggled a bit with that. These accounts have a different profile folder path in the OS, for instance.
When using a regular user account, those ini settings worked fine (with instance and dropins in the same subfolder, config in the user profile).
However, for some reason, it did not work "properly" when using Network Service. I mean, the user preferences I copied across were not picked up, unless I manually opened the UI and set it up "again".
If you want more info to try to reproduce it just let me know. But it is working now, and maybe the thing is that these special built-in accounts were not meant to behave as regular user accounts and depend on user profile things.
I appreciate the attention given to this issue, it was very helpful.
Archi is awesome and you have been doing a great job.

Wingdings2: I installed the font for all users on the server, including the NT\Network Service user

Yes, I had forgotten that a font needs to be installed on the system.

Perhaps the best thing is to use relative or absolute paths for the osgi.configuration.area and instance locations, rather than using @user.home.
The next version of Archi makes it possible to have osgi.configuration.area as a direct sub-directory of the installation dir.
I'll close this one one.


Please provider PartnerCenter SDK for dotnet core

Please provider PartnerCenter SDK for dotnet core.

Hi @schuettecarsten,
we have an internal team that is planning on releasing a community driven dotnet core version of the SDK, we will update the partners community about the release dates.
Thanks,
Ali