AttributeError: 'NoneType' object has no attribute 'device_id'

I am receiving the following error message in the logs for a while. Is this related to something I shall fix in configuration or is this a bug?
Logger: homeassistant.components.sensor
Source: custom_components/powercalc/strategy/wled.py:69
Integration: Sensor (documentation, issues)
First occurred: 09:55:34 (1 occurrences)
Last logged: 09:55:34

Error while setting up powercalc platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/powercalc/sensor.py", line 265, in async_setup_entry
    await _async_setup_entities(hass, sensor_config, async_add_entities)
  File "/config/custom_components/powercalc/sensor.py", line 281, in _async_setup_entities
    entities = await create_sensors(hass, config, discovery_info)
  File "/config/custom_components/powercalc/sensor.py", line 425, in create_sensors
    return await create_individual_sensors(
  File "/config/custom_components/powercalc/sensor.py", line 544, in create_individual_sensors
    power_sensor = await create_power_sensor(
  File "/config/custom_components/powercalc/sensors/power.py", line 95, in create_power_sensor
    return await create_virtual_power_sensor(
  File "/config/custom_components/powercalc/sensors/power.py", line 151, in create_virtual_power_sensor
    await calculation_strategy.validate_config()
  File "/config/custom_components/powercalc/strategy/wled.py", line 90, in validate_config
    self._estimated_current_entity = await self.find_estimated_current_entity()
  File "/config/custom_components/powercalc/strategy/wled.py", line 69, in find_estimated_current_entity
    device_id = self._light_entity.entity_entry.device_id
AttributeError: 'NoneType' object has no attribute 'device_id'

Seems somehow you have selected an invalid wled entity, because powercalc cannot find the entity in the entity registry which is unexpected / unhandled.
How did you setup this powercalc wled sensor? Using the GUI or YAML? Manually or with autodiscovery?

If I remember correctly all WLEDs have been added by autodiscovery.
So shell I remove all WLEDs from powercalc and let them autodiscover again?

No, should be no need to remove these. Could you click on three dots in integration tab for one of the problematic powercalc WLED sensors and click "Download diagnostics", then we can start troubleshooting from there.

@olympia Could you still provide diagnostics as requested?

Apologies for the delayed answer from my side; I was away for a week.
Based on your feedback I finally found a WLED controller under powercalc what was already removed from HA. After removing this from powercalc as well, the error message disappeared.
So sorry for the false positive report!
Nevertheless it would be great that if a device was removed from HA then it would get removed from powercalc as well.
Would this be achievable?

Glad you got it resolved.
I don't think this could be achieved as only entities managed by the integration also providing the device will be removed. Don't think it's worth the hassle to put in a lot of additional code to get something like this working for really an edge case.
Closing this issue.


Add luck to the console readout

Better yet, add it to a API.

Yep, full REST Api is coming... Worked on it last night a bit.

Just tipped you 20 BAT!  Hope you have brave and it connected!

how the diff is changing? still see 17,18gh ,when i found a block it is going to mined status?

Like I said on reddit, the diff is constant. That's how the shares system used by mining pools works. When you send in a share the pool (or bridge in this case) checks the actual diff and if it meets the criteria for the current block it sends it along.


Develop row batcher

So we can incorporate your pull request, please share the following:

What issue are you addressing with this pull request?
Are you modifying the correct branch? (See CONTRIBUTING.md)
Have you run unit tests? (See CONTRIBUTING.md)
Version of MarkLogic Java Client API (see Readme.txt)
Version of MarkLogic Server (see admin gui on port 8001)
Java version (java -version)
OS and version
What Changed: What happened before this change? What happens without this change?

Merging the row-batcher work into develop branch.


MudForm.IsTouched not updated when editing inside nested MudDataGrid

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudForm and/or MudDataGrid
What happened?
I have a MudForm which contains a MudDataGrid. The MudDataGrid has columns of type TemplateColumn for editing properties of a collection of items.
See here for an example: https://try.mudblazor.com/snippet/GYcoOjwSyvkBVpNn
When typing into the first input field ("test"), IsTouched changes to true.
But when typing into one of the 3 items, IsTouched is not affected, no MudForm.IsTouchedChanged event is raised.
Expected behavior
The MudForm.IsTouched features should also work with components nested inside a child MudDataGrid.
Reproduction link
https://try.mudblazor.com/snippet/GYcoOjwSyvkBVpNn
Reproduction steps

Type into one of the items (1,2,3), IsTouched does not change (NOT OK).
Now type into the first text field ("test"), IsTouched changes to true (OK).

Relevant log output
No response
Version (bug)
7.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

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

Doesn't happen with a MudTable (instead of MudDataGrid). So it seems to be more of a MudDataGrid problem than a MudForm problem.

Here's my workaround (for components inheriting from MudFormComponent<T, T>).
Set @bind-Value:after="this.Validate" so that the component is re-validated when the value is changed.
@inherits MudBaseInput<object>

<MudForm>
    <MudDataGrid>
        <MudTextField T="string?"
<EMAIL_ADDRESS>                      @bind-Value:after="this.Validate"
                      Immediate="true" />
    </MudDataGrid>
</MudForm>

Note: For some reason this doesn't compile in TryMudBlazor, but it works in Visual Studio.

I think I found the culprit: MudDataGrid embeds the cells in a CascadingValue which is set to the MudDataGrid.Validator.

The MudDataGrid.Validator property defaults to a DataGridRowValidator instance which implements the IForm interface.

Hence the embedded components notify this DataGridRowValidator and not the outer MudForm parent component.
Unfortunately, MudDataGrid.Validator is not a [Parameter], so I cannot change it easily from outside, at least not from Razor markup. Here's how I would like to solve it:
<MudForm @ref="this.form">
    <MudDataGrid Validator="this.form">
        ...
    </MudDataGrid>
</MudForm>

@code {
    private MudForm? form;
}

Proposal: Expose MudDataGrid.Validator as a [Parameter] so that it can be configured as shown above. What do the maintainers think?

@tjscience ?

Meanwhile I found a better workaround:

Create a class (e.g. MyFormDataGrid) that derives from MudDataGrid, has a [CascadingParameter] of type IForm and overrides OnInitialized.
In OnInitialized replace MudDataGrid.Validator with the cascading IForm value.
Use this class instead of MudDataGrid when an outer MudForm should be the "validation host".

public class MyFormDataGrid<T> : MudDataGrid<T>
{
    [CascadingParameter]
    public IForm? Form { get; set; }

    protected override void OnInitialized()
    {
        base.OnInitialized();

        if (this.Form is not null)
        {
            this.Validator = this.Form;
        }
    }
}

This works pretty well. No more @bind-Value:after="this.Validate" re-validation needed, plus the nested component validation states contribute to the outer MudForm.IsValid state as expected.
The only remaining problem is that now you have to explicitly specify the T parameter on each <TemplateColumn> element (plus TProperty for each <PropertyColumn>) to avoid strange Razor compilation errors like this:
...\obj\Debug\net8.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_MyPage_razor.g.cs(902,134,902,156): error CS0411: The type arguments for method 'TypeInference.CreatePropertyColumn_1<T, TProperty>(RenderTreeBuilder, int, int, Expression<Func<T, TProperty>>, int, string, int, string, int, string)' cannot be inferred from the usage. Try specifying the type arguments explicitly.

As a workaround, replace markup like this:
<PropertyColumn Property="c => c.MyProp" />

with this:
<PropertyColumn T="Model" TProperty="string" Property="c => c.MyProp" />

(Just an example for items of type Model and Model.MyProp of type string.)

Proposal: Expose MudDataGrid.Validator as a [Parameter] so that it can be configured as shown above. What do the maintainers think?

I don't mind if you create a PR with [Parameter] on the Validator property. I think it makes sense to allow to override this easily.

@ScarletKuro PR has been prepared, but I'm still struggling with the unit test I wrote for it. It fails for an unknown reason even though interactively everything works as expected.

I managed to fix the unit test myself (using ``Inputinstead ofChange`). Please have a look. Hope this fill be merged and released soon. It's desperately needed. :-)

I managed to fix the unit test myself (using Input instead of Change). Please have a look. Hope this fill be merged and released soon. It's desperately needed. :-)

Do I understand correctly that you want it to be in v7? We just kind of stopped to develop it, and last 4 releases were just regression fixes.


Oauth2 SSO Broken after changes in build 2.155.0

Version 2.154.0 seems also to be affected.
My SSO always worked. But since the release of 2.155.0 suddenly my SSO stopped working and keeps throwing a 523 status code with the error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Environment details

OS type and version: Win11 x64
Python version: Python 3.13.0
pip version: pip 24.3.1
google-api-python-client version: Version: 2.155.0
Cable Internet (1gbs down/120mb up)

Steps to reproduce

? Make sure to obtain an access token after login in on the SSO page from google
? Build your credentials

from google.oauth2.credentials import Credentials

# serializer contains the access_token and scope obtained after succesful google login
credentials = Credentials(token=serializer.data['access_token'], scopes=serializer.data['scope'])

? Apply credentials to service

from googleapiclient.discovery import build

# create the service we want to utilize
user_info_service = build(serviceName='oauth2', version='v2', credentials=credentials)

? Make a request to obtain user info which the user gave consent for

# Try to obtain the user info which the user gave consent for
user_info = user_info_service.userinfo().get().execute()

Full Example:
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build

# serializer contains the access_token and scope obtained after succesful google login
credentials = Credentials(token=serializer.data['access_token'], scopes=serializer.data['scope'])
# create the service we want to utilize
user_info_service = build(serviceName='oauth2', version='v2', credentials=credentials)
# Try to obtain the user info which the user gave consent for
user_info = user_info_service.userinfo().get().execute()

The last step (4.) throws the error.
Workaround
I do have a workaround,
from google.oauth2.credentials import Credentials

credentials = Credentials(token=serializer.data['access_token'], scopes=serializer.data['scope'])

response = requests.get(
    "https://www.googleapis.com/oauth2/v2/userinfo",
    headers={"Authorization": f"Bearer {credentials.token}"}
)
user_info = response.json()

Edit: I do have to add that my workaround request takes a very long time to complete.

I am going to close this issue, due lack of response. Perhaps google server just had hickups


Release 0.7.0

Or release alpha2 and the definitive version contains the 'get' and 'snake case' changes ?
Compatibility table
This release is incompatible with the latest releases of the following repositories:

substra-backend (0.1.1)
hlf-k8s (0.0.12)
substra-tests (0.5.0-alpha.1)

It is compatible with the latest releases of the following repositories:

substra-frontend (0.0.18) to confirm
substra-chaincode to confirm

Companion PRs

release substra-tests: no PR, see the new tag https://github.com/SubstraFoundation/substra-tests/releases/tag/untagged-0c99436da3031fb78177
release substra-backend
release hlf-k8s

How come it's not compatible with the latest changes backend/hlf-k8S? are there things unreleased in these repos that prevent it from working?

For hlf-k8s, the last release does not work because of the Chart, passing the Chart to  2.3.1 solves the issue, it is not really linked to this release.
For the backend, the latest version of substra-tests fails with the latest release of substra-backend because of the changes on the permissions apparently. I don't have the 3 tests that fail with the traceback anymore, but I can rerun them if needed.

TODO: update the compatibility table once the other releases are done


bcbio installation on centos 7.6

Hello,
On CentOS 7.6, I am trying to install bcbio with following command:
$python bcbio_nextgen_install.py /mnt/bcbio-data --tooldir=/rabbit/bcbio -genomes GRCh37 --aligners bwa --aligners bowtie2
Then, it looked all good installing until I get to this point:
2018-12-07 14:56:40 (402 KB/s) - ‘coverage/problem_regions/repeats/polyx.bed.gz.tbi’ saved [355665/355665]
Connecting to nc.hartwigmedicalfoundation.nl.x.86bbc427022ad04c700a0c400943b6eb6d9d.ccc2eda1.id.opendns.com|<IP_ADDRESS>|:443... connected.
WARNING: cannot verify nc.hartwigmedicalfoundation.nl.x.86bbc427022ad04c700a0c400943b6eb6d9d.ccc2eda1.id.opendns.com's certificate, issued by ‘O=Cisco,CN=Cisco Umbrella Secondary SubCA lax-SG’:
Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://bpb.opendns.com/b/https/nc.hartwigmedicalfoundation.nl/index.php/s/a8lgLsUrZI5gndd/download?X-OpenDNS-Session=aa51dc5c0ccc5aad4_86bbc427022ad04c700a0c400943b6eb6d9d_bdb6e5698e8bddf337724690f430e7d26ceaa1e2_path=%2FHMF-Pipeline-Resources&files=GC_profile.hg19.1000bp.cnp.gz [following]
--2018-12-07 14:56:40--  https://bpb.opendns.com/b/https/nc.hartwigmedicalfoundation.nl/index.php/s/a8lgLsUrZI5gndd/download?X-OpenDNS-Session=aa51dc5c0ccc5aad4_86bbc427022ad04c700a0c400943b6eb6d9d_bdb6e5698e8bddf337724690f430e7d26ceaa1e2_path=%2FHMF-Pipeline-Resources&files=GC_profile.hg19.1000bp.cnp.gz
Connecting to bpb.opendns.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /b/https/nc.hartwigmedicalfoundation.nl/index.php/s/a8lgLsUrZI5gndd/download?path=%2FHMF-Pipeline-Resources&files=GC_profile.hg19.1000bp.cnp.gz [following]
--2018-12-07 14:56:40--  https://bpb.opendns.com/b/https/nc.hartwigmedicalfoundation.nl/index.php/s/a8lgLsUrZI5gndd/download?path=%2FHMF-Pipeline-Resources&files=GC_profile.hg19.1000bp.cnp.gz
Reusing existing connection to bpb.opendns.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’

                    [ <=>                     ]   6.35K  --.-KB/s    in 0s

2018-12-07 14:56:40 (57.0 MB/s) - written to stdout [6507]
gzip: stdin: not in gzip format
Traceback (most recent call last):
File "/mnt/bcbio-data/anaconda/bin/bcbio_nextgen.py", line 221, in
install.upgrade_bcbio(kwargs["args"])
File "/mnt/bcbio-data/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 106, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/mnt/bcbio-data/anaconda/lib/python2.7/site-packages/bcbio/install.py", line 344, in upgrade_bcbio_data
cbl_deploy.deploy(s)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/init.py", line 63, in deploy
_setup_vm(options, vm_launcher, actions)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/init.py", line 109, in _setup_vm
configure_instance(options, actions)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/init.py", line 269, in configure_instance
setup_biodata(options)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/deploy/init.py", line 251, in setup_biodata
install_proc(options["genomes"], ["ggd", "s3", "raw"])
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 340, in install_data
_prep_genomes(env, genomes, genome_indexes, ready_approaches)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 469, in _prep_genomes
retrieve_fn(env, manager, gid, idx)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 836, in _install_with_ggd
ggd.install_recipe(env.cwd, recipe_file, gid)
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 31, in install_recipe
recipe["recipe"]["full"]["recipe_type"])
File "/home/sequencer/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 63, in _run_recipe
subprocess.check_output(["bash", run_file])
File "/mnt/bcbio-data/anaconda/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['bash', '/mnt/bcbio-data/genomes/Hsapiens/GRCh37/txtmp/ggd-run.sh']' returned non-zero exit status 1
Traceback (most recent call last):
File "bcbio_nextgen_install.py", line 265, in
main(parser.parse_args(), sys.argv[1:])
File "bcbio_nextgen_install.py", line 44, in main
subprocess.check_call([bcbio, "upgrade"] + _clean_args(sys_argv, args))
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/mnt/bcbio-data/anaconda/bin/bcbio_nextgen.py', 'upgrade', '--tooldir=/rabbit/bcbio', '--genomes', 'GRCh37', '--aligners', 'bwa', '--aligners', 'bowtie2', '--data']' returned non-zero exit status 1

Do you have any clue on what would possibly be causing this issue?
I find some posts relating to Cisco root CA, but not sure what to do yet.
Many thanks!
Chris

OK.  I think the website is blocked by our IT and they are investigating.  Will update if that's not the case.

Thanks for the reply.  Our IT got it right.
Now, I have a different issue that one of the servers is not responding as shown below.
Running GGD recipe: GRCh37 hapmap 3.3
--2018-12-10 12:54:13--<EMAIL_ADDRESS>=> ‘-’
Resolving ftp.broadinstitute.org... <IP_ADDRESS>
Connecting to ftp.broadinstitute.org|<IP_ADDRESS>|:21... connected.
Logging in as gsapubftp-anonymous ...
Error in server response, closing control connection.
Retrying.

Glad the previous problem is solved and thanks for following up. Unfortunately, the Broad FTP server is commonly oversubscribed and reports these type of login issues when that happens. If you re-try when this happens it should hopefully be less busy and work correctly. Hope this works for you.

Trying again this morning and it's same.  Any chance that the server is down?  I wonder if there is work-around to download the files.

That was another issue with our IT department so I think we can close this.

Thanks much for following up, and glad you're able to work through the issues. Hopefully you get the install finished cleanly and can work on running actual analyses.


rdFMCS.FindMCS's AtomCompareParameters.CompleteRingsOnly gives incorrect answers.

Describe the bug
I originally had RDKit version 2022.9.3, but recently updated to version 2024.03.4. Soon after, I noticed a discrepancy in the output of the same code:
from rdkit.Chem import rdFMCS
from rdkit import Chem
from rdkit.Chem.Draw import rdMolDraw2D
from rdkit.Chem import Draw
from IPython.display import display, Image

def draw_molecule_with_annotations(mol, size=(500, 500)):
    for atom in mol.GetAtoms():
        atom.SetProp('atomNote', str(atom.GetIdx()))

    for bond in mol.GetBonds():
        bond.SetProp('bondNote', 'B{}'.format(bond.GetIdx()))

    drawer = rdMolDraw2D.MolDraw2DCairo(size[0], size[1])
    drawer.drawOptions().addStereoAnnotation = True
    drawer.drawOptions().addAtomIndices = True
    rdMolDraw2D.PrepareAndDrawMolecule(drawer, mol, kekulize=False)
    drawer.FinishDrawing()

    img = Draw.MolToImage(mol, size=(500, 500))

    return img

def draw_molecule_with_mcs(mol, mol_mcs, mcs_atom_indices, size=(300, 300)):
    drawer = rdMolDraw2D.MolDraw2DCairo(size[0], size[1])
    drawer.drawOptions().addStereoAnnotation = True
    drawer.drawOptions().addAtomIndices = True

    highlight_atoms = mcs_atom_indices

    highlight_bonds = []
    for bond in mol_mcs.GetBonds():
        begin_idx = mcs_atom_indices[bond.GetBeginAtomIdx()]
        end_idx = mcs_atom_indices[bond.GetEndAtomIdx()]
        highlight_bonds.append(mol.GetBondBetweenAtoms(begin_idx, end_idx).GetIdx())

    rdMolDraw2D.PrepareAndDrawMolecule(drawer, mol, highlightAtoms=highlight_atoms, highlightBonds=highlight_bonds)
    drawer.FinishDrawing()

    img = drawer.GetDrawingText()

    return img

mcs_params = rdFMCS.MCSParameters()
mcs_params.AtomTyper = rdFMCS.AtomCompare.CompareElements
mcs_params.AtomCompareParameters.MatchValences = True
mcs_params.AtomCompareParameters.RingMatchesRingOnly = True
mcs_params.AtomCompareParameters.CompleteRingsOnly = True
mcs_params.AtomCompareParameters.MatchChiralTag = False
mcs_params.AtomCompareParameters.MatchFormalCharge = False
mcs_params.AtomCompareParameters.MatchIsotope = False

mcs_params.BondCompareParameters.RingMatchesRingOnly = True
mcs_params.BondCompareParameters.CompleteRingsOnly = True
mcs_params.BondCompareParameters.MatchFusedRings = True
mcs_params.BondCompareParameters.MatchFusedRingsStrict = False
mcs_params.BondCompareParameters.MatchStereo = False

mcs_params.BondTyper = rdFMCS.BondCompare.CompareOrderExact

mcs_params.RingCompare = rdFMCS.RingCompare.IgnoreRingFusion

mcs_params.matchChiralTag = False
mcs_params.InitialSeed = ''
mcs_params.StoreAll = False
mcs_params.MaximizeBonds = True
mcs_params.Threshold = 1.0
mcs_params.Timeout = 3600
mcs_params.Verbose = False

mol1 = Chem.MolFromSmiles('C1CCC2(CC1)CCCC2')
mol2 = Chem.MolFromSmiles('C1CC2CCC(C1)CC2')

mcs_result = rdFMCS.FindMCS([mol1, mol2], parameters=mcs_params)
mol_mcs = Chem.MolFromSmarts(mcs_result.smartsString)

print("mcs_result.smartsString:", mcs_result.smartsString)

print("mol1:")
display(draw_molecule_with_annotations(mol1, size=(500, 500)))
print("mol2:")
display(draw_molecule_with_annotations(mol2, size=(500, 500)))

mcs_atom_idx_mol1 = mol1.GetSubstructMatch(mol_mcs)
mcs_atom_idx_mol2 = mol2.GetSubstructMatch(mol_mcs)

img_mol1 = draw_molecule_with_mcs(mol1, mol_mcs, mcs_atom_idx_mol1, size=(500, 500))
print("Molecule 1 with Maximum Common Substructure highlighted:")
display(Image(data=img_mol1))

img_mol2 = draw_molecule_with_mcs(mol2, mol_mcs, mcs_atom_idx_mol2, size=(500, 500))
print("Molecule 2 with Maximum Common Substructure highlighted:")
display(Image(data=img_mol2))

For RDKit version 2022.9.3, the code outputs as follows:

For RDKit version 2024.03.4, the code outputs as follows:

If I set mcs_params.AtomCompareParameters.CompleteRingsOnly to False, then the code with RDKit version 2024.03.4 behaves similarly to RDKit version 2022.9.3.
Expected behavior
I expect the results obtained with RDKit version 2022.9.3.
Configuration
RDKit version: 2024.03.4
OS: Rocky Linux 9.3 (Blue Onyx)
Are you using conda? Yes
If using conda, which channel did you install RDKit from? conda install -c rdkit rdkit

You are right, I also think this is a bug.
Apparently the check for mcs_params.AtomCompareParameters.CompleteRingsOnly = True is too strict and ignores that one of the two rings in the spiro system is actually complete, even though the other is not.
I believe that the fact that the other ring is not complete should be ignored, just as it is in the case of the fused ring, where only one of the two fused rings is actually complete.
As a workaround until the bug is fixed, if you set mcs_params.AtomCompareParameters.CompleteRingsOnly = False you will get the MCS that you expect.
However, I believe you should get the expected answer also when mcs_params.AtomCompareParameters.CompleteRingsOnly = True.

@ptosco
Thank you for your prompt and detailed response.
I also agree that the expected behavior should occur even when mcs_params.AtomCompareParameters.CompleteRingsOnly = True.
I hope this issue can be addressed in a future update to RDKit.
If you have a moment, could you please take a look at my recent issue report #7632 related to the problem with AtomCompareParameters.CompleteRingsOnly?

mol1 = Chem.MolFromSmiles('CC(=O)C1CCC2C3CC(C)C4=CC(=O)CCC4(C)C3C(O)CC12C')
mol2 = Chem.MolFromSmiles('CC1(C)C2CCC1(C)C(O)C2')
mcs_result = rdFMCS.FindMCS([mol1, mol2], parameters=mcs_params)
mol_mcs = Chem.MolFromSmarts(mcs_result.smartsString)

mcs_atom_idx_mol1 = mol1.GetSubstructMatch(mol_mcs)
mcs_atom_idx_mol2 = mol2.GetSubstructMatch(mol_mcs)

img_mol1 = draw_molecule_with_mcs(mol1, mol_mcs, mcs_atom_idx_mol1, size=(500, 500))
print("Molecule 1 with Maximum Common Substructure highlighted:")
display(Image(data=img_mol1))

img_mol2 = draw_molecule_with_mcs(mol2, mol_mcs, mcs_atom_idx_mol2, size=(500, 500))
print("Molecule 2 with Maximum Common Substructure highlighted:")
display(Image(data=img_mol2))

@ptosco
I am using RDKit version 2024.03, with the substructure matching parameters consistent with those previously used. However, the result it provides is as follows:

I don’t think the parameter mcs_params.AtomCompareParameters.CompleteRingsOnly = True is working, as it doesn’t seem to match complete rings.


6780 persist analysis models

Waypoint for #6780
First, read the commit msgs to understand why the things were changed in the way they were.
Continuing on the snippets from previous PR, one can create analysis by:
l = layerDefinitionsCollection.first();
m1 = analysisDefinitionNodesCollection.add({
  type: 'trade-area',
  kind: 'walk',
  time: 300,
  source_id: l.get('source')
}, {
  parse: false
});
l.save({ source: m1.id })

// or source from node "owned" by the other layer
l = layerDefinitionsCollection.first();
l1 = layerDefinitionsCollection.at(1);
m1 = analysisDefinitionNodesCollection.add({
  id: analysisDefinitionNodesCollection.nextId(l.get('source')),
  type: 'trade-area',
  kind: 'walk',
  time: 300,
  source_id: l1.get('source')
}, {
  parse: false
});
l.save({ source: m1.id })

In case everything is :boom: one can always delete all analyses by:
// clone is necessary to avoid underscore's iterator to not throw errors due to removed models from the iterated list… >_<
analysisDefinitionsCollection.chain().clone().invoke('destroy')

@xavijam please review (frontend part at least)
cc @juanignaciosl @alonsogarciapablo @javierarce

TODOs:

[x] enable persisting
[x] update layer definition on analysis deletion
[x] adhere to new format for backend #6832
[x] create/update analysis-defs on node models changes
[x] if a source id is already referenced throw error --> backend will check this, https://github.com/CartoDB/cartodb/issues/6856
[x] views to use nodes collection, instead of definitions
[x] implement routing-n-to-n node
[x] nextId supports nodes with multiple sources (through defined "primary" source)
[x] table_name from layer instead of analysis?
[x] error handling, rollback node creation after adding node?
[x] layer-ref-view, why not use layerDefModel as this.model?
[x] removal of node(s) should remove dependent nodes, and update/destroy analysis accordingly postponed to later
[x] bump frontend assets version
[ ] fix the temporary hack for serializing analysis models for client-side on initial page load (see show.html.erb)
[ ] test on staging?

About this commit comment:

Since IDs are defined by layer relationship and defined client-side,
the default sync behavior won’t do, instead we need to flag the
individual models if they are persisted or not to decide whether a save
should update (PUT) or create (POST) it.

I'd maybe have an array containing the transient analyses instead of a flag. Or we can still consider using another API design including the id if now you think it's better.

@viddo I've added the "pr-with-migration" label because the migration should be run first. It's not very important this time because the affected table is almost empty yet, but let me know when you're deploying this and I'll prepare a separated branch with it.

retest this please

:clap: :dancer:


added TACO gulp update

Updated the existing Gulp build article for Visual Studio 2017

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


⚠ Roblox Devhub has degraded performance

In aa3a591, Roblox Devhub (https://developer.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 1955 ms

Resolved: Roblox Devhub performance has improved in e14bc0a.


When mp.plotter (i.e. mp.Bar) sets transparency,  the legend appears to not follow the change.

Thanks for sharing your problem! Do you mind provide minimum code examples and pictures to show what you want? I'm not sure I fully understand your need.


Updated samples to work with .net core 3.0.0-preview8

Solves https://github.com/aspnet/AspNetCore/issues/12712

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: erikbra sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

 But in master, the .net core version is hard-coded to 3.0.0-preview8.19405.7, instead of using $(AspNetCoreVersion) from Directory.Build.props. The PR solves this.


Proposal: Notifications when an output is written

We are using the S3 output, and it is working great. We are interested in receiving some sort of signal when a file is uploaded to S3, maybe to then trigger a load into Redshift.
I am not sure that this fits into outputs as they are defined today, perhaps there can be a new top level key introduced to outputs, for instance:
output:
  type: foo
  foo:
    bar: baz
  processors:
  - type: qux
  notifications:
  - type: http
    http:
      url: http://localhost:3000/v1/webhooks/benthos

The delivered payload may look something like:
{
   "status": "finished",
   "output": {
       "type": "s3",
       "filename": "this/is/my/file.txt"
   }
}

Of course in the AWS use cases this can probably be accomplished by some version of Lambda craziness, but the ease of running Benthos locally really attracts me to this method.
Excited to hear other's opinions, or if there is a way to accomplish this with the existing core concepts!

Hey @huttotw,
You caught me at a good time so I've got three juicy options for you to salivate over.
Solution 1: Pure Benthos but with caveats
You can partially solve this (with caveats) using a broker output with the fan_out pattern:
output:
  type: broker
  broker:
    pattern: fan_out
    outputs:
    - type: foo
      foo:
        bar: baz
      processors:
      - type: qux
    - type: http
      http:
        url: http://localhost:3000/v1/webhooks/benthos
      procesors:
      - type: text
        text:
          operator: set
          value: '{"status":"finished","output":{"filename":"${!metadata:filename}"}}'

Each message will get sent to both outputs, which are your bucket and notification webhook. The output specific processors allow you to modify the payload to become the notification format. However, there are two caveats with this approach.
Firstly, if an output of a fan_out broker fails to deliver a message then it is reattempted indefinitely until success (or Benthos is shut down), during this retry loop the input message is not acknowledged.
This behavior is in order to prevent wider retry loops where messages will be sent multiple times to an output of the broker that is healthy. In your case this means your pipeline will block and Benthos will apply back pressure if your webhook target goes offline (this also might be the behavior you desire, depending on your requirements.)
Secondly, the broker dispatches the messages to outputs in parallel, so it's possible that your notification might be received before the payload has finished uploading to S3, this problem is amplified if there are also connectivity or access problems with the bucket.
You could potentially mitigate this problem on the webhook side by returning a bad status code (maybe 404?) when the bucket item isn't found. This would create a loop where Benthos resends the notification until your service finds it in the bucket. However, it also means blocking the request on your bucket download, which might not be feasible depending on your throughput and latency requirements as it would apply back pressure to Benthos (which gets propagated to the input source).
Solution 2: Use SQS
Another solution, which is probably the one I would recommend for most use cases, would be to hook SQS notifications to your S3 bucket directly (a guide can be found here: https://docs.aws.amazon.com/AmazonS3/latest/dev/ways-to-add-notification-config-to-bucket.html), this has the following advantages:

Your notifications are stored in a queue
The connection Between Benthos and the S3 bucket is isolated and therefore can't be frustrated by the notification pipeline
AWS components are probably in a better position to tell you exactly when an item in a bucket is both uploaded and ready to consume

If you need the notifications to come via a webhook then you can always deploy a Benthos pipeline that writes SQS messages to an HTTP output. However, this is yet more components to manage so once again it comes down to your personal requirements.
Solution 3: Solution 1 with modifications
I can pretty quickly add a new broker pattern called something like fan_out_sequential that blocks for each output in sequence until success before moving onto the next. This would prevent notification messages reaching your webhook until the bucket is successfully populated. Let me know if you want to try that out and I'll get it added.

Sorry for the delay. Thank you for all of the options, very insightful. I really like the idea of Solution 3. To me that is similar to Solution 1, but more consistent.
We thought about Solution 2, but we aren't the biggest fans of developing things against remote infrastructure (it would be sort of hard to emulate locally).
I haven't necessarily looked through the codebase in detail, but if you don't have time to implement fan_out_sequential, I could take a stab at it.

Cool, I can probably do it this evening.

Implemented: https://github.com/Jeffail/benthos/commit/2b1c60953bdca75192ef0dbd67e53aac8dc4c829
Released: https://github.com/Jeffail/benthos/releases/tag/v1.14.0


Issue/6726 compact database migration scripts

Description
Migration scripts can take a long time to execute. We can improve this by getting rid of the older ones, for versions that no one is running anymore. Concretely, we would apply all scripts earlier than the first iso6 release, then dump the schema in v1.py.

[x]  apply for core
[x]   add change entry for both, warning that to upgrade to this version you have to be running at least version <latest_component_version_in_iso5>
[x]   document procedure in internal docs, including which branches to merge it in and which scripts to include (https://code.inmanta.com/inmanta/developerdocs/-/merge_requests/140)
[ ]   after merging, notify solutions and frontend teams

closes #6726
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Pull request rejected by merge tool. Failed to parse change entry file: Invalid changelog entry file /tmp/tmpe6wyw9i_/changelogs/unreleased/6726-compact-db-migration. Changelog entry files should always end with a .yml extension.

Processing this pull request

Merged into branches master in 0264a510a98f9c77ec35674c14b3062c6b6eefe1


Add bag fraction for each tree

All a random sample of records to be used at each tree build. I think this would be easy enough, by filtering the data's index prior to starting fitting the tree.

Finished, and out on most recent release.


Table editing -- needs improvement or at least better documentation

Documentation indicatese that editable global property defaults to False.  Actually default is true if on_edit property is present. This is essentially redundant.  Two suggestions:

Eliiminate global "editable" use presence of on_edit to determine editability.  editable{column(s)] would indicate editable columns, not editable[columns] would indicate columns excluded from editability
Keep global editable (and editable[col(s)]) and have global on_edit callback that would be invoked if not explicitly included (like global on_action, on_change)

Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Propagate any change on the demos and run all of them to ensure there is no breaking change
[ ] Ensure any change is well documented

I don't think we want to remove "global" editable.
It sets a default (and dynamic) editable property for all columns.
It is very convenient when used with editable[col] to set a default that is overridden by column, ie

define a subset of non editable column : |editable|not editable[col]|on_edit=...|
define a subset of editable column : |not editable|editable[col]|on_edit=...|

Changed the doc for editable to default: True

Concerned that these combos of editable and not editable on the same control are confusing


Pretrained model

Hi there,
First of all, thank you for your implementation of inception-v4 on torch :+1:
I'm looking for a pretrained inception-v4 on ILSVRC2015 or earlier.
Where could I find such a thing ?
Thanks

I am also curious to know that

Thanks for the comments guys.
I am sorry but I am not aware of any pretrained model for inception-v4.

I got some information about an upcoming release by the inception-v4 / inception-resnet authors.
It might be for this coming week.


Adds a check for shuffle=None in numpy_input_fn

numpy_input_fn's shuffle argument is set to None by default. If the argument is not provided, the function raises a TypeError since shuffle is of type NoneType and not bool.
This is fixed by adding a simple check to see if shuffle is None, and setting it to False if so.
From my understanding, this should be the desired behavior. Do let me know if this is not the case! It doesn't seem like additional test code is needed, or any existing test code needs to be changed.
Thanks!

closed this accidentally- reopened now

I see here that the default value actually used to be True, and that the default value was removed. @xiejw why was the default value removed? In https://github.com/tensorflow/tensorflow/blob/a3aa84f28c09b86e4961632d0e2581d06bb4a47e/tensorflow/python/data/ops/dataset_ops.py#L603 for example, the dataset value is set to True by default.

We made the default as None for purpose, as there was a debate what's the default value it should be. For training, True is the best option, but for non-training, False is more appropriate. So, the decision at that time was to ask user explicitly set rather than guess for user.
@martinwicke Do we change the mind now?

No, if we set it to either False or True, people will ignore the argument, and do the wrong thing either in training or in eval/inference.
I think None is still the right thing. However, we should either not have a default (may not be possible), or change the error to be a ValueError, and add an appropriate error message ("You must set the shuffle argument for numpy_input_fn to either True (in training) or False (otherwise)" or something like that).

According to the check
raise TypeError('shuffle must be explicitly set as boolean; '
                 'got {}'.format(shuffle))	                     'got {}'.format(shuffle))

The message is ok, but can be improved.

How about something like:
raise ValueError('shuffle must be provided and explicitly set as boolean; '
                 'got {}'.format(shuffle))

or
raise ValueError('shuffle must be provided and explicitly set as True (for training) or False (otherwise); '
                 'got {}'.format(shuffle))

I like the first option since it concisely covers both the case of users not providing a value for shuffle and for users providing a non boolean value, but also doesn't assume the use case (users might want to shuffle in cases other than just training?)

I think your comment is reasonable. Or a little improving like
shuffle must be provided and explicitly set as boolean (It is recommended to set as True for training).

sorry for the delay. I missed the email notification. Thanks for contribution.

just updated to fix the docstrings and test functions- the tests now run correctly on my machine


Make rados pool configurable via resource context string

What is the status of this issue?  Plans?  Ideas?  Resolution?

It's implemented and works! I just forgot to close it :-)


Floating windows moved offscreen after monitor power cycle

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland 0.45.2 built from branch  at commit 12f9a0d0b93f691d4d9923716557154d74777b0a  ([gha] Nix: update inputs).
Date: Tue Nov 19 21:47:18 2024
Tag: v0.45.2, commits: 5451
built against aquamarine 0.5.0

flags set:
debug

System Information:
System name: Linux
Node name: [...]
Release: 6.12.4-artix1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 17:50:14 +0000

GPU information:
2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c1) (prog-if 00 [VGA controller])

os-release: NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo

plugins:

======Config-Start======

Config File: /home/[...]/.config/hypr/hyprland.conf: Read Succeeded
# This is an example Hyprland config file.
#
# Refer to the wiki for more information.

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# Some default env vars.
env = XCURSOR_SIZE,24

exec-once=/home/[...]/sway/startup.sh

workspace=0

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {

    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    focus_on_close = 1

    touchpad {
        natural_scroll = false
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 4
    gaps_out = 0
    border_size = 2
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    #layout = dwindle
    layout = nstack

    resize_corner = 3

}

misc {
    disable_hyprland_logo = true
    #mouse_move_enables_dpms = true
    #key_press_enables_dpms = true
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 4

    blur {
        enabled = true
        size = 3
        passes = 1
    }

    #drop_shadow = true
    #shadow_range = 4
    #shadow_render_power = 3
    #col.shadow = rgba(1a1a1aee)
}

animations {
    enabled = false

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = false # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_status = master
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
#device:epic-mouse-v1 {
#    sensitivity = -0.5
#}
#

device {
  name = microsoft-microsoft-3-button-mouse-with-intellieye(tm)
  sensitivity = 1
  #accel_profile = custom 800 0.0 1.5
  accel_profile = custom 0.4 0.0 1.6 6

}

#windowrulev2 = float,title:(kitty)
windowrule=float,^(kitty)$

# float all windows by default
windowrulev2 = float, class:.*

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

$volupsm = /usr/bin/pipevol -u 3
$voldownsm = /usr/bin/pipevol -d 3
$volup = /usr/bin/pipevol -u 6
$voldown = /usr/bin/pipevol -d 6
$voluplg = /usr/bin/pipevol -u 12
$voldownlg = /usr/bin/pipevol -d 12
$volupxl = /usr/bin/pipevol -u 24
$voldownxl = /usr/bin/pipevol -d 24
$volupxxl = /usr/bin/pipevol -u 48
$voldownxxl = /usr/bin/pipevol -d 48

$brightupsm = light -A 1.5
$brightdownsm = light -U 1.5
$brightup = light -A 3
$brightdown = light -U 3
$brightuplg = light -A 6
$brightdownlg = light -U 6

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# mouse rebinds for vertical "shoplease" mouse side buttons
#bind=,mouse:275, settiled
#bind=,mouse:276, setfloating

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
#bind = $mainMod, Z, exec, kitty
#bind = $mainMod, C, killactive,
#bind = $mainMod, M, exit,
#bind = $mainMod, E, exec, dolphin
#bind = $mainMod, V, togglefloating,
#bind = $mainMod, R, exec, wofi --show drun
#bind = $mainMod, P, pseudo, # dwindle
#bind = $mainMod, J, togglesplit, # dwindle

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Z, exec, kitty
bind = $mainMod SHIFT, N, exec, kitty /bin/sh -c 'export NOTMUX=t; NOTMUXN=t /usr/bin/zsh'
bind = $mainMod, N, exec, kitty /bin/sh -c 'export NOTMUX=t; /usr/bin/zsh'
bind = $mainMod SHIFT, C, killactive
bind = $mainMod SHIFT, E, exit
#bind = $mainMod, E, exec, dolphin
#bind = $mainMod, T, togglefloating,
bind = $mainMod SHIFT, T, togglefloating
bind = $mainMod SHIFT, G, togglegroup
bind = $mainMod, T, settiled
bind = $mainMod, F, setfloating
bind = $mainMod ALT, T, exec, /home/[...]/hyprland/tile-all.sh
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod, P, exec, /usr/bin/rofiw
bind = $mainMod SHIFT, P, exec, /usr/bin/dmenu-wl_run
#bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Move window with mainMod + arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, grave, workspace, 1
bind = $mainMod, 1, workspace, 11
bind = $mainMod, 2, workspace, 12
bind = $mainMod, 3, workspace, 13
bind = $mainMod, 4, workspace, 14
bind = $mainMod, 5, workspace, 15
bind = $mainMod, 6, workspace, 16
bind = $mainMod, 7, workspace, 17
bind = $mainMod, 8, workspace, 18
bind = $mainMod, 9, workspace, 19
bind = $mainMod, 0, workspace, 20
bind = $mainMod, minus, workspace, 21
bind = $mainMod, equal, workspace, 22
bind = $mainMod, backspace, workspace, 23
bind = $mainMod, f1, workspace, 51
bind = $mainMod, f2, workspace, 52
bind = $mainMod, f3, workspace, 53
bind = $mainMod, f4, workspace, 54
bind = $mainMod, f5, workspace, 55
bind = $mainMod, f6, workspace, 56
bind = $mainMod, f7, workspace, 57
bind = $mainMod, f8, workspace, 58
bind = $mainMod, f9, workspace, 59
bind = $mainMod, f10, workspace, 60
bind = $mainMod, f11, workspace, 61
bind = $mainMod, f12, workspace, 62
bind = $mainMod, m, workspace, 100

#bind = $mainMod, esc, workspace, empty
bind = $mainMod, tab, workspace, e+1
bind = $mainMod SHIFT, tab, workspace, e-1

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, grave, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 11
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 12
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 13
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 14
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 15
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 16
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 17
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 18
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 19
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 20
bind = $mainMod SHIFT, minus, movetoworkspacesilent, 21
bind = $mainMod SHIFT, equal, movetoworkspacesilent, 22
bind = $mainMod SHIFT, backspace, movetoworkspacesilent, 23
bind = $mainMod SHIFT, f1, movetoworkspacesilent, 51
bind = $mainMod SHIFT, f2, movetoworkspacesilent, 52
bind = $mainMod SHIFT, f3, movetoworkspacesilent, 53
bind = $mainMod SHIFT, f4, movetoworkspacesilent, 54
bind = $mainMod SHIFT, f5, movetoworkspacesilent, 55
bind = $mainMod SHIFT, f6, movetoworkspacesilent, 56
bind = $mainMod SHIFT, f7, movetoworkspacesilent, 57
bind = $mainMod SHIFT, f8, movetoworkspacesilent, 58
bind = $mainMod SHIFT, f9, movetoworkspacesilent, 59
bind = $mainMod SHIFT, f10, movetoworkspacesilent, 60
bind = $mainMod SHIFT, f11, movetoworkspacesilent, 61
bind = $mainMod SHIFT, f12, movetoworkspacesilent, 62
bind = $mainMod SHIFT, m, movetoworkspacesilent, 100

# esc to empty workspace
bind = $mainMod, escape, exec, $HOME/hyprland/first-empty-workspace.sh
#bind = $mainMod, escape, exec, workspace, empty

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

bind = $mainMod, xf86audiolowervolume, exec, mpc prev
bind = $mainMod, xf86audioraisevolume, exec, mpc next
bind =, pause, exec, mpc toggle
bind =, Menu, exec, mpc toggle

bind = ALT, xf86audiolowervolume, exec, $voldownsm
bind = ALT, xf86audioraisevolume, exec, $volupsm
bind = , xf86audiolowervolume, exec, $voldown
bind = , xf86audioraisevolume, exec, $volup
bind = CTRL , xf86audiolowervolume, exec, $voldownxl
bind = CTRL, xf86audioraisevolume, exec, $volupxl
bind = SHIFT , xf86audiolowervolume, exec, $voldownxxl
bind = SHIFT, xf86audioraisevolume, exec, $volupxxl
bind = , xf86explorer, exec, kitty

bind = $mainMod CTRL, c, exec, rofi -modi clipboard:/usr/bin/cliphist-rofi -show clipboard
bind = $mainMod ALT, c, exec,  clipman clear --all

plugin {
  nstack {
    layout {
      orientation=left
      new_on_top=0
      new_is_master=0
      no_gaps_when_only=0
      special_scale_factor=0.8
      inherit_fullscreen=1
      stacks=3
      center_single_master=0
      mfact=0.5
      single_mfact=0.5
    }
  }
}

======Config-End========

Description
When you shut the monitor off and turn it back on again, window positions have flown somewhere outside of the view of the screen, forcing you to run a script to retile everything to access them again.
  Might have to do with AMD card?
Crash reports, logs, images, videos
No response

ehhh... maybe you have some auto positioning and its actually the monitor moving to a idfferent spot?

Auto positioning?  From what?

hyprctl clients -j dump shows the "at" position changing after the power cycle.  I don't think there's anything besides hyprland controlling window positions.  This bug got introduced in the last two months.

Auto positioning? From what?

I was thinking monitor position being auto.
If this is a regression, please bisect :)

Changing monitor=,preferred,auto,auto to monitor=HDMI-A-1, preferred, 0x0, auto does fix it.
I would have thought something like this happens:

Power off

(no changes)

Power on

Adds monitor to right

Moves windows to the right to adjust

Deletes the first monitor record

Monitor position goes left, windows are stranded to the right

However, the monitor's resolution is 3440x1440, and changes in window positions don't seem to reflect that:
[1348, 1402] -> [2, 2]

[2621, 2] -> [736, 2]

Not able to do a bisect at the moment.

Oddly, the window sizes change too.


Unable to select seconds in datetimepicker

Environment

Tech
Version

material-ui-pickers
1.0.1

material-ui
3.3.1

React
16.5.1

Browser
Chrome 70

Peer library
date-fns 2.0.0-alpha.16

Expected behavior
To be able to select seconds in the datetimepicker when the property is set.
Actual behavior
It's not possible to select seconds in the datetimepicker through the dialog.
The timepicker has the property seconds which determines to show it. The datetimepicker doesn't have this option.
We are currently using format="MMMM do yyyy HH:mm:ss" but the seconds are being reset to 00 when you chose a date and time.
Live example
See Seconds input https://material-ui-pickers.firebaseapp.com/demo/timepicker

Yes, because of ui reason

What kind of UI reason?
I can't imagine this to be a problem for users since they already have to select the hours and minutes.
Ofcourse this can be toggled by a option.

It will make date picker to wide

I also need seconds in my DateTimePicker. It should be no big deal if the font was a tad smaller if seconds are to be shown, no? It really is weird that seconds are an option for TimePicker but not for DateTimePicker.

Found a module that does this with seconds :
https://material-ui-pickers.dev/demo/timepicker

I would also use seconds in DateTimePicker if it were available.
For now I will make something custom.

Documentation says
views=["date", "year", "month" , "hours", "minutes"]  | Array of views to show
But seconds are missing, can you help adding seconds to views as many users are asking for this feature.

I also really need this feature. I was able to easily add it in the v3-x branch. @dmtrKovalenko would you be willing to accept a PR to that branch? The contributing says to develop on the next branch, but it seems to be for the next major release.. Not sure when this will be, and I had some problems trying to work on that branch anyway. It seems very different to the 3.x release I am using now.

@Billy- Could you please share your PR?

Not a 100% solution, but you may pass views={[..., 'seconds']} prop, and the user will be prompted to enter seconds. Although the value will not be displayed anywhere in the modal, it will be saved.


Tabs look ok. Fix #243, I think.

@afred?
I think this is better, and I don't think we actually need special treatment now for the narrowest widths, though that could be argued.
(Not putting a screenshot here because the real test is whether it works reasonably well for every possible browser / page / width we can throw at it: a pretty screen shot could be deceiving.)


import not working

I had made a resume before and also exported the JSON for future use. As of today import feature is not working at all. A black screen is displayed.

+1
To give more details to the issue:

The page stops loading after the import command at https://rxresu.me/app/builder/<uniquecode>
I created my JSON file using the resume-cli from jsonresume.org

P.S.: Thanks for building this tool, Amruth.

+1
Import is not working.

@AmruthPillai the error happens because of the JSON schema, this imported expects a 'basics' JSON object which is not the case in those who are importing JSON and also when this app exports to resume.

TL;DR: JSONResume.org imports should start working from version 2.4 onwards!
The problem @jainmayur517 is talking about seems like he's facing issue with importing resumes that have been exported from this current version of Reactive Resume itself. I'm not too sure about that, but I just checked on the running instance and import/export from RxResume seemed to work just fine.
As for the real issue here, about JSON Resume, you are all absolutely right about that. There's been some bad support on my end about JSON Resume and that's my mistake. I've taken some of my free time this weekend to work on it. I basically had to just safety check for all the values we would be importing from the resume, make sure that they're there and then parse them through the app. JSON Resume imports should work from version 2.4 onwards 🎊
I tested it with a few sample JSON Resumes I found on the inter-webs including this one:
https://gist.github.com/ishu3101/36186df161316ec00519389b9deec690
If you are still not able to get it working, please do share the JSON Resume with me through email or any medium and we can get to the bottom of it.
@DineshSolanki Thank you so much for supporting by replying to other issues on the repo and also offering to help. It's not really all that complicated, the code. I made the entire app in about 2-3 days, so you can be assured that it's n00b code. Nothing fancy here :) I'd love for you to take a look at the last few commits to see what has changed, and what exactly fixed this issue. That would help I think.
Thank you so much to everyone, for your patience and support to this ambitious little project of mine :)

@AmruthPillai this little project of you is awesome, thank you for this. 👏


Fix/trigger update on apiserver address change

What this PR does / why we need it:
Fix/trigger update on kube-apiserver address change.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
The second commit adds unrelated missing error handling, which was found when implementing the fix.
Release note:

Cluster configuration of network problem detector is now updated when kube-apiserver's ip address changes.

Thank you!


docs: add subscription client example for relay

Just to point out, I have used this recipe in a complete Relay setup and it works. Thanks Laurin for making it!


Building in ubuntu docker container

[ x] I've looked at the documentation to make sure i didn't miss any building step
[x ] I'm sure this is a Leaflet docs issue.

Steps to reproduce
Steps to reproduce the behavior:

spin up a docker container running ubuntu:latest
follow the build instuctions

Expected behavior
Leaflet distribution files are build in the dist folder without errors.
Current behavior
Leaflet distribution files are build in the dist folder but the process exits with error:
ERROR [phantomjs.launcher]: /Leaflet/node_modules/phantomjs-prebuilt/lib/phantom/bin/
phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file
 or directory

Environment

Leaflet version: 1.6.0
docker: ubuntu:18.04

This is nothing to do with leaflet

@spmsupun The Leaflet repository has instructions, which i followed, to build Leaflet from source. There is a hidden dependency (libfontconfig) used by phantomjs that prevents users to build Leaflet on certain linux distributions. In my opinion it should be mentioned in the documentation or README.md. Why do you think this issue is not related to Leaflet?

This is actually docker related issue, would you mind sharing Dockerfile?


Question: Number of critical CVEs

Hey guys!
I'm really not trying to be snarky here, and I'm honestly wondering: Why does one of the latest non-rc docker image for python (3.10.5-bullseye) have 55 critical CVEs, some of which are from 2017 (and even one from 2015).
Is most of it non-upgradeable dependencies, is it time consuming or hard to fix, or is it just not a priority?
Would it be possible/feasible to make my own python image with less CVEs?

See https://github.com/docker-library/faq#why-does-my-security-scanner-show-that-an-image-has-cves
And https://github.com/docker-library/openjdk/issues/449#issuecomment-763027011, https://github.com/docker-library/postgres/issues/286#issuecomment-302512767 docker-library/openjdk#161, docker-library/openjdk#112, docker-library/postgres#286, docker-library/drupal#84, docker-library/official-images#2740, docker-library/ruby#117, docker-library/ruby#94, docker-library/python#152, docker-library/php#242, docker-library/buildpack-deps#46, docker-library/openjdk#185.
A CVE doesn't imply having an actual vulnerability, and often is even a false positive (given how most distributions handle versioning/security updates in stable releases). If there are actionable items we can resolve, we're happy to do so (and do so actively). We update all Debian based images to include any updates in apt packages at least monthly (we regenerate the base images and then rebuild all dependent images).
 Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Listing... Done

I see. Thanks for the elaborate reply :)


[#1959] Manage Access Panel - Autocomplete fix

In manage access panel, the autocomplete now correctly matches when typing in multiple words.

+1


How much memory is required to run code test_tryon_image and can it be used in Colab? I am running the example in Google Colab, but it shows that there is not enough RAM memory. Is there a way to optimize it or is there a Colab example available

How much memory is required to run code test_tryon_image and can it be used in Colab? I am running the example in Google Colab, but it shows that there is not enough RAM memory. Is there a way to optimize it or is there a Colab example available

Just the model weights for the (cascaded) model are around 11GB so it makes that with the standard Colab machine (12 GB RAM) it won't be enough.
You should have around 16GB RAM and 24GB GPU memory to run this model.


Is an isomorphic handle() hook a good idea?

Is your feature request related to a problem? Please describe.
Sometimes I'd like to take the db down and turn the site into maintenance mode where it shouldn't make any call to the db. In that mode, visiting any page that can hit the db should be preemptively redirected to a static page.
Currently, the handle() hook only takes us half way there, being only able to redirect full page load.
Another use case I can think of is where the site offers oauth login. Once the user logs in via a social network, she might be required to enter more info before she is considered a proper user. While she is in that "pending" state, visiting any user relate page should redirect her to that finish-info page.
We can of course redirect explicitly in every relevant page's load(), but that is probably very cumbersome. In both cases I mentioned, you probably want to redirect all but a very few pages.
Describe the solution you'd like
Provide an isomorphic handle() hook where it's at least possible to redirect both the server and the client requests.
Describe alternatives you've considered
Other than explicitly redirect in load() as I mentioned, I can't think of any. Maybe In the db case, we can put a load balancer before svelte kit, and redirect all requests to a static page? I'm not sure if client requests can be redirected this way, and it won't work for the oauth case.
How important is this feature to you?
Medium.
Additional context
None.

Your root $layout.svelte component's load function can contain that redirect logic, e.g. based on session

Good idea. It totally works for my case, but I wonder if it can fail if there is a layout reset?

My test case confirmed it fails to work if there is a layout reset.
Also it just occurs to me that the doc actually never mentioned that a layout can have a load function. It's wording

A component that defines a page can export ...

And the fact that pages and layouts are explained in different sections seem to imply otherwise.
I'll send a PR soon to improve the doc.

Just realized that __layout.svelte's load function doesn't work for endpoints. So to workaround you probably need to specify the redirection in both hooks's handle and __layout.svelte's load.

With the addition of named layouts the layout reset problem no longer exists, since a blank layout and the default layout can both inherit a shared layout:
<EMAIL_ADDRESS>        # default layout, extends __layout-root
<EMAIL_ADDRESS>  # blank ('reset') layout, also extends __layout-root
__layout-root.svelte          # implements the `load` logic

For endpoints, you can use handle. In combination, it's possible to solve this problem using existing primitives, so I'm going to close this issue.


Hover & Focus state for Social Icons

Describe the feature
Right now the social icons do not have any hover or focus state which is not a good user experience and it's not consistent with the rest of the website.
I'd like to implement this feature where Hovering & Focusing on Social Icons change their colour to the accent (purple) colour.
Before (on Hover):

After (on Hover):

Additional information

[X] Would you be willing to help implement this feature?

Hey, please can I work on this?

I see someone already claimed but I’ll take it if they moved on!

@jasonetorres I still want to work on it, I was waiting for a confirmation.

No worries

Hey thanks for coming on here @jasonetorres; how are you man???!! Of course @adetyaz, you can go ahead. I'll assign you now.

Thanks @tobySolutions

Fixed by #536

Fixed by #670


Set Up Calendly

Description
Set up Calendly for easier allocation of interview slots using the Calendly template.
Context
Calendly helps allocate user interview slots, and help inform the candidates on how their contribution will bused for Elemental Bromine

@aquaomarine could you please share where it has been set up before having this issue closed?
You can also actually close the issue using the button below, updating with a comment about why/ how this issue has been closed :)
Thank you

Set up Calendly and Reviewed during Call with Marija Jan 26


301/302 sometimes tagged as dead links

I'm using the link checker, and its great, but sometimes there are 301/302 codes (redirects) that eventually get shown as broken links with status code 0, but they are good links eventually. Is there anything to do here? Lengthen timeout?
Strange thing is that any given 301/302 link may show up in one run as broken, and in another not broken.

It isn't clear to me what they are good links eventually means. Also, the result object has an err property with any error that came about during the check; that should let you know what happened. You can trying increasing the timeout, it default's to 10s. Redirects are followed but not indefinitely (if there are a lot of redirects in a row, it stops at 8). Without the links for me to examine myself or any error information, there's not much more I can do.


rendering bugs (chrome)

Rectangles (probably other elements too) with a fill color tend to have strange rendering bugs. I've never noticed until now 🤔
https://excalidraw.com/#json=4910833834393600,yXImbkzkLUKpybZdMq89-g

Since the above reproduces only at 70% I thought it's some floating point error, but then I was able to repro for 100% zoom as well:
https://excalidraw.com/#json=5840419644506112,mLkpi3_dkAOd3aWR4bOppQ

Other cases:

Does reproduce only in Chromium. FF and Safari 14 works fine. And since we've started noticing (we've gotten reports on E+) only recently, it's likely a bug in Chrome Canvas (Skia).

Reported on Chromium tracklist: https://bugs.chromium.org/p/chromium/issues/detail?id=1266390

We've deployed a fix but it may not solve all the cases. I couldn't repro any, but if you come across some, report (ideally with a shareable link/.excalidraw file).


"multiple definition" linking error when compiling netCDF v4.9.0 with GCC 11.3.0

When trying to compile netCDF v4.9.0 with GCC 11.3.0 + binutils 2.38 + CMake 3.23.1 on RHEL 8.4, we're hitting the following linker error:
/software/OpenMPI/4.1.4-GCC-11.3.0/bin/mpicc -fPIC -O2 -ftree-vectorize -march=native -fno-math-errno -fPIC -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -L/software/zstd/1.5.2-GCCcore-11.3.0/lib64 -L/software/zstd/1.5.2-GCCcore-11.3.0/lib -L/software/Szip/2.1.1-GCCcore-11.3.0/lib64 -L/software/Szip/2.1.1-GCCcore-11.3.0/lib -L/software/cURL/7.83.0-GCCcore-11.3.0/lib64 -L/software/cURL/7.83.0-GCCcore-11.3.0/lib -L/software/HDF5/1.13.1-gompi-2022.05/lib64 -L/software/HDF5/1.13.1-gompi-2022.05/lib -L/software/GCCcore/11.3.0/lib64 -L/software/GCCcore/11.3.0/lib -shared  -o lib__nczhdf5filters.so CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o  /software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5_hl.so /software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5.so -lm /software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so /software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so /software/bzip2/1.0.8-GCCcore-11.3.0/lib/libbz2.so /software/Szip/2.1.1-GCCcore-11.3.0/lib/libsz.so /software/cURL/7.83.0-GCCcore-11.3.0/lib/libcurl.so /software/libxml2/2.9.13-GCCcore-11.3.0/lib/libxml2.so ../liblib/libnetcdf.a -ldl /software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5_hl.so /software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5.so -lm /software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so /software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so /software/bzip2/1.0.8-GCCcore-11.3.0/lib/libbz2.so /software/Szip/2.1.1-GCCcore-11.3.0/lib/libsz.so /software/cURL/7.83.0-GCCcore-11.3.0/lib/libcurl.so /software/libxml2/2.9.13-GCCcore-11.3.0/lib/libxml2.so
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJreclaim'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJnew'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJnewstringn'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJnewstring'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJparse'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJdictget'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: error: ../liblib/libnetcdf.a(ncjson.c.o): multiple definition of 'NCJcvt'
/software/binutils/2.38-GCCcore-11.3.0/bin/ld: CMakeFiles/nczhdf5filters.dir/NCZhdf5filters.c.o: previous definition here
collect2: error: ld returned 1 exit status
make[2]: *** [plugins/CMakeFiles/nczhdf5filters.dir/build.make:119: plugins/lib__nczhdf5filters.so] Error 1

To reproduce:
cmake -DCMAKE_INSTALL_PREFIX=/software/netCDF/4.9.0-gompi-2022.05 -DCMAKE_BUILD_TYPE=Release
  -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_C_COMPILER='mpicc'
  -DCMAKE_C_FLAGS='-O2 -ftree-vectorize -march=native -fno-math-errno -fPIC' -DCMAKE_CXX_COMPILER='mpicxx'
  -DCMAKE_CXX_FLAGS='-O2 -ftree-vectorize -march=native -fno-math-errno -fPIC'
  -DCMAKE_Fortran_COMPILER='mpifort' -DCMAKE_Fortran_FLAGS='-O2 -ftree-vectorize -march=native -fno-math-errno -fPIC'
  -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE -DBUILD_SHARED_LIBS=OFF
  -DCURL_INCLUDE_DIR=/software/cURL/7.83.0-GCCcore-11.3.0/include   -DCURL_LIBRARY=/software/cURL/7.83.0-GCCcore-11.3.0/lib/libcurl.so
  -DHDF5_INCLUDE_DIR=/software/HDF5/1.13.1-gompi-2022.05/include   -DUSE_HDF5=ON
  -DHDF5_C_LIBRARY=/software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5.so   -DHDF5_HL_LIBRARY=/software/HDF5/1.13.1-gompi-2022.05/lib/libhdf5_hl.so
  -DSZIP_INCLUDE_DIR=/software/Szip/2.1.1-GCCcore-11.3.0/include   -DSZIP_LIBRARY=/software/Szip/2.1.1-GCCcore-11.3.0/lib/libsz.so
  -DZLIB_INCLUDE_DIR=/software/zlib/1.2.12-GCCcore-11.3.0/include   -DZLIB_LIBRARY=/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so
  /tmp/easybuild_build/netCDF/4.9.0/gompi-2022.05/netcdf-c-4.9.0/

make

We are not seeing this problem with netCDF v4.8.1 using the exact same compiler toolchain (GCC 11.3.0 + binutils 2.38) and CMake (3.23.1) on RHEL 8.4...

There seems to be two distinct implementations of the JSON bits in the codebase, one in pair of separate libdispatch/ncjson.c and include/ncjson.h; and one mechanically combined into a header with definitions directly in the header without any inlining at all in include/netcdf_json.h.
The purpose of netcdf_json.h seems to be to have a decoupled implementation of the JSON functionality for use in plugins, while the separated core bits goes into libdispatch which ends up in the netcdf library.
Here nczhdf5filters and nczstdfilters plugins include the standalone implementation header, but they also link netcdf which due to how static linking works is treating the symbols from the static netcdf library with the same importance as any other object file in the plugin.
This linking problem is masked when linking against shared libraries as the single-header implementation in the object files is preferred over the implementation in the shared library. Amusingly enough, depending on executable/library load order, the shared library may end up using a symbol defined in the executable or a previously loaded library rather than its own symbol.
One workaround that seems to do the trick for my non-netcdf test case is to mark the function declarations and definitions in the single-file implementation netcdf_json.h as static, giving them internal linkage to each source file it's included in.

Your json analysis is correct. I wanted it to be possible to build
the nczarr adjunct wrapper code so that it did not need access to
libnetcdf. Also, I wanted to keep only one core json code base
so I would not have to apply fixes twice.
Not surprisingly, I tried to be too clever by half, and it does not work right.
Using "static" works, but make the construction of the netcdf_json.h file
more difficult. I suppose I could just give up and require that nczarr
wrappers must use libnetcdf.
Let me think about this a bit.

We puzzled together a patch that allows us to bypass this problem, by adding static in netcdf_json.h; see https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/n/netCDF/netCDF-4.9.0_fix-linking-errors.patch

Yes,I am following a similar  path by using a macro that gets
redefined depending on  the context.
Hope to have a PR up soon.

See PR https://github.com/Unidata/netcdf-c/pull/2448


About heatmap generation

https://github.com/chenyilun95/tf-cpn/blob/7c01aba69b8b9ad14fbb36d409f850bafd345dd5/models/COCO.res50.256x192.CPN/dataset.py#L156
I am curious about the generation of heatmap, why multiply 255 here? It seems that the network can not converge  when i remove 255.

The prediction heatmap is expected to range in [0...255]. I think it works if you increase learning rate properly and remove 255.


[VL] Rename kSparkBatchSize

What changes were proposed in this pull request?
rename spark.gluten.sql.columnar.shuffleSplitDefaultSize  to spark.gluten.sql.columnar.maxBatchSize.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please also update the document

Please also update the document

Thanks, just updated.


Strange message

Subject: Strange message
Description:
I've received a message by this person (Patricio Cortes, from Genova) by the internal chat of CS. I wasn't able to reply because I wa prevented to write. So i gave him an answer using the normal message system of CS but not reply at all from him and his profile was without photos, nor information. Was that a fake message or what happened?
Results:
Backend version: develop-39b7b287
Frontend version: develop-39b7b287
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/118.0.2088.66
Page: https://couchers.org/messages/chats/95931
User: sailorman (42504)

Can't reproduce, chat looks fine?


Option to apply classes based on tags automatically

Hey, love the plugin, but hate the busywork!  I would love it if whenever I add any tag, like #test, to a note, it gets corresponding class like tag-test.  Otherwise I have to do it manually for 10s of tags :(

@Sanqui sorry for the (very) late reply, I've finally got the time and motivation to work on this plugin some more.
Can you expand on this? What exactly is your usecase here? I'm trying to understand how this fits with the purpose of this plugin. The idea here is that CSS classes can be applied automatically based on a specific tag or path; I feel like another plugin might serve your usecase better, something that adds a CSS class to the yaml frontmatter whenever a tag is added, or something along those lines.

The idea is, if CSS classes are useful for styling, right?  So if I want to do something like, change the background of my daily notes, I would need to give them a class. And my daily notes already have a #daily tag, so why should I jump through the hoop of specifying "yes, I want pages tagged #daily to have the class daily"?   I guess I'm not sure why you would want to ever apply a different class, that would just add a layer of confusion in my opinion.  So currently I have #person set to have the tag-person class, #project to have #tag-project, task to have tag-class, etc.  But this is a lot of manual work that felt pointless  But maybe you have a different idea with this plugin, in which case I should make my own.  :smile:


Specifying a default publish_mode value

Following and testing the Gitea support discussed in #6984, #6997 it seems now that Decap works on Gitea and the Forgejo fork when the server is configured correctly, which is very cool 🥳
However, while testing a couple sites, I noticed the following error when using the nifty Hugo Module hugomods/decap-cms made by @razonyang

Upon inspecting the config.yml file the module generates, which is served as decap-cms-confg.yml it seems the module is injecting publish_mode: editorial_workflow even when it's not specified. However, since with gitea this is incompatible, I tried changing value to Boolean false which shows:
'publish_mode' must be string
'publish_mode' must be equal to one of the allowed values

Also when setting it as String values "false" or "default" or "normal" it still fails with this error:
'publish_mode' must be equal to one of the allowed values

@razonyang modified his module to accept publish_mode: '' to omit the key being injected which solves this, for now. But I think Decap should also have a default value for this field.
Originally discussed in https://github.com/decaporg/decap-cms/discussions/7095

@hip3r I se you did some work here, is this done?

pr #7116


Feature Request: Read and Write to Google Docs

Summary
I'm not sure how feasible this is but if at all possible it would be great to have integration with Google Docs so I can sync to my account and read and write to my Google Docs from my text editor!
Motivation
Easy access to Google docs so they can be edited offline and share the same text editor that I write scripts in
Describe alternatives you've considered
Haven't been able to find any Linux OS alternatives, only Chrome OS
Additional context

Thanks for the submission!
That would definitely be useful in some people's workflows. However, it is not something that is within the scope that we have have envisioned for Atom. For that reason, I'm going to close this. It sounds like a great idea for an Atom package though. If you need help building this as a package, please check out the Atom Flight Manual section on publishing your own packages and feel free to ask any questions you have on Discuss, the official Atom and Electron message board or the Atom Slack team.
You can find information on accessing Drive from Linux here, among other places around the internet:
https://itsfoss.com/use-google-drive-linux/
Thanks again for contributing to Atom :+1:


mkpr

Applied mkpr on undefined
sed s/"github-repository-provider": "^.*"/"github-repository-provider": "^7.17.31"/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Epic lagg when a disk fills then frees up space.

Issue description:
Epic lagg when a disk fills then frees up space.
What happens:
When a disk fills up and frees up space continuously(autocrafting) the fps drops to unplayable.
What you expected to happen:
Steps to reproduce:

Do a complex autocrafting like solar panel 6 in ftb infinity lite with 1 full and 1 half filled disk.
IF the system is big enough underpowering it cause lag too(continously turn off and on).

...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>4
Refined Storage:1.2.22

Does this issue occur on a server? [yes/no]
yes
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

Please add a nps file, the link below describes what to do.
https://refinedstorage.raoulvdberge.com/wiki/profiling

https://www.dropbox.com/s/koe7tcquvx6188t/logs.zip?dl=1

Duplicate of #838


RPI B 3+ libusb-0.1.so.4 not found

Hi,
Freshly installed the latest Raspbian version ( 2021-10-30-raspios-bullseye-armhf )
on a 2015 RPI B 3+, and downloaded the latest OutFox for Raspberry ARM 32 ( OutFox-5.3.0-alpha-4.10.0-HF1-arm32v7-date-20211001 ).
Tried to launch it as soon as extracted, but nothing happened, then looking at the documentation
I checked with ldd command, shown me that :
libusb-0.1.so.4=> not found
libOpenGL.so.0 => not found
Fixed the OpenGL one by apt-get install libopengl0 but could not fix the USB one with apt-get install libusb-1.0-0
Tried to copy the lib found in the root folder of OutFox directory to my lib folder and reboot, but did not work either.
Any guess on what is happening for this library, and how to fix this ?

Fixed it by using sudo apt-get install libusb-0.1-4


Add functional test for displaying withdrawn brief page and a copying withdrawn brief

Trello ticket: https://trello.com/c/qpPThFpB/467-functional-tests-for-withdrawn-briefs

Good work Pea. I think this has now been deployed all the way out so we don't need the @skip-staging tag anymore.
After removing that, then we are good to go!


The choice of Scheme compiler

Chicken Scheme looks ok, but other choices can be considered carefully in order to proceed further. There are other choices such as Dr.Racket or Guile with different approaches (e.g. compilation to a VM rather than to a shared library). We need to create a list of suitable Scheme compilers and analyze them in accordance with a number of properties, e.g.

speed of execution of compiled code (can be measured without integrating to MeTTa)
speed of compilation
flawless integration to MeTTa, i.e. will MeTTa code with compiled functions and grounded atoms be executable (like it is done for Chicken Scheme through textual representations and eval), or are there pitfalls
platform support and easiness of deployment (in particular, possibility to install by metta-morph itself without user actions; or possibility to install as a Python package)
availability of libraries and possibility to install them and make accessible from MeTTa without user actions
availability of API (besides CLI) for compilation either in Scheme itself or in one of C++/Rust/Python
compilation control and other features: compilation to shared libraries or/and RAM, detection of the necessity to recompile stuff between different runs, compilation error handling, etc.
support for type-checking [optional?]
...

A first summary regarding Ambivalence and Matchable (the major workhorses of MeTTamorph) in other Scheme implementations:
Ambilavence in other Scheme implementations:
In October it was introduced to Gerbil (std/amb):
https://github.com/mighty-gerbils/gerbil/blob/master/CHANGELOG.md
In Racket:
https://planet.racket-lang.org/package-source/murphy/amb.plt/1/0/planet-docs/amb/index.html
In Guile, usable through a library on Gitlab:
https://gitlab.com/tojoqk/guile-amb
I will soon try whether the superpose macro for Chicken Scheme also works (or can adapted to work) with these amb implementations, and whether the depth-first search strategy matches.
Regarding Matchable: that one initially was on track to get standardized: https://srfi.schemers.org/srfi-204/srfi-204.html
This however did not happen, but the library is written in a portable way, written with the hygienic syntax-rules macro system, so will also work with the other Schemes with just minor modifications.

Some findings since last time:

Gerbil Scheme's amb implementation is a bit non-standard in Lisp/Scheme world as it demands an amb-begin application before each amb/amb-collect usage, which makes superpose implementation more difficult as it demands additional syntactic transformations which could unfortunately become non-trivial.
Gerbil Scheme does not allow calling POSIX fork and pipe functions directly, which means a parallel superpose would need a different approach than currently in Mettamorph.
Guile's amb misses a few functions such as amb1 to create ambivalence for each list item, but this should be fixable.
C interop with Guile and Racket seems like it will be slightly more complex than with Chicken Scheme and Gerbil.

I guess considering these points we can at least already eliminate Gerbil from the options?

Yes, Gerbil can be discarded.


Support touchpad

Add touchpad support feature, disabled by default, can support pinch gestures and move the viewport with two fingers

If this feature is disabled and not impact mouse or touchpad scroll wheel zooming, consider merging to quickly deliver new features to users. For experimental features, we can label them as such and gather user feedback if any issues arise.
Krita and MediBang Paint Pro on macOS support this gesture by default.


cmd+click on a demo should open up in a new tab without the modal

I'm not sure, I think this would be quite surprising behavior. The target of the link appears in the browser status bar, it's misleading for 'open as new tab' to go somewhere else.

Fair. I think the largest issue is there's no way to navigate directly to just a demo page - I would almost expect that's what a link like https://custom-elements-staging.appspot.com/element/PolymerElements/paper-tabs/v1.6.2/demo/demo/index.html would lead to (rather than a modal on top).
I don't think we need to figure this out right now though. Closing for now.


Use separate Dispatcher instances in the blaze client builder

It's proposed by CE to use separate instances of Dispatcher when possible to reduce contentions on submitting effects.

I'm uncertain where that advice begins and ends.  This separates the connection pool manager from the rest of the client, but only moves us from one to two per client, no?  If more is better, is it excessive to create one per request?

BTW @wjoel recently made some big strides for shared dispatchers in:

https://github.com/typelevel/cats-effect/pull/2876

I'm uncertain where that advice begins and ends. This separates the connection pool manager from the rest of the client, but only moves us from one to two per client, no? If more is better, is it excessive to create one per request?

I'm confident creating Dispatcher per request has no benefits because that creation isn't free. To be honest, I haven't numbers to speak for sure. I just intended to separate the running effects of the pool manager and the rest of the client, because, following the CE spec, it could reduce contention. I guess that contention strikes only within the high load. But creating two instances of Dispatcher in the 'wiring' of the client seems cheap, so that was my point.

@armanbilge Good to know, thanks. Is that mean the advice of creating Dispatcher as often as possible has been gone?

Good question. I don't know if that advice is "gone" but maybe less important after those changes. I think contention is always an issue for any sort of concurrent state. That PR just improves the performance under contention, so it's less of a big deal. But would be good to get some expert opinion on that too :)
I think the only definitive answer is benchmarks really :)

I don't have the automated benchmarking that I used to.  I could easily be persuaded either way on this one, but I could be most persuaded by evidence.

It seems to only be used for dispatcher.unsafeRunAndForget(closed.complete(())) in Http1Stage, so this may not matter in this particular case, but note that changing the "level" of where the dispatcher is created will subtly change what happens to such running but "forgotten" actions when cancellations occur. The actions will be canceled when the dispatcher is closed, because the supervisor in the dispatcher has not forgotten them and will cancel them.
https://github.com/typelevel/cats-effect/issues/1881
However, I don't think the comment is accurate anymore, to be honest. This is what Dispatcher looked like when it was added: https://github.com/typelevel/cats-effect/blob/4201c8e3ceca811645730cd8ccd81b16f3402da0/std/shared/src/main/scala/cats/effect/std/Dispatcher.scala
Even then I find the "minimal overhead" a bit questionable in terms of resource usage, but it's true that the overhead in terms of fibers was just one. However, since https://github.com/typelevel/cats-effect/pull/1760 and https://github.com/typelevel/cats-effect/pull/2876 the contention just isn't an issue, but on the other hand the dispatcher uses more resources to create its data structures and is now even less cheap in that way.
I don't believe it's still good advice, more than two years later.

It seems to only be used for dispatcher.unsafeRunAndForget(closed.complete(())) in Http1Stage, so this may not matter in this particular case

Ah. Actually this might be a good candidate for the new sequential Dispatcher being introduced in https://github.com/typelevel/cats-effect/pull/2854.

@danicheg do you want to move forward with this? Trying to cleanup PRs before schisming blaze.

I think we had a good discussion here and in https://github.com/typelevel/cats-effect/issues/2933. So, I close this.


Adding python3 bitstring

Please add the following dependency to the rosdep database.
Package name:
bitstring
Package Upstream Source:
https://github.com/scott-griffiths/bitstring
Purpose of using this:
Python3 version of bitstring. Used to read and write bitstrings.
Links to Distribution Packages

Debian: https://packages.debian.org/

Package

Ubuntu: https://packages.ubuntu.com/

Package

Fedora: https://packages.fedoraproject.org/

Package

Gentoo: https://packages.gentoo.org/

Package

NixOS/nixpkgs: https://search.nixos.org/packages

Package (Only 3.9 or 3.10, opted for 3.9)

openSUSE: https://software.opensuse.org/package/

Package

Checks

[ ] All packages have a declared license in the package.xml
[ ] This repository has a LICENSE file
[ ] This package is expected to build on the submitted rosdistro

I am not for sure what is going on with the Validate rosdistro step. It runs ok on my computer but seems to fail on GH actions. :thinking:


rename monorepo & set up docs

We need to solidify a brand & naming convention for our open-source products.
Our brand will be "Agent 0". Our monorepo will be delvtech/agent0. This will house projects that are still under heavy development and are not ready to be advertised broadly. Projects that _are_ready to be advertised broadly will go into their own repos under the delvtech organization. This currently includes fixedpointmath and pypechain, but will eventually include other offerings (notably the hyperdrive sdk).
TODOs:

[x] rename old agent_0 monorepo only support fixedpoint: delvtech/agent_0/fixedpoint -> delvtech/fixedpointmath
[ ] rename agent0 bots repo to be botkit:delvtech/elf-simulations/agent0 -> delvtech/elf-simulations/botkit
[x] rename elf-simulations monorepo to be agent0: delvtech/elf-simulations -> delvtech/agent0
[ ] create delv.tech url for agen0 docs: agent0.delv.tech/docs
[ ] build a landing page on agent0.delv.tech that lists our current offerings (pypechain, fixedpointmath, agent0 development monorepo)
[ ] create an agent0 channel on Discord for PRs & other project discussion (allowing simulations to go back to its original purpose of content generated from running simulations)

Here's the current landscape, as I see it:

Included in pypi, the Python package manager. Hosted on github.com/delvtech/.

fixedpointmath: Python parity implementation of the solidity fixedpointmath package used by Hyperdrive
pypechain: Python static type generator from contract ABI files, aka "typechain for python"
hyperdrive-sdk: Currently named pyperdrive, this will evolve to contain open-source Hyperdrive solidity contracts, as well as the Rust reference implementation, Python wrappers, and Typescript WASM wrappers.

Included in the monorepo, which indicates that it is still in the pre-launch (alpha, pre-mvp) stage. Hosted on github.com/delvtech/agent0.

'botkit': bot construction & deployment developer kit. This will eventually also include RL bots.
chainsync: database & dashboard system for recording and displaying events on devnet
ethpy: wrapper over web3py that provides a Hyperdrive API and other convenience functions used by botkit

We are going to hold off on setting up the docs pages until we can integrate it with hyperdrive. The rest of the tasks are done or no longer planned.


Styling with styled-jsx and React renderer

I am trying to use React renderer with style-jsx but cannot make styling work. Babel and Webpack is properly configured so the build is going well. Markup with styled-jsx unique classes is rendered correctly inside SkateJS custom element however styling itself is missing. Any ideas on why styled-jsx does not work inside custom elements build with SkateJS? Thanks.

It's almost certainly because styled-jsx is inserting styles into the head and Skate creates a shadow root. Related issue: https://github.com/zeit/styled-jsx/issues/28.
If you're not doing anything super crazy with your styles, you can try using something like https://github.com/treshugart/shadow-css.

Thanks @treshugart for quick reply. In my case React components need to be shared between React project and web components. React project uses styled-jsx so it would be nice to make SkateJS web components able to use that shared React components with styled-jsx using React renderer.
Another thing I was trying to do is to use flush from styled-jsx/server like explained here: https://github.com/zeit/styled-jsx#server-side-rendering. So the idea is to get all styles with flush and put them inside SkateJS component in the same way I can put just <style>...</style> element inside SkateJS web component. However this does not work for me either. Any ideas about this approach?

Is there a way for you to share a working example, gist or some code? Happy to take it from there to try and get something working.
I'll see if I can ping Zeit to see if they've found an easier solution for this.

I've created a very simple demo: https://github.com/ussuritiger/skatejs-react-styled-jsx
The only difference with real case is that shared components are installed with yarn/npm from GitHub (in this demo shared React components are in shared-components folder).
Thanks for your time and enthusiasm. Hopefully you have some ideas how to make this combination work.

Hey @treshugart, did you have a chance to look at the example I’ve provided?

Hey @ussuritiger. Sorry for the late reply. That link is 404'ing.

Sorry, please have a look, it is back @treshugart

@ussuritiger 404 again...


Add oid mapping for text and text array

Clients that try to encode parameters using the text type got a failure:
Can't map PGType with oid=25 to Crate type
Can't map PGType with oid=1009 to Crate type

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed

Run into this using hasql, I'll also extend our tests in the crate-qa repo


chore(docs): use local search

use local search
type define for local search

preview zh

preview en

Why? The Aloglia search works better

Aloglia is powerful,local is tiny.