Correctly handle track_file for keepalived < 2.1.0

Pull Request (PR) description
This PR solves two issues related to keepalive configuration:

For versions of keepalived < 2.1.0, the "track_file" config stanza should be called "vrrp_track_file". The manpage for keepalived.conf confirms the deprecation, I found the exact version by digging through the source code for keepalived.
The previous implementation of this module allowed a particular file to have a given weight, but when the track_file was referenced inside the vrrp_instance, the weight was reassigned to "1". According to the keepalived.conf manpage, the weight defined inside vrrp_instance defaults to weight configured in track_file. It should be safe to remove.

This Pull Request (PR) fixes the following issues
Fixes #278

Womp wimp, will fix those formatting errors sorry

Will resubmit a single commit without CI/CD errors


Fix ondemand E2E slack message

Description
Default mode (main branch) prints an empty branch value. This fixes it.

How can this be tested?
There is no need; it's exactly the same in the working workflow e2e-tests.yaml.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.25%. Comparing base (06029bb) to head (d544ef3).
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3458      +/-   ##
==========================================
+ Coverage   57.23%   57.25%   +0.01%
==========================================
  Files         344      344
  Lines       19783    19791       +8
==========================================
+ Hits        11323    11331       +8
  Misses       7222     7222
  Partials     1238     1238

Flag
Coverage Δ

unittests
57.25% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How to bring search content to the search box

Please make sure your question is within the scope of this plugin.

[ x ] I know this plugin is about persisting changes to the Vim support built into Obsidian, plus some bonus features, and considered asking in the Obsidian forum first.

Describe the question
If I select the text in the editor, I can bring the selected content to the search box, just like cmd+shift+f.
I use the obsidian-vimrc-support plugin, How can I do this?
Things I have tried
I have made the following configuration, but I can’t bring the selected content to the search box, Just open the global search box.
"global search"
exmap global_search obcommand global-search:open
nmap <Space><Space> :global_search
vmap <Space><Space> :global_search

<Space><Space> works normally. Pressing the shortcut key in normal mode and visual mode will jump to the search box. But my core problem is in visual mode, you can bring the selected text into the search box as a search keyword, just like you select the specified text and press cmd+shift+f.
expect: In visual mode, select the specified content, press the shortcut key, and use the selected content as a search keyword
actual: Just jump to the search box without carrying search text


Support for abstracted selectors

When writing these kinds of tests I like to keep it as human-readable as possible, for a couple reasons:

The .feature files can be used to document (for humans) the intended functionality of a site
Sometimes a human tester may need to manually test a .feature file

The current step definitions are wonderfully flexible, thanks to the CSS selector parameters, and can handle most cases without any custom step definitions. But unfortunately the .feature files end up with a lot of CSS selectors that are not particularly usable by human readers.
Having support for "abstracted selectors" would help resolve this problem. For example:
With direct CSS selectors:
Given I click on ".my-container .my-reset-button"

With abstracted selectors:
Given I click on "the reset button"

:tada: This issue has been resolved in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(Group/AddChar): constructor for additive characters

Currently it's a little painful to explicitly construct additive characters, because you need to use change etc to see through the Multiplicative type synonym.

[x] depends on: #11312

Can you split off a PR for the generalisation to non-commutative monoids? It's noise in the diff and personally I would rather handle it with sections than by copying the instance assumptions to every single lemma.
TLDR that's out of scope given your PR description

Sure

Upon further consideration, I think we should be even bolder and make AddChar its own structure.

If I understand correctly, your idea that AddChar A M should not be a type synonym as Multiplicative A →* M, but should be defined directly as a structure in its own right (with the defining properties map_add_[eq_]mul etc written out directly, rather than using the Multiplicative / Additive API); then we can construct an Equiv between this new type and Multiplicative A →* M, but this no longer comes for free.
I looked into this, but it turns out to be quite painful. The problem is that one can't (AFAIK) transport structure along an Equiv; so to prove that AddChar A M is a CommMonoid / CommGroup / etc under the appropriate hypotheses, one has to wade through the definition of the multiplication, proof that they're associative  has to define the multiplication, inversion, etc (& prove they satisfy the monoid axioms). This basically amounts to duplicating sizeable chunks of the existing MonoidHom API, which is annoying to write and will be equally annoying to maintain.
At a more philosophical level, what's the point of having the Multiplicative type synonym in the first place if we don't use it here, which is about the clearest place imaginable for it to be useful?

I remember that I had suggested a similar approach some time back, and there was a discussion on Zulip (here and here) where it was made clear to me that this was not the way to go.
The reason being that one would need to duplicate all the homomorphism API for this case. Or rather multiply by a larger factor, since there should be the counterpart going from multiplicative to additive structures, and then you need 16 versions of associativity...

We barely ever use an AddChar as a MonoidHom and when we do it's defeq abuse. Also note that not everything is coming from MonoidHom right now anyway. The inverse on AddChar is defined using the inverse on the domain, while for MonoidHom it's on the codomain.

Soon, I will make AddChar an additive group, and that will be one further difference with MonoidHom.

I would not be happy with such a change.

Also surely you can transport structure along an Equiv? See eg Logic.Equiv.Transfer.

That's cool, I didn't know about that.
--
I have a working draft of a rewrite of AddChar.lean using Yaël's proposed approach (so AddChar is a structure in its own right but with Equivs to both Multiplicative A →* M and A →+ Additive M). In the process I've relaxed the typeclass assumptions considerably, and added a few useful lemmas (e.g. composition). I can post this here, but it is definitely well beyond the scope of the original PR; so maybe I should make a new one and close this one.

Soon, I will make AddChar an additive group,

I'm against that: the convention is that the group law on a group of homomorphisms is written like that of the target group, and I don't see a reason to deviate from this here. (It's OK to have f(x + y) = f(x)*f(y), but would be strange to have (f + g)(x) = f(x)*g(x); this would go against all the APi we have for Pi.blah.)

You will have to fight 30 years of additive combinatorics literature then 😉
Anyway, this is not a discussion for this PR

I guess it may be OK to have the additive group structure in addition to the multiplicative one (i.e., such that add = mul). What I'm opposed to is removing the multiplicative structure.

Closing this as ot is superseded by #11375 .


Do not include a trailing "-" in "read focused" when window name is unknown

I prefer having the trailing dash there, so I'll leave it as is.
Thanks anyway tho.

Ok. I understand the advantage of knowing that you can get the window name (even if empty) by using the string after the dash.
I will remove the dash in Übersicht instead :)


Make CI scripts nicer

Just had the epiphany that bash scripts can become pretty readable if I
abuse $@ enough times... So, of course I needed to try this out!
The idea is to make this nice to look at in travis (using a bit of
logging and hopefully also making travis group the scripts). Changing
the travis config to have multiple script entries will make this execute
all steps regardless of whether some failed. It does not fail fast
anymore.

Oh, travis-cargo doesnt seem to like generating and uploading docs using Cargo workspaces. Which is also a problem on master.

This has gotten pretty stale. Feel free to re-open if you still want to work on this


SIGSEGV in reply_append

We've experienced numerous segfaults in production that point to this specific line of code
We can reliably reproduce this by simply triggering sidekiq to pause and unpause a queue, which causes it to receive a message from a pubsub channel.
queue = Sidekiq::Queue.new(ApplicationWorker::Queue::QUEUE_NAME)
queue.pause!
queue.unpause!

This happens on a handful of the dozens of containers we run.
I was able to get a coredump from one of the containers and here's the backtrace:
(gdb) bt full
#0  0x00007f8c6d51cebc in ?? () from buildkite-hiredis-segfault/eloquent_ride/lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007f8c6d4cdfb2 in raise () from buildkite-hiredis-segfault/eloquent_ride/lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2  0x00007f8c6da9c8bf in ruby_default_signal (sig=<optimized out>) at signal.c:422
No locals.
#3  0x00007f8c6d8864b8 in rb_bug_for_fatal_signal (default_sighandler=0x0, sig=sig@entry=11, ctx=ctx@entry=0x7f8c11fd9880, fmt=fmt@entry=0x7f8c6dcac4d5 "Segmentation fault at %p") at error.c:1069
        file = <optimized out>
        line = 92
#4  0x00007f8c6da9b84b in sigsegv (sig=11, info=0x7f8c11fd99b0, ctx=0x7f8c11fd9880) at signal.c:926
No locals.
#5  <signal handler called>
No symbol table info available.
#6  0x00007f8c48a792bd in reply_append (value=<REDACTED>, task=0x7f8c12223690) at hiredis_connection.c:143
        state = 0x7f8c0fb5d300
        task_index = <optimized out>
        state = <optimized out>
        task_index = <optimized out>
        parent = <optimized out>
        key = <optimized out>
        rb_gc_guarded_ptr = <optimized out>
        rb_gc_guarded_ptr = <optimized out>
        rb_gc_guarded_ptr = <optimized out>
#7  reply_create_array (task=0x7f8c12223690, elements=<optimized out>) at hiredis_connection.c:212
        value = <REDACTED>

(gdb) p *((hiredis_reader_state_t *)(0x7f8c0fb5d300))
$1 = {stack = <REDACTED>, task_index = 0x0}

Somehow task_index is a null pointer, which shouldn't be possible given the code path?

We can reliably reproduce this

Any chance you could create a repro script using bundler/inline, or even a Dockerfile? That would be very useful for me to investigate.

@byroot I don't think I will be able to, Sidekiq Pro is commercially licensed and there's multiple threads which seem to interact in some unknown way to trigger the bug.
I'm trying to replicate the issue with ASAN, as we did in https://github.com/redis-rb/redis-client/issues/208

I can give @byroot Sidekiq Pro access, just have your gemfile use a local :path by using “gem unpack”.

@patrobinson any news?


Add mobile support to the visuals playground

Add Web/Mobile tabs
Under mobile tab add orientation radio buttons for portrait and landscape
For each mobile orientation there are 2 containers - one which looks like inside a dashboard on a mobile phone, and the second is an in-focus tile stretched on a mobile phone
Dashboard containers are scaled inside an inner div so the visual will look proportional to the visuals on a mobile device.
In-focus containers are not scaled since there are some interation bugs when scaling (the mouse pointer has an offset when clicking).
UX design changes

Hi @meravber, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@meravber, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Looks good.


cannot import name QUERY_TERMS

i am trying to run a developer version , i will be frank i am not following the exact steps mentioned in the doc , just want a developer version running first , i am trying to use sqllite instead of Mysql or Postgresql
the steps i am following are

running in virtualenv
python setup.py develop
manage.py runserver

after this when i visit http://localhost:8000/
i am getting the error
Exception Type: ImportError at /
Exception Value: cannot import name QUERY_TERMS
here is a traceback http://dpaste.de/bwkbh/
TIA
-Satya

it also happens with me
tells me that it canot import query_terms from database when i make resource of it
simply following tutorials :) please work on this


Markenwerk S/MIME Utils seem to have shut down :(

Hi,
seems the Markenwerk S/MIME project (https://github.com/markenwerk/java-utils-mail-smime) has been archived and they also ignored the three pull requests you made, so 1.0.8 seems to be the last version there is. Which is a little unfortunate as the S/MIME module relies on that library and we have the situation that (some) signed-only mails seem not to be recognized correctly, but get an S/MIME state of NEITHER, which apparently hinders further processing of signed attachments. Are there any plans to either fork that project (I've seen there already is a fork, but it's still at 1.0.8 too) or replace that code somehow?
In any case, thanks for that great library, in particular the Outlook parser!
-- Ch.

Indeed there are plans to fork it officially. I already obtained permission from the current maintainer (who archived it, which was also a fork) and the past developers of the original code to change the license to Apache v2.
So the ball is completely in my court, but for past weeks I have been preoccupied completely. I surely plan to bring the library further but I don't have a time span for you at the moment. Sorry for that.


 If you are admin - you can get all option buttons, but chat buttons are the same as for other users.
By my concept, admin have access to preset and model change buttons - because this influence for all other users. While chatting, admin should get the same rules as others.
If admin have a problem with option buttons - please, inform me.


Fixed Odd Avatar Notification Loading Issue

@codyseibert

@codyseibert Here is the fix for issue #217. Sorry for the number of commits, I could really appreciate only from the vercel deployment


HHH-16612 NPE on JDBC type code SQL types JSON in combination with explicit table name owner

See Jira issue HHH-16612

@cigaly Thank you very much for the great work. I've been working on a very similar issue and I've included your test and fix in this PR: https://github.com/hibernate/hibernate-orm/pull/6739.


Proposal: Convert Space to 0 in PRN

Dear Scivision
some RINEX writers have the habit to write the 1-digit PRN numbers without the leading 0, e.g. :
17  4 29  0  2  0.0000000  0 23R 2R 8G19R18R 1G14R 9R19G 6G22G32G 2

instead of
17  4 29  0  2  0.0000000  0 23R02R08G19R18R01G14R09R19G06G22G32G02

I have seen this in NAV and OBS files, in both RINEX 2 and 3. In general, this is not an issue for georinex. However, the space ends up in the sv coordinate ticks. This makes it hard to compare the same satellite in two RINEX files, recorded by different receivers.
I propose to check the second character of each PRN for a space and replace it by a 0.
Best Regards
Volker

Dear scivision,
I think the way you implemented this fix, is not optimal. You are checking for the spaces already in the read loop, therefore you are running the following loop 2880 times for a 24h@30s file. Alternatively you could just do this once on the final sv list, before you allocate the xarray.DataSet. Your approach is better in case a RINEX files has both E01 and E 1, but I have never seen this. A RinexWriter does either one or the other.
for i, ln in zip(range(Nsv), f):
sv.append(ln[:3].replace(' ', '0'))
raw += ln[3:]

Fixed in https://github.com/scivision/georinex/releases/tag/v<IP_ADDRESS>


new github token

Success!  I am deleting my temporary pages now...

I'm merging this since it succeeded.


Can I use it with UINavigationController in Storyboard?

I'm trying to use the Sidebar with having all my controllers setup in the Storyboard, but it hangs forever if I have my initial UINavigationController with the RootController inside the Storyboard.
Taking the UINavigationController out and creating with code it will work but this gives me pain with using the MvvmLight NavigationService which is initialized with the UINavigationController initially from the Storyboard.
Problem is when creating the Sidebar.
appD.SideBarController = new SidebarController(this, appD.NavController, leftSideMenuController);
I set the navigation controller at the FinishedLaunching method in the AppDelegate.
Any thoughts?

The information in the issue linked below might help.
https://github.com/jdehlin/Xamarin-Sidebar/issues/11

That is all good and understandable but I don't read somewhere how or if it is possible to use the initial UINavigationController that I have in my storyboard and not creating it in code.
In a nutshell what I want my code to be is.
AppDelegate:
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
NavController = (UINavigationController)Window.RootViewController;
return true;
}
RootViewController which is the Root controller of the UINavigationController in the Storyboard:
partial class RootViewController : UIViewController
{
public RootViewController (IntPtr handle) : base (handle)
{
}
	public override void ViewDidLoad ()
	{
		base.ViewDidLoad ();

		//Set Navigation controller reference so we can use it everywhere
		AppDelegate appD = UIApplication.SharedApplication.Delegate as AppDelegate;

		SchedulerViewController schedulerController = (MainViewController)Storyboard.InstantiateViewController("MainViewController");
		SideMenuViewController leftSideMenuController = (SideMenuViewController)Storyboard.InstantiateViewController("SideMenuViewController");
		appD.NavController.PushViewController(schedulerController,false);
		appD.SideBarController = new SidebarController(this, appD.NavController, leftSideMenuController);
		appD.SideBarController.MenuWidth = 250;
		appD.SideBarController.ReopenOnRotate = false;
		appD.SideBarController.MenuLocation = SidebarController.MenuLocations.Left;
	}
}

I don't do anything differently than what you show in a Storyboard sample I found on this issue, but embedding the RootViewController in a UINavigationController on the Storyboard.
The above code results in preventing the app to start which smells like circular code somewhere
in this line of code:
appD.SideBarController = new SidebarController(this, appD.NavController, leftSideMenuController);
Thanks.

Please create a new nav controller from code behind. Don't use the storyboard  nav controller because it will result with some error when ur trying to to segue other view..,
Always use the nav controller newly created for pushing view and hold a reference in App delegate.


feature: InferPredicates support In

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Docs reorder plugin crashes on app start

Payload CMS versions: 3.3.0
Plugin config:
plugins: [
    docsReorder({
      collections: [{ slug: 'artifacts' }], // The feature will be enabled only for collections that are in this array.,
    }),
  ],

Installed the payload-enchants plugin, trying to enable it for a single collection, that is currently empty. The app crashes on start:
Attempted import error: 'useListInfo' is not exported from '@payloadcms/ui' (imported as 'useListInfo').

./node_modules/.pnpm/@payload-enchants+docs-reorder@1.2.2_@payloadcms+ui@3.3.0_monaco-editor@0.52.0_next<EMAIL_ADDRESS>

docsReorder is not yet compatible with version 3!


Remove jcenter, add mavenCentral and Spring Plugins maven repositories

Adding maven repositories (Maven Central and Spring Plugins) to replace missing dependencies from jcenter.
This is a temporary fix before we upgrade to capacitor v4 which depends on more recent versions of the missing libraries.

Used branch name for releasing that


Supabase client: All connection attempts failed

Environment

OS and Architecture: RKE2 (airgapped)
App or Package Name: LeapfrogAI
App or Package Version: v0.11.0
Kubernetes Distribution: RKE2
Kubernetes Version: v1.28.2
Other:

Steps to reproduce

Set up 10+ users with LFAI
Add multiple assistants and a large number of files to the file management system (varied number of assistants and files per user).
Have the users logged in at the same time and have the users perform various operations.

Expected result

We would expect supabase to be able to handle the simultaneous connections. Would not expect the API and UI to encounter issues given the number of users and files uploaded.

Actual Result

Various users were kicked out of the session / unable to perform application operations. User requests were rejected while seeing the supabase errors.
Restarting the leapfrogai-api deployment was the workaround for being able to fix the issue

Visual Proof (screenshots, videos, text, etc)

LeapfrogAI API pod logs:

  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 76, in handle_async_request
    stream = await self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpcore/_async/connection.py", line 122, in _connect
    stream = await self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 30, in connect_tcp
    return await self._backend.connect_tcp(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 114, in connect_tcp
    with map_exceptions(exc_map):
  File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.ConnectError: All connection attempts failed

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

Traceback (most recent call last):
  File "/leapfrogai/.venv/lib/python3.11/site-packages/gotrue/_async/gotrue_base_api.py", line 111, in _request
    response = await self._http_client.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1574, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1661, in send
    response = await self._send_handling_auth(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1689, in _send_handling_auth
    response = await self._send_handling_redirects(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1726, in _send_handling_redirects
    response = await self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_client.py", line 1763, in _send_single_request
    response = await transport.handle_async_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 372, in handle_async_request
    with map_httpcore_exceptions():
  File "/usr/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/leapfrogai/.venv/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ConnectError: All connection attempts failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/leapfrogai/.venv/lib/python3.11/site-packages/leapfrogai_api/routers/supabase_session.py", line 60, in init_supabase_client
    await client.auth.set_session(
  File "/leapfrogai/.venv/lib/python3.11/site-packages/gotrue/_async/gotrue_client.py", line 640, in set_session
    response = await self.get_user(access_token)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/gotrue/_async/gotrue_client.py", line 586, in get_user
    return await self._request("GET", "user", jwt=jwt, xform=parse_user_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/leapfrogai/.venv/lib/python3.11/site-packages/gotrue/_async/gotrue_base_api.py", line 123, in _request
    raise handle_exception(e)
gotrue.errors.AuthRetryableError: All connection attempts failed

Error message found in leapfrogai-ui logs:

Listening on <IP_ADDRESS>:3000
InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-Bh-eBlsA.js:11:16)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async Array.ssr (file:///app/build/handler.js:1261:3) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:31 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '33'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}
Error fetching assistants InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-DJXll3aH.js:12:28)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async Array.ssr (file:///app/build/handler.js:1261:3) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:31 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '31'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}
(node:1) ExperimentalWarning: buffer.File is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching assistants InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-DJXll3aH.js:12:28)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async fetch (file:///app/build/server/index.js:3360:26) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:45 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '42'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-Bh-eBlsA.js:11:16)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async fetch (file:///app/build/server/index.js:3360:26) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:45 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '43'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
Error fetching thread or messages: Error: 500 status code (no body)
InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-Bh-eBlsA.js:11:16)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async fetch (file:///app/build/server/index.js:3360:26) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:46 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '18'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}
Error fetching assistants InternalServerError: 500 status code (no body)
    at APIError.generate (file:///app/node_modules/openai/error.mjs:62:20)
    at OpenAI.makeStatusError (file:///app/node_modules/openai/core.mjs:268:25)
    at OpenAI.makeRequest (file:///app/node_modules/openai/core.mjs:311:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GET (file:///app/build/server/chunks/_server.ts-DJXll3aH.js:12:28)
    at async render_endpoint (file:///app/build/server/index.js:1228:20)
    at async resolve2 (file:///app/build/server/index.js:3708:22)
    at async csp (file:///app/build/server/chunks/hooks.server-BtaMPuC-.js:92:20)
    at async respond (file:///app/build/server/index.js:3603:22)
    at async fetch (file:///app/build/server/index.js:3360:26) {
  status: 500,
  headers: {
    'content-length': '46',
    'content-type': 'application/json',
    date: 'Tue, 27 Aug 2024 19:32:46 GMT',
    server: 'envoy',
    'x-envoy-upstream-service-time': '18'
  },
  request_id: undefined,
  error: undefined,
  code: undefined,
  param: undefined,
  type: undefined
}

Additional Context
Add any other context or screenshots about the technical debt here.

Were there any Supabase auth pod logs recorded? We might need to run the locust tests on an RKE2 deployment locally, but it is a bit hard to mimic the same network topology experienced in the target environment that you may have encountered this issue in. However, it might just purely be an API issue based on the logs provided.
For the time being, this will likely be prioritized in the next milestone, (M11) - Conformance | Stability | Documentation.

@YrrepNoj


Add GitHub action for building and testing under both Linux and Windows

This adds a GitHub actions workflow, which builds Engine, SharedApplication and Textrude and runs the tests found in Tests. The workflow is run both under Linux (Ubuntu) and Windows via strategy.matrix.
It also includes a config file for act, to run the workflow locally (only Linux). The full image is used for act, as .NET seems to need a rather complete environment.
I also had to disable the GitVersion task, which would need further configuration for running inside GitHub actions.
For the Linux workflow to work correctly, the TextrudeInteractive project is excluded via a separate configuration in the solution named Linux-Debug. This is maybe not the best solution (auto-detecting would be cooler), but this should be reasonable enough for the current setup, in my opinion.

this is great - thank you very much Martin !

this is great - thank you very much Martin !


tests/drivers/ipm/peripheral.mailbox failing sporadically on qemu_x86_64 (timeout)

see https://app.shippable.com/github/zephyrproject-rtos/zephyr/runs/31042/6/tests, the test times out with
***** Booting Zephyr OS zephyr-v1.13.0-3219-gdfc8f0a6d5 *****
starting test - Test IPM
ipm_recv0: 'everything is awesome'
ipm_recv0: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor '

tried so many times with script to reproduce this issue, but failed to reproduce it on my Ubuntu18.04 PC so far.  talked with @andyross, I will try to reproduce it with docker. If anyone can easily reproduce it, please tell me... thanks

with https://docs.docker.com/install/linux/docker-ce/ubuntu/, didn't setup docker successfully(welcome setup docker's BKM). So try to reproduce it with Cinly's Fedora PC(Commit SHA: g4278bf567348).
test it with below command  for i in {1..100}; do scripts/sanitycheck -T tests/drivers/ipm/ -p qemu_x86_64; done (disable the exclude #platform_exclude: qemu_x86_64 in testcase.yaml)
when open SMP in soc config, this issue can reproduce. with SMP disabled, no fail occurred. So I'm checking SMP's code...

this issue has already submitted PR(#14619 ), but this PR depends on https://github.com/zephyrproject-rtos/zephyr/issues/14807.

Took a look here.  As far as I can tell, the earlier problem has disappeared and the only issue is, as @wentongwu discovered, SMP correctness.  There's no point in trying to finesse that with a controversial patch at this stage.  We have lots of known SMP safety issues in the test code already, and the workaround is just to disable SMP on those tests.  We can come back in 1.15 as part of the work for #14639 and fix things at our leisure.

problem still exist
c[?7l[2J[0mSeaBIOS (version rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org)
Booting from ROM..***** Booting Zephyr OS zephyr-v1.14.0-3-g9a8467d83aaf *****
starting test - Test IPM
ipm_recv0: 'everything is awesome'
ipm_recv0: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor '
ipm_recv0: 'incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nost'
ipm_recv0:ASSERTION FAIL [z_spin_lock_valid(l)] @ ../../../../../../include/spinlock.h:78
	Recursive spinlock
*** FATAL ERROR vector 6661 code 1016
***  RIP 9:0x100e46 RSP 16:0x105ba8 RFLAGS 0x2
***  RAX 0x105327 RCX 0xa RDX 0x3f8 RSI 0x4e RDI 0x1052d9
***  R8 0xffffffff R9 0x105ac8 R10 0x0 R11 0x0

Can you please retest this?  Might be fixed.

With 12 hours stress test, can’t reproduce.

Anas can we close this?

Please note that if we close this, we need to revisit the commit 0dd0f9f52a10f1bee71e21ccc7daba7c59b89dbf to enable (it was disabled in the commit to allow testing).

The case is really not designed for SMP as PR #14619 found, and I will disable SMP for this case, but I will do the change as commit https://github.com/zephyrproject-rtos/zephyr/pull/18531/commits/ab3a20921d11392be911861d448126cae72da614 do.

test not supporting SMP is not a medium bug, lowering priority

Hello again. We have tests/drivers/ipm/ failing reproducibly as part of https://github.com/zephyrproject-rtos/zephyr/pull/23693 , with a stack overflow. I proceeded to check if bumping stack would resolve it. Of course, I started with trying that with master (7ca6a05159e9dfdce3e257ec4fc4d5b5b7ad3127) first (Zephyr SDK 0.11.2).
I found that 3 out of 3 initial run hanged with:
[QEMU] CPU: qemu64,+x2apic
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
SeaBIOS (version rel-1.12.1-0-ga5cab58-dirty-20200214_052440-f7294c49af13-zephyr
)
Booting from ROM..Optimal CONFIG_X86_MMU_PAGE_POOL_PAGES 8
*** Booting Zephyr OS build zephyr-v2.2.0-1489-g7ca6a05159e9  ***
starting test - Test IPM
ipm_recv0: 'everything is awesome'
ipm_recv0: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor '
ipm_recv0: 'incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nost'
QEMU: Terminated

Then, in next runs, can't reproduce any more. So, initially reopened, but closing again.


Unexpected behaviors of Tour

Clicking "הקודם" on the "אייקון של מספר התאונות באותו מקום"  makes Tour close.
In the transition from "חיפוש כתובת" to "המיקום שחיפשתם", it seems that another message pops for a fraction of a second.
The message box "אייקון של מספר התאונות באותו מקום" pops twice (?).

Plus, the icon presented in this tour level is way to big

Agree. Should we disable the one we have for the moment?

Once its ready we will. It'll take time

I'm currently working on rebuilding the tour. FYI.

@OmerSchechter - @ronish31 was planning on working on it this week, don't forget to self-assign next time so there will be no confusion..

Oh, I see.. thanks.
@ronish31 how do I get in touch with you? are you on the Slack team?

@ronish31 @OmerSchechter @LironRS How is it going with the tour? We should get that fixed before merging to master.


How do I get Failed results when using GORM batch upsert?

Your Question

I am trying to create records using the Gorm CreateInBatches method. I do not want to fail the complete batch operation if there is any conflict so I am using the gorm clause to ignore conflicts, but I am unable to get failed records with this approach. Is there a way to get the failed records when using batching with ignore clause in Gorm?
code:
result = gormDbClient.Clauses(clause.OnConflict{DoNothing: true}).CreateInBatches(users, 500)

The document you expected this should be explained

Expected answer

The success and failure of gorm depends on the database return. When the ON CONFLICT clause is used, the execution of the sql statement is actually successful, so it will not be regarded as a failure record.


#6465 Do not set resque execution mode for the rest of the tests

With this change I could execute make check-4 successfully. Mind that Resque.inline is set here: https://github.com/CartoDB/cartodb/blob/e30b6f70d2e5edb45c3abd90b590461d1e3799bd/spec/spec_helper.rb#L45 (which seems to be the "default expected behavior")
@juanignaciosl can you please review?

Oh, I didn't know about this (des-)inlining for tests. It seems to make sense, :+1:


Fix Text#asString() mapping

With 22w16b, the mapping for Text#asString() was lost and has now returned to its intermediary name (method_10851) even though its intermediary name has remained the same.

It should've received a new intermediary since its function changed.

I did just notice that it returns something else now, it no longer returns a string, but it definitely still has the same intermediary mapping.
Seems like it now returns the object the MutableText was created with. (E.g. LiteralText or TranslatableText)

This method is likely going to be named getContent.

#3105 named it getContent and has been merged.


Training loss NaN when using multi-head graph attention model

🐛 Bug

I used the GAT model for classification. When I set the head to 1, the training process is fine and quickly converge. But if I increase the head to 2 or bigger, the training loss became from the first epoch
To Reproduce
Steps to reproduce the behavior:

using GAT with head=1, the performance converged to 90%
increase head to 2 with either concate or not, the training loss became nan from epoch 1

Expected behavior

Environment

OS: ubuntu
Python version:3.6
PyTorch version: 1.1.0
CUDA/cuDNN version:8.0
GCC version:
Any other relevant information:

Additional context

Hi, do you have a concrete example to reproduce this? The gat.py example uses multi-head attention, so I am wondering what might cause this issue.


run eject and output set libraryTarget: 'amd' not run?

i have a new project create by create-react-app, and i run eject to config the webpack.config.js
i just modify output three options
webpack.config.js
output: {
      ...
      filename: 'config.js',
      library: 'config',
      libraryTarget: 'amd',
}

and public index.html

    You need to enable JavaScript to run this app.


There is no price in tradingview pair TOMO/BTC

The volume of ETH/BTC is 0

Wrong precision

ok, i will


Make the Github's repoURL and revision paths configurable

The Github service uses the hard-coded argo spec paths to extract the repo URL and synced revision. To make the notification engine generic, this commit makes the paths configurable. If they're not specified, it falls back to the argo API.
Signed-off-by: Nan Yu<EMAIL_ADDRESS>

FYI @sdowell

https://app.codecov.io/gh/argoproj/notifications-engine/pull/115 only shows a single impacted file: pkg/services/github.go.
pkg/controller/controller.go isn't updated in this PR. Is the codecov failure a false alarm?

@pasha-codefresh I found your name on the most recently merged PRs. Can you take a look at this PR?
Feel free to redirect to other reviewers.

sure, @nan-yu , i will check it

Please add an example in the documentation with new variables in the template. Thanks

I just noticed that it is duplication of https://github.com/argoproj/notifications-engine/pull/103 .

Please add an example in the documentation with new variables in the template. Thanks

DONE.

I just noticed that it is duplication of https://github.com/argoproj/notifications-engine/pull/103 .

I also took a look at #103. Besides the breaking change you commented, it also uses RepoURL for both the API field path and the value. I left a comment: https://github.com/argoproj/notifications-engine/pull/103#pullrequestreview-1205416010.


Was this tested on Windows aswell?

I haven't tried this on windows but the git status --porcelain PR that was added to the codebase relies upon grep and awk which I'm not sure are also usable on Windows right now.
Can we check this out?

I've tested on the Git bash, coming with the git installation, on windows 10 and it's correctly executed :)


Allow the postfix service to be disabled/stopped

Currently the postfix service is hardcoded to running/enabled. Can we have a service_ensure and service_enable?

that sounds like a very good idea, @jyaworski! do you wanna provide a patch for that?


Flash

Describe the bug
When tapping the torch button causes the app to crash with the error of flashMode must be set to a value present in the supportedFlashModes array.
To Reproduce
Steps to reproduce the behavior:

Show LuminaController (with torch not hidden)
Tap torch button (either turning it on or using the auto)
Tap shutter button (the app will crash)

Expected behavior
It should take a picture with the flash on.
Smartphone (please complete the following information):
iPad 2017 (12.1)

Hi @aabanaag thank you for opening this issue! Can you please go back and edit the issue to provide the rest of the information I need? I don't have anything meaningful for Steps to reproduce or information about the device this error occurs on. Thank you!

@dokun1 hey, sorry I was swamped with other things to do. Anyways hope my latest update can help.

Closing this issue as this was due to the fact that my app was running on a iPad which has no flash module. Although I think this should be handled since AVCaptureDevice.hasFlash checks if the device has flash module or not.


add zstd compression codec

Proposed changes
ZSTD compression is fast with high compression ratio. It can be used to archive higher compression ratio than default Lz4f codec for storing cost sensitive data such as logs.
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (Yes)
Has document been added or modified: (No)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Compared to Lz4f codec, we see zstd codec get 35% compressed size off, 30% faster at first time read without OS page cache, 40% slower at second time read with OS page cache in the following comparison test.
test data: 25GB text log, 110 million rows
test table: test_table(ts varchar(30), log string)
test SQL: set enable_vectorized_engine=1; select sum(length(log)) from test_table
be.conf: disable_storage_page_cache = true
set this config to disable doris page cache to avoid all data cached in memory for test real decompression speed.
test result
master branch with lz4f codec result:

compressed size 4.3G
SQL first exec time(read data from disk + decompress + little computation) : 18.3s
SQL second exec time(read data from OS pagecache + decompress + little computation) : 2.4s

this branch with zstd codec (hardcode enable it) result:

compressed size: 2.8G
SQL first exec time: 12.8s
SQL second exec time: 3.4s

https://github.com/apache/incubator-doris/pull/8923 need to be merged before users can enable zstd or other codec, since current Lz4f codec is hardcoded and not configurable.


Crash on OS X 10.11

Hi.
I don't know if I'm doing it wrong or what. But it appears that vtop is crashing when I move my cursor insiden the Terminal window.
I have uploaded a video on YouTube showing the problem.
This is on OS X 10.11.3

I experienced the same issue as well.
With the following message after:

(node:23885) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

I experience the same issue. My current workaround: Open vtop in a tmux-window.
Using Ubuntu 14.04.4 LTS, 64bit, Gnome Terminal 3.6.2 with zsh + oh-my-zsh installed.

I experience the same issue. With almoust the same message as @mitogh

(node:20700) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version

Also, sometimes, (I was not able to evaluate what causes it exactly), I get the following trace

TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:278:26)
at exports.spawn (child_process.js:383:9)
at sudo (/usr/lib/node_modules/vtop/node_modules/sudo/lib/sudo.js:30:17)
at Object.upgrade.install (/usr/lib/node_modules/vtop/upgrade.js:58:16)
at Screen. (/usr/lib/node_modules/vtop/app.js:489:14)
at Screen.EventEmitter._emit (/usr/lib/node_modules/vtop/node_modules/blessed/lib/events.js:86:20)
at Screen.EventEmitter.emit (/usr/lib/node_modules/vtop/node_modules/blessed/lib/events.js:103:17)
at Program. (/usr/lib/node_modules/vtop/node_modules/blessed/lib/widget.js:568:12)
at emitTwo (events.js:106:13)

with no additional messages about graceful-fs.
Using archlinux, 64 bit, LilyTerm 0.9.9 with zsh + oh-my-zsh installed.

I expect this is also https://github.com/MrRio/vtop/issues/40#issuecomment-226982911
Does it bomb out when the cursor is at about column 252 ?

Same issue. Here's some output that flashes in the terminal:
(node:15096) Warning: Possible EventEmitter memory leak d       . 11 exit listeners a   d. U e emit   .setMaxListeners() to increase limit
(node:15096) Warning: Possible EventEmitter memory leak d         11 keypress listene   adde . Use    tter.setMaxListeners() to increase limit
(node:15096) Warning: Possible EventEmitter memory leak d       . 11 resize listeners   ded. Use em   er.setMaxListeners() to increase limit
(node:15096) Warning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit
npm

WARN
 deprecated
<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

npm
WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

/Users/Wojtek/.node/bin/vtop -> /Users/Wojtek/.node/lib/node_modules/vtop/bin/vtop.js

/Users/Wojtek/.node/lib
└──<EMAIL_ADDRESS>

Finished updating. Clearing cache and relaunching...
(node:15096) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
(node:15096) Warning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit

Seems like it's fixed in 0.5.7 👍


Reduce number of props by grouping styles props into separate config objects

As it is at the moment, the component is highly customisable, but with the way it is set up, adding more options to customise means more props which is becoming too overwhelming. For example:
   <MultiSelect
          hideTags
          items={items}
          uniqueKey="id"
          ref={(component) => { this.multiSelect = component }}
          onSelectedItemsChange={this.onSelectedItemsChange}
          selectedItems={selectedItems}
          selectText="Pick Items"
          searchInputPlaceholderText="Search Items..."
          altFontFamily="ProximaNova-Light"
          tagRemoveIconColor="#CCC"
          tagBorderColor="#CCC"
          tagTextColor="#CCC"
          selectedItemTextColor="#CCC"
          selectedItemIconColor="#CCC"
          itemTextColor="#000"
          searchInputStyle={{ color: '#CCC' }}
          submitButtonColor="#CCC"
          submitButtonText="Submit"
        />

Above is the minimal customisation that can be done.
So the suggestion is to group all related style props into their own config prop object so there wouldn't be need to add more props to component when specific styling is needed. That would easily be added on the fly by user as it will be catered for by the application of such config props. Below is an example of what it might become:
   <MultiSelect
          hideTags
          items={items}
          uniqueKey="id"
          ref={(component) => { this.multiSelect = component }}
          onSelectedItemsChange={this.onSelectedItemsChange}
          selectedItems={selectedItems}
          selectText="Pick Items"
          searchInputPlaceholderText="Search Items..."
          tagItemStyle={{
             // style definition here
          }}
          selectedIconStyle={{
             // style definition here
          }}
          selectedItemStyle={{
             // style definition here
          }}
          itemStyle={{
             // style definition here
          }}
          searchInputStyle={{
              // style definition here
          }}
          submitButtonTextStyle={{
            // style definition here
          }}
          submitButtonText="Submit"
        />

The above example shows how flexible it would be customise lots of things without the need to update the component.
This would introduce a considerable amount of breaking changes and would see a major version bump.

Also to mitigate the issue described in #12, I am thinking the new implementation should pop up a modal. This would ensure the component has a container all to itself and would also prevent some other subtle issues

This would introduce a considerable amount of breaking changes and would see a major version bump.

It woudn't,

deprecate all the old style props.
Introduce new style objects as props.
Marge deprecated style props to style objects if they exists.

That way it will be full backward compatible.

@prionkor I didn't of that initially. I believe @AugustoAleGon should have this in mind too

@prionkor I agree with you. We can customize 100%. @toystars Let me see if I can check the old styles and work on the dependencies.

@AugustoAleGon @toystars Where are we on this? I really don't imagine we need to support full backward compatibility with these style props - I'd recommend doing a full version bump, tagging it and adding in the changelog what we've changed.

how we will give backgroundcolor to ta

tag


Remove deprecated APIs before 0.7.0 release

Before releasing 0.7.0, we should audit the APIs deprecated in #65 and remove them if nobody has asked us to keep them.

Originally I planned this for 0.6.0 but I think I'll bump to 0.7.0, where we might choose to drop support for really old Spark versions.


⚠ SceneTime has degraded performance

In f36db3a, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1318 ms

Resolved: SceneTime performance has improved in bdfc75a after 6 minutes.


Translations update from Foundry Hub - Weblate

Translations update from Foundry Hub - Weblate for pf2E Extempore Effects/main.
Current translation status:

(Merged manually)


should cards have a fluid option?

Right now cards seem to have a set max-width of 320px, easy enough to override with styles, but it might be nice to have a fluid option to remove that max-width.
Maybe I'm abusing cards, and should be making my own container.

I have done the same, so if you are abusing the cards, you are not alone :)

I'll add a fluid attr, it'll keep it consistent with other components.

Added in 0.1.10.


Contributors Update

Title : Contributors Update
Issue No. : #1201
Code Stack :
Description
Improved UI of contributors page.
Linked with the main page of website.
Made the page responsive
Video/Screenshots (mandatory)
https://github.com/user-attachments/assets/b8cf3870-f979-448d-8561-9384cf945f11
https://github.com/user-attachments/assets/1a829432-85a4-4d23-9cb6-58aa420cb216
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code.
[X]  I have commented my code, particularly in hard-to-understand areas.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have gone through the  contributing.md file before contributing

##Are you contributing under any Open-source programme?

[X] I am contributing under GSSOC'24
[ ] I am contributing under VSOC'24

@apu52 ,
Please review this PR.
Thank You!


darwin.apple_sdk.frameworks.CoreSymbolication: expose under SDK 11.0

Motivation for this change
This is used by the root package, and otherwise prevents the nixpkgs.tarball build from succeeding (e.g. https://hydra.nixos.org/build/146838433) - because we need CoreSymbolication for aarch64-darwin builds.
I haven't actually tested to see if root will now build on aarch64-darwin, but it does at least instantiate (and nixpkgs.tarball is part of tested, so it does need to evaluate)
Things done

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

[ ] 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"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Needed for #128467.

There's also a darwin.CoreSymbolication that might fit the mold here too, but I figured it was safer to use the version from the SDK, even if it is a private framework...

Uh, it isn't the only evaluation issue on 21.05.  I'm not sure if it makes much sense to really try keeping the property unless some check is running somewhere – at least in the tarball job; hopefully OfBorg as well in future.

https://github.com/NixOS/nixpkgs/pull/129427


Speed up read function

Currently pulling one forecast takes 30 seconds on API call - http://pvsite-development-api-sites.eu-west-1.elasticbeanstalk.com/docs#/default/get_pv_forecast_sites_pv_forecast__site_uuid__get
SQL is
SELECT DISTINCT ON (forecasts.site_uuid, datetime_intervals.start_utc) *
FROM forecast_values
JOIN datetime_intervals ON datetime_intervals.datetime_interval_uuid = forecast_values.datetime_interval_uuid
JOIN forecasts ON forecasts.forecast_uuid = forecast_values.forecast_uuid
WHERE datetime_intervals.start_utc >= '2023-02-02'
AND forecast_values.created_utc >= '2023-02-02'
AND forecasts.site_uuid IN ('725a8670-d012-474d-b901-1179f43e7182')
order by forecasts.site_uuid, datetime_intervals.start_utc, forecast_values.created_utc desc

which only takes ~1 seconds  on pgAdmin
The slowness might be due to swagger docs

Ive added some logging in api 0.0.21 to see what is taking a long time

Running your query directly in psql takes about 500ms, which is still awfully slow.
This is not surprising given that no indexes have been defined on the database.
This is the EXPLAIN ANALYZE output:
                                                                            QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Unique  (cost=16917.77..20807.38 rows=32695 width=146) (actual time=304.545..333.378 rows=9332 loops=1)
   ->  Gather Merge  (cost=16917.77..20725.64 rows=32695 width=146) (actual time=304.544..327.944 rows=38976 loops=1)
         Workers Planned: 2
         Workers Launched: 2
         ->  Sort  (cost=15917.74..15951.80 rows=13623 width=146) (actual time=284.618..287.307 rows=12992 loops=3)
               Sort Key: datetime_intervals.start_utc, forecast_values.created_utc DESC
               Sort Method: quicksort  Memory: 3886kB
               Worker 0:  Sort Method: external merge  Disk: 2440kB
               Worker 1:  Sort Method: quicksort  Memory: 3010kB
               ->  Hash Join  (cost=518.44..14982.27 rows=13623 width=146) (actual time=33.265..258.976 rows=12992 loops=3)
                     Hash Cond: (forecast_values.datetime_interval_uuid = datetime_intervals.datetime_interval_uuid)
                     ->  Hash Join  (cost=97.62..14515.31 rows=17575 width=106) (actual time=17.753..228.061 rows=12992 loops=3)
                           Hash Cond: (forecast_values.forecast_uuid = forecasts.forecast_uuid)
                           ->  Parallel Seq Scan on forecast_values  (cost=0.00..13633.72 rows=298355 width=60) (actual time=13.703..134.736 rows=221755 loops=3)
                                 Filter: (created_utc >= '2023-02-02 00:00:00'::timestamp without time zone)
                                 Rows Removed by Filter: 30528
                           ->  Hash  (cost=94.47..94.47 rows=252 width=46) (actual time=2.076..2.077 rows=231 loops=3)
                                 Buckets: 1024  Batches: 1  Memory Usage: 26kB
                                 ->  Seq Scan on forecasts  (cost=0.00..94.47 rows=252 width=46) (actual time=0.027..1.879 rows=231 loops=3)
                                       Filter: (site_uuid = '725a8670-d012-474d-b901-1179f43e7182'::uuid)
                                       Rows Removed by Filter: 3712
                     ->  Hash  (cost=287.27..287.27 rows=10683 width=40) (actual time=12.546..12.547 rows=10668 loops=3)
                           Buckets: 16384  Batches: 1  Memory Usage: 879kB
                           ->  Seq Scan on datetime_intervals  (cost=0.00..287.27 rows=10683 width=40) (actual time=0.872..4.645 rows=10668 loops=3)
                                 Filter: (start_utc >= '2023-02-02 00:00:00'::timestamp without time zone)
                                 Rows Removed by Filter: 3017
 Planning Time: 0.348 ms
 Execution Time: 334.118 ms

I'm not a pro at interpreting those but in general "Seq scan" are bad. Adding indexes on these should fix that:

forecast_values.created_utc
datetime_intervals.start_utc
forecasts.site_uuid
Those basically correspond to the WHERE clause.

Indexes are probably needed on most of the ForeignKeys.

Ah I just realized I misread your post! Sorry! The index stuff is still valid though I think, but won't fix your 30 seconds issue!

Once all the datetimes are in 5 mins blocks, this will speed up


Any plans for maintaining a PostgreSQL image?

Even though Drupal is being developed and most often deployed with MySQL, it supports PostgreSQL also. There are many distributions that are recommending PostgreSQL like https://www.drupal.org/project/cartaro and likely others.
I've tested the official image for it and it's pretty strait forward. What I am missing is configuration tweaks that are PostgreSQL and Drupal related.
Partial docker-compose file:
services:
  sql:
    image: postgres:9.6-alpine
    environment:
      POSTGRES_DB: database
      POSTGRES_USER: user
      POSTGRES_PASSWORD: pass
      # Default port of PostgreSQL is 5432.
  php:
    ...
    environment:
      # Pass on connection details through environment variable.
      PHP_SQL_DSN: pgsql://user:pass@sql:5432/database
      ...
  ... (other services)

You're welcome to try it our https://github.com/wodby/postgres

This worked as-is for me in Linux.
version: "2"

services:
  postgresql:
    image: wodby/postgres:9.6-1.1.0
    environment:
      POSTGRES_DB: drupal8
      POSTGRES_USER: user
      POSTGRES_PASSWORD: pass

  php:
    image: wodby/drupal8-7.1-2.4.4
    environment:
      DB_HOST: postgresql
      DB_USER: user
      DB_PASSWORD: pass
      DB_NAME: drupal8
      DB_DRIVER: pgsql

I didn't try to tune the database using the available environment variables.

PostgreSQL have been added


Dr 794 change password

Changes:

Add Change password functionality
Add Ctrl
Add service
Add view (to be refactored)
Add style (to be refactored)

Thanks @mvillaseco! Is it possible to add some tests to this amazing work you have done?


Assigning StepChain with dictionnary AcquisitionEra

I assigned
https://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/vlimant_task_BPH-RunIIFall15DR76-00057__v1_T_160905_213311_4199
with
{
"SoftTimeout": 159600,
"MaxVSize":<PHONE_NUMBER>,
"BlockCloseMaxEvents": 2000000,
"MinMergeSize":<PHONE_NUMBER>,
"CustodialSites": [],
"MaxMergeSize":<PHONE_NUMBER>,
"NonCustodialSites": [
"T1_FR_CCIN2P3_Disk"
],
"ProcessingVersion": 1,
"MaxRSS": 2027520,
"ProcessingString": {
"BPH-RunIIFall15MiniAODv2-00057_0": "PU25nsData2015v1_76X_mcRun2_asymptotic_v12",
"BPH-RunIIFall15DR76-00057_1": "PU25nsData2015v1_76X_mcRun2_asymptotic_v12",
"BPH-RunIIFall15DR76-00057_0": "PU25nsData2015v1_76X_mcRun2_asymptotic_v12"
},
"Teamproduction": "checked",
"Dashboard": "reprocessing",
"SiteWhitelist": [
"T1_FR_CCIN2P3",
"T2_US_MIT"
],
"TrustSitelists": false,
"AutoApproveSubscriptionSites": [
"T1_FR_CCIN2P3_Disk"
],
"UnmergedLFNBase": "/store/unmerged",
"CustodialSubType": "Replica",
"TrustPUSitelists": false,
"GracePeriod": 300,
"MergedLFNBase": "/store/mc",
"MaxMergeEvents": 200000,
"checkboxvlimant_task_BPH-RunIIFall15DR76-00057__v1_T_160905_213311_4199": "checked",
"SiteBlacklist": [],
"action": "Assign",
"AcquisitionEra": {
"BPH-RunIIFall15MiniAODv2-00057_0": "RunIIFall15MiniAODv2",
"BPH-RunIIFall15DR76-00057_1": "RunIIFall15DR76",
"BPH-RunIIFall15DR76-00057_0": "RunIIFall15DR76"
},
"NonCustodialSubType": "Replica"
}
and
"OutputDatasets":[
"/BdToKK_BMuonFilter_SoftQCDnonD_TuneCUEP8M1_13TeV-pythia8-evtgen/RunIIFall15DR76-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/AODSIM",
"/BdToKK_BMuonFilter_SoftQCDnonD_TuneCUEP8M1_13TeV-pythia8-evtgen/RunIIFall15DR76-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/DQMIO",
"/BdToKK_BMuonFilter_SoftQCDnonD_TuneCUEP8M1_13TeV-pythia8-evtgen/RunIIFall15DR76-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM"
they all have the same acquisitionera despite the chain-specific setting.
Is there anything special needed to assign StepChain ?

Hmm, StepChain requests have only one production/processing task, that means we have a single AcquisitionEra for the whole workflow. My final answer would be that WMCore does not support output dataset definition by step.
About the assignment with dictionary, this is a validation that we can improve and enforce (actually allow) it only for TaskChain requests. So you have to assign StepChain requests just as any non-TaskChain requests.

You can have a look at this template:
https://github.com/dmwm/WMCore/blob/master/test/data/ReqMgr/requests/DMWM/StepChain_MC.json
that's how StepChain requests should be built.

@amaltaro thanks for the schema, I had seen it and used to make the conversion. era was ambiguous but now https://github.com/dmwm/WMCore/blob/master/test/data/ReqMgr/requests/DMWM/TaskChain_MC.json I get it.
I think this is a show-stopper to using StepChain in replacement of TaskChain as requester expect the Campaign/Era + ProcessingString to be multiple

On the other hand, since StepChain is supposed to process all the chain until the end, why can't we change this CMS pattern and make it a single Campaing/Era + ProcessingString?
Is there any good reason to have BlahGS for GEN-SIM tiers and BlahDR for GEN-SIM-DIGI/RECO tier?

I have doubts that this can be changed for many operational and book-keeping reasons, way beyond your and my responsibility.
How hard is it to have StepChain look like TaskChain in this respect ?

I have to "study" the code, but it's likely not possible since StepChain uses a completely different spec layout.

If we want StepChain to be used it has to be fixed. The main use case is that different steps of processing can be submitted as a chain, but each step is an independent entry in PPD database and accounted separately. They won't ever have a single campaign that would do everything from scratch till final user output. It's also very important that they can chain different number of steps, i.e. in some cases they start from existing GenSim in other GenSim is generated and store on the fly.

Dima, I'm not following you.
This issue is only related to the naming of the output datasets, nothing else.
PPD can create as many steps as they want in a StepChain request (shouldn't matter how many PPD requests it is), either completely from scratch or not.
My question was about the output dataset names. We have redundant information on the dataset names since day 0. I wonder if we must keep these redundancy or whether it's just convenience?
Depending on the answer, feel free to give it a priority and I can start looking at how hard is it to make this change .

Hi,
I was asked earlier why we were running task chains and not step chains; seems this ticket is the blocker?
Any progress since the discussion in September?
Thanks,
Brian

Yes, it seems to be the blocker. This issue also affects stepchain: https://github.com/dmwm/WMCore/issues/6787
I had a quick look at it this week and I don't expect it to be simple. WMStep/ConfigSection object doesn't really support dataset naming args (it's up to WMTask), so it's going to be a significant change. Still on my list though

Great, thanks for the update!  The github thread had gone cold, so it was difficult to determine if anyone was still actively thinking about the subject.

This issue was fixed and it's now in testbed. If everything is fine, it will be deployed in production next Tuesday.


[🐞]  function of ref attribute of a dynamic tag does not called

Which component is affected?
Qwik Runtime
Describe the bug
When setting a function to the ref attribute of a dynamic tag, the function does not get called. This was working up until version 1.2.13, but it seems to have stopped working from version 1.2.14.
export const Foo = component$((props: { isDiv?: boolean }) => {
  const element = useSignal<Element>();
  const TagName = props.isDiv ? 'div' : 'p';
  return (
    <TagName
      ref={(el) => {
        console.log(el);
        element.value = el;
      }}
    >
      element nodeType is {element.value?.nodeType}
    </TagName>
  );
});

Reproduction
https://stackblitz.com/edit/qwik-starter-7urfnz?file=src%2Froutes%2Findex.tsx,package.json
Steps to reproduce
npm install && npm run dev
System Info
System:
    OS: macOS 13.6.3
    CPU: (8) arm64 Apple M1
    Memory: 156.70 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.5.0 - ~/.local/share/rtx/installs/node/21.5.0/bin/node
    Yarn: 1.22.19 - ~/.local/share/rtx/installs/node/21.5.0/bin/yarn
    npm: 10.2.4 - ~/.local/share/rtx/installs/node/21.5.0/bin/npm
    pnpm: 8.13.1 - ~/.local/share/rtx/installs/node/21.5.0/bin/pnpm
    bun: 1.0.20 - ~/.local/share/rtx/installs/bun/1.0.20/bin/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 120.0.6099.129
    Safari: 17.2
    Safari Technology Preview: 17.4
  npmPackages:
    @builder.io/qwik: ^1.3.1 => 1.3.1
    @builder.io/qwik-city: ^1.3.1 => 1.3.1
    @builder.io/qwik-react: 0.5.0 => 0.5.0
    undici: ^5.26.0 => 5.28.2
    vite: ^5.0.6 => 5.0.10

Additional Information
This issue seems to prevent client-only components in qwik-react from rendering.
https://github.com/BuilderIO/qwik/blob/72009bbf1af6ce506c1367dcde098fa76c6fc48c/packages/qwik-react/src/react/qwikify.tsx#L96-L98

This will probably be fixed by #5650

I have confirmed it is fixed in v1.3.3. Thank you!


Envoy version/sha should be updated before syncing

The 1.28.0 version didnt sync by itself as the envoy version had not been updated

fixed in #20


update pysal branding

This PR updates PySAL branding by:

adding a PySAL banner to README
updating the PySAL favicon in docs/
including the PySAL logo in docs/ (not used yet)

Partially addressing #41


X11 not automaticall launched, and even when launched it is used on only one X11 app.

Requirements

[X] Yes
[ ] No

CPU Architecture

[ ] arm64
[X] x64

WSL Version

[X] WSL 2
[ ] WSL 1

Version
Microsoft Windows [Version 10.0.22631.4169]
Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Repro Steps
All  terminals are closed. Then I open an Arch terminal. Then I try to launch an X11 app (i.e. xterm). It doesn't launch with error xterm: Xt error: Can't open display: :0.
If I close all terminals, I go back to the windows terminal and run wsl --update command, then when I open an arch terminal and run xterm it works. Actually it takes some more time to launch the arch terminal.
When I open in parallel another arch terminal, still it can't connect to X11. More over, after some time (it is not deterministic I tried to find out when) the X11 "ability" disappears and a consecutive try to launch xterm fails. Only if I re-type  wsl --update the xterm is accessible.
Expected Behavior
When "ubuntu" is used instead, everything works as expected. No matter how many times or how much I wait, the X11 applications run every time without any problems.
Actual Behavior
The arch X11 applications run only once and then X11 session is vanished

ArchWSL2 is not setup to run GUI ootb. Neither is it Ubuntu. So don't expect it to run like Ubuntu.
You'll need to make changes to run GUI applications. Google the error you get or check the ManjaroWSL2 repo on instructions how to setup GUI.

Well, I know what Arch and/or Ubuntu is. I am a hard core Linux user for almost 30 years :) Moreover I prefer to see everything as Linux, just differently packaged. So let me rephrase the question. What breaks in this Arch distribution and X server is not maintained? How can it stay alive? How can I help or where should I start to investigate this?
My motivation is to bring more people to Linux and help others, that's why I am asking. It's not for my personal benefit either (same goes to you I know). If it were just for me, I'd stay in my comfort of my Arch box :smile:

Is there something I can do to fix this issue?


Fix misleading link in system-text-json-converters-how-to.md

The following code in the Registration sample - Converters collection section does NOT compile:
var serializeOptions = new JsonSerializerOptions
{
    WriteIndented = true,
    Converters =
    {
        new DateTimeOffsetConverter()
    }
};

jsonString = JsonSerializer.Serialize(weatherForecast, serializeOptions);

The problem is that the JsonSerializerOptions.Converters property is of type IList<JsonConverter> and we are trying to add an instance of DateTimeOffsetConverter which inherits from TypeConverter instead of the expected JsonConverter. The compiler reports the error as follows:

While filing an issue for the bug, I noticed that the DateTimeOffsetConverter class being referenced in the sample code is not in fact the standard System.ComponentModel.DateTimeOffsetConverter but the custom version created in the Sample basic converter section. So I simply changed the link to point to the custom implementation instead of System.ComponentModel.DateTimeOffsetConverter.

Thanks for following up @IEvangelist! Yes, the code does compile if you take the whole sample including the custom DateTimeOffsetConverter implementation. However if you just copy the snippet in isolation, the compiler resolves DateTimeOffsetConverter  to the built-in System.ComponentModel.DateTimeOffsetConverter and then the code fails to compile.

Thanks @tdykstra - removing the ambiguity completely is the way to go :+1:

Closing and reopening to trigger build


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2012 ms

Resolved: Bofrost.at performance has improved in 7617d71.


feat(lightning): Add signet params to networks object

This PR:

Creates networks.ts file and adds signet key with new params.
Updates references to the networks file accordingly.
Updated ENetworks.mainnet value to bitcoin to match bitcoinjs-lib's networks object key.

nice!


fails when box is in FIPS mode

anchore-engine-anchore-engine-catalog-7b9b766788-sbcjg anchore-engine-catalog [service:catalog] 2021-01-27 17:19:27+0000 [-] [Thread-729] [anchore_engine.clients.services.internal/dispatch()] [ERROR] Failed client call to service simplequeue for url: http://anchore-engine-anchore-engine-simplequeue:8083/v1/queues/watcher_tasks/is_inqueue. Response: {'httpcode': 500, 'anchore_error_raw': 'b\'"[digital envelope routines: EVP_DigestInit_ex] disabled for FIPS"\\n\'', 'anchore_error_json': '[digital envelope routines: EVP_DigestInit_ex] disabled for FIPS'}

See similar issue and how to avoid it: https://github.com/s3tools/s3cmd/issues/1005
chart version:
helm list
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
anchore-engine  anchore         1               2021-01-27 17:07:11.379189889 +0000 UTC deployed        anchore-engine-1.11.5   0.9.0

@zhill any idea which release it will go into?

bump

https://github.com/psycopg/psycopg2/issues/1170

Hi @davidkarlsen I've got some changes in testing, in #985. If things look ok when we do more testing, then either 0.9.4 or the next minor release will have the fix.

Have been testing the #985 fix and more updates are needed to handle SQLAlchemy (may need to monkey patch it). Will update here, but did not make 0.9.4. We are going to have to get FIPS compliant test infrastructure to ensure this is correct in CI, so may take more time than available for the next feature release as well. But, we are working on it and will continue updates as we make progress.

Hey @zhill, just ran into basically this exact same issue on a RHEL7 installation. Any chance there's any updates on this since mid May?

Closed by #1193 and released in v0.10.2


Making all LICENSE headers "uniform".

This PR is srs bznz!
(I'm not crazy, I just noticed this when quickly closing one file and the one under it had a different indent level in the same spot.)

Ha, exactly!


Add breakcube and update SDF MC

General:

[x] The pull request title is descriptive. (ex. Added Lunar Network, not Updated metadata.json)
[x] The pull request does not contain any unrelated commits. (ex. commits from previous pull requests)

Mapping Additions or Updates:

[ ] Folder with appropriate name has been created / updated (must not include any non-alpha characters or whitespace).
[ ] No changes were made to the file's formatting (4 spaces per tab).
[ ] There are no syntax errors.
[ ] There is no pre-existing mapping matching my id (check if there is an existing folder).
[ ] My field values match your requirements.
You can view our patterns here: metadata.schema.json, or take a look below and complete the field checklist:

[ ] id: a lowercase string, which should match the folder name (ex. myserver)
[ ] name: a string (ex. MyServerPvP)
[ ] description: hook between 16 and 80 characters (ex. Home of Competitive Minecraft PvP)
[ ] addresses: an array with lowercase strings (ex. ["my.server", "your-server.com"])

You do not need to specify subdomains, Lunar Client services automatically detect them.

[ ] primaryAddress: the primary address that people connect to with (please include the subdomain if required) (ex. mc.my.server)
[ ] minecraftVersions: an array with Minecraft versions as strings _(ex. ["1.18._", "1.19.2"] - Must be versions or subversions supported by Lunar Client)*
[ ] primaryMinecraftVersion: a Minecraft version as a string (ex. 1.19.2 - Must be a subversion supported by Lunar Client)
[ ] primaryColor: a hexademical color code that primarily distinguishes the server (ex. #00FFFF)
[ ] secondaryColor: a hexademical color code that accompanies the primaryColor of the server (ex. #FF0000)
[ ] primaryRegion: the primary region where your server operates in (ex. NA)
[ ] regions: a list of regions where you have servers located that service your players (ex. ["NA", "EU", "AS"])
[ ] gameTypes: a list of games that describe the content on your server, must be a max of 3 listed (ez. ["PVP", "UHC", "HCF"])
[ ] crossplay: whether the server has support for Bedrock Edition players (through proxies such as GeyserMC)
[ ] (optional) presentationVideo: YouTube video ID (in slug) to server trailer / introduction (ex. 7EV4cPuJvXE)
[ ] (optional) website: url of server website, must include URL schema (http:// or https://) (ex. https://www.your-server.com)
[ ] (optional) store: url of server store, must include URL schema (http:// or https://) (ex. https://store.your-server.com)

Socials

[ ] (optional) twitter: username of twitter account without the @ (ex. MyServer)
[ ] (optional) discord: invite link to discord (ex. https://discord.com/invite/4ceEJuH)
[ ] (optional) youtube: slug or username of youtube channel (ex. MyServer)
[ ] (optional) instagram: username of instagram account (ex. MyServer)
[ ] (optional) twitch: username of twitch account (ex. MyServer)
[ ] (optional) telegram: slug of telegram group (ex. MyServer)
[ ] (optional) reddit: slug of subdreddit wtih 'r/' (ex. MyServer)
[ ] (optional) tiktok: username of tiktok account (ex. MyServer)
[ ] (optional) facebook: slug of facebook page (ex. MyServer)

Compliance

[ ] (optional) privacyPolicy: url to your Privacy Policy (ex. https://www.lunar.gg/privacy)
[ ] (optional) termsOfService: url to your Terms of Service (ex. https://www.lunar.gg/terms)
[ ] (optional) rules: url to your Rules (ex. https://www.lunar.gg/rules)

Media:
Logo

[ ] My logo is a png file.
[ ] I have uploaded my logo to my server folder (ex. lunarnetwork) and named it logo.png.
[ ] My logo has a transparent background and is square (1:1 aspect ratio).
[ ] My logo is 512 pixels in width and height.
[ ] My logo is my own property and complies with relevant copyright/privacy laws.

Background

[ ] My background is a png file.
[ ] I have uploaded my background to my server folder (ex. lunarnetwork) and named it background.png.
[ ] My background has an aspect ratio of 16:9.
[ ] My background is atleast 1920 pixels in width and 1080 pixels in height (can be bigger, but must remain the same aspect ratio).
[ ] My background contains relevant content pertaining to the server, is my own property, and complies with relevant copyright/privacy laws.
[ ] My background doesn't contain any markings, text, or logos (unless part of a build).

@Anakinnnnn

This is a minehut server

indeed, but its a part of a network im a part of so it would be lovely to have it show separately other than just Minehut

@Anakinnnnn could you pretty please approve it

This is a minehut server

indeed, but its a part of a network im a part of so it would be lovely to have it show separately other than just Minehut

Hey @skyy-codes, we don't currently support users submitting their Minehut servers to ServerMappings (specifically ones that utilize the minehut.gg domain) due to how the domain matching works internally in our system. We recommend submitting servers that utilize a standalone domain.
Sorry if this isn't articulated in the documentation. I will make some adjustments in a follow up to it clear the restrictions around the domain portion of the submission.


⚠ Thumbnails API Endpoint has degraded performance

In a7f012d, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 5711 ms

Resolved: Thumbnails API Endpoint performance has improved in 07dbf4b after 8 minutes.


signal.fftconvolve return a tuple including lag information

I'd be surprised if this hasn't been raised before, but I think it'd be useful to provide amethod for returning lag information alongside the FFT convolution results.
For people new to cross-correlation and the FFT convolution method, it adds an extra step of complexity that can be frustrating.
I suggest passing back a numpy array with the lag information alongside the existing output in a tuple.

Strictly speaking, the indices of a convolution result aren't lags, so the interpretation of the indices change whether you're interpreting the result as a convolution or a cross-correlation (having time-reversed and complex-conjugated one of the input signals).
Can you be a little more specific about the confusion/complexity that you encountered?
FWIW, the example in the fftconvolve docs shows an application of the function to perform a cross-correlation, and also that the lags are given by np.arange(-len(sig)+1,len(sig)) in the case of mode='full'.

Strictly speaking, the indices of a convolution result aren't lags, so the interpretation of the indices change whether you're interpreting the result as a convolution or a cross-correlation (having time-reversed and complex-conjugated one of the input signals).

Sure, I recognise that; I think I was just making a comparison with Matlab's xcorr which does what I'm describing.

Can you be a little more specific about the confusion/complexity that you encountered?
FWIW, the example in the fftconvolve docs shows an application of the function to perform a cross-correlation, and also that the lags are given by np.arange(-len(sig)+1,len(sig)) in the case of mode='full'.

The docs example is good for an autocorrelation, but in the case of cross-correlation, getting the delay / lag out is more involved. See below for an example.
# Ahead example
>>> x = np.random.random(1000)
>>> x_ahead = x[100:]
>>> corr = signal.fftconvolve(x, x_ahead[::-1], 'full')
>>> lag = np.argmax(corr)
>>> lag
999
# Here the lag is fairly meaningless without an additional calculation
>>> lags = np.arange(-x_ahead.size + 1, x.size)
>>> lags[lag]
100

# Behind example
>>> x = np.random.random(1000)
>>> x_behind = np.pad(x, (100,0), 'constant')
>>> corr = signal.fftconvolve(x, x_behind[::-1], 'full')
>>> lag = np.argmax(corr)
>>> lag
999
>>> lags = np.arange(-x_behind.size + 1, x.size)
>>> lags[lag]
-100

Perhaps a solution is a separate xcorr style function that wraps fftconvolve, returning a tuple of the correlation output alongside the lags as I have above.
If you're trying to understand delay in time series data, I think this makes more sense.

A correlation function exists in signal.correlate At the very least, the docs for that function could have some additional notes or an example for computing the lag vector. It looks like matplotlib.pyplot.xcorr actually returns the lag vector, so there is some precedent.
Searching around also reminded me of stalled efforts to add a maxlags argument to convolution and correlation functions in SciPy and NumPy, which would also perhaps motivate returning such a vector.
Would you be interested in putting together a PR to add a keyword argument to toggle returning a tuple of the lags along with the correlation result? The usual thing to do when proposing a feature is to send something out to the Scipy-dev mailing list to get people's opinions. It can be useful to already have a PR started to point to as well.

Sure happy to have a look at this.


Collect distrowatch

See https://distrowatch.com/dwres.php?resource=security

hello ! can i work upon thiss ?


Tenant-based Microsoft Defender for Cloud (Preview) installs but does not exist

Describe the bug
I have deployed a Sentinel all in one deployment that installed and connected the legacy Defender for Cloud subscription based connector. I tried to install the latest Defender for Cloud solution from Content Hub, but the install ended up in an error because the legacy connector already existed. I removed the legacy connector and tried a reinstall from Content Hub and it seemingly worked, but I get an error that says "Data Connector Not Found - The data connector that corresponds to the data type MicrosoftDefenderForCloudTenantBased could not be found" when I try to open the data connector page for the tenant-based preview connector.
I uninstalled the solution and its components from Content Hub blade, and also deleted all Defender for Cloud connectors from Data Connector blade, and then proceeded to install again from Content Hub. The issue still remains, I get an error "Data Connector Not Found - The data connector that corresponds to the data type MicrosoftDefenderForCloudTenantBased could not be found" when trying to access the data connector page of the tenant based connector.
The legacy data connector seems to work without issues while the tenant based does not.
To Reproduce
Steps to reproduce the behavior:

Deploy a sentinel all in one build that enables the subscription based legacy data connector for Defender for Cloud
Try to install Defender for Cloud solution from Content Hub, ends up in error
Disconnect and delete Defender for Cloud legacy connector
Try to reinstall from Content Hub
Both Preview and Legacy connector show up in the Data Connectors blade of Sentinel
Accessing the Preview Connector page results in an error
Deleting the data connectors and deleting from Content Hub and starting over do not fix this.

Expected behavior
Data Connector page for the Tenant based preview connector accessible in the Sentinel UI.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version Latest

Hi @fujiant, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 28-05-2024 Thanks!

Hi @fujiant, could you please try it once using custom deploy the Solution MainTemplate and check whether your issue get resolved.
Sharing the MainTemplate and Custom deployment steps-
Custom Deployment -  Custom Deployment of the Solution - Copy.docx
Main template: - mainTemplate.json
Thanks!

@fujiant, Maybe the solution does not get install/delete properly into the workspace.
As your issue has resolved, closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Allow to run tests with leak detection enabled.

Motivation:
We should add some command to be able to run all tests with leak detection enabled. This will then be used on the CI during PR builds.
Modifications:
Add new docker-compose config to run with leak-detection enabled.
Result:
Easy way to enable leak detection while running tests via docker.

Lets merge so I can use it on the CI.


Add GD extension

The add of pragmarx/google2fa dependency requires the GD extension in PHP to print QR code.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - pragmarx/google2fa v0.7.0 requires simplesoftwareio/simple-qrcode 1.3.* -> satisfiable by simplesoftwareio/simple-qrcode[1.3.0, 1.3.1].
    - pragmarx/google2fa v0.7.1 requires simplesoftwareio/simple-qrcode 1.3.* -> satisfiable by simplesoftwareio/simple-qrcode[1.3.0, 1.3.1].
    - simplesoftwareio/simple-qrcode 1.3.1 requires ext-gd * -> the requested PHP extension gd is missing from your system.
    - simplesoftwareio/simple-qrcode 1.3.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
    - Installation request for pragmarx/google2fa ^0.7 -> satisfiable by pragmarx/google2fa[v0.7.0, v0.7.1].

Will try to get to this week.  Started a new job at GitHub so been a bit busy with on boarding :)

GD has been added to base image utilized in versions 2.0+
:latest has GD as well for those bleeding-edge people.


pdfjs: delete bogus version 0.0.0

A user error in releasing led to the creation of a bogus 0.0.0 version of the pdfjs package, which violates semver and should not be used.

Done!

Thanks!


chrome crash when trying to render data

thanos_build_info{branch="HEAD",goversion="go1.12.5",revision="c6eaf68bec32aefd280318eaef6121d6ddb20d10",version="0.7.0"} 1
go_info{version="go1.12.5"} 1
prometheus_build_info{branch="HEAD",goversion="go1.12.8",revision="43acd0e2e93f9f70c49b2267efa0124f1e759e86",version="2.12.0"} 1

What happened
I am trying to open graph page (e.g. url /graph?g0.expr=&g0.range_input=10800s&g0.end_input=2019-09-12%2009%3A40&g0.step_input=undefined&g0.stacked=0&g0.tab=0)   in Chrome (tested versions 76 and higher) and it becomes totally not interactable. It works in FF and Safari as I know
What you expected to happen
I expect it must work properly
How to reproduce it (as minimally and precisely as possible):
Actually I don't know how to reproduce it properly, from my perspective it looks like rendering 80k sources takes too long.
Using chrome devtools and measuring performance resulted in:

Stacktrace that triggers such long layout:

https://github.com/thanos-io/thanos/blob/master/pkg/ui/static/js/graph.js#L335
As I understand this code triggers several so called reflows and looks like it works  in such way only for Chrome.
I created this issue just to ensure that you will know about this problem. Maybe small redesign (don't show all sources) will be enough

So essentially it seems like you have a bunch of metrics and Prometheus' UI code doesn't have any pagination for this endpoint: https://github.com/prometheus/prometheus/issues/5919 so you end up loading thousands of metric names. We should probably just implement this on Thanos side and stray a bit further away from the Prometheus code.

I can help with UI, when you will design concept =)

I've made some changes in Prometheus to try to deal with this, if you want to try them out in Thanos I pushed a branch with the changes merged to Thanos at: https://github.com/thanos-io/thanos/compare/master...dgl:graphlimitimport

@dgl  your code render limit and just ignore rest metrics =( I think this is not good solution

@vankop try it out, it doesn't ignore metrics; you end up typing more characters to narrow it down rather than scrolling in a huge list.

Nice work @dgl will try to help discussions around upstreaming this. Can you add a PR to Thanos as well? We might merge it sooner as it affects us more.

Sure; made #1609 for thanos.


In NPC module, clicking 'add lair action' crashes the program.

FG5EParser has stopped working
A problem caused the program to stop working correctly... standard windows 10 dialogue. I'm running Win10 (not Creator yet). No other 'add' button causes this crash.

Ack. Will be fixed in the next version.

@Maasq I have implemented it in alpha-v0.2.


官网Editor图片无法显示

就是Editor模块里的图片没法显示😂

We have replaced all intranet images with public urls. Pls reload the browser tab if it has cache.


update pyproject.toml links

Codecov Report

Merging #30 (30cbddd) into main (449d834) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #30   +/-   ##
=======================================
  Coverage   96.72%   96.72%
=======================================
  Files          15       15
  Lines         795      795
=======================================
  Hits          769      769
  Misses         26       26

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