ExceptionHandler Widget

@eseidelGoogle As discussed here is the issue:
Currently we don't have a possibility to handle Exceptions that happens inside a Widget somewhere down the widget tree. I would propose a Widget that allows that. Something like
typedef ExceptionHandler = void Function( ex)
typedef AlternativeBuilder = void Function(BuildingContext context, ex)

ExceptionHandledBuilder(
   List<Object>  exceptionsToCatch,           // Exceptions that should behandled  (It's really a pity that Dart doesen't have a common Exception base class)
   HandlerFunction: onException,               // get's called to allow logging or what else
   AlternativeBuilder: alternativeBuilder,     // Builder that get's invoked while executing the normal builder method
   AsyncWidgetBuilder<T>: builder);          // the default builder that tryies to bild the child widget tree.

I'm not sure if something like this is possible.
What are your thoughts?

@Hixie and @leafpetersen are the right folks for thoughts probably.

I don't have a lot of thoughts from the language perspective (as opposed to the API perspective), other than to wonder whether support for implicitly lazy parameters would clean this up a bit?  cc @munificent

@escamoteur  What's the use case here?

I guess the first bullet of #19996

@Hixie if I call a dcuntion to assign a value inside the widget tree that could throw an exception I have no chance to handle this. Sure I could do such calls at the beginning of the build method with a try-catch  and set some bool flags to display different contents but I think there should be a better way to achieve that

Ah, so the issue is that in the middle of building a tree of widgets, an exception might occur. You want to be able to catch it and provide an alternate subtree instead of the failed one?
Something like:
Widget hopefullyMakeText() {
  if (sometimes) throw "Oh no!";

  return Text('Hello, world!');
}

Widget build() {
  return Center(child: hopefullyMakeText());
}

And you want to be able to handle that exception and swap out the widget without having to do:
Widget build() {
  // Hoist everything out of expression.
  Widget child;
  try {
    child = hopefullyMakeText();
  } catch (error) {
    child = Text('Fallback');
  }

  return Center(child: child);
}

Do I have that right? You can always solve this at the application level by writing a utility function:
Widget definitelyMakeText() {
  try {
    return hopefullyMakeText();
  } catch (error) {
    return Text('Fallback');
  }
}

Widget build() {
  return Center(child: definitelyMakeText());
}

If Dart were an expression-oriented language, I could imagine that it would allow something like:
Widget build() {
  return Center(
    child: try {
      hopefullyMakeText();
    } catch (error) {
      Text('Fallback');
    }
  );
}

I'm definitely not proposing that, but that is a way it could be solved in the language.
As far as your original question, yes, it's possible. Here's one way:
T handleException<T>(T Function() original, T Function() fallback) {
  try {
    return original();
  } catch (error) {
    return fallback();
  }
}

Then you'd use it like:
Widget build() {
  return Center(
    child: handleException(hopefullyMakeText, () => Text('Fallback'))
  );
}

It would be easy to extend handleException() to let you control which exceptions it catches.

@escamoteur what do you think about @munificent's suggestion?

Yeah, that is a completely feasible solution. My suggestion from the beginning was if something like that shouldn't be part of the framework. @eseidel

I would recommend making your build methods not ever throw. Don't read data from a database within your build methods, for example; read the data in your model objects, asynchronously, and have the build methods read from your model in a way guaranteed not to throw.
But if that's not a thing you want to do, consider making a variant of Builder that catches exceptions, something like (untested):
class SafeBuilder extends StatelessWidget {
  SafeBuilder({
    Key key,
    this.builder,
  }) : super(key: key);
  final WidgetBuilder builder;
  @override
  Widget build(BuildContext context) {
    try {
      return builder(context);
    } catch (error) {
      return ErrorWidget(error);
    }
  }
}

If you want custom handling for the error, you can call a different builder instead of ErrorWidget.
Also you may wish to look at ErrorWidget.builder, which is a more global way to catch errors.

@Hixie that looks like an interesting idea. I agree with you that normally this should not happen. Anyway I still think such a widget should be part of the framework in case you need it e.g. if a Widget from a package throws exception under certain conditions.

We don't really want to encourage people to consider it to be ok to throw in a builder. We technically already wrap most builders in a try/catch, that's how ErrorWidget.builder gets called.

Closing based on the comment above from @Hixie.

https://github.com/flutter/flutter/issues/19993#issuecomment-420768814
This is not a solution. Error boundaries are not just about build methods.
They are for any kind of exceptions that comes from the descendants. This also includes:

click handlers
uncaught futures
other widgets lifecycles

The exception can also happens from a widget very deep down in the widget tree.
The catcher is not necesseraly the widget that threw.

@rrousselGit I think to revive this discussion we're going to need to engage in something a bit more long-form.  Can you provide examples of what you're trying to achieve?  (e.g. I want to have a click-handler which might throw and when it does I want to do X.)
There is discussion of error reporting in https://flutter.dev/docs/cookbook/maintenance/error-reporting.  As Ian notes, there is already an ErrorWidget.  But it's not clear from your comment what your asking for.
In any case, this bug is long and it might be time to start a new one, clearly stating the problem and desired outcome and let folks hash out what the right solutions then should be?

I'm currently faced with the situation that it can happen that a file a FileImage tries to load does not exists. Currently there is only a loadingBuilder but not an ErrorBuilder. This just as an example.

The handleException og @munificent solved it for now. I still think we should have something like this in the framework

I have to correct me. The exception that is thrown by the imagestream never reaches the Widgettree. it is swallowed somewhere.


Fix closing of consent window

does not seem to close in some browsers. Chrome and firefox work fine though...

not showing consent window atm anyway, so closing this


[Backport Foxy] Support for mimic joints and example with gripper.

This PR backports the mimic features set in the master branch #107 and #109 back to foxy.

Hello, maintainers,
Could you please approve the workflow of my PR?

Hello maintainers,
Could you please review my PR of backporting the mimicking changes from rolling to foxy?

Yes, sure I will fix the conflicts @ahcorde.

@ahcorde I have resolved the merge conflicts.


Invalid Multiblock Configuration

As soon as i right click the block the forge controller it says invalid multiblock configuration and i cant do anything with the block and it becomes useless

i got the same problem


Label set data

I think it would be useful to provide the label sets associated with the cropped images.  This data would allow one to estimate higher resolution dial position based on the cases where adjacent labels were present or to filter out ambiguous cases.

Thanks you for opening this issue. I think that perhaps I don't understand exactly your comment. At the root of the dataset's tar file there is the Metadata.csv file which has the label for each of the cropped images. If you look at the format of that file you will notice that each row is for one of the two dials at a given time. There are some entries with 2 labels for the same timestamp/dial when the manual annotation was still ambiguous.

Okay, that is good to know.  I did not find documentation on the Metadata.csv format and it didn't notice there were multiple rows for some dials.
My original question was about the raw data that you collected which consisted of a set of labels for each dial from a set of annotators.  However, I think the your answer above is sufficient for use case.


pm: Miss a way to notify devices about wakeup source activation

Is your enhancement proposal related to a problem? Please describe.
pm_device_wakeup_foo set of functions has been made available to deal with wakeup devices:

pm_device_wakeup_is_capable: To know if a device is defined as wakeup capable in device tree
pm_device_wakeup_enable: To actually set a wakeup capable device as an effective system waking source
pm_device_wakeup_is_enabled: To check if a device is actually set as an effective system waking source
At start up wakeup capable devices are inactive. A user as to explicitly set them as effective system waking source using pm_device_wakeup_is_enabled.

Problem is devices may not be able to operate as wake up source in all low power modes.
For instance, on STM32LXX series, USART devices can work as wake up source only in STOP0/STOP1 modes, but not STOP2. Only LPUART devices will be able to be used as a wake up source in STOP2 mode.
Then, if user wants to user USART1 as a wake up source, system should no go in STOP2 mode.
But as long as application didn't set USART1 as wake up source, system should be allowed to enter STOP2.
Describe the solution you'd like
We miss a way to synchronously notify a device that it has been set as an enabled wake up source, so it can take the appropriate actions (such as putting a constraint on specific low power mode in which it will be able to operate as wake up source).
Alternatively, the minimum supported low power state could be declared directly in device tree such as:
        &gpio0 {
                compatible = "zephyr,gpio-emul";
                gpio-controller;
                wakeup-source = <&stop1>;
        };

The idea basically is, when a wake-up capable device is enabled (pm_device_wakeup_enable), the subsystem looks all system states in wakeup-source and set constraint for those states. When the capability is disable, it removes the constraints.

That's the centralized way of doing it. This should work indeed.

@ceolin After checking in Linux implementation, they address this concern with the help of power domains bindings:
https://elixir.bootlin.com/linux/v5.15/source/Documentation/devicetree/bindings/power/power_domain.txt
To make it short, in the same case, they would specify that lpuart belon,gs to a certain power domain:
power-domains = <&power 1>;
With power being a node defining a power domain, with its own attributes like operating point and so on.
Then, when moving from one power state to another, PM subsystem takes all this into account and knows that if LPUART is defined as wake up source, it could only use the power domain linked with this device.


gst/va/decoder: add decoder support for device parameter

Signed-off-by: Bin Wu<EMAIL_ADDRESS>

@mengker33 like this for support multiple GPU when decode?
from my side, I will more like support GST_VA_DRM_DEVICE same as vaapi and msdk
GST_VAAPI_DRM_DEVICE:
https://github.com/intel-media-ci/gstreamer/blob/main/subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_drm.c#L351
GST_MSDK_DRM_DEVICE:
https://github.com/intel-media-ci/gstreamer/blob/main/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcontext.c#L80

@HeJunyan, could you give a comment on specifying the device for gst-va elements on multi-GPU machines in CI test? It looks like quite difficult to use different elements (i.e. vah265dec for D128 and varenderD129h265dec for D129)  for device setting in vaapi-fits.

There are different gst-va elements for lowpower encode, too :( The workaround for that was a little easier, though.
Unfortunately, we're probably stuck with gst-va multi-elements on multi-GPU. Thus, this patch is probably the best approach so far (with a minor suggested change).
@HeJunyan probably has more context about why upstream chose to do it this way.

I'm worried about without build on the multi-GPU machine can detect elements like renderD131 (SG1)

I'm worried about without build on the multi-GPU machine can detect elements like renderD131 (SG1)

Yes, gst-va plugin iterates the render devices and dynamically creates new elements for each at runtime.


Review names of I2C bus pins.

Change names of some pins according to the I2C bus definitions from the rppal docs:
We're not supporting Raspberry Pi Model B Rev 1. So no I2C0.
Below applies for On Raspberry Pi models post Model B Rev 1
I2C1
SDA: BCM GPIO 2 (physical pin 3)
SCL: BCM GPIO 3 (physical pin 5)
I2C3
SDA: BCM GPIO 4 (physical pin 7)
SCL: BCM GPIO 5 (physical pin 29)
I2C4
SDA: BCM GPIO 8 (physical pin 24)
SCL: BCM GPIO 9 (physical pin 21)
I2C5
SDA: BCM GPIO 12 (physical pin 32)
SCL: BCM GPIO 13 (physical pin 33)
I2C6
SDA: BCM GPIO 22 (physical pin 15)
SCL: BCM GPIO 23 (physical pin 16)

is this required for 0.1 release? @andrewdavidmackenzie

I thought it would be good to get them "as correct as possible" for a first showing in public... and is easy.


Cookiecutter errors

$ molecule init
--> Initializing molecule in current directory ...
Traceback (most recent call last):
File "/usr/local/bin/molecule", line 10, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/molecule/cli.py", line 41, in main
cli(obj={})
File "/usr/lib/python2.7/dist-packages/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/molecule/command/init.py", line 137, in init
util.sysexit(i.execute()[0])
File "/usr/local/lib/python2.7/dist-packages/molecule/command/init.py", line 55, in execute
self._init_existing_role(role, role_path, driver, verifier)
File "/usr/local/lib/python2.7/dist-packages/molecule/command/init.py", line 72, in _init_existing_role
util.process_templates(template, extra_context, role_path)
File "/usr/local/lib/python2.7/dist-packages/molecule/util.py", line 165, in process_templates
no_input=True, )
File "/usr/local/lib/python2.7/dist-packages/molecule/cookiecutter/main.py", line 116, in cookiecutter
'The repository {0} could not be located.'.format(template)
molecule.cookiecutter.exceptions.RepositoryNotFound: The repository /usr/local/lib/python2.7/dist-packages/molecule/cookiecutter/playbook could not be located.
This started happening recently.
I attempted removing Ubuntu cookiecutter, using pip -r on requirements.txt on the newest release version of molecule and the problem persists.
Am i missing something?

What version of molecule?

john@johns-probook:~/Downloads/molecule-1.13$ sudo !!
sudo python setup.py install
running install
running build
running build_py
running egg_info
writing requirements to molecule.egg-info/requires.txt
writing molecule.egg-info/PKG-INFO
writing top-level names to molecule.egg-info/top_level.txt
writing dependency_links to molecule.egg-info/dependency_links.txt
writing entry points to molecule.egg-info/entry_points.txt
writing pbr to molecule.egg-info/pbr.json
[pbr] Reusing existing SOURCES.txt
running install_lib
running install_data
running install_egg_info
removing '/usr/local/lib/python2.7/dist-packages/molecule-0.0.1.dev1.egg-info' (and everything under it)
Copying molecule.egg-info to /usr/local/lib/python2.7/dist-packages/molecule-0.0.1.dev1.egg-info
running install_scripts
Installing molecule script to /usr/local/bin
john@johns-probook:~/Downloads/molecule-1.13$ molecule --version
molecule, version 0.0.1.dev1
john@johns-probook:~/Downloads/molecule-1.13$ whereis molecule
molecule: /usr/local/bin/molecule

john@johns-probook:~/Downloads/molecule-1.13$ molecule --version
molecule, version 0.0.1.dev1

That molecule version looks wrong.  Try installing from pip and not source.

Thanks this works


ERR_UNSUPPORTED_DIR_IMPORT when using MDXContent or useMDXComponent

If I use mdx-bundler's getMDXComponent mechanism directly, the problem goes away.

Could you provide more details? Which package manager do you use? Is your application a module (type=module in package.json) or a commonjs app? Do you use the MDX hook or component in an RSC context? Can you show the code which uses the MDX hook or component?

@sdorra I could have sworn I responded here a few minutes ago but now it's gone. Did you remove the comment?

@rossmeissl No, I am looking at the ticket for the first time today

@sdorra OK strange let me try again:

npm
Next.js 14.2.5
There's no type=module in package.json but I also don't think it's fair to say it's a CommonJS application
Here's a screenshot of the implementation against mdx-bundler which is almost the same as yours, but it works correctly. (I tried both the component and hook.)

I've tried to reproduce the issue:
https://github.com/sdorra/cc-issue-277
But it works as expected. Can you check if there are any differences between my sample and yours?

My directory structure uses src/pages instead of /app . . . could that be it?

Unfortunately no it's our monorepo but let me see if I can extract just enough to repro . . .

@sdorra sent you an email. Let me know if I can help further!

@rossmeissl i was able to reproduce the issue. I can even reproduce it with my repository. When I navigate to an article and then press refresh, I get the error. The error seems to occur only in the Pages Router. I will try to fix it.

Thanks @sdorra !

@rossmeissl the fix is not yet released. Have you tested the fix with the preview release? If not can you please test if it fixes your problem? You only have to install the packages as described in the following comment:
https://github.com/sdorra/content-collections/pull/291#issuecomment-2331779390

Unfortunately I think it still doesn't work. I updated @content-collections/mdx in my package.json as follows:
{
  // ...
  "devDependencies": {
    "@content-collections/core": "^0.6.2",
    "@content-collections/mdx": "https://pkg.pr.new/sdorra/content-collections/@content-collections/mdx@291",
    // ...
  }
  // ...
}

And I get:

Actually, hmm, this appears to have just emerged unrelated to this PR

@sdorra shall I close this?


getting rid of global conf

We must be able pass in a config option to classes and functions that need it, not make it a global conf.

Since we now have the configure() methods as part of each module we can move the CONF variable to the module protected namespace (e.g _CONF or __CONF) and use that within the module.


Chrome extension issue in block-chain transaction

Basically I want a chrome extension which takes data from block-chain and display in chrome content-script also when user click on that data one transaction happen which will increase the count in block-chain.
I am able to retrieve data from block-chain please check the below code.
async componentDidMount(){
    const ads = await advertiserAbi.methods
                     .getSpecificAdvertiserDetail(
                     "any address").call();
    this.setState({ads});
}

But the problem is coming in performing transaction. Please check the below code.
async onSubmitForUpdate() {
    console.log("Hello");
    await userAbi.methods
      .setStatistics("any address")
      .send({
      from: "any address"
    });
}

Below is the error which I am getting when checked in console.
POST https://rinkeby.infura.io/<--specific address--> 405 ()
Uncaught (in promise) Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (content.js:108391)
at XMLHttpRequest.request.onreadystatechange (content.js:119211)

Review Infura docs. This is not a problem with react-chrome-redux

Hi @jasham . Agreed with @Quaiks . This looks to be an issue outside of react-chrome-redux.

Thanks @Quaiks & @tshaddix. I have checked the issue is with Infura because it does not support eth_sendTransaction.


NLB subnet configuration example not idempotent

Description
Module or example not idempotent (not sure which yet)

[X] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version [Required]: 9.2.0

Terraform version: 1.6.4

Provider version(s): 5.26.0

Reproduction Code [Required]
Example code in module repo

Steps to reproduce the behavior:
terraform init
terraform apply
(wait for success)
terraform apply
Fresh clone of your repo, no workspaces or outside code used.

Expected behavior
Expect the module and the example code to be idempotent

Actual behavior
NLB and all listeners are recreated every apply without code changes causing downtime on every terraform apply regardless of code changes to the module configuration

Terminal Output Screenshot(s)

Additional context

https://github.com/hashicorp/terraform-provider-aws/issues/17281#issuecomment-1641980881

The upstream provider linked issue has been corrected - please retry after updating to use the version where it was fixed


Resolution 512?

I'm new to this, sorry if I ask something silly. But when I try to use this sample.py script and increase the default resolution from 256 to 512 (for both, width and height), I'm getting results like this for "one red apple.":

so, it looks like it generates a few images (4?) that it merges into one. It happens for all output images. If I keep the default 256 resolution I get something much more expected:

I'm using a Colab version of this, btw, that I found somewhere online, maybe it's slightly outdated...

so when you increase the width/height like this, the left side of the image doesn't know what the right side is doing, they both start making apples and weird things can happen. It can be a good way to make a complicated scene with a lot of stuff going on, but will not work great for single subject images like this.
the native resolution is 256x256, so if you need only one apple I suggest using that resolution for now. If/when I train an upscaler that would help fix this issue.

When you say "the native resolution is 256x256" - what network has this limitation? GLID?


[stable/prometheus-postgres-exporter] Added flag for disabling default metrics

What this PR does / why we need it:
Exposes the disable-default-metrics flag of the postgres-exporter container as defined here:
https://github.com/wrouesnel/postgres_exporter#flags
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

The logic does not look straight to me (enabling some option to disable something), but that's postgresql-exporter logic. :)
Maybe bump a minor version instead of a patch version since there's a new feature.

/ok-to-test
/lgtm

@gianrubio is lgtm same as approved label? I'm not entirely familiar with the charts process.

The lgtm command has recently been splitted into lgtm and approve, and you now need both I think.

Actually the issue is that this chart doesn't have the OWNER file so it should be assigned to one helm OWNERS

/lgtm


Add author, date and skill level variables to Lynda.com extractor (Update: skill level removed)

Added author, date and skill level variables which can be used for the output template.

Read coding conventions on optional metadata and fix code appropriately.
You are not allowed to use just arbitrary meta field names. List of supported meta fields is well defined.

I just updated the code in a way where it should provide better resistance to API changes and I removed the skill_level template.
Q: How would I go about adding a very site specific template variable? Would I abuse an existing variable which has not been used or is there just no way without defining a new variable name in the docs?


Adding Database support for incremental storage?

🚀 The feature, motivation and pitch
I really like the idea @richardkoehler! I have a potential addition that might be interesting for the hackathon.
As current acquisition modalities are increasing in electrode contact number and sampling rate, toolboxes require access for fast and periodic storage. See for example this recently presented toolbox that integrates feature estimation and decoding based on a database.
Maybe a light-weight prototype with sqlite would be an interesting addition?
Alternatives
No response
Additional context
No response

@timonmerk  Thanks for the suggestion! I think that sounds very interesting, let's definitely discuss that in more detail.


Add a configuration file

Addresses issue https://github.com/LambdaFactory/Fornax/issues/1

To allow exclusions of files and folders that should not be handled by generators
To allow a single entry point for less/scss bundles

I'd propose this as a possible approach to have a config file for fornax. I looked into toml but didn't find it feasible to build the needed parts. @Krzysztof-Cieslak @pblasucci do you want to give feedback on my proposed changes? As far as I see you two thought the most about fornax configs.
I'm happy to adapt the current draft according to your feedback 😊

Hey, this looks good to me.
Two small ideas for improvements:

Maybe _site.yml instead of _siteModel.yml?
Maybe we should by default ignore anything that starts with _?

Renaming _siteModel.yml makes a lot of sense. I'll change that.
I think as a default ignoring stuff that starts with _ is a good idea. I know of the sass convention to use leading underscores for variable, mixin and other module files - these should be ignored anyway as they usually are referenced in the scss entry point file. I'll also look into that. 🙇♂

This will be handled differently in #40


More colorings

It should with this update:

Color struct fields (I made the type required according to https://www.w3.org/TR/WGSL/#syntax-variable_ident_decl)
Color attributes
Color build-in functions and give error when fragment shader build-in function is used outside fragment shader
Added function declaration ident color (also added to the settings page)

Thanks for that. It looks really great!


API is down

Let us know if you need any help mate!

I'm available to assist. API has been down a few days now.

The API is fine, use HTTP not HTTPS, the certificate expired


PowerRename settings bugfix

Summary of the Pull Request
"Maximum numbers of items to show in recently used list for autocomplete dropdown."  had:

No default value in settings
"Enable autocomplete and autosuggest of recently used list for autocomplete dropdown." was duplicated in settings
Had no caption
Had no limits for min and max value
Could be edited while "Enable autocomplete and autosuggest of recently used list for autocomplete dropdown." was off

This PR fixes this problems.

PR Checklist

[x] Applies to ##2792

When I suggested to use a max value of 1000 for MaxDispListNum I assumed the PowerRename code doesn't have an hard-coded limit but it might, better to verify.

I've changed maxium of MaxDispListNum  to 20


When there are two url in the same domain only save one

This sucks!

http://stackoverflow.com/questions/42775688/python-sort-columns-after-rows-correlation

I think maybe if we fix https://github.com/AngelGallegosE/Osiris/issues/12 this is gonna work as expected


Added the animated field guide video to the About and FAQ pages

@tleraj can you put it in a grid maybe?


space game using pygame library

Sorry, this isn't the correct repository for this! This repository is for Kanna Chan (Discord Bot) and it has no use of pygame, You can contribute this to other repositories which contain Python Projects.


Crash when trying to replace last search result with "search and replace" tool

Issue Report Checklist

[X] Searched the issues page for similar reports
[X] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[X] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[X] Could not reproduce inside jupyter qtconsole (if console-related)
[X] Tried basic troubleshooting (if a bug/error)

[X] Restarted Spyder
[X] Reset preferences with spyder --reset
[X] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[X] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When replacing the last found search will crash spyder
What steps reproduce the problem?

write "context.device" in empty file.
search for "context.device" in the file and replace it with context.device.test

If you have multiple "context.device" in the file, it replaces fine until the last one. When trying to replace the last found value, spyder crashes
Versions

Spyder version: Spyder 4.0.0b4
Python version: 3.7.4 64-bit
Qt version: 5.12.4
PyQt version: 5.12.3
Operating System name/version: Windows 10

Thanks for reporting. We'll take a look at this in a future release.


Valgrind shows invalid writes at GNI_SmsgSendWTag calls for charm programs built on gni-craxyc

Original issue: https://charm.cs.illinois.edu/redmine/issues/1629

Build charm with target gni-crayxc and flags -g -O0
Build examples/charm++/hello/1darray with -g -O0
Run the example with valgrind: module load valgrind && srun -n 2 valgrind --leak-check=full --log-file=VG.out.%p --trace-children=yes ./hello

Valgrind output:
==23801== Invalid write of size 8
==23801==    at 0x201A85EF: GNII_SmsgSend (in /global/u1/n/nbhat4/software/charm/examples/charm++/hello/1darray/hello)
==23801==    by 0x201A9940: GNI_SmsgSendWTag (in /global/u1/n/nbhat4/software/charm/examples/charm++/hello/1darray/hello)
==23801==    by 0x200EB3E0: send_smsg_message (machine.c:1532)
==23801==    by 0x200EBB00: LrtsSendFunc (machine.c:1779)
==23801==    by 0x200E8DAA: CmiInterSendNetworkFunc (machine-common-core.c:598)
==23801==    by 0x200E8CD2: CmiSendNetworkFunc (machine-common-core.c:553)
==23801==    by 0x200E6EF7: SendSpanningChildren (machine-broadcast.c:118)
==23801==    by 0x200E6F60: SendSpanningChildrenProc (machine-broadcast.c:176)
==23801==    by 0x200E6FFD: CmiSyncBroadcastFn1 (machine-broadcast.c:219)
==23801==    by 0x200E7028: CmiSyncBroadcastFn (machine-broadcast.c:251)
==23801==    by 0x20010980: Converse::CmiSyncBroadcast(int, char*) (middle-conv.h:69)
==23801==    by 0x20013C5C: _createGroup(_ckGroupID, envelope*) (ck.C:803)
==23801==  Address 0x2aaaeaaaf068 is not stack'd, malloc'd or (recently) free'd

Original date: 2017-07-10 21:14:24

Are there other leaks that look like this that don't come from the Charm initialization phases? This particular leak, from topological tree creation, is known to show up across different comm layers: https://charm.cs.illinois.edu/redmine/issues/1202

Original date: 2017-07-10 22:29:57

I know we want to make a comparison to other errors that Valgrind reports, but this one isn't a leak. It's an outright out-of-bounds memory access.
Since it looks like this is happening inside the GNI library itself, there's two cases we need to distinguish: we're calling it with a bad parameter, or it's defective internally.
Does this reproduce in converse/commbench, or whatever calls the Converse broadcast function? How much further down the stack can we push a reproduction, to figure out whether it's our fault or not?

Original date: 2017-07-10 23:18:06

In converse/commbench, I get the initial report from ~10 instruction addresses in GNII_SmsgSend, and the following additional errors (ignoring use of uninitialized bytes for the moment):
==19352== Invalid read of size 8
==19352==    at 0x2007EAEA: GNII_DlaProgress (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2007AB27: GNI_CqGetEvent (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2001115D: PumpLocalTransactions (machine.c:2915)
==19352==    by 0x20012053: LrtsAdvanceCommunication (machine.c:3530)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E01F: CmiGetNonLocal (machine-common-core.c:1487)
==19352==    by 0x200166B4: CsdNextMessage (convcore.c:1779)
==19352==    by 0x200167FE: CsdScheduleForever (convcore.c:1904)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==    by 0x2000DD54: ConverseRunPE (machine-common-core.c:1297)
==19352==    by 0x2000DC5B: ConverseInit (machine-common-core.c:1198)
==19352==    by 0x20001F0C: main (commbench.c:159)
==19352==  Address 0x2aaaeaab0000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid read of size 8
==19352==    at 0x200A600F: GNII_GenAllocSeqid (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200AB112: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200ACDE0: GNI_SmsgSendWTag (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2000EFA4: send_smsg_message (machine.c:1532)
==19352==    by 0x2000F6C4: LrtsSendFunc (machine.c:1779)
==19352==    by 0x2000C96E: CmiInterSendNetworkFunc (machine-common-core.c:598)
==19352==    by 0x2000CA31: CmiInterFreeSendFn (machine-common-core.c:630)
==19352==    by 0x2000C999: CmiFreeSendFn (machine-common-core.c:604)
==19352==    by 0x20002B61: doTrials (proc.c:37)
==19352==    by 0x200165A3: CmiHandleMessage (convcore.c:1670)
==19352==    by 0x20016827: CsdScheduleForever (convcore.c:1907)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==  Address 0x2aaaeaab5000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid write of size 8
==19352==    at 0x2007AD75: GNI_CqGetEvent (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2000FF71: PumpNetworkSmsg (machine.c:2202)
==19352==    by 0x20011F65: LrtsAdvanceCommunication (machine.c:3496)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E0E8: CmiNotifyStillIdle (machine-common-core.c:1544)
==19352==    by 0x2001A25B: call_cblist_keep (conv-conds.c:160)
==19352==    by 0x2001AF26: CcdRaiseCondition (conv-conds.c:524)
==19352==    by 0x200164F3: CsdStillIdle (convcore.c:1617)
==19352==    by 0x2001684D: CsdScheduleForever (convcore.c:1927)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==    by 0x2000DD54: ConverseRunPE (machine-common-core.c:1297)
==19352==    by 0x2000DC5B: ConverseInit (machine-common-core.c:1198)
==19352==  Address 0x2aaaeaab7000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid write of size 8
==19352==    at 0x2007EB84: GNII_DlaProgress (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2007AB27: GNI_CqGetEvent (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x2001115D: PumpLocalTransactions (machine.c:2915)
==19352==    by 0x20012053: LrtsAdvanceCommunication (machine.c:3530)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E01F: CmiGetNonLocal (machine-common-core.c:1487)
==19352==    by 0x200166B4: CsdNextMessage (convcore.c:1779)
==19352==    by 0x200167FE: CsdScheduleForever (convcore.c:1904)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==    by 0x2000DD54: ConverseRunPE (machine-common-core.c:1297)
==19352==    by 0x2000DC5B: ConverseInit (machine-common-core.c:1198)
==19352==    by 0x20001F0C: main (commbench.c:159)
==19352==  Address 0x2aaaeaab0000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid read of size 4
==19352==    at 0x20085649: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200A1670: GNII_PostRdma (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200A20FA: GNI_PostRdma (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200118FD: SendRdmaMsg (machine.c:3182)
==19352==    by 0x20012101: LrtsAdvanceCommunication (machine.c:3569)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E0E8: CmiNotifyStillIdle (machine-common-core.c:1544)
==19352==    by 0x2001A25B: call_cblist_keep (conv-conds.c:160)
==19352==    by 0x2001AF26: CcdRaiseCondition (conv-conds.c:524)
==19352==    by 0x200164F3: CsdStillIdle (convcore.c:1617)
==19352==    by 0x2001684D: CsdScheduleForever (convcore.c:1927)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==  Address 0x2aaaaaaab008 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid write of size 8
==19352==    at 0x20085991: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200A1670: GNII_PostRdma (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200A20FA: GNI_PostRdma (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200118FD: SendRdmaMsg (machine.c:3182)
==19352==    by 0x20012101: LrtsAdvanceCommunication (machine.c:3569)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E0E8: CmiNotifyStillIdle (machine-common-core.c:1544)
==19352==    by 0x2001A25B: call_cblist_keep (conv-conds.c:160)
==19352==    by 0x2001AF26: CcdRaiseCondition (conv-conds.c:524)
==19352==    by 0x200164F3: CsdStillIdle (convcore.c:1617)
==19352==    by 0x2001684D: CsdScheduleForever (convcore.c:1927)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==  Address 0x2aaaeaaaf000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid write of size 8
==19352==    at 0x200AD1AD: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200AEAB9: GNII_SmsgRelease (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200100A1: PumpNetworkSmsg (machine.c:2242)
==19352==    by 0x20011F65: LrtsAdvanceCommunication (machine.c:3496)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E01F: CmiGetNonLocal (machine-common-core.c:1487)
==19352==    by 0x200166B4: CsdNextMessage (convcore.c:1779)
==19352==    by 0x200167FE: CsdScheduleForever (convcore.c:1904)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==    by 0x2000DD54: ConverseRunPE (machine-common-core.c:1297)
==19352==    by 0x2000DC5B: ConverseInit (machine-common-core.c:1198)
==19352==    by 0x20001F0C: main (commbench.c:159)
==19352==  Address 0x2aaaeaaaf000 is not stack'd, malloc'd or (recently) free'd

==19352== Invalid read of size 8
==19352==    at 0x200AD3C5: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200AEAB9: GNII_SmsgRelease (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
==19352==    by 0x200100A1: PumpNetworkSmsg (machine.c:2242)
==19352==    by 0x20011F65: LrtsAdvanceCommunication (machine.c:3496)
==19352==    by 0x2000DD91: AdvanceCommunication (machine-common-core.c:1317)
==19352==    by 0x2000E01F: CmiGetNonLocal (machine-common-core.c:1487)
==19352==    by 0x200166B4: CsdNextMessage (convcore.c:1779)
==19352==    by 0x200167FE: CsdScheduleForever (convcore.c:1904)
==19352==    by 0x20016758: CsdScheduler (convcore.c:1843)
==19352==    by 0x2000DD54: ConverseRunPE (machine-common-core.c:1297)
==19352==    by 0x2000DC5B: ConverseInit (machine-common-core.c:1198)
==19352==    by 0x20001F0C: main (commbench.c:159)
==19352==  Address 0x2aaaeaab5008 is not stack'd, malloc'd or (recently) free'd

And a summary of the various junk seen in this run:

      3     at 0x200AD8B9: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200AD8C4: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200AD8E7: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADAC0: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADACE: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADD78: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADDA7: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADE02: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADF60: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADF68: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      3     at 0x200ADF70: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x2007EB84: GNII_DlaProgress (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x2007EC3D: GNII_DlaProgress (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x20085649: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x20085664: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x20085991: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x2008599D: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200859AA: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200859B7: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200859CB: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200859DF: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x20085AB6: GNII_PostFlbte (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200A600F: GNII_GenAllocSeqid (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200A601C: GNII_GenAllocSeqid (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AB45D: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD1AD: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD1B8: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD1DE: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD3B7: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD3C5: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD66F: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD6A0: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200AD6FF: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200ADE54: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200ADE5C: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      4     at 0x200ADE64: return_back_credits (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
      5     at 0x2007EAEA: GNII_DlaProgress (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x2007AD75: GNI_CqGetEvent (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB027: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB03B: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB05E: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB06A: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB076: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB11B: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB13F: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB3E4: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB3F9: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200AB449: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     12     at 0x200ABA8F: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)
     13     at 0x200AB01C: GNII_SmsgSend (in /global/u2/p/pmiller/charm/gni-crayxc/tests/converse/commbench/pgm)

This looks a whole lot to me like we're mis-allocating some smsg space somewhere, or we're allocating it in some way that valgrind doesn't recognize at all.

Original date: 2017-07-10 23:26:10

And the addresses being touched in this run:
> grep -h 'is not stack' vg.* | sed 's/==[0-9]*==  //' | sort | uniq | less
Address 0x2aaaaaaab008 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaab00c is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf008 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf010 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf020 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf030 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf038 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaaaaaf078 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf008 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf010 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf018 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf020 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf028 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf040 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf050 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaaaf068 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab0000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab1558 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab4000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab5000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab5008 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab6000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab7000 is not stack'd, malloc'd or (recently) free'd
Address 0x2aaaeaab8000 is not stack'd, malloc'd or (recently) free'd

Doing the math, they span a range just a hair over a gigabyte wide.

Original date: 2017-07-12 16:12:53

A third possibility that I neglected up in comment 2 - all of this space is properly allocated, just through a function that valgrind hadn't been taught to recognize.


Update Package Request

Coverage remained the same at 100.0% when pulling 59065349a4910b84eefc56e0a2b5659782820758 on knoxcard:patch-1 into 8e7871ae8ae12b9f17e12866149e34bf9c908d07 on demsking:master.

Sorry, I cannot merge this PR, I prefer set the last version of the request package


No Hass.io Tab on windows install

Hi installed Pyton 3.6
then used commands to install and start Hass
C:...> pip3 install homeassistant
C:...> py -m homeassistant --open-ui
when I open localhost:8123
i don't have Hass.io tab on the tabs on left side
i have tried adding in yaml file but i get error
homeassistant:
Name of the location where Home Assistant is running
name: Home
Location required to calculate the time the sun rises and sets
latitude: 31.5
longitude: 34.75
Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
metric for Metric, imperial for Imperial
unit_system: metric
Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Asia/Jerusalem
Customization file
customize: !include customize.yaml
Show links to resources in log and frontend
introduction:
Enables the frontend
frontend:
Enables configuration UI
config:
http:
Secrets are defined in the file secrets.yaml
api_password: !secret http_password
Uncomment this if you are using SSL/TLS, running in Docker container, etc.
base_url: example.duckdns.org:8123
Checks for available updates
Note: This component will send some information about your system to
the developers to assist with development of Home Assistant.
For more information, please see:
https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
Optional, allows Home Assistant developers to focus on popular components.
include_used_components: true
Discover some devices automatically
discovery:
Allows you to issue voice commands from the frontend in enabled browsers
conversation:
Enables support for tracking state changes over time
history:
View all events in a logbook
logbook:
Enables a map showing the location of tracked devices
map:
Track the sun
sun:
Weather prediction
sensor:

platform: yr

Text to speech
tts:

platform: google

Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

You are not running hass.io. You are only running homeassistant. Hass.io can only be run on rbpi, Linux system (used to anyway) or as a virtual machine.


Missing /gdx2d-desktop/libs/tween-engine-api.jar

/gdx2d-android project references this library : /gdx2d-desktop/libs/tween-engine-api.jar, but it seems unused.
(commit 639c0add59602a86d98c305eba90153b66587e90)

True. The tween engine was used in the DemoPositionInterpolator demo.
Now we use the gdx2d interpolator.

Did you mean I can simply remove this reference?

Yes just remove it from the project classpath.
It has been done for the desktop projet and not for the Android one (see https://github.com/hevs-isi/gdx2d/commit/3ea7b749cf73c9e9cb2f250db65b62e75aa0a1a6).


how can i show loading indicator ?

hello guys,,
i tried to view  while the scenes is render to avoid white page that appear
now i used
_renderScene = ({ route }) => {
switch (route.key) {
case 'main':
return ;
break;
case 'amounts':
return ;
break;
case 'movements':
return ;
break;
default:
return null;
}};
but it is delayed too
how can i solve that please ?
thanks,,

On will mount, Create a loading scene first, save it to your class state - let we call it homescreen.
On render, load the scene, it will show empty.
On did mount, call your stuff, Ajax, fetch or whatever and overide scene state

Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.


Update deps.dev dependencies

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

Project coverage is 64.57%. Comparing base (645d5b0) to head (22ffa0e).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #984      +/-   ##
==========================================
+ Coverage   63.72%   64.57%   +0.85%
==========================================
  Files         146      146
  Lines       11958     9308    -2650
==========================================
- Hits         7620     6011    -1609
+ Misses       3874     2842    -1032
+ Partials      464      455       -9

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


Allow Stream::iterator and Stream::spliterator in Speedment Streams

Currently Stream::iterator and Stream::spliterator will throw an UnsupportedOperationException because failure to close the stream will render database connections being consumed.
We could introduce two new methods SpeedmentApplicationBuilder::withAllowIterator and SpeedmentApplicationBuilder::withAllowSpliterator that enables these methods but at the same time, warns the developer that streams must always be closed.

Perhaps just SpeedmentApplicationBuilder::withAllowIteratorAndSpliterator is enough

The new SqlStreamTerminatorComponent provides a nice mechanism for this setting!


Feat: Add maven-merge workflow

Merge and publish workflows. Since different projects push to different services, the exact details of the publish step is left to the implementing project. However, a reference workflow has been included to show how this should be accomplished, and with the correct vars and secrets in place, could be implemented exactly as-is, or with minor modifications.

Yikes, this definitely needed to be rebased before merge.


Prefer const/statics when possible

I learned about this create from https://users.rust-lang.org/t/ron-are-there-crates-to-serialize-rust-types-as-correctly-formated-rust-code/55451
Could one prefer const/static forms when they exist?
As a type level example, if T could be converted to 'static then Cow<'a,T> should be replaced by Cow<'static,T>.
As a value level, both Cow::Owned(Box<[T]>) and Cow::Borrowed(&'a [T]) should be replaced by Cow::Borrowed(&'static [T]).
There might exist users who'd wish to forbid allocations like Vec<T> etc. entirely too, but almost anyone using uneval should replace String with Cow<'static,str> and replace Vec<T> with Cow<'static,[T]>.

Appears you serialize all allocated types with vec![..].into_iter().collect(), which should probably be &'static [..].into_iter().collect().
It appears serde fully dereferences any Deref types, so Cow breaks uneval: https://github.com/burdges/uneval/blob/cow/examples/cow_test.rs


getSubscriptions returning an empty array only in production env [iOS].

Version of react-native-iap
3.4.0
Version of react-native
0.59.1
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
getSubscriptions method to fetch the subscription info from the AppStore.
Actual behavior
We are experiencing something weird: The getSubscriptions method is returning an empty array ONLY in the production environment in a iOS device. It works perfectly in local development (both on a real device and a simulator), also works perfectly in Testflight (with the exact same version running in production and using the same device) and also works well in Android (both development and production). Any ideas?
It's worth pointing out that the Apple Id associated with the device I'm testing it has already an active subscription for the app. It's an old subscription with different id, not the subscriptions the app offers right now. Can this have some effect?
This is the code:
  try {
    return RNIap.getSubscriptions(["..."]);
  } catch (e) {
    sentry.captureException(new Error(e));
  }

It doesn't throw any exception. Just returns an empty array.

Have you published your app with iap products selected?

Problem solved, and it had nothing to do with this awesome library.  If someone encounters a similar problem just be sure that Apple has reviewed and approved your products/subscriptions... be aware that they don't need to be approved to be accessible on TestFlight, but they will not work on production.


Auto update hashes for apps that don't post hashes proposal

What do you think about a github bot that would run on heroku or somewhere, verify the hash of each app, if there is a discrepancy, create a branch, update the hash, commit, push, and submit a pr for review, then continue until all apps are checked?
This would prevent apps from having to be manually updated when they become uninstallable once hash conflicts occur.
Once the bot is trusted enough, it could even auto merge the changes.

This is pretty much what my update service is doing. Would require bin/auto-pr.ps1 to run bin/checker.ps1 with the -force flag.
https://github.com/r15ch13/Excavator

@r15ch13 wow! Where is this hosted? does it work? how often does it run? are there any stats to see when it found a conflict and when the hash was updated / merged in?
I'm happy to hear that I wasn't the only one with that idea.

@nitrocode it's running on my personal root server (hosted by hetzner.de) every hour (see docker-compose.yml for all the current settings).
Currently there is no way to see the status, but I could publish the log output of checkver.ps1, which is already stored for each bucket.

Interesting. If this is running every hour, then how come there are many hashes that have been out of date for a little while? For instance the cygwin hashes were out of date for longer than an hour.
Yes, an output log would be very useful, even if it's committed to a separate excavator-log repo. 😄

That's because checkver.ps1 is not run with the -force flag.
This would cause a big traffic hit for many project sites (and my server) because it downloads all files every time. Not so much a problem for projects that provide checksums. But, from my experience, these can be wrong from time to time too.

Thank you for sending this! So is this running for informational purposes or eventually will there be some kind of allow list where some jsons can auto update hashes and troublesome ones have to be manually updated?

@nitrocode These auto-updates are running right now.
Every commit like app: Update to version * you see on https://github.com/lukesampson/scoop/commits/master is produced by that service.
A list where someone can add a program to force an update on the next cycle or checking the Github API for new issues opened containing "hash check failed" would be nice, but this has no priority yet.

How about instead of downloading the file each time, the script could do a HEAD request, and check the last-modified and etag headers, a la https://github.com/rasa/scoops/blob/master/check_https.py#L265 , and only download if needed.

Already reported hash fails could be automated via Github Actions. It should be rolled from beta in few weeks.
Example action
TL;DR
It's only simple settings, which would look like this:
workflow "Check hash if reported" {
  on = "issue"
  resolves = ["check hashes"]
}

action "check hashes" {
  uses = "some/repository@master"
  secrets = ["GITHUB_TOKEN"]
}

And repository is only simple docker repository, with main wrapper Dockerfile, where you can do everything, what you need, in this case, use some pwsh compatible image and create powershell script with these steps:

Parse issue title (?<app>.*)@(?<version>.*) hash check failed
Call check-hashes with given app
If there is change

Update
Commit with closing directive

If there is no change

Comment on issue, that everything is allright


Please Specify Missing Keys During 'Not Found' Error

Describe the bug
Calling read_csv on multiple keys, when certain keys don't exist on S3 gives a 404 error but does not specify which key was not found
wr.s3.read_csv([f's3://{bucket}/{key}' for key in s3_keys])

Could this be added?
Here's the error: ClientError: An error occurred (404) when calling the HeadObject operation: Not Found
How to Reproduce
wr.s3.read_csv([f's3://{bucket}/{key}' for key in s3_keys])

Where one of the keys is not available on S3.
Expected behavior
Ideally, the error message would specify which keys are missing.
Your project
No response
Screenshots
No response
OS
Linux
Python version
3.6.13
AWS DataWrangler version
2.14.0
Additional context
No response

By the 404 object not found it looks like it is object key that is missing. Perhaps one of the items in s3_keys is empty?

@kukushking the problem arises when you provide a list argument to path. With a string argument, the error message specifies the file missing, but with a list argument, you get the 404 message.

@knoam thanks, I've publish a PR that fixes that - you should now be able to catch all 404's by catching wr.exceptions.NoFilesFound


Changing starting values in the editor?

After exposing parameters via @hv_param receive messages and setting the min, max and default values, they appear in the Unity editor with the default value. However, if you change the value in the editor before pressing play, it reverts to the default value at play. You can change it after play is pressed, but for experimenting with different starting values for parameters (or use different values for different instances of the plugin), there must surely be some way to change the default value without having to re-upload the patch. I didn't see anything about this in the documentation, though. I imagine you can do this via a script that changes the value at runtime. Is this the only way?

You can try adding this line of code to any of your scripts.
 HeavyScript.SetFloatParameter(Hv_XXXX_AudioLib.Parameter.YY, value);
(Heavy Scipt is a variable with HV_XXX script assigned)

Hi @atahoualpi , thanks for your reply. I see, so doing it that way makes sure the value is clamped within the correct min and max value. Otherwise, you can just as well use
 GetComponent<Hv_XXXX_AudioLib>().YY = value;
I guess this would be slower, though, because you're not changing the Parameter directly, but are sending a are going through the Unity editor's displayed value. Is that correct?

Hi,
both ways make sure the value is clamped. I don't really know how Heavy sets the parameters since I'm just a user, so I cannot say which of the two ways is faster

Right, I just assume everyone who posts here knows more than I. Thanks, @atahoualpi

Hey @diemildefreude are you sure you're not getting confused by Unity's inspector behaviour?
You can change the default value for a gameobject's property. Just make sure you're not in play mode otherwise unity will revert it back to the value before pressing play.

You shouldn't have to call SetFloatParameter if you just want to change the starting value. That interface is for setting the value via a script.

Maybe the issue is that you can't hear the change in the parameter until you press play. But this is a pretty typical Unity experience... :)
One thing I should really look into is processing the plugin entirely within the editor, so you basically don't have to press play to hear it.  I do need to set the parameters via script anyway since I'll be adding HV components during runtime and setting their parameters then (as seen here: https://github.com/enzienaudio/heavy/issues/194). Is there a difference between using the SetFloat method and setting the value directly (i.e. GetComponent<Hv_XXXX_AudioLib>().YY = value;) ?

Hmm actually just looking over the code I think the public float variables for parameters are legacy, and actually aren't even used anymore. I'll have to do some testing but I think I can remove them now.
SetFloatParameter is definitely the only way to update parameters inside your patch.

Hi @diplojocus
It would seem I'm still having the same problem as before. I'm definitely not in PlayMode when I change the Hv_ parameters in the editor, but when I press play, they revert to the 'c' in [r XX @hv_param a b c].
It's possible that the reason I thought that it WAS working (when I wrote my previous comment) is that I tried changing the parameters to values that I was using another script to assign anyway. When I try it with parameters that I'm not using another script to change, I still have this problem.

Can you try recording a video/gif of that behaviour? I've not seen that before.

Hey @diplojocus , I've finally made a video of the problem: https://youtu.be/uhNSmQH4qHo

@diplojocus It seems that if I click on "apply" after changing a parameter, the value will remain thus when I enter play mode. This would mean that you can't change the values of varias prefab instances individually except via scripting. Is this expected behavior?

Hmm good point, it could be that the editor scripts are not playing nice with prefabs. Can you double check that if you add the script manually to a gameobject (i.e. not from a prefab) that you can save the parameter changes correctly?

Yes, @diplojocus, it the parameter value does NOT revert upon entering Play Mode, if the game object is not a prefab. It's a prefab-specific problem. I just didn't notice this before because I was only using prefabs.


Master | Slave | Sentinel - Ambigous problem

io-redis version 2.5.0
When we use the sentinel option, we have a callback indicating that we are connected to the master (if success).
Question #1:
I am trying to get information on the master, I would like to be sure that we can safely use the this.serverInformation object from this returned when the callback is returned.
I didn't find any information mentioning it.
Question #2:
How can I get the master/slave list or execute a sentinel command, the object returned is the redis server not the sentinel connection ? do I am right ?
var redis = new Redis({
sentinels: [{ host: 'localhost', port: 26379 }, { host: 'localhost', port: 26380 }],
name: 'mymaster'
});
I would like to execute some commands to the active sentinel selected (26379 or 26380)
SENTINEL get-master-addr-by-name redis-site-one

"w.x.y.z"
"6382"

Based on your answer I will update the wiki and the example section.
Thanks

A1:
Where's this.serverInformation? I searched the whole repo but didn't find the property.
A2:
You can't currently. ioredis will disconnected with the active sentinel when the master/slave address has been resolved.

@luin Thanks for this quick reply:
Eg.
var redisCnx = new Redis({
'sentinels': [ { 'host': redisInfo.hostname, 'port': redisInfo.port } ],
'name': config.master
});
redisCnx.on('ready', function() {
  this.serverInfo.xxxx
}

This structure is certainly a return of INFO method from redis.
A2: In fact I am trying to identify the master IP and port, I looked at the code and I found that you already use get-master-addr-by-name, what about returning the information from the connected callback ?
redisCnx.on('ready', function(server) {
  if (server !== undefined) {
       _self.logger.info(server.ip + ':' + server.port);
  }

}
Just let me know I can create a PR if you agree.
My 2 cents


Suggestions when searching with the search bar

Using https://duckduckgo.com/ac/?q= we could provide suggestions for the search bar

Fixed in https://github.com/ajnart/homarr/commit/39d66faf4eb4098f12f23700b7cb4e2a568df660


only a single item/option is being rendered

After upgrading Ember to ember 1.11 and running npm update on the rest of packages, the addon stopped working correctly. the content property is set an array of 200 elements but only one option is rendered which corresponds to the first array element. I tried optionFunction, optionView and other stuff but it always renders a single item no matter what. Any thoughts?

So i figured that only happends when optionValuePath is set to 'content' :
{{
      ember-selectize
      classNames="ltr rtl-selectize"
      optionValuePath="content"
      optionLabelPath="content.full_name"
      placeholder=tAnonymous filter=q
      content=customerSuggestions
      optionCreateFunction=renderOption
      value=selectedCustomer
    }}


[ROADMAP] Levels 🎮

Stories
As a player, I want to see which level I am currently in for each of the repositories I am playing in. I want to understand which rights and limitations are attached to the level I am currently in.
I want to also see how much more points I need to collect to level up to the next level and what the rights and limitations of the next levels are.
As a maintainer, I want to set custom levels to have freedom to design my game how i want it. These levels have unique names, badges (images) and point thresholds to cross to level up. I want to also be able to freely decide which rights I grant for which level. However, these rights are generally predetermined by whats possible within oss.gg, for example: “Can work on issues with bounties” Or “Can work on issues labeled with X”.
Tasks

[x]  Design all the UI needed to enable this:
https://www.figma.com/file/usCYaOpv13zMpvjEVc5z0Z/oss.gg-web-app?type=design&node-id=9%3A1897&mode=design&t=DnQbQCeApQQoXDbT-1

[ ]  Ship it

[ ]  Augment the automations to take over the communication if players attempt to assign themselves for issues they are not eligible for

I'll love to work on this

We've shipped the foundation for levels here #78


Increase cqerl_client_sup's restart intensity

...to be at least as big as connection pool in case of longer inactivity of 5 or more connections.
The issue here was, that Cassandra (by default) closes connection after 1 minute of inactivity. If we have at least 5 inactive connections in pool (which is quite easy, since by default pool has 20 connections), they would close very likely all at once, therefore tripping supervisor's restart intensity. This in turn would close the entire pool of connection even if some of them are in the middle of query. Not only that, but the pool wouldn't restart after that, at least not until next query.
This PR ensures that even if the whole pool is closed after 1min of inactivity, it will be restarted properly by setting restart intensity to be at least as big as pool size.

@rslota Had to undo that PR, since it broke the tests
https://circleci.com/gh/matehat/cqerl/26
Now that builds and tests run automatically on new PRs, you could try re-creating the PR and see the result automatically.


Document trailing and int encoding compared to Config on Options

When switching from config() to options(), it seems that fixed int behavior switched to default to varint behavior.
The trailing and int encoding options were not present in Config, so Options documentation should mention how to configure Options in the same way as the default Config.
I understand you have moved away from Options in the newest versions... but as someone using v1 latest, trying to fix the deprecation warning caused this gotcha.

I wasn't referring to the v1 to v2 migration.
I was talking about migrating from Config to Options within the same v1.3.3 to get rid of the deprecation warnings.
I had to go digging in the source code to find the macro that implements the Config to Option conversion and see the default settings for Config.


Issues running Teku with OpenEthereum

Description
We've got a user reporting the following stack trace when running Teku with OpenEthereum.  It appears that the eth1 node is missing historical blocks, which is causing teku to throw a NPE:
16:17:20.699 INFO  - Eth1 tracker successfully caught up to chain head
16:17:20.707 FATAL - Exiting due to fatal error in Eth1DepositManager
java.util.concurrent.CompletionException: tech.pegasys.teku.service.serviceutils.FatalServiceFailureException: java.util.concurrent.CompletionException: java.lang.NullPointerException
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
        at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970) ~[?:?]
        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
        at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137) ~[?:?]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateResult$3(SafeFuture.java:152) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) ~[?:?]
        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
        at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137) ~[?:?]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateResult$3(SafeFuture.java:152) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
        at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:883) ~[?:?]
        at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2315) ~[?:?]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.whenComplete(SafeFuture.java:503) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.whenComplete(SafeFuture.java:28) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.propagateResult(SafeFuture.java:147) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$exceptionallyCompose$25(SafeFuture.java:347) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) ~[?:?]
        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
        at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137) ~[?:?]
        at tech.pegasys.teku.infrastructure.async.SafeFuture.lambda$propagateResult$3(SafeFuture.java:152) ~[teku-infrastructure-async-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) ~[?:?]
        at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
        at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2137) ~[?:?]
        at org.web3j.utils.Async.lambda$run$1(Async.java:38) ~[core-4.6.2.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
        at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: tech.pegasys.teku.service.serviceutils.FatalServiceFailureException: java.util.concurrent.CompletionException: java.lang.NullPointerException
        at tech.pegasys.teku.pow.Eth1DepositManager.lambda$start$3(Eth1DepositManager.java:74) ~[teku-pow-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986) ~[?:?]
        ... 30 more
Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
        at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1155) ~[?:?]
        ... 29 more
Caused by: java.lang.NullPointerException
        at tech.pegasys.teku.pow.MinimumGenesisTimeBlockFinder.compareBlockTimestampToMinGenesisTime(MinimumGenesisTimeBlockFinder.java:87) ~[teku-pow-20.11.1.jar:20.11.1]
        at tech.pegasys.teku.pow.MinimumGenesisTimeBlockFinder.lambda$binarySearchLoop$0(MinimumGenesisTimeBlockFinder.java:60) ~[teku-pow-20.11.1.jar:20.11.1]
        at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1146) ~[?:?]
        ... 29 more
Teku is shutting down
16:17:20.727 INFO  - Stopped<EMAIL_ADDRESS>(http/1.1)}{<IP_ADDRESS>:5051}
16:17:20.730 INFO  - Stopping Javalin ...
16:17:20.730 INFO  - Javalin has stopped
16:17:20.732 WARN  - Error shutting down connection manager

We should try to make teku's eth1 fetching logic more forgiving, if possible.

@ajsutton this is what i saw with nethermind once I fixed the initial problem of getting to head, when it goes and tries to find an earlier block.


Activate the GitHub App Stale on the GitHub repository

Pull Request (PR) description

This Pull Request (PR) fixes the following issues:

Task list:

[ ] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[ ] New/changed code adheres to Style Guidelines?
[ ] Unit and (optional) Integration tests created/updated where possible?

This change is

Reviewed 1 of 1 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


Enable Security Command Center reporting of GKE KCC and Workload Clusters - verify alerting

see https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/dev/solutions/landing-zone/architecture.md#di-39-enable-security-command-center-reporting-of-gke-kcc-and-workload-clusters

Verify alerts are showing in SCC


Monitor NTP for Clock Skew

A customer has requested that clock skew for NTP be monitored.  This could be useful in the prevention of service flapping.

As mentioned in bug triage - this is mostly prevalent in CDCs where upstream NTP is blocked by firewalls.

https://github.com/racker/rackspace-monitoring-agent-plugins-contrib/blob/master/ntp_offset.sh may be of value here


Unhandled python exception in read callback: ActionError: Unknown Action: GetAddonInfos

After one month i'm getting this error now since 2 or 3 weeks:
collectd[11918]: Unhandled python exception in read callback: ActionError: Unknown Action: GetAddonInfos
collectd[11918]: read-function of plugin `python.fritzcollectd' failed. Will suspend it for 120.000 seconds.

FritzBox 7490
Maybe sincee the last fritzbox update but i'm not sure.

https://github.com/fetzerch/fritzcollectd/issues/3#issuecomment-255460591
Either status info via upnp disabled, or wrong user/password combination. It should work fine without user/pass btw.

With fritzconnection i can connect and list the services.
only a few without user/pass
all services with same user/pass
Currently i'm not getting any stats without user/pass.. still trying to get some error messages.

Forgot to reenable Hostname (Address was always enabled) in configuration, now at least i'm getting basic informations.

After digging a bit into this, it seems that 'WANCommonInterfaceConfig:1': 'GetAddonInfos' only works without password. (FRITZ!OS: 06.80). Is that the same for you? Unfortunately the rates seem to be only available through GetAddonInfos. For the bytes counters there are alternative actions available: GetTotalBytesSent, GetTotalBytesReceived.
Is that the same on your box?
Looks like a bug in the box to me, I'll try to contact AVM.
For the moment that means the whole plugin only works without specifying a password.

happens for me on a 6.80 box (7490) and also a 6360 box with 6.52 (unitymedia) ... so seems not like a "Bug" and even if ... no one knows if fixable by people (e.g. with the unitymedia box where updates are only done by the provider) :-(
So why for now not implement it working and react if AVM fixes it to get configurable or retried when errored

0.4.0 verified


request ability upgrades for expired matches on demand

Currently we just skip the ability upgrades if the data is missing.  With the SPA, we can have the client request ability upgrades separately from the server if they are missing (not already in the match object).

not needed, persisting this data again


🐛 Bug ➾ The Micheline editor does not render for entrypoint balance_of in NFT scaffold

🚥 Status (Internal Taqueria Team Use Only)

[x] 🔬 Investigated and Verified
[ ] ⚗ Solution Identified and Designed
[ ] 🧫 Dev Implementation of Fix
[ ] 🧪 Fix Tested and Validated
[ ] 🏆 PR Merged

🆘 What happened?
The Micheline editor in the VsCode Extension does not render for the entrypoing balance_of in NFT scaffold.
🆘 Steps to Reproduce?

Scaffold the NFT scaffold
Install the newest Flextesa plugin
Start the sandbox
Deploy main.tz to the sandbox
Open Sandboxes > local > contracts > KT1.... > entrypoints > balance_of
Click the 📞 icon: "invoke entrypoint"
The editor tab that appears should have a michelin editor but is empty

🪵 Relevant log output
No response
🐘 How impactful is this bug?
🤔 Notable but managable
⏱ Prevalance
No response
💻 Operating System
Linux
🕸 System Architecture
x64
🌮 Taqueria Version
No response
🌿 Node.js Version
No response
☎ Contact Details
No response
Code of Conduct

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

why is this assigned to me?
On Fri, Dec 9, 2022 at 12:45 AM AlirezaHaghshenas @.***>
wrote:

Assigned #1605 https://github.com/ecadlabs/taqueria/issues/1605 to
@michaelkernaghan https://github.com/michaelkernaghan.
—
Reply to this email directly, view it on GitHub
https://github.com/ecadlabs/taqueria/issues/1605#event-7996642612, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASWO3VSKLOJ5PPNGDI6WTS3WMLWTDANCNFSM6AAAAAASZCZEYA
.
You are receiving this because you were assigned.Message ID:
@.***>

Probably bugs get automatically assigned to you now.

Entrypoint's parameter type containes a contract 'params.
These are not implemented.
Also, in many cases, the Micheline editor does not load randomly. If we close the editor (not the whole IDE) and re-open the Micheline editor, that can be  fixed.

This will also fail if an entrypoint's datatype has or in it, meaning there are multiple ways to invoke it (similar to how one contract's argument datatype enables multiple entrypoints). Example: NFT scaffold's update_operators

Thanks for the update @AlirezaHaghshenas. Will defer this till after the milestone


Standardize accuracy result display

Currently the accuracy is displayed as dd.pp%, 0.pppp, 0.pppp, dd.ppppp, dd.pp% for the 5 tasks, I suggest to normalized the display for all of them to be like image classification dd.pp% e.g 75.50%

this is how current app currently displays: 75.84%, 0.2763, 0.5390, 93.9833, 75.73%
according to these reference, display is better standardized like this: 75.83, 27.63, 53.90, 93.98, 75.73
Deeplab: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7913730
MobileDet: https://arxiv.org/pdf/2004.14525.pdf
MobileBert: https://arxiv.org/pdf/2004.02984.pdf

is this the display in the app? Where exactly?

E.g. screenshot from 1.1. results e.g. https://github.com/mlcommons/mobile_submission_1.1/blob/master/closed/Qualcomm_Innovation_Center/results/SDM778G/Screenshot_20210916_160208.jpg

75.83, 27.63, 53.90, 93.98, 75.73 (without showing the percent sign) looks fine to me.


Migrate from Bootstrap to Angular Material

Currently we use Bootstrap with a Material Theme which does not support all Material Controls and features.

Has been merged.


usize ints and ARM Compilation break the library

To get a better understanding of this - I was compiling golem which uses this library for ARM, in hopes of running it on a Raspberry Pi. I was using - target - target.arm-unknown-linux-musleabi linker - arm-linux-gnueabihf-ld for my target and linker.
When doing this I'd run into various issues in this library caused with integers being different lengths, which appeared to be from usize ints basing int size off of architecture, thus not working well with ARM.
I raised this issue on stackoverflow where I go a little more in depth on the issue - https://stackoverflow.com/questions/67013986/usize-breaking-zksync-when-compiling-for-arm
This helpful answer suggested I put this here -
stat is a Statvfs structure, the return type of Statvfs::blocks_available() is fsblkcnt_t, and the return type of Statvfs::fragment_size() is c_ulong. These two types are defined in the libc package, which is a paper-thin wrapper around the low-level C OS-calls. The types are equivalent to the C types in the OS-specific *.h files. The sizes of the types vary from platform to platform.
The library you're compiling appears to have some assumptions baked in about these sizes and their arithmetic compatibility.
So in short, fix ARM compilation for this library by reworking how int lengths are handled, if this can't be done in one body of code to support all platforms, forking out may be necessary to work with ARM.

Thanks for the report! Unfortunately, we currently consider 64-bit linux as the main target and have no plans in making the code compatible with Raspberry Pi.
However, if you are willing to help, you can file a PR with a fix, and we'll be happy to merge it.

@popzxc Even though we do not aim to support anything other than x86-64 at the moment I think we can change a signature of the function and casts in this expression to usize as it's logical not to have more countable elements then assessable memory can handle

Thanks for the report! The task was created in the internal tracker.


Add roc test --watch flag

This issue is to include a --watch flag for roc test see zulip discussion

@lukewilliamboswell should we make this issue general to also include dev and check watch modes? Otherwise, we can make a separate issue

@agu-z I don't have a preference. I just wanted to capture the task.
Whoever picks this up will be best placed to make a decision regarding that I think. That person will be able to scope out their PR and if it's reasonable to do all of these at once then great; otherwise we can make more issues to track anything out of scope. I'll update the issue description to consider those too.

I think this actually isn't a good first issue after all, because (among other reasons) it's nontrivial to handle the situation where the watcher fires and a build is already in progress. 😄
I've started working on it though!


Update Dockerfiles to use COPY instruction rather than ADD

To conform with Dockerfile best practices, the COPY instruction is preferred over ADD.  All Microsoft Dockerfiles should be following the best practices as they are often referred upon and copied.

Sounds good.

Issue #58 covers this issue better.


[new-parser] Support trait type declaration

Fixes

#5816

Before PR in drools-traits
[ERROR] Tests run: 363, Failures: 150, Errors: 142, Skipped: 6

After PR in drools-traits
[ERROR] Tests run: 363, Failures: 94, Errors: 105, Skipped: 6

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request and downstream checks

Push a new commit to the PR. An empty commit would be enough.

for a full downstream build

for github actions job: add the label run_fdb

for Jenkins PR check only

If you are an ASF committer for KIE podling, login to Jenkins (https://ci-builds.apache.org/job/KIE/job/drools/), go to the specific PR job, and click on Build Now button.

@tkobayas @mariofusco @gitgabrio please review.

Hi @yurloc @tkobayas @mariofusco
looking at this PR, I noticed there are a lot of null check; e.g. :
if (ctx.DRL_TRAIT() != null) {
            typeDeclarationDescr.setTrait(true);
}

I think I understand the reason, but I wonder if there could be a nicer design to avoid them.
I don't know how easy would be to change the DRLParser.TypeDeclarationContext (and similar *Context), but somehow all this null checking does not look very nice: what do you think ? (note: this would be just a nice-to-have)

Hi @yurloc @tkobayas @mariofusco looking at this PR, I noticed there are a lot of null check; e.g. :
if (ctx.DRL_TRAIT() != null) {
            typeDeclarationDescr.setTrait(true);
}

I think I understand the reason, but I wonder if there could be a nicer design to avoid them. I don't know how easy would be to change the DRLParser.TypeDeclarationContext (and similar *Context), but somehow all this null checking does not look very nice: what do you think ? (note: this would be just a nice-to-have)

Yeah, I totally hear you @gitgabrio but the whole DRLParser class is a generated source code produced by antlr4-maven-plugin from .g4 grammar files. I have no power over its API.

Hi @yurloc @tkobayas @mariofusco looking at this PR, I noticed there are a lot of null check; e.g. :
if (ctx.DRL_TRAIT() != null) {
            typeDeclarationDescr.setTrait(true);
}

I think I understand the reason, but I wonder if there could be a nicer design to avoid them. I don't know how easy would be to change the DRLParser.TypeDeclarationContext (and similar *Context), but somehow all this null checking does not look very nice: what do you think ? (note: this would be just a nice-to-have)

Yeah, I totally hear you @gitgabrio but the whole DRLParser class is a generated source code produced by antlr4-maven-plugin from .g4 grammar files. I have no power over its API.

Ok @yurloc thanks for explanation! 👍

Overall fixing progress: There were 436 failed tests.


Users/sayantan/grouproleassignment

Added functionality to check role assignments through groups.

Will update the remediation script file, once the PR Review is done.


ARM64 support

Currently you only support normal x64, but users of the new Snapdragon X Elite with Windows 11 on ARM may also want to use the extension, so adding arm64 support would be nice.

The latest version now allows installing on Visual Studio 2022 Arm64.
Please try v1.0.1102.24 or higher.
Thank you.

I don't have ARM64 HW, but it looks good


Support of sitemaps index file

Google has support management   multiple sitemap files and allow to submit them as one .
Need to create sitemap.index.xml file with list of sitemap files
Example:
<?xml version="1.0" encoding="UTF-8"?>
   <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <sitemap>
      <loc>http://www.example.com/sitemap1.xml.gz</loc>
      <lastmod>2004-10-01T18:23:17+00:00</lastmod>
   </sitemap>
   <sitemap>
      <loc>http://www.example.com/sitemap2.xml.gz</loc>
      <lastmod>2005-01-01</lastmod>
   </sitemap>
   </sitemapindex>

https://support.google.com/webmasters/answer/75712?hl=en

It is alreadt supported: https://github.com/samdark/sitemap/blob/master/Index.php. See readme for usage.


8.2.2 Security improvements

– Added support for new runtime upgrade affecting nomination pools
– Added security improvements for the DApp browser – Nova now rejects access to certain top level domains and warns users to be careful when connecting to DApps which are not already in the DApp catalog
– Fixes & Optimizations

Release severity: Normal
Release version: 8.2.2
Release notes:
Support for new runtime upgrades and security improvements are here

Added support for new runtime upgrade affecting nomination pools
Added security improvements for the DApp browser – Nova now rejects access to certain top level domains and warns users to be careful when connecting to DApps which are not already in the DApp catalog
Fixes & Optimizations


drop bintray resolvers - they stopped their offerings

Likely needs adjustment after https://github.com/ShiftLeftSecurity/codepropertygraph/pull/1166 gets merged (if it's successful that is).

Thanks @Ferada , that's even better!


Tech Debt: Remove pre-4.4.8 things

4.4 has been out of support for a year and a half [1], and OSD confirms a) they don't have any hangers-on; and b) if they did, they would be running at their own risk anyway.

/assign @suhanime

/lgtm


azure-mgmt-sql firewall_rules.get() does not return values

azure-mgmt-sql firewall_rules.list_by_server() does not return firewall rules. The resource group name and server name were provided.
A 'firewallrulepaged' object was returned. Its current_page was an empty list.
I have setup around 3 firewall rules via UI.

list_by_server returns an iterator, so it is by design that the current page is empty before you touch the iterator because of lazy loading. If you'd like to access all of the firewall rules, you can do a simple for loop or do a list call on the object, like
list(firewall_rules.list_by_server())

or
for firewall_rule in firewall_rules.list_by_server():
    print(firewall_rule.id)

Thank you for the reply.
This works for me.


only check username on new accounts

Connected to #1070.

The change has been deployed to Nuvla and appears to work.


Strange "shaking" behaviour for coordinateSystem + roundCap bar charts for higher than 100% percent values

Describe the bug
When creating a polar coordinateSystem bar chart with roundCap set to true for a value on the series, that dataset will appear to shake during animation.
To Reproduce
Steps to reproduce the behavior:

Create a simple react-native-echarts skeleton bar chart
Modify the series to include coordinateSystem: 'polar' and roundCap: true
Include a data value in the series higher than the max value specified in angleAxis.max: 100 such as data: [140]
Ensure animations are enabled
Load the graph

Expected behavior
The animation reaches it's final destination without causing the element to shake.
Screenshots/Videos
iOS
https://github.com/wuba/react-native-echarts/assets/54673427/5900b584-04f4-4117-807e-9f9ff272ef3f
Android
https://github.com/wuba/react-native-echarts/assets/54673427/e6a78ab5-73c4-4c49-9308-03bea088361e
Smartphone (please complete the following information):

Device: iPhone 12 Pro Max

OS: iOS 16.6

Browser: Safari

Versions:
"@wuba/react-native-echarts": "^1.2.4",
"echarts": "^5.4.3",

Device: Android Emulator (Pixel 5 API 30)

OS: Android 11.0 Google APIs

Browser N/A

Versions:
"@wuba/react-native-echarts": "^1.2.4",
"echarts": "^5.4.3",

Additional context
This appears to occur across iOS/Android/Web on both Skia and SVG. But does not seem to happen on the non react-native library. If there are any suggestions/alternatives methods for a better way to create this style of graph that can replicate the second snack that would be fantastic.
Expo Snacks: (animationDuration can be changed but the issue still occurs)
https://snack.expo.dev/@davidtjones/6ffc24
https://snack.expo.dev/@davidtjones/close-to-production-example
Apache ECharts Example (Not experiencing the problem here):
Apache ECharts example
Thank you very much for working on this library, it works incredibly well. If I can provide any more information I'll be happy to help.

Any info on this?


Cannot easily navigate from home page on mobile view

When in the mobile view, the explorer is not visible and there is not a way to reach the content listing of the docs.

The only way to see the list is to go to a document via search, then go back up the folder path.

I think that's a quartz issue (the thing we're using that automatically sets the website) , I'll look into it soon, but it's not a priority since you need a pc to mod

this is also true at 100% scale on resolutions lower than 1080p such as 768p


Not Buildable: assets in.gitignore but required via go:embed

Unable to use go install or go build because of this line: https://github.com/logdyhq/logdy-core/tree/a4fa83d/embed.go#L8-L9
Should assets be included in the repo — whether configured for LFS or not — so builds can be done by others?

Hi, I'm sorry I didn't mention that compiled UI should be copied to assets dir so it can be embedded into the binary. I updated the readme.

Is there any way to connect core with ui in dev mode?


Feature request: stop insisting that pre-populated database be located in www

I understand that the library current requires devs to place the pre-populated database in a directory that is named precisely www.
While this works, there's no reasonable justification why anyone should be forced to do this. This library would be better if it did not insist on that folder name, and in fact it should not place any requirements on the location or name of the database (notwithstanding rules enforced by the underlying OS, such as iOS's default vs Library biz).

You are not forced to use www. https://github.com/andpor/react-native-sqlite-storage#step-6---adjust-opendatabase-call


Sign In and Log In Links should only show for guests

Given I am logged in
Then I should not see "Sign Up"
And I should not see "Log In"

Fixed


Checkbox unable to get property checked

Discussed in https://github.com/adamghill/django-unicorn/discussions/539

Originally posted by algameko June  5, 2023
I'm trying to make a filter on a table with django-unicorn component with the following code:
table-search.html

<input unicorn:click.debounce-1000="update_search({{ subcategory.id }}, $event.target.checked)" type="checkbox" id="subcat_{{ subcategory.id }}">

table-search.py

class TableSearchView(UnicornView):
    elements = []
    filter_dict = {}

    def mount(self):
        initial filter on a table etc.

    def update_search(self, id_subcat=None, checked=None):
        self.filter_dict[id_subcat]=checked

Component work on mount but there's now way to obtain $event.target.checked, it always return None.

In https://github.com/adamghill/django-unicorn/discussions/539 you mentioned you fixed this with a code change. But, let me know if unicorn could handle this better. Otherwise, I'll close this issue. 👍

Closing because a solution was found.


[SUGGESTION] Admin-only e2/sf functions

Short Description
Add admin-only e2/sf functions.
Some ideas;

Functions that disable/enable receiving acf damage on a specific entity
Functions that modify acf properties of objects (armor, health, etc)

Would be pretty simple to implement, just have to lock the functions behind an IsAdmin() check.
These would be excellent for server-wide events where you don't want some specific entities to die horribly.

I like the idea but I don't think this should ship with ACF. Definitely a separate addon.