'variable does not need to be mutable' warning from insert_routes!

Example code to reproduce:
let mut router = TreeRouter::new();
insert_routes! {
    &mut router => {
        "graph" => Get: Box::new(move |_: Context, _: Response| {}) as Box<Handler>,
    }
};

which expands to:
let mut router = TreeRouter::new();
{
    use ::router::Router;
    let mut router = &mut router;
    {
        let method =
        {
            #[allow(unused_imports)]
            use ::Method::*;
            Get
        };
        let path = &["graph"];
        router.insert(method, path,
                      Box::new(move |_: Context, _: Response| { }) as
                      Box<Handler>);
        { };
    };
    router
};

And the actual warning message:
warning: variable does not need to be mutable
  --> src/lib.rs:8:5
   |
8  | /     insert_routes! {
9  | |         &mut router => {
10 | |             "graph" => Get: Box::new(move |_: Context, _: Response| {}) as Box<Handler>,
11 | |         }
12 | |     };
   | |______^
   |
   = note: #[warn(unused_mut)] on by default
   = note: this error originates in a macro outside of the current crate

Hi! Thank you for reporting this! This macro has been removed in master, due to how inflexible it is, but I can make a maintenance branch if there's no way to work around this and a fix can be figured out.  The tricky part is to detect if mut is necessary or not.
Do you own the router, as in the example above? In that case you can try something like this:
let mut router = TreeRouter::new();
let router = insert_routes! {
    router => {
        "graph" => Get: Box::new(move |_: Context, _: Response| {}) as Box<Handler>,
    }
};

I think fixing the warning should simply be a matter of having #[allow(unused)] on the assignment statement.
However, in my use case there is no particular reason that I have to use insert_routes, and it would probably be better to move away from it if the macro has been deprecated. What is the suggested replacement for it? For reference, the code that is currently relying on it is here.

I think fixing the warning should simply be a matter of having #[allow(unused_mut)] on the assignment statement.

I'm forgetting that this is possible these days... That could be a good idea.
In the meantime, it looks like you can use the method I showed before, but if you want to move away from the macro, it seems like you will be fine with the insert method. That's what's used behind the scenes, and you are not really using the tree structure of the macro anyway.
The released version doesn't have the new ways of building routers, so your tools are listed here: https://docs.rs/rustful/0.9.0/rustful/struct.TreeRouter.html, unless you feel like using the master branch. It's a bit different, but you will not get any surprise breaks if you lock it to a commit.


BatchParseTable test is failing: fix build

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[X] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[X] Ensure the tests and linter pass
[X] Code coverage does not decrease (if any source code was changed)
[X] Appropriate docs were updated (if necessary)

Fixes #207

@twinkle-kadia not sure we should delete that part out of samples


"Solution" directive throws error in jupyterbook build

Describe the problem
Hi, when I attempt to build a Jupyerbook containing a solutions directive as described in the sphinx-exercise syntax page, the build fails with the following traceback:
Running Jupyter-Book v0.11.2
[etoc] Changing master_doc to 'intro'
Extension error (sphinx_exercise):
Handler <class 'sphinx_exercise.DoctreeResolve'> for event 'doctree-resolved' threw an exception (exception: )
Traceback (most recent call last):
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/domains/std.py", line 1110, in get_fignumber
    return env.toc_fignumbers[docname][figtype][figure_id]
KeyError: 'ex'

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

Traceback (most recent call last):
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/events.py", line 111, in emit
    results.append(listener.handler(self.app, *args))
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx_exercise/__init__.py", line 126, in __init__
    self.process(doctree, docname)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx_exercise/__init__.py", line 313, in process
    self._update_linked_node_title(node)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx_exercise/__init__.py", line 154, in _update_linked_node_title
    target_number = self.domain.get_fignumber(
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/domains/std.py", line 1114, in get_fignumber
    raise ValueError from exc
ValueError

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

Traceback (most recent call last):
  File "/path/to/envs/atm433/lib/python3.8/site-packages/jupyter_book/sphinx.py", line 167, in build_sphinx
    app.build(force_all, filenames)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/application.py", line 352, in build
    self.builder.build_update()
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 296, in build_update
    self.build(to_build,
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 360, in build
    self.write(docnames, list(updated_docnames), method)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 534, in write
    self._write_serial(sorted(docnames))
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/builders/__init__.py", line 541, in _write_serial
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/environment/__init__.py", line 539, in get_and_resolve_doctree
    self.apply_post_transforms(doctree, docname)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/environment/__init__.py", line 590, in apply_post_transforms
    self.events.emit('doctree-resolved', doctree, docname)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/sphinx/events.py", line 119, in emit
    raise ExtensionError(__("Handler %r for event %r threw an exception") %
sphinx.errors.ExtensionError: Handler <class 'sphinx_exercise.DoctreeResolve'> for event 'doctree-resolved' threw an exception (exception: )

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

Traceback (most recent call last):
  File "/path/to/envs/atm433/bin/jb", line 10, in <module>
    sys.exit(main())
  File "/path/to/envs/atm433/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/path/to/envs/atm433/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/path/to/envs/atm433/lib/python3.8/site-packages/jupyter_book/cli/main.py", line 316, in build
    builder_specific_actions(
  File "/path/to/envs/atm433/lib/python3.8/site-packages/jupyter_book/cli/main.py", line 516, in builder_specific_actions
    raise RuntimeError(_message_box(msg, color="red", doprint=False)) from result

The particular markdown file that contains the solution directive is named ex.md in my repository and is linked below.
ex.md
Thanks!
Kevin
Link to your repository or website
https://github.com/ktyle/sphinx_exercise_proto
Steps to reproduce
run
jupyterbook build .

in book's top directory
The version of Python you're using
3.8.10 (also occurs on 3.9.x)
Your operating system
Linux (also occurs on Mac 11.2 M1)
Versions of your packages
Jupyter Book      : 0.11.2
External ToC      : 0.2.2
MyST-Parser       : 0.13.7
MyST-NB           : 0.12.3
Sphinx Book Theme : 0.1.1
Jupyter-Cache     : 0.4.3
NbClient          : 0.5.3
sphinx-exercise :0.1.1
sphinx: 3.5.4

Additional context
No response

An update: the problem seems to be related to the default behavior of numbering each exercise. If the :nonumber: flag is set, the page builds properly. Omitting this flag causes the admonition-like box to be blank (i.e., "Exercise" does not even appear).

Thank you @ktyle for the issue, and for explaining how to recreate it. Will make a new release soon with the fix.

@ktyle This should be fixed now with the latest release v0.2.1. Sorry for the delay.

@AakashGfude Looks good!! Thanks!


[BEAM-122] Forward port changes to backport of BEAM/pull/391 from DataflowJavaSDK/pull/289

R: @bjchambers

LGTM

Actually, can you update the description to include what you're forward porting from and/or just describe the changes? This message will be non-descriptive when it shows up in the history.

done


[Github] Template labels in Create Issue are incorrect

Extension – Github
Author: @RSO @grzegorzkrukowski
Description
When using Raycast to create a GitHub issue using an Issue Template, the templates are labeled with their title and not name.
Steps To Reproduce

Open Raycast
Try to use Github Create Issue
Go to use an issue template
Recognize the template's label

The current behavior

The label given to the template is the title, which should be the pre-filled title of the issue

The expected behavior

The label given should be name, which is the name of the issue template

Raycast version
Version: 1.29.1

Hoping to see if @RSO @grzegorzkrukowski have any thoughts here before it's closed!

Just to double-check, is this report concerning the native GitHub extension in Raycast?

Just to double-check, is this report concerning the native GitHub extension in Raycast?

@RSO yes that's correct

Hey @galligan so sorry for taking so long, something went wrong with the handoff here! Since this is concerning a native extension and not one that's maintained in this repository it's kinda fallen through the cracks. I'll make sure that someone looks into this though!


Colspan over 1fr prompting auto columns to needlessly expand

The "BC"  column should have the same width in both samples.

#tablex(
    columns: (auto, auto, 1fr),
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D]
)

#tablex(
    columns: (auto, auto, 1fr),
    colspanx(3)[Hello world! Hello!],
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D]
)

Fixing this is a bit harder than it may seem - a colspan may span a fractional column which does not span all the available space (e.g. if there are two 1fr columns: each will take half of the available space). Such a case would require some form of two-pass algorithm.

With fit-spans: (x: true), this problem can now be manually solved.
#tablex(
    columns: (auto, auto, 1fr),
    fit-spans: (x: true),
    colspanx(3)[Hello world! Hello!],
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D],
    [A], [BC], [D]
)

Keeping this open so I can make tablex smarter in the future, in case the cell spans all fractional columns.

This particular case (of a cell spanning all frac columns) is now automatically handled. For other cases, the fit-spans: (x: true) option must be used to opt into having auto columns ignore colspans.


Dockerfile + README - Add basic support for MapReduce

Add basic support to run MapReduce using this image.
Make the minimal changes to the Dockerfile and add instructions in the README for running an example mapreduce job (included in hadoop source code).

Using YARN ?

What are the possible options?
I was under the impression that you could MapReduce without YARN. For exemple, HBase bundles its own mapreduce version in standalone mode. Is there something like this in MapReduce v2 ?

I'm not sure... I'll investigate
On Wed, Sep 16, 2015 at 9:37 AM, David Lauzon<EMAIL_ADDRESS>wrote:

What are the possible options?
I was under the impression that you could MapReduce without YARN. For
exemple, HBase bundles its own mapreduce version in standalone mode. Is
there something like this in MapReduce v2 ?
—
Reply to this email directly or view it on GitHub
https://github.com/GELOG/docker-ubuntu-hadoop/issues/6#issuecomment-140744768
.


Depth Quality 'Directionality'

So @Luxonis-Brian have observed that there's some 'direction of motion' impact on depth quality.
Examples are below:

https://photos.app.goo.gl/sYKeqccPCGVWBECp9
https://photos.app.goo.gl/8AKdayybiS7PxrvG9

I'm wondering if this has to do with median filtering.
To investigate this, I'm thinking we try disabling median filtering and observe what the raw disparity looks like, to see if it has any of this phenomenon by itself.

@szabi-luxonis just pushed a branch with median filtering disabled to try this out, here:
https://github.com/luxonis/depthai-python-extras/tree/median_disabled_10.15
Going to give it a whirl shortly.

Trying the median_disabled_10.15 above, the same phenomenon occurs, so the phenomenon is definitely not caused by the median filter.

https://photos.app.goo.gl/Sfg83y3qypGcmPYT9

Fixed.
https://photos.app.goo.gl/RouL7GstiVuHbfkBA
If anyone else is seeing this problem, use this branch:
https://photos.app.goo.gl/RouL7GstiVuHbfkBA
And we'll be integrating this into Master soon.

This is now in the process of being merged to Master via this PR:
https://github.com/luxonis/depthai-python-extras/pull/59

Merged into Master https://github.com/luxonis/depthai-python-extras/pull/59#event-3233158538 so closing this issue.


Search: Confirm metadata copy

https://wellcome.slack.com/archives/C3TQSF63C/p1669302735775409
Confirm meta description and relevant h1

All
Title
Search | Wellcome Collection
{query} | Search | Wellcome Collection

Description
Search Wellcome Collection. Our stories, images and collections make connections and provoke new thinking about health and human experience.

Tab
All

Placeholder
Search Wellcome Collection

Stories
Title
Stories search | Wellcome Collection
{query} | Stories search | Wellcome Collection

Description
Search for stories about health and human experience. Our words and pictures make connections, provoke new thinking and share lived experiences.

Tab
Stories

Placeholder
Search for stories

Images
Title
Image search | Wellcome Collection
{query} | Image search | Wellcome Collection

Description
Search for images about health and human experience. Our collections include paintings, photogrpahs, engravings, etchings, illustrations and more.

Tab
Images

Placeholder
Search for images

Catalogue
Title
Catalogue search | Wellcome Collection
{query} | Catalogue search | Wellcome Collection

Description
Search our collections about health and human experience. Our collections include books, manuscripts, visual materials, journals and unpublished archives.

Tab
Catalogue

Placeholder
Search the catalogue


Issue with student application advancement

Context
Bug not for summer launch but is holding up the business from testing.

Portal: Student portal
Account name: joshuaS
App number:<PHONE_NUMBER>

Time of occurrence
Occurring consistently (tested today)
Happened in June, there was a FIX, but broke again
Page/section of application
Any submission or edit of the application leads to the status being stuck as “Submitted” status
Program or offering name (if applicable)
My app used Josh walking program Sept-Dec offering
Bug
Describe the Bug
When you submit any application or edit of an application the status of the application goes to submitted but does not proceed and complete other processes.
Expected Behaviour
It should proceed to in progress then assessment then coe etc…
Actual Behaviour
Does not move past the submitted status.
Steps To Reproduce
Steps to reproduce the behaviour:

Create and complete a student application
Submit the application
Check status and it is stuck at submitted

Screenshots

Signori resolved this


URL regular expression is overly restrictive

Should allow ":"s in urls, like https://commons.wikimedia.org/wiki/File:OIC_street_sign_south_perth_old.jpg

This seems to be because the imageExists function in use.js:228 is calling the error callback for that url.

Upon further investigation,  the url supplied is not an image url.  It's a web page url.  For example, if you use https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/OIC_street_sign_south_perth_old.jpg/320px-OIC_street_sign_south_perth_old.jpg
it works just fine.


Fix race conditions in UiaTextRangeBase

We need to lock the buffer when getting the viewport/cursor position.
This caused the UIA overlay to randomly fail to update.
Validation Steps Performed

Open a cmd tab and hold any key immediately
Repeat until you're somewhat confident it's gone ✅

Added to 1.20 as well


unused _defmt symbols are kept by the linker

related to #586
Steps to reproduce
Start from app-template, configure it to use the main branch of defmt then modify hello to look like this
fn main() -> ! {
    app::exit()
}

$ cargo build --bin hello --release

$ arm-none-eabi-nm -CSn target/thumbv7em-none-eabihf/release/hello | rg _defmt
0000000c 00000001 N _defmt_version_ = 3
0000000d 00000001 N _defmt_encoding_ = rzcobs
00000282 00000022 T _defmt_timestamp
000002ea 00000002 T __defmt_default_timestamp
000002ec 00000014 T __defmt_default_panic
000003e8 0000008e T _defmt_acquire
00000476 000000e6 T _defmt_release
0000055c 0000019e T _defmt_write

This is going to become more relevant after #519 lands because even if you fully disable logs (DEFMT_LOG=off) the symbols are kept and they take up valuable Flash space.

Behavior is the same using GNU LD so probably not a LLD bug.
Removing EXTERN from defmt.x lets the linker GC the symbols as expected (but IME not having that can break linking in the presence of parallel codegen units)

it seems that rustc is wrapping all Cargo dependencies (rlibs) in --start-group and --end-group when it passes them to the linker (I'm almost sure that was not the case years ago?) -- tested that on nightly because I needed to use -Z print-link-args. If that's the case and --start-group / --end-group is used also on stable then we may not need the EXTERN command in the linker script and linking should Just Work. (--start-group / --end-group forces the linker to look at all object files specified between those two flags -- the default linker behavior is to stop scanning object files as soon as pending undefined references are all. The use of --start-group/--end-group strikes me as a bit odd: it will make the linking process slower)
so ... maybe we can drop the EXTERNs to fix this issue and things won't break horribly?

Any recent changes here?
I found this issue after noticing that a big chunk of formatting code was linked into my WIP USB-HS DFU bootloader for an stm32f7.  I'd already removed ~3K of formatting code by persistently using defmt::panic! and defmt::unwrap!, plus not depending on crates that do any raw panics. "cargo bloat" shows 1.7K in "<&T as core::fmt::Display>::fmt", which is only called by the core::panic! implementation, which is only invoked by __defmt_default_panic, which is only linked in because of this issue.  (I provide my own #[defmt::panic_handler] diverging fn that just does a udf.)
I see that the linker script now does a "PROVIDE(_defmt_panic = __defmt_default_panic)", and I see that the implementation of #[defmt::panic_handler] names the function _defmt_panic, so it looks like the situation is a little different.  Is there a good way to get the linker to drop the __defmt_default_panic now?

I haven't checked yet if feature flags are available to build.rs files, but if they are, would you be open to a PR adding a feature flag (on by default) that if missing would disable this PROVIDE from the linker script?  For binary crates that don't set a defmt::panic_handler, disabling the feature would break linking, but if the binary crate does provide such a function, they can disable the feature with no issues.  And just removing the PROVIDE line definitely saves that full 1.7K from my binary, plus a little for smaller functions only called by it.


Shifted display

I developed on an ESP32-Wroom, a clock based on GPS. I need to display the time on two devices, an LCD and a TV screen.
I prepare 4 records  containing my output. When time come I shoot my records on the LCD and on the TV screen.
I use <hd44780.h>   and <hd44780ioClass/hd44780_I2Cexp.h> to manage the LCD and <ESP_8_BIT_GFX.h> to manage the TV part, inspired by hello world example.
Both displays are updated every second with exactly the same data.
Code is about 700 lines and requires a GPS module and both display
Everything look fine except the the TV display is one second after the TFT display.
I swapped the display so TV is first but that did not do any change.
When I compare the time on my PC, my phone, DC77, and LCD, all of them are in line.
Any clue ?
I ran some more tests to clearly identify the problem.
assume my code display the time every second. I observed that the LCD time is one second ahead of the TV time so I distorted the TV time and display it every 10 seconds.
    lcd.setCursor(0, 0);
    lcd.print(rec_0);

    lcd.setCursor(0, 1);
    lcd.print(rec_1);

  v_ctr = v_ctr + 1;
  if (v_ctr <10) return;
  v_ctr = 0;
  // TV for the next frame to minimize chance of visible tearing
  videoOut.waitForFrame();
    // Clear screen
  videoOut.fillScreen(0);
  videoOut.setTextColor(color);
  videoOut.setTextSize(2);

  videoOut.setCursor(5, 90);
  videoOut.print(rec_0);
  videoOut.setCursor(5, 130);
  videoOut.print(rec_1);

TV display time is 10 seconds late. When LCD time switch to 42, TV time switches to 32.
I also ran another test.
I added  a statement videoOut.waitForFrame(); at the end . Both times on LCD and on TV where identical but the image was tearing.
This issue is not visible in the example Hello world as the code is continuously looping.

I complemented the testing. The display on LCD and TV is refreshed every 10 seconds, so I can take a picture and attach it.

We clearly observe that the TV is 10 seconds late,.
videoOut.print(rec_0); is buffering the data which is sent to the screen by instruction videoOut.waitForFrame();

Temporary fix:
efficient but not really smart:
I replicated the write statement !

Back and front buffers are swapped during videoOut.waitForFrame(); Therefore if it is called ten seconds after data is drawn, it is expected behavior for the onscreen display to be ten seconds late.
In your scenario it sounds like the call to videoOut.waitForFrame(); should be moved immediately after your calls to print() so the back and front buffers are swapped immediately after text data is updated.

As you recommended, I moved the videoOut.waitForFrame(); after the call for print(). Works fine. Thank you.
I suggest that you update the 'Hello world' example which induced me in error.

I agree examples can be updated.
The examples run in a tight loop as fast as possible, so it didn't matter if waitForFrame() was at the end of loop() or at the beginning. But it matters for scenarios like yours where updates are infrequent, so better to be consistent in a way that works for all scenarios.


Open source decision matrix

Create a decision matrix to guide the release of open source code.

Passed Elaine link to: https://github.com/bcgov/BC-Policy-Framework-For-GitHub/blob/master/BC-Open-Source-Development-Employee-Guide/Licenses.md


Figma widget creating a component with tokens attached

I like to make a widget/plugin in Figma where I can with the click of a button create a component with tokens attached to it. (for example field creator) is there a way to make a request to your plugin (read & write) so I can make something like that.

Yes! We're using shared plugin data, so any other plugin can access and set that: https://docs.tokens.studio/contributing/shared-data


vs

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

VS Code Version:
OS Version:

Steps to Reproduce:

my vs code trouble


Enable testing against GCE clusters

Changes to the test framework to run a subset of the tests we have now against a GCE cluster
I'll convert the other tests to work against multi-node clusters in subsequent PRs.
cc @mccheah @ash211

I'd like to get this one reviewed before all else, because it makes the workflow a bit simpler without minikube.

rerun unit tests please

+1!

Looks like the integration test is wedged. @kimoonkim @varunkatta could you please restart it?

@mccheah tests passed. ok to merge?


boards: arm: nucleo_h745zi_q: nucleo_h745zi_q: add fdcan

Enable fdcan support

Note: You could have clubbed this in one single commit.

Do I still need to do it?

Will be added later


Upgrading BackEnd Services

Upgrade the Backend query server from Python to Juypter Notebook for smooth processing.
It will be helpful for further development to train AI & other aspects.

Thanks for the suggestion.
We'll work on the following system represented by you.


Fix prefabs being permanently removed when undoing

When you refresh prefabs and undo, all the existing prefabs are permanently destroyed and cannot be retrieved unless you have a backup.
We need a system in place to gracefully handle undoing changes to prefabs. Hopefully ChangeHistoryService will do the job on its own

This should be resolved from 0b1da80752091b6dd1bfb9c552da2bd78d253dec


APCA inspector invalid result?

The accessibility and color-contrast inspector gives me a "not good" feedback regarding APCA contrast in cases where chrome devtools or other contrast checkers give a positive result
Example :

Front/text color: #22ccee
Back color: #101012
Font size: 18px
Font weight: 600

hi! thanks for reporting and checking in.
last I checked the Chrome DevTools version is using an old version of APCA, VisBug is up to date. I believe this explains the difference between DevTools apca results and visbug's.
regarding the line in the color picker, that's only for WCAG2, which we can see passing in VisBug and devtools.
I don't believe this is a bug, it's mostly that there's been multiple versions of APCA (naturally as it is evolving) and you're running into different versions of it in the wild. If you think i'm missed something, go ahead and reopen this, otherwise I'm going to close it for now as "not a bug".


Enable grouping toggle in default configs does not persist

Enable grouping toggle in default configs does not persist and has to be re toggled every time
https://github.com/juspay/superposition/assets/15166178/c068ff99-0f42-42ac-89f1-d4892f0bacc9

We can put the user choice in Local Storage, can be read from there.


Translate API Reference for ReactDOMServer into Ukrainian

This PR contains a Ukrainian translation of ReactDOMServer API reference.

@mihilbabin @ApolllonDev @liashchynskyi fixed 🔧✅


WindowCovering: Add missing Basic cluster attributes to zap demo config

Problem
What is being fixed?  Examples:

Few Versioning and informative attributes from the Basic Cluster were not present
This PR add those attributes to be at the level of the all-cluster + Lightning demos

Change overview
No logic code change
Just Zap config + autogen endpoint config
Testing
How was this tested? (at least one bullet point required)

Test via chip-tool reading a commissioned EFR32 demo WindowCovering

/rebase

Fast tracking given this has been in review for a while.

@woody-apple @andreilitvin ready for merge

@jmeg-sfy - still have some zap generation conflicts

@jmeg-sfy ?

@jmeg-sfy ?

Rebase / Regen


racer crashes when an invalid file is given to it

looks like libsyntax panics when you pass a syntactically invalid rust file to RACER. I'm trying to convert RACER in a library, so it cannot crash, since the crash then propagates through FFI boundaries, tearing everything down with it.  Does anyone know any solution to this?

Hi @bollu, I think most of the crashyness should be cleaned up now. If you come across new crashes, could you open a bug (or re-open this one) with a stack dump please?
Thanks!


OLS-448: Update Fastapi and Pydantic

Description
Update Fastapi and Pydantic
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[x] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-448
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.89%. Comparing base (4f81c36) to head (86e2b11).
Report is 16 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #780      +/-   ##
==========================================
- Coverage   94.67%   91.89%   -2.79%
==========================================
  Files          53       55       +2
  Lines        1935     2010      +75
==========================================
+ Hits         1832     1847      +15
- Misses        103      163      +60

see 10 files with indirect coverage changes

/lgtm

/approve


Implementing gifski?

First, thanks for this great tool!  I use it all the time to make quick work-in-progress GIFs to share with my team.
That said -- I'm struggling to find the best encoder for my purposes -- System is super fast, has good file sizes, and provides the best quality on my new Win 10 machine, but doesn't translate well to mobile at all (very slow playback, crashes, bad color rendition).  "1.0" translates well to mobile (smooth playback, no additional artifacts) and offers far better  quality than "2.0" but often results in pretty bad banding, and is significantly slower to encode.
I saw that there is a high-quality gif encoder out there that is available for integration in OS projects -- called gifski -- have you taken a look, any plans to integrate into Screen2Gif???  Would love a new option, and it looks like it uses some trickery to get beyond the 256 color limit (or at least appear to). I would go for a longer encode process if I could get very high quality across devices...  thoughts?
Thanks,
Marc

forgot to provide a link:
https://gif.ski

Hi, thanks for the kind words :)
I just implemented the option to use FFmpeg as a gif encoder, so it should be easy to add gifski.
One question, does it support variable framerate (such as FFmpeg)?

I guess the main question is whether or not gifski generates files that are compatible with older players (part of the reason for the ongoing success of Animated GIF).  In some testing I did like a year ago I know FFmpeg worked well.

looks like it uses some trickery to get beyond the 256 color limit (or at least appear to)

For something that's essentially a GIF with support for more than 256 colors, you might want to look into APNG: https://github.com/NickeManarin/ScreenToGif/issues/129

Done, it will be available with v2.11.

I know FFmpeg worked well.

Indeed, it works well enough, it even supports variable framerate. Gifski CLI does not.


Changing the fonts of the signage in the museum

A fix for the museum, changing the plaque fonts to another font (not VCR_OSD_MONO.ttf), with Cyrillic support. Used EBGaramond-Regular.ttf. It would help if the text of the plates were translated.
Short list of changes:

EBGaramond-Regular.ttf font added to ullfont.resource
Changed font replacement system. Now the font of text elements with font "GFS Garaldus" is replaced by "EBGaramond-Regular"
MainPatch.SecondFont has been added to Main.cs, where the new font is now loaded (this should have been clear by now, otherwise the mod wouldn't work. But I described this change just in case. Although GitHub already shows the changes in the code...)

P.S.
I apologise in advance if my actions may have offended you. This is my first time working with code and GitHub. ChatGPT often helps me, and in general he did most of the work.
Here's a Screenshot that clearly shows two fonts working at the same time:

Hello, apologies for taking so long to get back to this. I have been unbelievably preoccupied with IRL duties, uni and other things meaning my free time and energy to work on UltrakULL and other projects has been reduced to slim-to-none for the time being.
This is much appreciated! I realize there have been several leftover instances of Cyrillic characters not being properly applied with the correct fonts in places.
I'll sit down and have a proper look at this when I can, but do note that as well as aforementioned IRL preoccupations, I have also been working on other projects when time permits, meaning UltrakULL has been sitting on the backburner for a while. I fully plan on getting back to it when the time is right, I just cannot say when.

Hey again, I've just sat down and had a look at this. Due to a couple of changes I've made in code structure since the initial PR creation, I can't merge this directly, so I've just adapted the code you've done and made the necessary changes. I've confirmed everything in-game is working as you've shown.
As such, I'll be closing this PR without merging, but rest assured your suggestions have been implemented; Much obliged for them!


HBASE-28714 Hadoop check for hadoop 3.4.0 is failing

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 54s

master passed

+1 :green_heart:
compile
7m 48s

master passed

+1 :green_heart:
checkstyle
1m  7s

master passed

+1 :green_heart:
spotbugs
9m 29s

master passed

+1 :green_heart:
spotless
0m 44s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 51s

the patch passed

+1 :green_heart:
compile
7m 45s

the patch passed

+1 :green_heart:
javac
7m 45s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  7s

the patch passed

+1 :green_heart:
xmllint
0m  1s

No new issues.

+1 :green_heart:
spotbugs
9m 56s

the patch passed

+1 :green_heart:
hadoopcheck
10m 18s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 43s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 32s

The patch does not generate ASF License warnings.

63m 27s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6063/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6063

Optional Tests
dupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless xmllint

uname
Linux 897480cc5674 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / df47eddf520976c4006044fac05f01602e9cdfb5

Default Java
Eclipse Adoptium-17.0.11+9

Max. process+thread count
190 (vs. ulimit of 30000)

modules
C: hbase-asyncfs hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6063/1/console

versions
git=2.34.1 maven=3.9.8 spotbugs=4.7.3 xmllint=20913

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

OK, good. Hadoop check passed.

@ndimiduk FYI.


Incremental bayesian optimisation?

Hi,
I wonder, is it possible for the service struct to incrementally adjust to new suggestions, instead of recomputing everything from scratch in every iteration?

Hi. Could you elaborate? Do you have some suggestions or paper references in mind? At the moment I have just made a straightforward implementation without retaining any state.

Here is the test for EgorService:
#[test]
    fn test_xsinx_egor_builder() {
        let ego = EgorServiceBuilder::optimize()
            .configure(|conf| {
                conf.regression_spec(RegressionSpec::ALL)
                    .correlation_spec(CorrelationSpec::ALL)
                    .infill_strategy(InfillStrategy::EI)
                    .random_seed(42)
            })
            .min_within(&array![[0., 25.]]);

        let mut doe = array![[0.], [7.], [20.], [25.]];
        let mut y_doe = xsinx(&doe.view());
        for _i in 0..10 {
            let x_suggested = ego.suggest(&doe, &y_doe);

            doe = concatenate![Axis(0), doe, x_suggested];
            y_doe = xsinx(&doe.view());
        }

        let expected = -15.1;
        let y_opt = y_doe.min().unwrap();
        assert_abs_diff_eq!(expected, *y_opt, epsilon = 1e-1);
    }

You have doe and y_doe.  In each iteration you consume all of doe and y_doe, to then suggest one doe to compute a y_doe.
Does this imply that for each iteration there is O(n^3) (gp training) complexity?
This crate: https://crates.io/crates/friedrich claims that they are able to process additional samples in O(n^2) time. Would it be possible to leverage this to ensure that suggest will not be cubic?
I want to integrate egobox with a simulated annealing method in a library of mine, but for that it cannot re-train in each step, otherwise it will be far too slow.

Yes each iteration implies a O(n^3) cost. So far in the context of my use cases (n~100), it is not a problem. What is it for you?
Otherwise I forgot about this feature in friedrich, I had already thought about trying to leverage on it but I did not take the time to do so. I suppose it should be feasible to adapt the EgorService to work with friedrich. Actually it was the point of the SurrogateBuilder trait to work with other GP implementations but it will require some work.

In any MCMC-based heuristic, such as simulated annealing, parallel tempering or anything else, the number of steps is very large. We are talking about perhaps up to hundreds of thousands or millions.
For this, it would be very helpful if egobox could implement incremental suggestions. I wonder, is there an even-smarter way to go about this? Perhaps handling updates in less than O(n^2) complexity?

I've recently implemented sparse GP methods in the gp module which might be suitable for such challenge but I still have to refactor to possibly make it available with Egor. Though to my understanding, the primary objective with EGO was to optimize expensive functions (hence the small n) using interpolating GP, I am not sure how it would perform with a regressive/noisy GP.

I want to use Egor's potential incremental suggestions to power bayesian optimisation of up to ~ 5700 input variables (only one output however).
5700 comes from the number of qubits that the biggest quantum annealers currently have. I wrote https://github.com/brurucy/ernst to semi-simulate that.

Do you mean beside having n ~ 1e5 samples, your input dimension is 5700?! 😮

Yes!

In egobox, high dimension is handled with PLS reduction technique and I've more or less successfully used it for something like 120-dim inputs but 5700 is definitely another level and I am not sure at all it can produce meaningful results 😞
I think you have to find out a way to reduce the dimension of your problem for, to my knowledge, no GP can handle such high dimension.

There's a caveat. All of these variables are binary: +1 or -1.

Closing stale issue, feel free to open a fresh one if needed.


Failing to access WSDL

Receive the following error when attempting to access Canvas App from Salesforce:
Failed to access the WSDL at: file:/tmp/build_ada2c53c8bd4854f664bb492af739e64/src/main/resources/toolingapi.wsdl. It failed with: /tmp/build_ada2c53c8bd4854f664bb492af739e64/src/main/resources/toolingapi.wsdl (No such file or directory).
--- Steps to replicate ---

Download current source code
Run app on Heroku
Setup Salesforce Connected App, and link it to Heroku
Upon encountering errors on Canvas.jsp, perform following steps to make compatible with java 1.7:

Add a new file called ‘system.properties’ to the root dir, with this line in it: java.runtime.version=1.7. This tells Heroku to operate on java 1.7 rather than it’s default 1.8
In the ‘pom.xml’ update Java to “1.7”
In Heroku add an environment setting ‘CANVAS_CONSUMER_SECRET’, which matches the Salesforce connected app secret.
Once step 4 completed, attempt to access Canvas App from with Salesforce, and observe attached error.

I've uploaded my code onto a forked copy of your repo, if it helps any!

Unfortunately, I met with the same problem. And I did't find any way to run this so necessary for me application.

Yes i recall this being an issue when i developed it. This was sometime ago though. And after some Googling i am still not recalling what it was. The trick is to get it to load the WSDL from the class path not the file system as i recall. I'll have to spend some more time on this to set it up again. Sorry no immediate answer.

Thank you for your answer Andrew. Now It doesn't matter for me. But I want to say that your answer this (https://github.com/afawcett/apex-toolingapi/issues/48 and your Tooling API wrapper in this app) and your blog(https://andyinthecloud.com/2013/02/02/spring-cleaning-apex-code-with-the-tooling-api/) really help me to write my own tool for finding unused methods in Apex and even in some cases in Visualforce. Maybe, It will be interesting for you (https://github.com/Konstryktor/ApexUnusedMethodsFinder). Thanks a lot. It will be impossible without your job.

Thanks @Konstryktor for sharing, much like ApexUML, i prefer a totally native solution which your approach brings, great job! Do you plan on making it available as a package. I am pretty sure there is a hunger from the community for this. Once again, great work! 👍

Hello Andrew. I am software engineer in EPAM Systems. I think it's a good
idea to share this tool to Salesforce Community and make it available as a "free package" on https://appexchange.salesforce.com/.
Some classes from your application https://github.com/afawcett/apex-umlcanvas are used in this tool. Could I use them in this "free package"?

Sure, the BSD license used here allows this, thanks for asking though. 👍


  The name must use the format feature/NNN-description-of-feature where NNN is a valid GitHub issue number from the main repository.  Please rename your branch and submit a new pull request.

Ideally the naming would be something like feature/1285-opp-add-amount. :-) But we can leave this one like this. Not a big deal.


Feature Request: Init only setters

This library seems not to support init only setters from c# 9
how to reproduce
Tested on 1.0.5 on net6.0
Given this code:
[InterfaceGenerator.GenerateAutoInterface]
class Class : IClass
{
    public string Property { get; init; }
}

AutoInterface creates this interface:
internal partial interface IClass
{
    string Property { get; set; }
}

but it should be:
internal partial interface IClass
{
    string Property { get; init; }
}

I've added support for that now, check out the newest version


Enable load balancing policy extensions

Signed-off-by: Eugene Chan<EMAIL_ADDRESS>Commit Message: Enable load balancing policy extensions
Additional Description:
Enables LOAD_BALANCING_POLICY_CONFIG enum value in LbPolicy and supports typed load balancers specified in load_balancing_policy. Continues work done by Charlie Getzen<EMAIL_ADDRESS>in #15827.
Custom load balancers specified by load_balancing_policy are created as implementations of ThreadAwareLoadBalancer. Thread-local load balancers can be implemented as thread-aware load balancers that contain no logic at the thread-aware level, i.e. the purpose of the thread-aware LB is solely to contain the factory used to instantiate the thread-local LBs. (In the future it might be appropriate to provide a construct that abstracts away thread-aware aspects of ThreadAwareLoadBalancer for LBs that don't need to be thread-aware.)
A cluster that uses LOAD_BALANCING_POLICY_CONFIG may not also set a subset LB configuration. If the load balancer type makes use of subsetting, it should include a subset configuration in its own configuration message. Future work on load balancing extensions should include moving the subset LB to use load balancing extensions.
Similarly, a cluster that uses LOAD_BALANCING_POLICY_CONFIG may not set the CommonLbConfig, and it is not passed into load balancer creation (mostly owing to its dubious applicability as a top level configuration message to hierarchical load balancing policy). If the load balancer type makes use of the CommonLbConfig, it should include a CommonLbConfig in the configuration message for the load balancing policy.
Considerations for migration of existing load balancers:

pieces of the ThreadAwareLoadBalancerBase implementation are specific to the built-in hashing load balancers and should be moved into a base class specifically for hashing load balancers. As it stands, custom load balancing policies are required to implement a createLoadBalancer() method even if the architecture of the LB policy does not require a hashing load balancer. I think we would also benefit from disentangling ThreadAwareLoadBalancerBase from LoadBalancerBase, as the former never actually does any host picking.

as we convert existing thread-local load balancers to thread-aware load balancers, new local LBs will be re-created upon membership changes. We should provide a mechanism allowing load balancers to control whether this rebuild should occur, e.g. a callback that calls create() for thread-aware LBs by default, which can be overridden to do nothing for thread-local LBs.

Risk Level: low
Testing: brought up a cluster with a custom load balancer specified by load_balancing_policy; new unit tests included
Docs Changes: n/a
Release Notes: Enable load balancing policy extensions
Platform Specific Features: n/a
Fixes #5598

/assign markdroth
/assign htuch
/assign mattklein123

I'll let those who are more familiar with the Envoy code review this in detail, but at a high level, the functionality describe here looks great, and the API changes look good as well.  Thanks for doing this!

@lizan @htuch who is on the hook here for primary review of the change?

Probably makes sense for @lizan as a non-Googler for multi org policy reasons.

@snowp may want to review as well.

OK I will unassign myself. Let me know if you want me to look at anything in particular.

PTAL, thanks!


Fix UI code to reference api under base path /zipkin

The last change "missed a spot" which wasn't noticable due to a false
positive in ZipkinServerIntegrationTest. We should consider rewriting
this test class if MockMvc isn't reliable.

thanks @a86c6f7964 for reporting cc @shakuzen


Handover Transition - Inconsistent updating times between new and old portal

User had Screenshots from the RFOC-Handover-meeting today (Both versions were updated just before the meeting starting 11:30):
The new version show the “Unsigned Action-flag” for Comm. pkg. 7703-H09, but the detailed status is correct: “No Unsigned Actions”:

The old version seems to have synchronized routines for updating of the “Unsigned Action-flag” and the detailed status: “No Unsigned Actions”:

Please can we make the new version update more often / not sure what the issue is here?

okay, close the ticket! thank you for looking!!


[libcopp] Update library to 1.2.0

Update version

@ehsan-mohammadi  Thanks, the file is added now.

Just so you know, the version in the control file is what we look at to determine if vcpkg upgrade can actually upgrade a port.


Send ajax requests with timer

I send ajax requests with timer every 10 seconds
var count = 0,
    timer = $.timer(function() {
           $.ajax({
                    url: 'http://mysite.com',
                    success: function(){
                    }
          });
});
timer.set({ time : 10000, autostart : false});

When the background mode has been activated play timer.
cordova.plugins.backgroundMode.onactivate = function () {
       timer.play();
 }

It works when the screen is on. But when it is off  ajax requests aren’t going.
Can this plugin do it?
Thank you!

Hi @idimni , I have the same problem. Since you closed the issue, I assume you managed to solve it. If so, can you please give some insights?

Hi @T1st3 ,
cordova.plugins.backgroundMode.enable();
window.powerManagement.dim(function() {
console.log('Wakelock acquired');
}, function() {
console.log('Failed to acquire wakelock');
});
window.powerManagement.setReleaseOnPause(false, function() {
console.log('setReleaseOnPause successfully');
}, function() {
console.log('Failed to set');
});

Hi @idimni , thanks for your answer. This other plugin as a workaround is a great idea!


 Given that Death Acidifiers are standard issue to nuke teams most players will almost always use them as they are probably not aware that this is mechanic exists. It should also mention that this can theoretically be abused by Nukie trolls to prevent a Syndicate victory.
Reproduction

Implant character with death acidifier and equip a nuclear authentication disk.
Activate the implant either manually or through death.
Observe that the nuclear authentication disk has been destroyed.

The following is a link to a round where this happened: https://replay.unstablefoundation.de/replay/28902
Operator Romeo dies and acidifies disk on tick 56963

I was a ghost at the time and did not see the disk on the dead Nukie's body.

it respawns on a random tile not where they died
also ghost warp has to be reopened to update

Its probably possible to make it unparent from something when that something is deleted, that way it would also work for containers and stuff, but weh.


A clear and concise description of what the problem is.
Additional context
Add any other context or screenshots about the request here.

@Naharanak2 Is this issue intentional? Please let us know if there is anything we can help

Closing the issue as it lacks any description, please create a new issue if there is a problem that we can help you with


aurelia with bootstrap tooltip

I m using
tooltip.js -
import {customAttribute, inject, bindable} from 'aurelia-framework'; import $ from 'bootstrap'; @customAttribute('tooltip') @inject(Element) export class Tooltip { element: HTMLElement; @bindable title: any; @bindable placement: any; constructor(element) { this.element = element; } attached() { $(this.element).tooltip({ title:this.title, placement:this.placement }); } }
and view is

 Offering: ${offering}

the binding to tooltip="placement:left; title:${offering}" not working...
any idea please?

closing - this question was answered here:  https://github.com/aurelia/templating/issues/233#issuecomment-217735162


[google_maps_flutter] The app crashes when a screen with the GoogleMap widget is repeatedly navigated to

The app crashes after some accessing the screen with the GoogleMap widget, this occurs on devices and emulators. Take a look at the screenshot below:
.
P.S.: In this snippet of test code, the app takes about 2 to 3 minutes to crash, the record is from the end of that period.
P.S. 2: In larger apps, the problem happens faster, it takes about 1 minute.
P.S. 3: I'm just waiting for this to publish the app.
The console does not generate an error, it just crashes:

Below the code used for the test:
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Map',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Go to Map'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            FlatButton(
              child: Text('Go to Map', style: TextStyle(color: Colors.white)),
              color: Colors.blue,
              onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (context) => Map())),
            ),
          ],
        ),
      ),
    );
  }
}

class Map extends StatefulWidget {
  @override
  _MapState createState() => _MapState();
}

class _MapState extends State<Map> {
  GoogleMapController mapController;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Map'),
      ),
      body: GoogleMap(
        compassEnabled: false,
        mapToolbarEnabled: false,
        zoomControlsEnabled: false,
        initialCameraPosition: CameraPosition(
          target: LatLng(37.42796133580664, -122.085749655962),
          zoom: 14.4746,
        ),
        onMapCreated: (GoogleMapController controller) {
          mapController = controller;
        },
        markers: {
          Marker(
            markerId: MarkerId('Map'),
            position: LatLng(37.42796133580664, -122.085749655962),
            icon: BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueRed),
          ),
        }
      ),
    );
  }
}

Hi @guilhermedaldim
what google_maps_flutter version do you use?
could you provide your flutter doctor -v?
With google_maps_flutter: 0.5.27+1 on dev, 1.18.0-12.0.pre on iPhone 7 iOS 13.4.5 I couldn't reproduce after about 100 opening-closing the map

Hi @VladyslavBondarenko, thanks for your reply.
I'm using the latest version of google_maps_flutter: 0.5.27 + 1
I'm working on the beta, v1.17.0-3.4.pre, but I tested it on all channels and found the crash on all.
Devices where I detected the problem:

Pixel 3 XL Android 10 (API 29)  (Emulator), the crash occurs more quickly;
Xiaomi Mi 8 Android 10 (API 29);
Asus Zenfone Max Pro M1 Android 9 (API 28).

Edit:
I haven't tested on ios devices.
Flutter doctor -v:

[√] Flutter (Channel beta, v1.17.0-3.4.pre, on Microsoft Windows [versÃ£o 10.0.18363.778], locale pt-BR)
    • Flutter version 1.17.0-3.4.pre at C:\flutter
    • Framework revision e6b34c2b5c (5 days ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Guilherme\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.44.2)
    • VS Code at C:\Users\Guilherme\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.10.1

[√] Connected device (2 available)
    • ASUS X00TDB               • J9AXB601K930JN6 • android-arm64 • Android 9 (API 28)
    • Android SDK built for x86 • emulator-5554   • android-x86   • Android 10 (API 29) (emulator)

• No issues found!

this issue happens to me as well, tested on android device Xiaomi Redmi Note 7,
it's possible that theres a problem with allocated memory not disposed correctly, after opening and closing screen with GoogleMap my app memory increased to over 1GB and then the app crashed
tested on Flutter channel master 1.18.0-14.0.pre.19 and google_maps_flutter v0.5.27+1

In some more tests, I could see that the crash starts to occurs in version 0.5.26+4.
The workaround solution, for now, would be to use google_maps_flutter in version 0.5.26+3.

In some more tests, I could see that the crash starts to occurs in version 0.5.26+4.
The workaround solution, for now, would be to use google_maps_flutter in version 0.5.26+3.

the memory leak is still there even after using v0.5.26+3 or any version older than that, it might not be noticeable on small app, but on more complex app the difference on used memory between before and after opening the page with map inside it is quite big
in my case just opening page with maps took at least 150mb of memory, and that memory is gradually getting bigger and never disposed

We are also facing the exact same issue, the application view containing the map goes blank if the app goes to the background (e.g. by hitting the home button) and stays there for some time, bringing the app back to the foreground makes the map screen go blank.
Memory consumption is another issue, for a single screen with a map consumes at least 150mb, and it keeps on going, I have seen it go to at least 500 or so mb, for no reason.
We are on the lastest flutter stable channel, and also on the latest version of the google maps plugin, 0.5.27+3. We tested on Asus Zenfone 3 (Android 8) and Samsung S9 (Android 10), same behavior on both devices. Also, same behavior with debug or release build.
Can someone please raise the priority of this issue to high? This is a blocker for us, and we can't release the app without this issue getting fixed!

We've seen a major improvement to the Google Maps memory consumption on Android by applying this one line change to the Flutter SDK:
https://github.com/flutter/flutter/pull/50111

We've seen a major improvement to the Google Maps memory consumption on Android by applying this one line change to the Flutter SDK:
#50111

I have tried out that the fix, but unfortunately, it didn't help :(. I could still see the memory grow up to a half a gig and also the google maps crashing/going blank after some time.

Thanks for raising this issue. This regression is caused by https://github.com/flutter/plugins/pull/2704
https://github.com/flutter/plugins/pull/2772 should fix it.

https://github.com/flutter/plugins/pull/2772 has landed. The memory leak issue directly contributes to the crash mentioned in the issue should be fixed in 0.5.28+1

flutter/plugins#2772 has landed. The memory leak issue directly contributes to the crash mentioned in the issue should be fixed in 0.5.28+1

This worked for me, thanks for the solution @cyanglaz.
I tested it in the test application mentioned above and in a more complex application, and in both, the failure no longer occurs.

@guilhermedaldim Thank you for verifying. I'm closing the issue.


feat: add assertApproxEqAbsDecimal assertions

Adding decimal formatting support for the assertApproxEqAbs assertions. Since it's a small one I figured I'd just PR instead of opening an issue, let me know if I need to create one

Sorry for the delay here, this slipped by. Do you mind updating this against the latest master? Then I'll review in a more timely manner 😅
Given that we already have assertEqDecimal, adding the equivalents for the approxEq analogs seems reasonable, so supportive of this PR

@mds1 just rebased it


Cannot build on<EMAIL_ADDRESS>ScreenshotDetectionDelegate.kt: (25, 13): 'onChange' overrides nothing

How reproduce:
npx react-native init Test
cd Test
yarn add react-native-detector
npx react-native run-android

# you will next error:
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
e: /home/i/open-source/DetectScreenshot/node_modules/react-native-detector/android/src/main/java/com/reactnativedetector/ScreenshotDetectionDelegate.kt: (25, 13): 'onChange' overrides nothing

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-detector:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

    at makeError (/home/i/open-source/DetectScreenshot/node_modules/execa/index.js:174:9)
    at /home/i/open-source/DetectScreenshot/node_modules/execa/index.js:278:16
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async runOnAllDevices (/home/i/open-source/DetectScreenshot/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:106:5)
    at async Command.handleAction (/home/i/open-source/DetectScreenshot/node_modules/@react-native-community/cli/build/index.js:186:9)

I think this because of Android 10, there is some changes on the storage api

i will fix it this week muscle

I've just created PR to fix it: https://github.com/AzizAK/react-native-detector/pull/24

Fixed by #24 , Thanks to @retyui


Upnp discovery ignore

Hi there
i want to disable Upnp discovery
i am trying to use:
discovery:
  ignore:
    - upnp

but it gives error
how can i do it?

Just don't add the ssdp tag to your config.

can you please explain better how to do it?
thanks

Just add the line ssdp: in your configuration.yaml and restart home assistant

@tibortiz, He wants to disable it.

I was guessing that ssdpand upnp was two different things ...
Because according to the release notes I seems that ssdp activation was bit mandatory in 0.94.0
@mclaudiopt Did you retry with homeassistant 0.94.1 ?
.

You can't ignore ssdp in discovery since it is its own component


Add service catalog test that tests a spring boot application with a postgresql db

What is the purpose of this change? What does it change?
Add test that tests a spring boot application with a postgresql db.
This has been requested by various people that would like to be able to test a spring boot application that uses a database, without actually having to know the details of spring boot development
Was the change discussed in an issue?
No, but it has been mentioned in team meetings
How to test changes?
RUN_ALL_SERVICE_TESTS=true make test-service-e2e should run the new tests along with the existing service catalog tests
make test-service-e2 (which is what Travis uses) will should not execute the new tests

The reason I would prefer this test not run on Travis is that building a Spring Boot application via s2i on a new cluster would take a long time due to the numerous dependencies that a Spring Boot application contains

:white_check_mark: odo build 631 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/9914f1d08a by @geoand)

I dont mind having a separate file @metacosm, I'm on the fence about what the correct way to go should be

:white_check_mark: odo build 688 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/38a639d229 by @geoand)

:white_check_mark: odo build 794 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/cffd6a4378 by @geoand)


Tile no longer has any image

Describe the bug
The tile does not display the coffee icon.
To Reproduce
Steps to reproduce the behavior:

Install Coffee
Add tile to drawer
The tile does not display correctly

Expected behavior
The tile displays the coffee icon.
Screenshots

Device (please complete the following information):

Device: OnePlus Nord N30 5G
Android version: 13

Additional context
Add any other context about the problem here.

The same issue on android 13, colorOs

I updated the icon in the tile in https://github.com/mueller-ma/Coffee/releases/tag/2.24. Can you check if that fixes this issue?

It seems to have fixed the issue.


Remove the pdb file from the module for release builds

PR Summary
Addresses issue #28.
PR Context
Pdb files should not be part of the module release build pushed to PSGallery.

@microsoft-github-policy-service agree


[doc](create table) add since version for some new features

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


Support Bazel 0.24

The following check disallows building with Bazel 0.24, which was released today [2].
https://github.com/kythe/kythe/blob/5de98c1a554013e32bfb1bcaed7e146859a1758c/WORKSPACE#L9
[2] https://github.com/bazelbuild/bazel/releases/tag/0.24.0

Already had #3651 in progress :-)


Proper authorization for maintenance

The application used the Web Authorization - with a local DB.   This is normally best for web sites where users sign themselves up for membership.    I couldn't find how to set up a role that that could be used with the local DB so that edits could be assigned to a role.

Converted to Role-based authorization and off-repo datastore.   Not deployed until the new server is ready.


Error

Log?

There is a memory leak
You need to buy more ram
One of those

https://github.com/Megabyte918/MultiOgar-Edited/wiki/Issue-Template

Ye u need more RAM , your PC can't handle the epicness.

@gyeyoqu Run it with this command:
node --max-old-space-size=512 index.js

😕

No response.


sawtooth-looking plot on hourly time axis

Reported by Ansley B Manke on 12 Apr 2002 19:37 UTC
def axis/t="4-jul-1998:00:00":"30-jul-1998:00:00":1/units=hours  hourax
plot/l=1:50/line/sym=22 t[gt=hourax]
Also, plot/sym for this plot uses only the small-vertical-line
symbol, regardless of the symbol number
Does NOT occur in version 5.33 and before.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/388

Comment by<EMAIL_ADDRESS>on 18 Jun 2002 21:49 UTC
fixed, pplldx.F

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:16 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.


[A11Y] add aria-current to navigation lists

On the main ampstart.com, where-ever the CSS www-current-page exists, we also need to add aria-current="page"
for templates, similar whenever a navlink is "highlighted", aria-current="page" should also be added.

(will need to wait for https://github.com/ampproject/amphtml/pull/12102 to be in prod. ETA ~3 weeks)

i just got rid ofwww-current-page in the recent updates. But there could be a way to add the aria. Thanks for filing


kademlia: dont return father away peer on closestPeer

Hi Elad, could you please add a PR description?


Add heuristic for ordering formulae during computation

Currently, formulae trees are always evaluated by traversing the tree branches recursively from left to right. Similarly, when given several formulae, they are always evaluated in a given order. This is not a problem if we only expect the final result. However, in future, it might be useful to obtain partial results for some (sub-)formulae during the computation. Therefore, it may prove useful to order the sub-formulae with respect to their "complexity" and evaluate simpler sub-formulae first (i.e., "AX p" could be considered simpler than "AF p").
To achieve this, we need to:

devise heuristic(s) to order sub-formulae
implement a preprocessing step to apply the heuristic
modify the main algorithm (and other relevant parts, such as duplicate checking) to respect the ordering

For now, I see two approaches how to do it (there are surely more):

A simple version that preserves the recursive tree evaluation and can be easily implemented. When evaluating binary nodes, there is a decision of which sub-tree to evaluate first. The heuristic can determine which sub-branch will be evaluated first. The ordering could be pre-computed or done on the fly.
A more complex version that would need the evaluation algorithm to be rewritten. First, we can order all sub-formulae. We can then traverse the tree from the bottom according to this order, starting from all terminals, and going up in various branches (alternating them). The tree's nodes could now just contain operator + index + indices of children. A pre-computed dictionary would guide us in which nodes to jump to and evaluate.

In the far future, we could also extend this - we can determine sets of "unrelated" sub-formulae and evaluate them simultaneously.

This raises many good points, I would just add one more note:
In many cases, we can actually speed-up a computation by restricting it to an already known subset of viable results. For example, take the formula (AX a) & (EF b). Here, we know that the result must satisfy both sub-formulas, yet based on the rationale given above, we know that AX a is probably "easier" to compute than EF b. Hence it makes sense to first verify AX a and then verify EF b only on the resulting states.
However, this adds two new issues:

First, this does not necessarily work in every case: if the result of AX a is a set that has a very poor symbolic representation, it can actually slow down the computation of EF, because the computation already starts with this "poor set".
This breaks formula caching is subtle ways, because now each formula is computed for a given "universe" of states, as opposed to the whole state space.

Some other notes:

This can be also applied to disjunction by verifying the "harder" operand only for states where the "easier" one does not hold.
This is also related to patterns like formal x in (formulaA): (formulaB). That is, we explicitly restrict the validity of a quantifier to a know set.


Document the use of the ember-cli --test-page option

The option to specify a --test-page for ember-cli was added in https://github.com/ember-cli/ember-cli/pull/4377.  I took a shot at documenting this here.
I put the options in this order because it seemed like the easiest way to test this out would be to run it one off.  I'm happy to switch them around and indicate testem.json modification first.  I'm not particularly good at writing docs (or really anything for that matter), so don't hesitate to slam my grammar and I will fix it up.
This should probably wait to be merged until ember-cli 0.2.8 is released, but I figured this would be a nice placeholder until then.  I didn't want to clutter up the readme with a 'if you're using ember-cli >= v0.2.8' statement, but let me know if that seems like a better path.

Works for me, thanks for taking the time to document this!


Quick Example Generates Wrong Names

What's going on?
The Quick Example in the ReadMe generates the wrong names
For example:
import React from 'react'
import { ScrollView, Text, KeyboardAvoidingView } from 'react-native'
import { connect } from 'react-redux'
// Add Actions - replace 'Your' with whatever your reducer is called :)
// import YourActions from '../Redux/YourRedux'
// Styles
import styles from './Styles/PizzaLocationListScreenScreenStyle'
class PizzaLocationListScreenScreen extends React.Component {
render () {
return (

PizzaLocationListScreen Screen

)
}
}
Notice the ScreenScreen in the above, which causes an error when importing since the style file is called PizzaLocationListScreenStyle.js
Steps to reproduce
Follow the exact steps on the ReadMe for Quick Example, then try to run the app on android.

ignite doctor results:
ignite doctor
System
platform           win32
arch               x64
cpu                8 cores             Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
directory          C:\React\PizzaApp
JavaScript
node               7.10.0       C:\Program Files\nodejs\node.EXE
npm                4.2.0        C:\Program Files\nodejs\npm.CMD
yarn               0.23.4       C:\Program Files (x86)\Yarn\bin\yarn.CMD
React Native
react-native-cli   2.0.1
app rn version     0.42.0
Ignite
ignite             2.0.0-rc.2   C:\Users\nvara\AppData\Roaming\npm\ignite.CMD
Android
java               -            C:\Program Files\Java\jdk1.8.0_131\bin\java.EXE
android home       -            C:\Users\nvara\AppData\Local\Android\sdk

Yup, looks like someone made a mistake.  We'll have this fixed this weekend.

PRs incoming:
Fix for this one symptom:  https://github.com/infinitered/ignite-ir-boilerplate/pull/72
Fix for the cause early-detection: https://github.com/infinitered/ignite/pull/1072

@NikitaVr - Fixed and new tests in place!


SCMInput enablement proposed api

I have validated that the API works from an extension (ex: git) though the adoption of the API will be in a separate PR.


It is working with mkv ? seems not

Hello,
I try to use your lib to merge mkv file.
I get an error.
DO you know if your lib is working for mkv file ?

Hi @Geremp ,
I am using AVKit to merge videos, So right now only following Video file supported.


Polynomial Sum & Product using Linked Lists

Have you read the Contributing Guidelines on Pull Requests?
Yep!
Description
A dynamic implementation of Polynomial Sum & Product using Linked Lists.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
resolves #3560

Hello maintainers!
Kindly review this...
@HarshCasper @bhav09
@siddharth25pandey

@bhav09  @HarshCasper  @anushkrishnav
Resolved = "\n at EOF"
Please kindly review

@siddharth25pandey @HarshCasper @bhav09
Resolved :)

@all-contributors please add @Suvraneel for his code


Enable Foundation-less manifests

Looks like we missed enabling this for 5.8, but I think we should land it there.

@swift-ci please smoke test


X11 forwarding

Does not have a solution yet. But it is a dealbreaker for many of us.
https://askubuntu.com/questions/1372782/ssh-forwarding-with-wayland-host-and-x11-client

I haven't had a chance to set this up and test it out, but from reading some info that is out there about the forwarding from Wayland through ssh you will need a nested Xserver (Xephyr is one they mentioned to use) as well as adding a GDK_BACKEND=x11 preset string to Wayland.

This sounds like a huge hassle.

Powered simply by plain HTML/CSS ❤

Neither is this true.
<script type=text/javascript src=[/scripts/theme-preload.min.2cd87fd39a3daa32cdd81aa93b3fd0c8201e197e376c9ca5b48b747276e3e8f9da3d3622ff7ad13b5bb0eef8ea34a3e616d190681b9bdbeaa20705f3879a6aae.js](view-source:https://arewewaylandyet.com/scripts/theme-preload.min.2cd87fd39a3daa32cdd81aa93b3fd0c8201e197e376c9ca5b48b747276e3e8f9da3d3622ff7ad13b5bb0eef8ea34a3e616d190681b9bdbeaa20705f3879a6aae.js) integrity="sha512-LNh/05o9qjLN2BqpOz/QyCAeGX43bJyltIt0cnbj6PnaPTYi/3rRO1uw7vjqNKPmFtGQaBub2+qiBwXzh5pqrg=="></script><script async type=text/javascript src=[/scripts/theme-switcher.min.f6c6bfed97205c08dee1e4a60fcde6789575e5fa4cb73eadab3dda9247f881310e546530d8f21dd36db53c12a5786710490677fe585408b19ab779725a204dcc.js](view-source:https://arewewaylandyet.com/scripts/theme-switcher.min.f6c6bfed97205c08dee1e4a60fcde6789575e5fa4cb73eadab3dda9247f881310e546530d8f21dd36db53c12a5786710490677fe585408b19ab779725a204dcc.js) integrity="sha512-9sa/7ZcgXAje4eSmD83meJV15fpMtz6tqz3akkf4gTEOVGUw2PId0221PBKleGcQSQZ3/lhUCLGat3lyWiBNzA=="></script>


CPU fallback for Map scalars with key vectors

This change fixes the failure of queries where a scalar map is
looked up via a vector of keys. Rather than fall back to CPU,
such queries used to evade detection during planning, and failed
at runtime, as described in #6282:
java.lang.IllegalStateException: Map lookup keys must be scalar values
        at org.apache.spark.sql.rapids.GpuGetMapValue.doColumnar(complexTypeExtractors.scala:231)
        at com.nvidia.spark.rapids.GpuBinaryExpression.$anonfun$columnarEval$3(GpuExpressions.scala:258)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed(Arm.scala:73)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed$(Arm.scala:71)
        at org.apache.spark.sql.rapids.GpuGetMapValue.withResourceIfAllowed(complexTypeExtractors.scala:190)
        at com.nvidia.spark.rapids.GpuBinaryExpression.$anonfun$columnarEval$2(GpuExpressions.scala:253)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed(Arm.scala:73)
        at com.nvidia.spark.rapids.Arm.withResourceIfAllowed$(Arm.scala:71)
...

This change allows the query plan to correctly fall back to
CPU mode.
(This change also includes fixes for incorrect whitespaces
and indentation errors in map_test.py.)
Signed-off-by: MithunR<EMAIL_ADDRESS>

Build

splitting these into separate commits would have made the review slightly easier.

Point taken. I was conflicted about combining them in the PR. Putting the changes in separate commits would've been a good compromise. I'll bear this in mind next time.
Thanks for the review and guidance, @andygrove.

why we could not just turn the scalar into a vector and do the lookup. We do that in other places. I know it is not ideal from a memory standpoint, but it works.

I thought about that as well. I didn't think it viable since it would be blowing up an array<struct<K,V>>, potentially much more expensive than just the keys.
I'd be happy to do that in 22.10, if you think that's wise. It'll save my writing a map_scalar_view, or equivalent.

I'd be happy to do that in 22.10, if you think that's wise. It'll save my writing a map_scalar_view, or equivalent.

No I just think we should file a follow on issue to look at it. I mostly agree with you that this is a rare enough case that not doing it now is probably best, but it would be interesting to look at how we could do it efficiently in the future, when a customer asks for it, and I know that someone will. One idea I had, was because it is a scalar map, we could always turn the map into an nested set of if/else like operations. But there could be a lot of other better ways to do it.

Will do. I'll merge this change, to restore behaviour, and file another to track adding support for map scalars.

I have filed #6296 to add support. We'll fall back to CPU in the 22.08 release.

This PR is merged. Thank you, @andygrove and @revans2.


Unable to launch Empire

Empire Version - Latest source code from Github
OS Information - Kali Linux 2016 R2 (32-Bit)
After successful installation tried launching Empire from ./empire executable and received below error:
Error Reference: https://pastebin.com/kBLqva3q

Try running reset.shOn Jun 20, 2017 7:25 AM, Venkata Sateesh Netti<EMAIL_ADDRESS>wrote:Empire Version - Latest source code from Github
OS Information - Kali Linux 2016 R2 (32-Bit)
After successful installation tried launching Empire from ./empire executable and received below error:
Error Reference: https://pastebin.com/kBLqva3q
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

@xorrior Thanks a lot man. This solved my problem.

@str4n63r your welcome.


Merge pull request #1 from rs/master

New Pull Request Checklist

[ ] I have read and understood the CONTRIBUTING guide

[ ] I have read the Documentation

[ ] I have searched for a similar pull request in the project and found none

[ ] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[ ] I have added the required tests to prove the fix/feature I am adding

[ ] I have updated the documentation (if necesarry)

[ ] I have run the tests and they pass

[ ] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
...
update

What's this supposed to do?


Feature request - Snapshot age alerting

If you remove a threshold i.e slow queries/any setting from the config file from the server to be monitored, it should not alert on snapchat age for that server.  While you can change the root settings to ignore for the instance doing it for 150 servers is time consuming, plus you may change that setting in the future to enable it.
Feature request is:  checking to see if the setting is enabled for that server then alert or not on it.

At the moment the repository databases doesn't know that the collection has been disabled.  It would make sense to have send this information and disable it automatically.
As a workaround, you can run a query similar to the one below:
DELETE dbo.CollectionDates
WHERE Reference  IN('SlowQueries','SlowQueriesStats')
AND SnapshotDate < DATEADD(mi,-1440,GETUTCDATE())

This will remove the last collection information for SlowQueries for instances that haven't updated in one day.  This will make it like the collection was never enabled and it won't alert on it anymore.  You can adjust the threshold and Reference as required.
Alternative workaround:
The threshold information is stored in the CollectionDatesThreshold table so writing a script to update that table is another option.  A NULL Warning/Critical threshold can be used to disable.  The InstanceID comes from the dbo.Instances table.

This would also be true for the updating the connection ID in the config if updated it counts as new server rather than updating the current one.

The ConnectionID should be fixed for the life of the instance.  It's set to @@SERVERNAME but you can override this to something unique as required in the config.  If you just want to change how it appears in the UI, you can configure a display name  in the GUI.
If you change the ConnectionID it will become a new instance unless you change the ConnectionID in the repository database before restarting the service to pick up the change.
There wouldn't be a way to know the difference between changing the ConnectionID for an existing instance or deleting the old connection and adding a new one.  I'm not sure if we can handle this.  It should be possible to send the schedule information back to the repository though and use this to exclude snapshot age alerts where a collection has become disabled.

That makes sense, thank you


:bug: Fix doesn't work nameOf*

Fix #750

I thought everyone would define it and then use the scoreboard and teams, which in hindsight is a silly idea.

:tada: This PR is included in version 3.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add talks, workshops and hackathons

Extended the schedule to include all submitted talks, workshops and hackathons.
Tweaked styling to accommodate new multi-track schedule
Enable gray-out javascript only for the day of the LOD (and subsequent days because I'm lazy)

Apparently I'm giving a talk 😊  :bowtie:


I can't run C-x C-e using Repl in Clj.

I can't run C-x C-e using Repl in Clj.

whenever you make request(get/post ...) ->Temporary failure in name resolution


Add Contributers section in the README.md file

I want to add the list of contributors in the Readme.md file.
And also add a "back to top" button at the bottom of readme which will scroll to top on clicking.
Could you please assign it to me under Hacktoberfest?

Hi @kaustab28 sure I'm assigning this issue to you.  Kindly check.

This issue is fixed in #57


dynamic database connection get from the new configuration file

Users will be able to split projects more dynamically, including config files.
Don't have to write all database configurations in one file(config/database.php).

Config::set('database.connections.mysql', Config::get('modules.database.connection'));

DB::purge('mysql');

Now I understand the purge method.
https://stackoverflow.com/questions/46775265/change-the-database-connection-dynamically-in-laravel


[cluster-test] twin node test

Motivation
We want to run twin node for a validator and confirm that this does not affect liveness/TPS.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

Nice
@bors-libra r+
Next thing is to think of inclusion it into nightly?

:pushpin: Commit 348b9fc has been approved by andll

:hourglass: Testing commit 348b9fc9a3ae473e6a59a15f0769a40aea4aa021 with merge 5a023ac61e0c4936878b7feef9c9d8f4cceb85c6...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: andll
Pushing 5a023ac61e0c4936878b7feef9c9d8f4cceb85c6 to master...


Errors when loading Biscuit

When I try to load Biscuit I get the following:

ImportError: cannot import name 'windll' from 'ctypes'
ModuleNotFoundError: No module named 'hintedtext' (after commenting both imports of windll (I would recommend using isort on the project ;) )).
ModuleNotFoundError: No module named 'filetype' ( After removing the hintedtext)
ModuleNotFoundError: No module named 'tkextrafont'
ModuleNotFoundError: No module named 'tksvg' (tksvg has actually been having issues downloading for a while and there is a PR looking to fix the module)
NameError: name 'git' is not defined
Error shows that git isn't installed even though I use it almost every day XD
Probably many more I can't get to yet.

System Information

OS: MacOS
Python Version: 3.11

Aha! mac OS support, that I have no idea of since I'm on windows xd I would love to get some instructions from you on fixing this up, if possible ❤ so far I have been maintaining the windows support, and @cid0rz looks out for linux compatibility.
also the ModuleNotFoundErrors seems like they are not installed at all, or maybe the case is that those libs are not supported in mac, though I highly doubt that's the case. the filetype, gitpython modules should be cross platform supported.
can you try reinstalling all the requirements pip install -r requirements.txt or using poetry if you don't want your packages bloated xd simply poetry install

I installed from requirements.txt twice before running it 😅. I tried searching for many of them individually and pip returned package not found errors.

okay that sorted imports a bit too much xd

okay that sorted imports a bit too much xd

That's hilarious 🤣.

Any progress on Mac support?

What is tkextrafont doing exactly?

I found a workaround to install fonts on the users system instead of having to rely on font libraries to import them into the tcl runtime in a personal project of mine.

**    # Install the Fira Code font
    font: TTFont = TTFont(static_folder / "FiraCode-VariableFont_wght.ttf")
    # Font directories:
    # MacOS: "/Library/Fonts/",
    # Windows: "C:\Windows\Fonts",
    # Linux: "~/.fonts"
    if SYSTEM == "Darwin":
        font_dir = Path("/Library/Fonts")
    elif SYSTEM == "Windows":
        font_dir = Path("C:/Windows/Fonts")
    else:
        font_dir = Path("~/.fonts").expanduser()

    font_dir.mkdir(parents=True, exist_ok=True)
    font.save(font_dir / "FiraCode-VariableFont_wght.ttf")

I'd just ditch it :).

@Moosems I tried this method but it seems i can never bypass the protection windows have
  File "D:\test.py", line 14, in <module>
    font.save(font_dir / "test.ttf")
    with open(file, "wb") as file:
         ^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: 'C:\\Windows\\Fonts\\test.ttf'

Oof 😕. That's not great.

You can't change directory permissions from os calls?

You can't change directory permissions from os calls?

If you don't have the permission to access it, you probably can't modify its permission either.

@Moosems yep rdbende's right, I will have to launch the program in administrator mode in order to do this. Maybe I can make this possible by building an installer program that requires administrator permissions, and during the installation of app, I can also install the fonts. I dont't see another way to bypass windows protection other than this.

I think that's the best way to be honest 😕.

Windows doesn't have a per-user fonts directory? That's pretty lame tbh.

Actually, I think tukaan has some repo somewhere to build tkextrafont for macOS.

Yeah, https://github.com/tukaan/Serif (though I made some improvements to it, and also renamed it to libserif)
It doesn't have build actions, but it's pretty simple: you just need to run the Makefile, and get upload the action deployments. If you want automatic Linux builds as well, you will need to run sudo apt install tcl-dev tk-dev first.

Windows doesn't have a per-user fonts directory? That's pretty lame tbh.

@rdbende actually fonts can be installed for user only in windows,

and these are stored at

but, manually copying the ttf files to that directory won't do though, will have to go through the installation processes.

I think the viable solution here, if possible of course, would be making a Tcl package which lets one use fonts in Tk without actually installing them on the system, and then creating a Python wrapper for that package.

That's the idea of tkextrafont @tigran2008 but it's unmaintained.

closing as #164 mentions this problem


[BUG] - Fix mistakes in website docs

Describe the bug

For a more detailed cost estimate, please also refer to our [Conceptual guides] for more information regarding the basic infrastructure provided by Nebari.

https://www.nebari.dev/docs/how-tos/nebari-azure
Expected behavior
A hyperlink instead of "Conceptual guides"
OS and architecture in which you are running Nebari

How to Reproduce the problem?

Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response

Another one:
https://www.nebari.dev/docs/how-tos/domain-registry/#automatic-dns-provision
dns:
  provider: cloudflare
  auto-provision: true

Needs to be (note the underscore):
dns:
  provider: cloudflare
  auto_provision: true

Another one:
https://www.nebari.dev/docs/how-tos/domain-registry/#automatic-dns-provision

dns:

  provider: cloudflare

  auto-provision: true

Needs to be (note the underscore):

dns:

  provider: cloudflare

  auto_provision: true

There is an open PR.
https://github.com/nebari-dev/nebari-docs/pull/369

For k9s on AWS, this should be documented: https://frankwiles.com/posts/k9s-eks-context-error/
The docs should say that you might need to run it like this k9s --namespace <namespace> where a typical namespace is dev. https://www.nebari.dev/docs/how-tos/debug-nebari/


Base next semver tag off of version in package.json instead of latest

Most of the time, the version that is in package.json reflects the latest tag. However this is not the case when creating releases off of stable branches,  e.g. the package version is 1.13.4 when the latest version is 2.3.1. What ends up happening is that the next tag is calculated off of 2.3.1, forcing the user to specify the tag manually with the --tag option.
I can't think of an use case for not wanting to base the next version off of what is currently in package.json. This would be a breaking change so would have to happen before 1.0.0, although would likely not require action on the user's part.
A third current key could be added to the hash passed to hooks, to give access to this version without breaking backwards compatibility.

One possible issue is the case where the calculated version already exists as a tag, e.g. if the user specifies --major in the example given above.

This also will mean having to change the getNextTag strategy method to take the current version. Passing an array of tags (with v prefix) and a raw version (no v) is crappy. Perhaps it makes more sense for all prefix handling to be done outside of the strategy methods, so that they deal only with actual versions.

I can't think of an use case for not wanting to base the next version off of what is currently in package.json.

Because you made a mistake and are on the wrong branch :stuck_out_tongue_winking_eye:

Maybe we shouldn't try to handle this perfectly all the time, but rather detect that the package.json doesn't agree with our current key and either exit stating that --tag would be needed or prompt for what they want done...


remove atomic transaction block from resource delete

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4061


Fix a regression in handling processes that fork

We switched from pthread_atfork handlers to os.register_at_fork ones
in order to support Python 3.13, where a lock that our child fork
handler needs to acquire will not have been reinitialized in the child
process at the time when pthread_atfork handlers run but will be
reinitialized by the time os.register_at_fork handlers run.
Unfortunately, this means that if a process forks without calling the
before handler registered with os.register_at_fork (as happens when
using the "spawn" start method for multiprocessing, the default on
macOS), then our hooks are unexpectedly still active from the time the
process forks until the time that it execs another process image.
We can work around this by using a mix of both pthread_atfork and
os.register_at_fork handlers: we suspend tracking in
a pthread_atfork prepare handler, resume it in a pthread_atfork
handler in the parent process, and (if --follow-fork mode is used) we
reinitialize it in the child process from an os.register_at_fork child
handler, after the interpreter's locks have been reinitialized.
Closes: #642

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.06%. Comparing base (41248ed) to head (41ce62f).
Report is 103 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #645      +/-   ##
==========================================
+ Coverage   92.55%   93.06%   +0.51%
==========================================
  Files          91       94       +3
  Lines       11304    11415     +111
  Branches     1581     2092     +511
==========================================
+ Hits        10462    10623     +161
+ Misses        837      792      -45
+ Partials        5        0       -5

Flag
Coverage Δ

cpp
93.06% <100.00%> (+7.12%)
:arrow_up:

python_and_cython
93.06% <100.00%> (-2.66%)
:arrow_down:

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.


⚠ ClamAV has degraded performance

In 07a19f8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 588 ms

Resolved: ClamAV performance has improved in 96663df.


node-neigh: Fix concurrent arping update unit test flake

See commit msgs.
Fix #16075

test-runtime

test-runtime


Multiple marathon support should take several arguments instead of one

https://github.com/mesosphere/marathon-lb/blob/master/marathon_lb.py#L1392
This code suggests that you should be able to specify multiple marathons in startup, but this doesn't work.  Having multiple marathons with a single arg value seems to be invalid syntax.
It seems like it should take multiple -m <marathon-url>, i.e. -m <marathon1> -m <marathon2> to be a more usable syntax.
Also, I have been doing this in the DC/OS universe, and the template deployment isn't set up to handle multiple arguments for marathon url like this (it will need an iterator in the mustache template).

I would like to understand how a failure of a marathon instance is addressed by the architecture.  From what I read, an External Load Balancer running marathon-lb would be the hosts resolved by an external ns-lookup.  So if a marathon instance goes down, shouldn't the ELB need the ability to fail over to another marathon to provide HA?

I have verified that using v1.3.3 and using multiple -m arguments will not work if one of the listed hosts is not currently running at startup.
I have also verified that after startup, killing the leader of list of marathons, then scaling an app, that haproxy seems to go into a funky state.  Repeated refreshes of the _haproxy_getconfig will show old configurations.


Refactor file upload

@shuvroroy What is the aim for this pull request, the description is empty? Are you intending on using the BaseFileUpload in any way.

@shuvroroy What is the aim for this pull request, the description is empty? Are you intending on using the BaseFileUpload in any way.

Yeah, I suggested that we extract all the non-Filepond stuff into a base class so that people can create their own upload components.

Yeah, makes sense in that case. Could probably use this for my own Uppy field.

Cheers 🍻


Calibration API for MonteCarloTitration

WIP

@bas-rustenburg : Do you want to clean up the test failures and merge this PR?  We can then debug in parallel.

@jchodera Ok! On it.

Cleaned up the code a bit. May have actually cleaned up the bug in the process. Histogram is looking better, may have been related to insufficient sampling of X (too few steps)..

FYI, Not pushed yet.

Some unexpected passes. Fixing.

Merging if this passes. @jchodera : let me know if the code structure is unclear.
Basic explanation:
API is now this: constph.constph.MonteCarloTitration now has a calibrate method. Call this to converge. See constph/examples/calibration_evaluation.py for an example of how to use the API. I've been using this to debug.
This method sets up a constph.calibration.AminoAcidCalibrator for each of the detected amino acids. It has a calibrate_till_converged method to estimate whether SAMS estimates are converged.
See constph/examples/calibrator_eval.py for a debugging script.
Under the hood:
The AminoAcidCalibrator sets up a constph.calibration.CalibrationTitration, while grabbing system files from  constph/calibration-systems.
The CalibrationTitration is a subclass of MonteCarloTitration, with SAMS implementation.


Add evidence form says it is submitting a revision

Add Evidence is both requiring a comment (which we don't want) and claiming I am submitting a revision.

EID8958

The first two items are resolved in #329. I cannot reproduce the assertion submission error; do you recall anything about the assertion you were trying to add?


Update AsyncHttpClient from com.ning to org.asynchttpclient

Build failing on
java.lang.UnsupportedClassVersionError: org/asynchttpclient/AsyncHttpClient : Unsupported major.minor version 52.0
Not getting these errors on my local machine, will investigate further