ContentOffset/ScrollView is jumping when expanding/collapsing cells

Hi Guys.
Thanks for this awesome library, it saved my life.
Perhaps I met with an annoying bug.
When I collapsed/expanded a section, the tableview's contentoffset had a weird jumping.
After spent some hours of researching to solve this really annoying problem, I found out the best solution is to set an observer when the contentOffset is changing.
After implementing some properties and the observer, the jumping affect disappears.
fileprivate var isCellUpdateInProgress: Bool = false
fileprivate var lastScrollOffset: CGPoint!
open override var dataSource: UITableViewDataSource? {
	get {
		return super.dataSource
	}
	set(dataSource) {
		guard let dataSource = dataSource else { return }
		expyDataSource = dataSource as? ExpyTableViewDataSource
		super.dataSource = self
        self.addObserver(self, forKeyPath: "contentOffset", options: NSKeyValueObservingOptions.new, context: nil)
	}
}

private func startAnimating(_ tableView: ExpyTableView, with type: ExpyActionType, forSection section: Int) {

	let headerCell = (self.cellForRow(at: IndexPath(row: 0, section: section)))
	let headerCellConformant = headerCell as? ExpyTableViewHeaderCell

	CATransaction.begin()

	headerCell?.isUserInteractionEnabled = false

	//Inform the delegates here.
	headerCellConformant?.changeState((type == .expand ? .willExpand : .willCollapse), cellReuseStatus: false)
	expyDelegate?.tableView?(tableView, expyState: (type == .expand ? .willExpand : .willCollapse), changeForSection: section)

	CATransaction.setCompletionBlock { [weak self] () -> (Void) in
		//Inform the delegates here.
		headerCellConformant?.changeState((type == .expand ? .didExpand : .didCollapse), cellReuseStatus: false)

		self?.expyDelegate?.tableView?(tableView, expyState: (type == .expand ? .didExpand : .didCollapse), changeForSection: section)
		headerCell?.isUserInteractionEnabled = true
        self?.isCellUpdateInProgress = false
	}
    isCellUpdateInProgress = true
    lastScrollOffset = tableView.contentOffset
	tableView.beginUpdates()

	//Don't insert or delete anything if section has only 1 cell.
	if let sectionRowCount = expyDataSource?.tableView(tableView, numberOfRowsInSection: section), sectionRowCount > 1 {

		var indexesToProcess: [IndexPath] = []

		//Start from 1, because 0 is the header cell.
		for row in 1..<sectionRowCount {
			indexesToProcess.append(IndexPath(row: row, section: section))
		}
		//Expand means inserting rows, collapse means deleting rows.
		if type == .expand {
			self.insertRows(at: indexesToProcess, with: expandingAnimation)
		}else if type == .collapse {
			self.deleteRows(at: indexesToProcess, with: collapsingAnimation)
		}
	}

    tableView.endUpdates()
    tableView.layer.removeAllAnimations()
    self.setContentOffset(self.lastScrollOffset, animated: false)
	CATransaction.commit()
}

override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
    if keyPath == "contentOffset" {
        if isCellUpdateInProgress {
            self.setContentOffset(self.lastScrollOffset, animated: false)
        }
    }
}

Hope it will help!

Hi! I'm not able to reproduce this. Can it be caused by some "scroll-to-show-expanded-cell" code? Do you have an example project that reproduces this issue?  @gaborcsontos

I had this issue with the original code during the animation, when the cells were expanding/collapsing.
After added the code above it solved it.

Can you please tell if it happens in Customization Example or Basic Example or in both @gaborcsontos

It happened in my project, not in the examples.

Thanks! Will look into this soon.

@gaborcsontos
I also have this problem.
I solved by your opening.
Thank you!!


[11.x] Mockery::close boilerplate removal

Very often in the testsuite, PHPUnit\Framework\TestCase::tearDown is only present in order to close Mockery.
This PR removes lots of useless boilerplate and simply ensure that the test case file inherits Mockery\Adapter\Phpunit\MockeryTestCase

👎🏽 simply because this add additional maintenance and add additional complexity to supporting latest PHPUnit when it become available.


Task/rhornung67/raja suite release

Update Spack packages following RAJA Suite release v2024.07.0.

@adrienbernede and @white238 and @davidbeckingsale I think this is ready to go. Please take a careful look to make sure I didn't break something.  Thank you.

@rhornung67 I will merge your changes in https://github.com/LLNL/radiuss-spack-configs/pull/109 soon.


display problem with circularAperture?!

What the heck, how is something this basic suddenly broken?
This blocks 0.4 since the third cell of POPPY_tutorial.ipynb no longer works...
In[4]: poppy.CircularAperture().display()

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-6-3ee4b5adcfa5> in <module>()
----> 1 poppy.CircularAperture().display()

/Users/mperrin/Dropbox (Personal)/Documents/software/poppy/poppy/optics.py in display(self, nrows, row, wavelength, npix, grid_size, **kwargs)
    189         _log.debug("Displaying " + self.name)
    190         phasor, pixelscale = self.sample(wavelength=wavelength, npix=npix, what='complex',
--> 191                                          grid_size=grid_size, return_scale=True)
    192
    193         # temporarily set attributes appropriately as if this were a regular OpticalElement

/Users/mperrin/Dropbox (Personal)/Documents/software/poppy/poppy/optics.py in sample(self, wavelength, npix, grid_size, what, return_scale, phase_unit)
    128             w = Wavefront(wavelength=wavelength, npix=npix, pixelscale=pixel_scale)
    129
--> 130         phasor = self.getPhasor(w)
    131         _log.info("Computing {0} for {1} sampled onto {2} pixel grid".format(what, self.name, npix))
    132         if what == 'amplitude':

/Users/mperrin/Dropbox (Personal)/Documents/software/poppy/poppy/optics.py in getPhasor(self, wave)
    862             raise ValueError("CircularAperture getPhasor must be called with a Wavefront "
    863                              "to define the spacing")
--> 864         assert (wave.planetype != _IMAGE)
    865
    866         y, x = self.get_coordinates(wave)

AssertionError:

Related to the Fresnel stuff - that broke the assumption that planes are either IMAGE or PUPIL and added the "unspecified" option.   Yet another reminder of #71 that we should add unit tests for the display code.


how to start with couchdb?

I have been using the broccoli for a while, really like it!  I run it from docker. I would like to try using the couchdb interface. It is not clear to me how to configure this. I see that a .conf file can add and delete configuration, because you can't select couchdb with a -D in the docker args. There is documentation stating that I have to select the model, which I have tried by creating a /couchdb.conf file in the docker executable before I start bin/cluster-broccoli. However, my messages on stdout still indicate that the file storage module is being used.  My couchdb.conf file looks like this:
play.modules.disabled += "de.frosner.broccoli.instances.storage.filesystem.FileSystemStorageModule"
play.modules.enabled += "de.frosner.broccoli.instances.storage.couchdb.CouchDBStorageModule"

but that doesn't seem to work.  I don't know scala, maybe this is obvious, but I can't figure out how to configure it!

Hi! Do you mind moving the discussion to the gitter channel?


docs: update getting started

Thank you for contributing to crt!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

Codecov Report

Merging #16 (91075b9) into main (bb7c148) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   98.85%   98.85%
=======================================
  Files           3        3
  Lines         175      175
=======================================
  Hits          173      173
  Misses          2        2

Flag
Coverage Δ

unittests
98.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


305 client build url with path

What
Added URL path during creation Cloudant URL since the path is important to connect Cloudant with a gateway.
How
Added URL path during URL creation in ClientBuilder.ClientBuilder() method. Check if urlPath exist in the URL provided to API and add it to resulting URL.
Testing
You can connect to Cloudant with URL with not empty path part now. Like following: https://testproxy.samplehost.net:443/cloudant/mydb.
Issues
The ClientBuilder.ClientBuilder(URL url) function removes url's path #305

@CTiPKA thanks for submitting this. Please can you follow the contributing instructions to submit a CLA.

@ricellis made code changes according your code review

Thanks @CTiPKA
Please can you also cherry-pick my commit 87de7a45d84c6db6f5699681376a12567f51afb6 into your branch so that we can merge the test with the rest of your changes?

@ricellis Copied test from commit 87de7a4

Once the CLA comes through we'll squash and merge it. Thanks @CTiPKA


Small performance improvement

Some very minor tweaks to reduce amount of code being run per frame when the tool is not active.
Make sure you do thorough testing before merging.
Updates #1

If this initial tweak works, I'd suggest publishing to workshop to reduce end user pain, then afterwards consider more performance tuning.
Ideally use tool events and possibly use a state engine to keep track of state, that way you wouldn't need to do so much per frame.

urg, github repo not updated in 3 years
That means I've worked on ancient code. Please push your latest code to github. I'll take another look.

Closing as the code this was based on is stale


chore: release v0.2.11

:robot: I have created a release beep boop
0.2.11 (2024-04-09)
What's Changed

chore: update dependencies and target version 2.23of glibc by @coffeebeats in https://github.com/coffeebeats/gdpack/pull/217

Full Changelog: https://github.com/coffeebeats/gdpack/compare/v0.2.10...v0.2.11

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/coffeebeats/gdpack/releases/tag/v0.2.11 :sunflower:


Group all the probes

Group the probes under .spec.probes

[x] Delivered for RCO
[x] Delivered for OLO

OLO PR: https://github.com/OpenLiberty/open-liberty-operator/pull/292
RCO PR: https://github.com/application-stacks/runtime-component-operator/pull/260


Do not load dependencies twice

Currently, when a trait is used in a model that requires loading a dependency jar, an error like the following may occur:
java.lang.ClassCastException: class software.amazon.smithy.test.traits.TestTrait cannot be cast to class software.amazon.smithy.test.traits.TestTrait (software.amazon.smithy.test.traits.TestTrait is in unnamed module of loader java.net.URLClassLoader @62727399; software.amazon.smithy.test.traits.TestTrait is in unnamed module of loader java.net.URLClassLoader @7c098bb3)

This error occurs only on traits which use a Provider class like the following:
    public static final class Provider extends AbstractTrait.Provider {
        public Provider() {
            super(ID);
        }

        @Override
        public Trait createTrait(ShapeId target, Node value) {
            TestTrait result = new NodeMapper().deserialize(value, TestTrait.class);
            result.setNodeCache(value);
            return result;
        }
    }

For traits like the above, the resulting NodeMappter().deserialize() call requires a cast to the resulting trait type. In the Language Server, on reload, the dependency jar is loaded multiple times which causes the cast to fail when it occurs between different instances of the loaded dependency.
This fix updates the SmithyInterface class to prevent re-loading dependency jars multiple times and instead relies on loading the dependencies into the upstream model before the model is assembled.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

thanks for the fix, do you want me to test it out with the VS Code extension?
As I said to @srchase, I'm not sure why the code is the way it is, especially because it does not really reflect my understanding from the comment above. So I'd be happy to see that duplication gone. Even better if that fixes a bug!

@daddykotex I took testing pass with the VS Code extension already.


All blueprints need  needs to be either a canonical meta that points back to the story, or it needs a noindex meta tag

To avoid the embed versions being indexed by Google

This is something that each blueprint has to implement properly

Should we fix this one?


Don't create multipart if not necessary

Fixes #6

Added a minor line note to check on but otherwise this looks good to me. Tests pass (we have tests finally!) -- Super excited to get this landed. Thanks for working on it!

I've set up travis on my repo, and it's panicking on go master: https://travis-ci.org/nkovacs/gophermail/jobs/74920350


BAUN - Améliorer la gestion du café, des glacons et dates de péremption

Linked to https://github.com/SOZ-Faut-etre-Sub/SOZ-FiveM-Server/issues/308

This is not final, at this state, this was made for the video in the issue, waiting for admin approvement before making the code better.

Closing as another solution will be used 🙏


[hotfix] fix some typos

What is the purpose of the change
Fix some typos.
Brief change log
Fix some typos.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? no)
If yes, how is the feature documented? (not documented)

Thanks for fixing the typos, LGTM 👍 Will merge.


Export PNG with page size

It would be nice if there was an option to export images (PNG) using the size of the page and not only cropped down to the actual contents. This is handy in case you construct a figure from multiple layers and export them individually to build up the figure in a presentation etc.

Fixed in 13.10.5.


Show original strings from translated docs

While documentation i18n is a great way to expand the reach of Electron, it's a long-term effort, and as a matter of fact, it is hard to completely avoid improper or outdated translations. As a result, users that read docs in another language often open up the translated docs and the English docs side by side for comparison.
The experience of reading translated docs will be improved tremendously if the original string of the docs can be easily accessible from within the translated docs.
Prior Art:
Angular Chinese Docs

Spoke with Crowdin support in regards to getting a reference back to the source string from the translated string. But as of right now, there's no straightforward way to do it via their API.
One method/hack suggested by Crowdin support:

Download translations in the XLIFF format, it includes the source string as well as the translated version.
Please see the example below:

In order to download the translated file in XLIFF format through API please use the optional parameter "format" while making an "Export File" API request.


Misspecified version numbers (breaks maven ranges)

The org.beanshell.bsh version numbers are misspecified.
Rather than 2.0b5 it should be 2.0.5-beta (c.f. http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-pom-syntax.html)
The current format of 2.0b5 does not work with maven version ranges - e.g. net.sourceforge.fmpp.fmpp-0.9.14 depends upon org.beanshell.bsh with a version range of [1.3,2.1), but since the release of 2.0b5, this no longer works as this cannot be understood as part of a range.
I've also raised this issue with fmpp - c.f. https://sourceforge.net/tracker/?func=detail&aid=3537710&group_id=794&atid=100794
Reported by: *anonymous
Original Ticket: beanshell/bugs/340

We are now using the maven release numbers appropriately.
Current build release number: 2.1.0-SNAPSHOT
Closed: fixed


Cannot use import statement outside a module

Next.js
import { yupResolver } from '@hookform/resolvers/yup';

import AuthLayout from '../../../layouts/AuthLayout';
import { LoginInputs, LoginSchema } from './types';

const LoginPage: FC = (): JSX.Element => {
	const { register, handleSubmit } = useForm<LoginInputs>({
		resolver: yupResolver(LoginSchema),
	});

Thanks for reporting
Duplicate of https://github.com/react-hook-form/resolvers/issues/100
Problem solved in V2 currently in beta, more detail here: https://github.com/react-hook-form/resolvers/issues/71#issuecomment-754623998

Thanks for reporting
Duplicate of https://github.com/react-hook-form/resolvers/issues/100
Problem solved in V2 currently in beta, more detail here: https://github.com/react-hook-form/resolvers/issues/71#issuecomment-754623998


Adding Markdown link syntax for URL

URL without using Markdown link syntax can cause broken hyperlink for localized languages, so adding the syntax to resolve the issue.
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

This is also part of #18470


Error on play video content from streaming services

Hello,
I have problems with play content from Netflix and other video streaming services. Is there a fix
System Details

OS: Windows 11 Pro
Thorium Version: 124.0.6367.218 (Officiel version) (64-bit)

Screenshots
https://i.imgur.com/lHvIeYt.jpeg

https://github.com/Alex313031/thorium/blob/main/docs/FAQ.md


Featurizer failed...

Hey guys,
Great stuff, I've got it running on my system, but it seems to have some problems with proteins above a certain size. It runs fine with proteins of size < 100 aa, but anything bigger gives the following error:
Featurizer failed on gpr3 with error index 330 is out of bounds for axis 0 with size 330. Skipping.
At this point the program eats up all my main memory then crashes.... Super happy to share my input files if that helps.
cheers
matt B

I had this issue, and it seems to be an error related to memory usage. I solved this issue by truncating the protein and MSA. This should be fixed as the try/except block in featurization doesn't shed any light on where the error precisely is happening.

Will investigate this, on top of my head it could be related to the MSA and input query having different lengths. I'll add a check for this, and will enable a stack trace dump in the featurizer so we can better diagnose people's issues.

@mbelouso could you share the input data you ran? Including your MSA?

Ran into the exact same issue, and it does seem to be related to input proteins not matching the length of the MSA (example, input is longer than MSA entry, and MSA entry doesn't have ----- for deletions). I would definitely benefit from a diagnosis and solution/workaround. The option to limit VRAM usage will probably help.

I'll make sure to add a check that the MSA is consistent with the input sequence! Thanks for flagging.

@mbelouso could you share the input data you ran? Including your MSA?

Happy to, but the MSA is 21 Mb, should I upload it somewhere?

Maybe somewhere on google drive, so I can download? Thanks!

The fasta and a3m file are here:
https://drive.google.com/drive/folders/1N9iW9_FmWL8yJItNnfdxv_974vAAIPm1?usp=drive_link

@mbelouso I just tried running this on an A100 GPU and it ran smoothly. Are you positive that this is the example that crashes? It's unclear to me why a memory error would give you this kind of stack trace. What type of hardware are you running this on?

Hi @mbelouso, I noticed that there are many sequences in your MSA file that are longer than the query sequence. You should remove the lowercase parts from these sequences, and after this, the processed sequences should be the same length as the query.  This is how I resolved the issue, and I hope it can help you  :D

Hi @jwohlwend,
I also encountered the same error. This is the data I used https://drive.google.com/drive/folders/13WXIZ8oBDL8jhq0J3H9OA73R25etmZdO?usp=drive_link. I tested it on A100.
This is the prompt content：
You are using a CUDA device ('NVIDIA A100 80GB PCIe') that has Tensor Cores. To properly utilize them, you should set torch.set_float32_matmul_precision('medium' | 'high') which will trade-off precision for performance. For more details, read https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1]
Predicting: |                                                                                | 0/? [00:00<?, ?it/s]Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.
Featurizer failed on 6b5m with error index 555 is out of bounds for axis 0 with size 555. Skipping.

I'm getting the same problems (just with much bigger numbers) for the attached test case:
Featurizer failed on 7drt_test_processed_no_ligand with error index 1357771 is out of bounds for axis 0 with size 1357771. Skipping.
There seems to be something nondeterministic going on - I've had a few cases where the same input has worked once, and failed with the above behaviour on other runs.
7drt_test_run.zip

@jwohlwend ,I have turned on permissions.

I've done some digging around, forcing the IndexError to actually raise and going from there... the actual error is happening at: https://github.com/jwohlwend/boltz/blob/e049f84004ff9296d632976ee5f3efd0e7700566/src/boltz/data/feature/featurizer.py#L342. As far as I can tell, it's arising from some mismatch between how lower-case characters are handled in the a3m parser: https://github.com/jwohlwend/boltz/blob/e049f84004ff9296d632976ee5f3efd0e7700566/src/boltz/data/parse/a3m.py#L11 and how they're counted in BoltzTokenizer: https://github.com/jwohlwend/boltz/blob/e049f84004ff9296d632976ee5f3efd0e7700566/src/boltz/data/tokenize/boltz.py#L31
If I hack https://github.com/jwohlwend/boltz/blob/e049f84004ff9296d632976ee5f3efd0e7700566/src/boltz/data/parse/a3m.py#L69-L70 to:
        for c in line:
            c = c.upper()
            if c != "-" and c.islower():

... then I get successful runs every time. Haven't dug deeply enough into the logic to see exactly where the mismatch is happening, though.
The reason it's causing a runaway memory drain is that it's arising when trying to fetch entry 0 at https://github.com/jwohlwend/boltz/blob/e049f84004ff9296d632976ee5f3efd0e7700566/src/boltz/data/module/inference.py#L153 - on the exception it falls back to trying to fetch entry 0 again, leading to an infinite loop.

@tristanic thanks for doing some digging! I agree there must be some weird handling of lowercases but making them uppercase is certainly not what we want to do. I'm also unclear about why this is stochastic..

I agree there must be some weird handling of lowercases but making them uppercase is certainly not what we want to do.

Oh, definitely. That was meant more as just a demonstration that this is where the problem is arising. Helped to limit max_msa_seqs to 8 to make visual analysis a bit easier... while adding some print statements for logging I noticed the distance it wanted to read past the end of the array matched the number of lowercase letters in the first 8 sequences.

I'm also unclear about why this is stochastic.

Yeah, that's still a complete mystery to me as well.

你好@jwohlwend， 我也遇到了同样的错误。这是我使用的数据https://drive.google.com/drive/folders/13WXIZ8oBDL8jhq0J3H9OA73R25etmZdO?usp=drive_link。我在A100上测试过。 这是提示内容： You are using a CUDA device ('NVIDIA A100 80GB PCIe') that has Tensor Cores. To perfectly utilize them, you should set torch.set_float32_matmul_precision('medium' | 'high')which will trade-off precision for performance. For more details, read https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1] Predicting: | | 0/? [00:00<?, ?it/s]Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过 。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败 ，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。 Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。

I used this data to test, and this problem no longer exists in version 0.2.1.

你好@jwohlwend， 我也遇到了同样的错误。这是我使用的数据https://drive.google.com/drive/folders/13WXIZ8oBDL8jhq0J3H9OA73R25etmZdO?usp=drive_link。我在A100上测试过。 这是提示内容： You are using a CUDA device ('NVIDIA A100 80GB PCIe') that has Tensor Cores. To perfectly utilize them, you should set torch.set_float32_matmul_precision('medium' | 'high')which will trade-off precision for performance. For more details, read https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1] Predicting: | | 0/? [00:00<?, ?it/s]Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过 。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败 ，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。 Featurizer 在 6b5m 上失败，错误索引 555 超出了大小为 555 的轴 0 的界限。跳过。

I used this data to test, and this problem no longer exists in version 0.2.1.

Ah! I think I've found the actual problem now. Nothing to do with lowercase characters at all (sorry for the red herring)... looks like it happens if the count of uppercase and '-' characters in the last used sequence in the MSA is smaller than the input sequence.
boltz_msa_test_case.tar.gz
Test case using a two-sequence msa attached. success.a3m has the second sequence with the correct length. fail.am3 has a single character deleted from the second sequence. I've tried with a larger MSA file, and setting max_msa_seqs to different values in main.py then tinkering with different edits to the sequences. Only the length of the final used sequence seems to matter, and the failure only appears when it's shorter than the input.

In my case it looks like this came from me making a mistake when writing a script to concatenate MSAs from our internal MMSeqs2 server (probably leaving a blank line?) then making things worse when trying to "fix" it due to my unfamiliarity with the .a3m format. After some minor retooling, things are now working correctly. Mea culpa... but at least I hope this will help others avoid the same pitfall!

@tristanic Thanks for digging in further. Glad you found the issue for your MSA's. I did verify the MSA lengths for the other users and did not find inconsistencies, not sure. Maybe there was a bug that got solved in the new releases. Will wait to hear from others before closing this issue.

It sure would :)

I'm getting this error with the following inputs:
boltzenv boltz predict /opt/run_output/boltz/multimer.yaml --cache /databases/colabfold/boltz/weights/ --out_dir /
opt/run_output/boltz/outputs/ --devices 1

LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1]
Predicting: |                                                                                | 0/? [00:00<?, ?it/s]
Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
...

sequences:
- protein:
    id: A
    msa: /opt/run_output/colabfold/outputs/0.a3m
    sequence: MAHHHHHHVAVDAVSFTLLQDQLQSVLDTLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLDGSSGSGTPEERLLRAIFGEKA
- protein:
    id: B
    msa: /opt/run_output/colabfold/outputs/1.a3m
    sequence: MRYAFAAEATTCNAFWRNVDMTVTALYEVPLGVCTQDPDRWTTTPDDEAKTLCRACPRRWLCARDAVESAGAEGLWAGVVIPESGRARAFALGQLRSLAERNGYPVRDHRVSAQSA
version: 1

i got the msas by running colabfold locally.
colabfold_outputs.zip

@danpf Are you on the latest boltz release?

I'm using the latest version (actually the bleeding-edge version, reinstalled from the GitHub repo a couple of hours ago). I had no problem with @danpf's example on first run, but repeated runs with boltz predict ./multimer.yaml --override sometimes run, sometimes fail. Something wrong with reading/writing from the cached .npz files?

Thanks for the info @tristanic
I ran it 10x on the newest version (i was previously on 64be4d4351da47a14703f15ad3c361c054ed6cb1) and my errors were:
1. Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
2. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
3. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
4. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
5. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
6. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
7. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
8. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
9. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
10. ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).

My first successful run had max_msa_seqs set to some fairly small number
(currently you have to edit main.py to change that). Don’t remember what
the number was (probably only 8 - tiny but the prediction still looked
pretty good). Running with standard settings gives me a “Ran out of memory

skipping” warning - different from yours, but then I’m just playing with
a toy 8GB GPU for testing.

On Fri, 22 Nov 2024 at 15:29, Daniel Farrell @.***>
wrote:

Thanks for the info @tristanic https://github.com/tristanic
I ran it 10x on the newest version (i was previously on 64be4d4
https://github.com/jwohlwend/boltz/commit/64be4d4351da47a14703f15ad3c361c054ed6cb1)
and my errors were:

Featurizer failed on multimer with error index 458752 is out of bounds for axis 0 with size 458752. Skipping.
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).

—
Reply to this email directly, view it on GitHub
https://github.com/jwohlwend/boltz/issues/4#issuecomment-2494024666, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFM54YEOQ7MEIRMRQYR37NL2B5EVDAVCNFSM6AAAAABR6YULAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJUGAZDINRWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Altos Labs UK Limited | England | Company reg 13484917
Registered
address: 3rd Floor 1 Ashley Road, Altrincham, Cheshire, United Kingdom,
WA14 2DT

Running
boltz predict ./examples/multimer.yaml --cache /databases/colabfold/boltz/weights/ --out_dir /opt/run_boltz_example --use_msa_server

works no problem.
peeking at the msas from the colabfold server and they are very different:
(boltzenv) root@boltzeval004-vvgm9:/opt/boltz# tail -n +1  /opt/run_boltz_example/boltz_results_multimer/msa/multimer_*
==> /opt/run_boltz_example/boltz_results_multimer/msa/multimer_0.a3m <==
>101
MAHHHHHHVAVDAVSFTLLQDQLQSVLDTLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLDGSSGSGTPEERLLRAIFGEKA
>UniRef100_UPI0020946B8C
--------VPADAVSFTLLQEQLHSVLDTLSEREAGVVAMRFGLTDGQPKTLDEIGKVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_A0A7G1IHR1
------------------------------------MVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_UPI00227730C9
--------VAVDAVSFTLLQDQLQSVLETLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_UPI001C20C49A
MAHHHHHHVAVDAVSFTLLQDQLQSVLDTLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLDGSSGSGTPEERLLRAIFGEKA
>UniRef100_A0A1A6BGF2
----------MDAVSFTLLQDQLQSVLDTLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_A0A5C7WQ46
--------VAVDAVSFTLLQDQLQSVLETLSEREAGVVRLRFGLTDGQPRTLDEIGQVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_A0A7K0YHP6
--------VPADAVSFTLLQEQLHSVLDTLSEREAGVVAMRFGLTDGQPKTLDEIGKVYGVTRERIRQIESKTMSKLRHPSRSQVLRDYLD---------------------
>UniRef100_A0A965INX0
-----------EAVTRIMLSQQIEQLLHNLPEREAGVIRMRFGLDDGQIHTLDDIGKRYNVTRERIRQIESKTMSKLRHPSRSQVLRDFFD---------------------

==> /opt/run_boltz_example/boltz_results_multimer/msa/multimer_1.a3m <==
>102
MRYAFAAEATTCNAFWRNVDMTVTALYEVPLGVCTQDPDRWTTTPDDEAKTLCRACPRRWLCARDAVESAGAEGLWAGVVIPESGRARAFALGQLRSLAERNGYPVRDHRVSAQSA
>UniRef100_A0A961DSR9
---------------------------------CISDPDRWAAGGEDpELKALCRGCPRRWQCAKDALDTPGAEGMWSGVHIPKEGRGRNFALRQLRSLATHGG-------------
>UniRef100_X7YC61
--------------------MTATALYEVPLGVCTQDPDRWTTTPDNEAKAMCRACPRRWACARDAVESPGAEGLWAGVVIPESGRARAFALGQLRSLAERNGYPVRE-RVVAQSA
>UniRef100_UPI0009FDEDE2
---------------------------------CISDPDRWAAGGEDpELKALCRGCPRRWQCAKDALDTPGAEGMWSGVNIPKEGRGRKFALRQLRSLAAHGGFTVAD--------
>UniRef100_UPI00214E9A98
MRYAFAAESTTCNAFWRNVDMTVTALYEVPLGVCTQDPDRWTTTPDDEAKTLCRACPRRWLCARDAVESAGAEGLWAGVVIPESGRARAFALGQLRSLAERNGYPVRDHRVSAQSA
>UniRef100_UPI00197F9F9C
--------------------MTATTLYEIPqLGVCTQDPDRWTTTPDDEAKTLCRACPRRWLCAKEAVESPGAEGLWAGVVIPDSGRPRAFALAQLRSLAERNGFAVRE-RVTAQSA
>UniRef100_A0A3S0RV96
--------------------MTATTLYEVPqLGVCTQDPDRWTTTPDDEAKTLCRACPRRWLCAKEAVESPGAEGLWAGVVIPDSGRPRAFALAQLRSLAERNGFAVRE-RVTAQSA
>UniRef100_A0A7V3I0A1
-------------------------------GACARDPERWTTAPDNEAKALCRACPRRWPCARDACELPGAEGLWAGVVIPEAGRPRAFALRQLRSLAERHGYPVRDPKVPAQPA
>UniRef100_A0A941Y9P8
--------------------MSAVTYLDIPIGACTRDPERWTTAADDDAKAICRACPRRWLCARDACELPRAEGLWAGIVIPEAGRGRTFALRQLRSLAERNGYPVRaTRRVFPESA

wheras my local run is 2.8M, 1.3M a3m

We get a similar error for some inputs
Lots of
Featurizer failed on XXX with error index 232820 is out of bounds for axis 0 with size 232820. Skipping.

eventually followed by
RecursionError:   maximum recursion depth exceeded
--
[Previous line repeated 8 more times]
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 146, in __getitem__
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 146, in __getitem__
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 146, in __getitem__
[Previous line repeated 959 more times]
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 169, in __getitem__
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 169, in __getitem__
^^^^^^^^^^^^^^^^^^^
return self.__getitem__(0)
File   "/opt/venv/lib/python3.12/site-packages/boltz/data/module/inference.py",   line 169, in __getitem__
~~~~~~~~~~~~^^^^^
data = [self.dataset[idx] for idx in   possibly_batched_index]
File   "/opt/venv/lib/python3.12/site-packages/torch/utils/data/_utils/fetch.py",   line 52, in fetch
^^^^^^^^^^^^^^^^^^^^
data = fetcher.fetch(index) # type:   ignore[possibly-undefined]
File   "/opt/venv/lib/python3.12/site-packages/torch/utils/data/_utils/worker.py",   line 351, in _worker_loop
Traceback (most recent call last):
During handling of the above exception,   another exception occurred:
RecursionError: maximum recursion depth   exceeded
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I believe this is actually what we have to run to recreate the server results.
https://github.com/soedinglab/MMseqs2-App/blob/master/backend/worker.go#L953
not colabfold_search.

@tristanic thanks for doing some digging! I agree there must be some weird handling of lowercases but making them uppercase is certainly not what we want to do. I'm also unclear about why this is stochastic..

So I just had this error, and came across that locally created msa file contains lowercase AAs. not sure how it happens but could explain why adding
for c in line:
c = c.upper()
if c != "-" and c.islower():
fixes the issue. But not sure if lowercase AAs carry any significance?

@aravinda1879 lowercase letters are the opposite of dashes - you should not have to delete them. Whereas gaps are missing residues, lowercase letters are additional residues (inserts).
I have found I am able to get around this error by setting my max_msa_seqs low (like <300 seqs). however it seems different for every case I've tested.

@danpf  ah! thanks for the info. Makes sense.

After taking a step back and actually using my eyeballs, I realized that the displayed error had all of the information necessary to fix this problem with my system.
I am using Kubernetes, and on Kubernetes the default shm size is 64 Mb.  This is obviously too small for boltz for whatever reason. using something like:
spec:
  template:
    spec:
      restartPolicy: OnFailure
      containers:
        - name: boltzeval001
        .... {other information blah blah blah}
          volumeMounts:
            - name: customshm
              mountPath: /dev/shm
      volumes:
        - name: customshm
          emptyDir:
            medium: Memory

fixes the problem.
This is likely a problem for docker too. You might be able to use something like:
docker run -it --shm-size=256m boltz1 /bin/bash

(I do not know what the shm size should be or what is actually used 256 is just a guess)

I believe that this may be fixed now. Please update to the latest version with pip install bolt -U and let me know if it's still happening?

I am still seeing the error with the new version.

@tkramer-motion Can you share your input?

@tkramer-motion just to confirm - are you running in a clean directory? it will use existing files which may be incorrect if they were previously created. also it would be helpful if you could post your stdout/stderr, your commandline, and you inputs.

@danpf Did the fix work for you by any chance?

@danpf Did the fix work for you by any chance?

yup!
to be explicit:
with the shm settings in my environment and the current master (2355c62c957e95305527290112e9742d0565c458) I was able to run 3 separate complexes (protein only) using the command:
boltz predict inputs --use_msa_server --msa_server_url http://localhost --cache /databases/boltz --recycling_steps 10 --diffusion_samples 25 --devices 3

and i received no errors.

It does work when running in a clean directory. Thanks!

I believe that this may be fixed now. Please update to the latest version with pip install bolt -U and let me know if it's still happening?

I can see the error persisting. With a clean EC2 stood up and the following installs run:
- conda install -c conda-forge -c bioconda mmseqs2=15.6f452
- pip install colabfold colabfold[alphafold]
- pip install boltz==0.3.2

MSA was run via colabfold_search --mmseqs mmseqs test.fasta /efs/mmseqs2_cf_dbs/ msas where the databases were the standard ones that come with the colabfold deployment's download script
Boltz was called with boltz predict test.yaml yielding the following error
Featurizer failed on test with error index 995328 is out of bounds for axis 0 with size 995328. Skipping.
below are the .yaml and .fasta files of interest
.yaml
version: 1
sequences:
  - protein:
      id: [A, B]
      sequence: MVTPEGNVSLVDESLLVGVTDEDRAVRSAHQFYERLIGLWAPAVMEAAHELGVFAALAEAPADSGELARRLDCDARAMRVLLDALYAYDVIDRIHDTNGFRYLLSAEARECLLPGTLFSLVGKFMHDINVAWPAWRNLAEVVRHGARDTSGAESPNGIAQEDYESLVGGINFWAPPIVTTLSRKLRASGRSGDATASVLDVGCGTGLYSQLLLREFPRWTATGLDVERIATLANAQALRLGVEERFATRAGDFWRGGWGTGYDLVLFANIFHLQTPASAVRLMRHAAACLAPDGLVAVVDQIVDADREPKTPQDRFALLFAASMTNTGGGDAYTFQEYEEWFTAAGLQRIETLDTPMHRILLARRATEPSAVPEGQASENLYFQ
      msa: msas/test/0.a3m
  - ligand:
      id: [C, D]
      smiles: N[C@@H](Cc1ccc(O)cc1)C(=O)O

.fasta
>testseq
MVTPEGNVSLVDESLLVGVTDEDRAVRSAHQFYERLIGLWAPAVMEAAHELGVFAALAEAPADSGELARRLDCDARAMRVLLDALYAYDVIDRIHDTNGFRYLLSAEARECLLPGTLFSLVGKFMHDINVAWPAWRNLAEVVRHGARDTSGAESPNGIAQEDYESLVGGINFWAPPIVTTLSRKLRASGRSGDATASVLDVGCGTGLYSQLLLREFPRWTATGLDVERIATLANAQALRLGVEERFATRAGDFWRGGWGTGYDLVLFANIFHLQTPASAVRLMRHAAACLAPDGLVAVVDQIVDADREPKTPQDRFALLFAASMTNTGGGDAYTFQEYEEWFTAAGLQRIETLDTPMHRILLARRATEPSAVPEGQASENLYFQ

@brianf-fl94 could you please share the MSA? Also, are you sure that the output folder was empty before you ran the prediction?

https://drive.google.com/file/d/10Ov0jXIcGVCK0qVF-A0O-Sek8x2roPlx/view?usp=sharing
Link to MSA here
Output folder confirmed empty

fwiw @brianf-fl94 I did not have much luck with colabfold_search - I have just been running the colabfold server locally in a separate process  (you can use Popen in python) and then stopping it after I've run my jobs. then I point the msa_server_url to http://localhost
https://github.com/sokrypton/ColabFold/tree/main/MsaServer

If that's the case, I'll just run them as seperate docker containers
I'm setting this up for much higher scale than I think the average person is using it (~1000 proteins/~500 compounds per protein run daily)

If that's the case you will definitely want to use the msa-server and
follow the VM touch documentation.  It requires a lot of ram but will do
about 1msa / min.  Also might want to rewrite the boltz MSA gen step to be
async to take advantage of the multiple msa-server workers.
On Fri, Dec 13, 2024, 13:17 brianf-fl94 @.***> wrote:

If that's the case, I'll just run them as seperate docker containers
I'm setting this up for much higher scale than I think the average person
is using it (~1000 proteins/~500 compounds per protein run daily)
—
Reply to this email directly, view it on GitHub
https://github.com/jwohlwend/boltz/issues/4#issuecomment-2542004570, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4KZECATGMH4AZ5PLMXYL32FMQEVAVCNFSM6AAAAABR6YULAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBSGAYDINJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add hierarchy_facet, respecting "Include in Navigation Menu"

When editing a Category in Magento, there's a setting for "Include in Navigation Menu?", with an option of yes or no. The Categories marked as No are NOT Hidden categories, but they just don't show up in the Menu - they're still active.
The existing "hierarchy" data field should remain as-is. But, a second "hierarchy_facet" field should be added, which only includes the Categories which are active for the Navigation Menu.
We've had numerous requests about setting up Field Filters to hide certain options from our Category Facet - the request is always about having us match the Categories shown in the Menu.
Note: With this in mind, the backgroundFilter of the integration would be a bit unique, using a context attribute to determine if the current category is active in the menu:

If yes, use both "hierarchy" and "hierarchy_facet" as a backgroundFilter
If no, only use "hierarchy" as a backgroundFilter

This is done in menu_hierarchy.


Motor uses ThreadPoolExecutor, it drastically decreases a performance

Is there any plan to make this library really async?
It seems like that nobody who uses async motor understand that it's not really async.

More information? This package usesmotor by threading?

Just look into sources of official motor library: https://github.com/mongodb/motor/blob/master/motor/metaprogramming.py#L25
Any project that will use that for their requests to mongoDB will have performance decreased for sure.

Just look into the sources of the official motor library: https://github.com/mongodb/motor/blob/master/motor/metaprogramming.py#L25
Any project that will use that for their requests to the mongoDB will have the performance decreased for sure.

Emmm, I have not enough ability to confirm is it true...
The cost is too much to achieve maintain an unofficial async package as same as pymongo...
Any response in motor jira about this problem?

They just have the dead JIRA ticket about that so seems like they're not going to implement


Add homepage or just a simple message?

404 page not found is so awkwark and confusing --- I couldn't tell if it's deployed successfully or not.

+1 👍


Persist Params that show up in path as well as root of the body

#21
This PR attempts to give a solution to the issue raised above


Add ability to generate if-else blocks

A previous version had .asIf() for building statements like
if (something) {
  // ...
}

As far as I know, the only way to do these with current API is to write this manually via Code(...).

why did this get moved? I'm a bit confused.

@TekExplorer code_builder got moved into this repo, see https://github.com/dart-lang/tools/pull/693 and https://github.com/dart-lang/code_builder/pull/467


Add support for returning pagination links in responses for collections

Very minor but the travis build also complains about 2 files without "scalafmt"


Device mapping interface improvements (Trac #6)

Setting the channel number for each electrode on a large device is currently pretty tedious.  A couple of ways to make this process easier are:

Autoincrement the channel number after each electrode assignment.
Give the OK button focus so that the user can just press enter after typing the channel number.

Migrated from http://microfluidics.utoronto.ca/ticket/6
{
    "status": "closed",
    "changetime": "2014-04-17T19:39:01",
    "description": "Setting the channel number for each electrode on a large device is currently pretty tedious.  A couple of ways to make this process easier are:\n\n 1. Autoincrement the channel number after each electrode assignment.\n 2. Give the OK button focus so that the user can just press enter after typing the channel number.",
    "reporter": "ryan",
    "cc": "",
    "resolution": "wontfix",
    "_ts": "1397763541728826",
    "component": "microdrop",
    "summary": "Device mapping interface improvements",
    "priority": "minor",
    "keywords": "interface",
    "version": "0.1",
    "time": "2011-09-22T01:26:27",
    "milestone": "Microdrop 1.0",
    "owner": "ryan",
    "type": "enhancement"
}

Trac update at 20110922T01:28:49: ryan changed description from:

Setting the channel number for each electrode on a large device is currently pretty tedious.  A couple of ways to make this process easier are:

Autoincrement the channel number after each electrode assignment.
Give the OK button focus so that the user can just press enter after typing the channel number.

to:

Setting the channel number for each electrode on a large device is currently pretty tedious.  A couple of ways to make this process easier are:

Autoincrement the channel number after each electrode assignment.
Give the OK button focus so that the user can just press enter after typing the channel number.

Trac update at 20120403T14:42:19:

ryan commented:

Part 2. is implemented in Ticket #75. Part 1. is probably not really necessary.

ryan changed resolution from "" to "wontfix"
ryan changed status from "new" to "closed"

Trac update at 20140417T19:39:01: ryan changed component from "gui" to "microdrop"


Minor optimizations

A lot of minor optimizations
Fixed:

unneeded variables / properties / functions
Renamed listeners to start with "on" consistently
fixed missing if (this.control)
Removed a few unneeded @binds
TODO where there might be possible cleanup
An issue with the ITextFieldProps interface
A tag prop to Typography
Fixed some styling

sorry the description makes it a lot harder to review, please be specific about what is changed and what needs to be reviewed

Hope that list helps

Travis error:
ERROR in ./Drawer/index.js
Module not found: Error: Can't resolve '@material/drawer/persistent' in '/Users/travis/build/prateekbh/preact-material-components/Drawer'
 @ ./Drawer/index.js 24:18-56
 @ ./index.js
ERROR in ./Drawer/index.js
Module not found: Error: Can't resolve '@material/drawer/temporary' in '/Users/travis/build/prateekbh/preact-material-components/Drawer'
 @ ./Drawer/index.js 26:17-54
 @ ./index.js

yeah cuz i updated the deps, will merge this once we update the changes in the .39 version of mdc

There you go

Will merge it when the tests are fixed

@prateekbh ready for merging


Create Hexa 0.5.0 for policy orchestrator

Naming the current code base as 0.5.0

Release created v0.5.0


feat(style): hide dashboard header by url parameter

SUMMARY

Hide dashboard header with name and edit button dependent on url parameter hide_dashboard_header
e.g. http://localhost:8088/superset/dashboard/11/?hide_dashboard_header=true
Add global constants  for url params

Reason for PR: When dashboard is embedded as standalone there is also a use-case to hide the dashboard header
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/56388545/106760092-1917e780-663c-11eb-99cb-43574ad01b8d.mov
TEST PLAN

Test with param hide_dashboard_header and without it
Test filter bar of native filters working as expected

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12918 (2054d66) into master (fd2d873) will decrease coverage by 15.51%.
The diff coverage is 92.00%.

@@             Coverage Diff             @@
##           master   #12918       +/-   ##
===========================================
- Coverage   66.98%   51.47%   -15.52%
===========================================
  Files        1026      438      -588
  Lines       50351    14745    -35606
  Branches     5189     3927     -1262
===========================================
- Hits        33728     7590    -26138
+ Misses      16489     7155     -9334
+ Partials      134        0      -134

Flag
Coverage Δ

cypress
51.47% <92.00%> (+0.67%)
:arrow_up:

javascript
?

python
?

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

Impacted Files
Coverage Δ

...src/dashboard/components/HeaderActionsDropdown.jsx
60.81% <ø> (-9.46%)
:arrow_down:

...end/src/dashboard/components/StickyVerticalBar.tsx
100.00% <ø> (ø)

...rontend/src/explore/components/EmbedCodeButton.jsx
80.76% <ø> (ø)

...set-frontend/src/dashboard/util/getDashboardUrl.ts
69.23% <77.77%> (ø)

superset-frontend/src/constants.ts
100.00% <100.00%> (ø)

...tend/src/dashboard/components/DashboardBuilder.jsx
86.74% <100.00%> (+0.84%)
:arrow_up:

...nd/src/explore/components/ExploreViewContainer.jsx
78.65% <100.00%> (+1.41%)
:arrow_up:

superset-frontend/src/explore/exploreUtils.js
58.28% <100.00%> (-12.27%)
:arrow_down:

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 908 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f6d1ff...ac4ac8c. Read the comment docs.

thanks for the PR @simcha90 ! User will still be able to add filters after hiding header and edit button. is this intended?
@mihir174 I think this is a valid user need - sharing a dashboard to other that should not be editing it. this solution to me is a bit "hacky" though. any idea?

Agreed that this is a bit hacky but it's a good first step. We need to think about security/view permission configurations on embed links.
I like the way Google, for example, deals with link sharing:

Why not call the parameter standalone, too, just to be consistent with charts?

Why not call the parameter standalone, too, just to be consistent with charts?

standalone - hides only top menu bar
hide_dashboard_hide - hides only header with edit button
I think it dependent on user needs we need give both options to manage dashboard view

Why would you want to keep Superset navs while hiding dashboard title? Wouldn't users be able to navigate to other Superset pages in the embedded dashboard? I'm finding it hard to imagine a scenario where this would be desired.

@ktmud I agree that the use-case of standalone=false and hide_dashboard_hide=true does not exist
but there are 2 cases that do exist

standalone=true & hide_dashboard_hide=false
standalone =true & hide_dashboard_hide=true

I can agree that by just setting hide_dashboard_hide=true we can enable standalone but not sure we must enforce it
WDYT?

How about we introduce two "standalone modes"?

standelone=true or standlone=1: hide navs only
standalone=2: hide navs and title

Let's not give users the choice to hide just the dashboard title. If the request comes back up with a reasonable business need to support it, then we can add it as standlone=3.

How about we introduce two "standalone modes"?

standelone=true or standlone=1: hide navs only
standalone=2: hide navs and title

Let's not give users the choice to hide just the dashboard title. If the request comes back up with a reasonable business need to support it, then we can add it as standlone=3.

done

@ktmud  I can't reproduce UI bug that you sent, also Chrome also Firefox

@ktmud 👍 good catch about UI bug, fixed

cc @junlincc if you want to do a final round of QA & product sign-off.


Sets the launchMode of the Android sample app to singleTop.

Motivation
The default launchMode set by Capacitor (singleTask) causes issues in the purchase flow if users need to verify the payment in a separate (banking) app. The Google Play overlay is gone when they return to the app, causing the purchase to get canceled. We found and fixed this in a recent Zendesk ticket.
I figured it's a good idea for our own sample to give the right example. I picked singleTop, because that seems closest in behavior to singleTask, while still fixing the issue. Let me know what you think!

@tonidero That's a great idea! PR opened here: https://github.com/RevenueCat/docusaurus/pull/490.


add setParams to init

Adds an interactive setting of params during init
Placeholder formats:
{{nameOfValue}} or {{nameOfValue|defaultValue}}
<?php
return [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host={{db.host|<IP_ADDRESS>}};dbname={{db.name}}',
            'username' => '{{db.username|root}}',
            'password' => '{{db.password}}',
            'charset' => 'utf8',
        ]
    ],
];

init output:
   set params in common/config/db-local.php
      value of db.tablePrefix ():
      value of db.host (<IP_ADDRESS>):
      value of db.name: yii2-app
      value of db.username: root
      value of db.password:
   set params in common/config/bootstrap-local.php
      value of domain (dev.example.com):

I like the idea to make it a bit more interactive but don't really like templating approach. I think it could be done w/o template either via var_export or by finding-replacing default connection string.

Closed since it can't be merged as is.


📖 Morph install and use outline into User Guide Intro

Summary
This PR morphs the install-and-use outline doc into a proper Introduction for the User Guide, doing some outline cleanup along the way.
Preview at https://mikespreitzer.github.io/kcp-edge-mc/doc-intro-user-guide/
Related issue(s)
Fixes #

/cc @KPRoche
/cc @francostellari
/cc @ezrasilvera
/cc @clubanderson

That flat 11-item list is rather daunting to face as a potential user.
I would really encourage grouping the first 7 into a "setting up" topic and the remaining 4 into a "continuing operation" topic, whatever actual terms you want to use for the two topics.

/lgtm

@KPRoche: let's pursue your point in follow-on work.
/approve

@KPRoche: let's pursue your point in follow-on work.

Sounds good


Passing options into HTTP server

How do I set below options for a http service? Thanks, Igor
ReadTimeout              int
WriteTimeout             int

this would depend on how you integrated gconf, but most implementations use
a static json file where they would specify details of http service
including listening port, read and write timeouts.
Full list of available params:
https://github.com/freeconf/gconf/blob/master/yang/restconf.yang
On Mon, Aug 10, 2020 at 12:58 PM rl-ilasic<EMAIL_ADDRESS>wrote:

How do I set below options for a http service? Thanks, Igor
ReadTimeout              int
WriteTimeout             int
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeconf/gconf/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACA7W6QTGC2U6ZPE2YO63SAARKRANCNFSM4P2E42NA
.

Thanks Doug, will check it out.
On Mon, Aug 10, 2020 at 2:24 PM Douglas Hubler<EMAIL_ADDRESS>wrote:

this would depend on how you integrated gconf, but most implementations use
a static json file where they would specify details of http service
including listening port, read and write timeouts.
Full list of available params:
https://github.com/freeconf/gconf/blob/master/yang/restconf.yang
On Mon, Aug 10, 2020 at 12:58 PM rl-ilasic<EMAIL_ADDRESS>wrote:

How do I set below options for a http service? Thanks, Igor
ReadTimeout int
WriteTimeout int
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeconf/gconf/issues/1, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAACA7W6QTGC2U6ZPE2YO63SAARKRANCNFSM4P2E42NA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freeconf/gconf/issues/1#issuecomment-671513864, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQREUASTV2CBDJTJ3JNL3TSAA3OFANCNFSM4P2E42NA
.


Update all unattributed TODOs to TODO(mattklein123)

Quoting the style guide:
TODOs should include the string TODO in all caps, followed by the username or b/buganizer_id of the person or issue with the best context about the problem referenced by the TODO. The main purpose is to have a consistent TODO that can be searched to find out how to get more details upon request. A TODO is not a commitment that the person referenced will fix the problem. Thus when you create a TODO with a name, it is almost always your name that is given.

Though as I said in gitter, this information is available more accurately via "git blame", if you want to do this let's use accurate GH user names, so it would be "mattklein123".

Plus this is refactor proof so you don't get blamed just because you moved some lines around.

I'm bumbling my way through remembering the github workflow. Sorry you're on the receiving end.

@tschroed there is still one typo then looks good.

@tschroed also please sign the CLA: https://github.com/lyft/envoy/blob/master/CONTRIBUTING.md#cla

CLA signed. Typo corrected. Thanks for your infinite patience. Next time will be smoother, promise.


PARAM_INVALID

{"code":-2100, "msg":"PARAM_INVALID"}
Maybe problem in extra parameters.

AFAIK that error means "Possibly invalid file or image format (gif, webp and other uncommon formats seem to be unsupported)". Here I've documented all errors I know about: https://github.com/David-Lor/python-qqddm/blob/develop/docs/qqddm-api.md#c2i-identified-errors
I forget about creating a custom exception for that particular error though, will do in the future.

This error is thrown on all files, including those used in example.py. I could solve the problem through the browser's devtools, but the site does not want to work even with a Chinese IP

It's working fine for me at this moment, using a chinese public proxy and uploading docs/group1-pic1.png:

(I keep the issue opened until I add a custom exception for this error)

В данный момент у меня все работает нормально, используя китайский общедоступный прокси и загружая docs/group1-pic1.png:

It worked for me too


Download fails due to untrusted cert

I tried to follow the install instructions:

echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt

However, I can't download run sudo apt-get update after adding the repository.

Err https://dl.bintray.com  Packages
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign https://dl.bintray.com  Translation-en_US
Ign https://dl.bintray.com  Translation-en
Fetched 763 kB in 7s (106 kB/s)
W: Failed to fetch https://dl.bintray.com/sbt/debian/Packages  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

It seems this error indicates the certificate used isn't trusted by my new Linux Mint 17.2 Rafaela machine.

Hmm, maybe this is more of a Bintray problem than SBT problem. Still I can't figure it out. https://dl.bintray.com/sbt/debian/ loads just fine in my browser

This seems to happen only on Linux Mint. I've tried Ubuntu 14.04, 14.10, and 15.04 and they all work. It fails on both Linux Mint 17 and Linux Mint 17.2

Seems to be working for me now

Tips for debugging from Bintray in case anyone else runs into this.
Please run the following steps and help send us the results.

In your Linux Mint machine, run the following command (see here for more details)
update-ca-certificates -v

See if your issue has been resolved (You can also test the connection using curl https://dl.bintray.com/sbt/debian/ => You should not see any certificate issue. Instead, you should see a result similar to

$ curl https://dl.bintray.com/sbt/debian/

.work_1439324526009/
Packages
Packages.bz2
Packages.gz
Release
Release.gpg
sbt-0.12.4.deb
sbt-0.12.4.deb.md5
sbt-0.13.0.deb
sbt-0.13.0.deb.md5
sbt-0.13.1.deb
sbt-0.13.1.deb.md5
sbt-0.13.2.deb
sbt-0.13.2.deb.md5
sbt-0.13.5.deb
sbt-0.13.5.deb.md5
sbt-0.13.6.deb
sbt-0.13.6.deb.md5
sbt-0.13.7.deb
sbt-0.13.7.deb.md5
sbt-0.13.8.deb
sbt-0.13.8.deb.md5
sbt-0.13.9.deb
sbt-0.13.9.deb.asc
sbt-0.13.9.deb.md5
sbt-0.13.9.deb.md5.asc

)

If not, then manually copy the root and intermediate certificates of dl.bintray.com by copying the attached certificate (unzip pem files.zip) then running the commands below
openssl x509 -in gw.crt -text >> /etc/ssl/certs/ca-certificates.crt

See if your issue has been resolved

If it is still not resolved, then we suspect that your Operating System came with one of outdated root and intermediate certificates for dl.bintray.com. Please run the following command and send us complete result:

openssl x509 -in /etc/ssl/certs/ca-certificates.crt -text -noout

It could be because of the wrong date as well. Try updating the system date and then re-run the apt-get update.

I had the same problem. I figured out that my company blocks https://dl.bintray.com/sbt/debian
Try with another network.


Govtool Wrapper

[add description] @MSzalowski @kickloop

Changes already introduced on feat/695-govtool-wrapper: Wallet-connect, CSL, communication/state management are to be merged to this branch

To be done in a new scope


Feature/expect api

Coverage decreased (-15.1%) to 75.84% when pulling fdb50153675a6316a82adee1b0272936e1926906 on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-15.1%) to 75.84% when pulling 089a5888a1779b64082caa067b36d06706651cfd on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-12.9%) to 78.05% when pulling c9cdd15bf4e8695f9dd2fcdd746bc8bf8fa7698d on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-14.74%) to 76.2% when pulling ab391a03037560a96b2d659b808010a263cade5b on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-21.63%) to 69.32% when pulling f861bcfc63a54c3bb2991c507e543cdec2c59d9e on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-21.12%) to 69.83% when pulling 404ce401c054154013bda3b6c44b7e8c0f29f000 on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-14.19%) to 76.75% when pulling 4bcbafc0a9c24ea95fdf9a9bec96f18dc7679cdd on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-14.19%) to 76.75% when pulling 97a0d68e3c3387fb6f222b9f5467e05d146a9852 on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-13.98%) to 76.97% when pulling 97a0d68e3c3387fb6f222b9f5467e05d146a9852 on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.

Coverage decreased (-11.73%) to 79.21% when pulling 9caaacfe8ee3687cf1769d354726c2b3a457f671 on feature/expect-api into 4d0b4a9001722977af1088099a4cc4b945696876 on develop.


SmartSelect: Inconsistent behavior in json strings

VSCode Version: 1.34.0 Insiders (fresh install, no Extensions)
OS Version: Linux
Language Mode: Json (unless stated otherwise)

Often editor.action.smartSelect.expand does not behave in a useful way, i.e. it does not respect word boundaries or quotes.
I have read that smartSelect implementation got simplified and extensions should provide fine grained selection increments, but some selection increments seem to be inconsistent, not helpful or just wrong and not just not fine grained enough.
Also json should work out-of-the-box (at least I did not find working language support)?

Below are some cases to document the behavior:
{
    "line1": "OneTwo.ThreeFour",
    "line2": "one-two.three",
    "line3": "one-two-three",
    "line4": "one=two!three",
}

In each line I put the cursor on each word one, two, three, ... and trigger Expand Selection.
Word boundaries is the default setting of ~!@#$%^&*()-=+[{]}\\|;:'",.<>/?.
Here is what happened and what I would expect to happen. Brackets indicate the selection after triggering Expand Selection:

Line 1:

One: There are actually different behaviors for different Language Modes:

Markdown text: "line1": "[One]Two.ThreeFour". OK. Everything works fine here. It behaves like double clicking (see note below).
Markdown json fenced codeblock: "line1": ["One]Two.ThreeFour". Wrong. Left selection boundary outside quotes.
Json Language Mode: "line1": "[OneTwo.ThreeFour]", OK. Selects inside quotes. Though one extra step on word boundaries would also be nice. I did not expect that this would behave differently from fenced codeblocks.

Two, Three:

"line1": "One[Two.Three]Four", Unexpected. Seems to select CamelCase. I would expect it to select inner quotes or word boundaries.
Triggering again gives "line1": ["OneTwo.ThreeFour"], OK. Next select is outside quotes. I would expect inside quotes first, but it is ok.

Four: "line1": "OneTwo.Three[Four"], Wrong. Right selection boundary outside quotes.

Line 2:

one: "line2": "[one-two.three]" Ok. Selects inside quotes
two, three: "line2": "one-[two.three"] Wrong. Right selection boundary outside quotes.

Line 3:

one: "line3": "[one-two-three]" Ok. Selects inside quotes
two: "line3": "one-[two]-three" Ok. Selects word

Except if the cursor is between o and -. "line3": "[one-two-three]"Inconsistent. Then it selects inside quotes.

three: "line3": "one-two-[three"] Wrong. Right selection boundary outside quotes.

Line 4:

one, two, three: "line4": "[one=two!three]", OK. Selects inside quotes. Does not respect word boundaries though.

It seems that CamelCase and - count as a boundary, but . and other word boundary characters do not.
Note: Selection by double clicking works as expected:

It selects word parts stopping at word boundaries.
It selects CamelCase as a whole.

Indeed, it's annoying not being able with editor.action.smartSelect.expand to select inside quotes for cases like this:
"editor.tabSize"

which results, when the cursor is anywhere around Side, in:
"editor.tab[Size"]

where [...] is the selection.

Fixed by https://github.com/microsoft/vscode/commit/81380bb822effd42006764f81ffaabeff4745009

two, three: "line2": "one-[two.three"] Wrong. Right selection boundary outside quotes.

I can still see this happening

@rebornix I can't reproduce this. What version do you see it? Is the editor in JSON mode?

It's the default smart selection provider which struggles with special word rule that JSON has (" are part of the word/token)


hack-manager.js Runtime Error

RUNTIME ERROR
hack-manager.js@home (PID - 6)
Failed to resolve module specifier "utils.js". Relative references must start with either "/", "./", or "../".
stack:
TypeError: Failed to resolve module specifier "utils.js". Relative references must start with either "/", "./", or "../".

Faced the same issue, had my scripts saved under a new folder named /auto.
I fixed it by changing line 2 to reflect that, shown below:
import { multiscan, gainRootAccess } from "/auto/utils.js";
If your script is saved under under another folder, change it to that.
If your script is saved on your root folder [home ~/]>, then try adding a forward-slash like this /utils.js
Hope this helps.


Clarify how base URI is handled as folder

Testing #143647
If the `baseUri` is a directory, relative paths in the markdown are resolved relative to that directory:

This seems to be determined by whether the baseUri has a trailing slash or not but I was first expecting you to figure this out just by the path and maybe fs.stat. I would clarify the requirement for a trailing slash if the base URI is a folder.

No we don't want to actually hit the file system for this. I'll clarify that it's just about ending with /


Paginate the wallet transactions api

Add parameters to the wallet transactions api to allow its results to fetched in pages. Ideally, the page parameter would be ID based - perhaps off of the txid.
So, if you wanted to fetch the 25 transactions prior to a transaction with the txid of 123, you would call:
/wallet/transactions?offsetId=123&limit=25
Also, please return the total transaction count in the payload, for example:
{
  transactions: [ ... ],
  count: 155,
}

Great suggestion @rmisio

Could this also please return the total transaction count? I've update the description to reflect this.

What's the count needed for?

The designs have it in the UI:

done


Moving how and where messages are formatted.  //todo format "plaintext" ...

...message

Further work done so closed request.


Make homebridge-eufy-security verified by Homebridge Team

https://github.com/homebridge/verified/issues/332

We get verified!
https://github.com/homebridge/verified/commit/d9e49f414b936ec8de4f5eecd837043405e7c942


feat(kit): new pipe HintErrorPipe

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

Closes #1399
Does this PR introduce a breaking change?

[ ] Yes
[x] No

How about we rename it to tuiFieldErrorContent pipe and put it in the same module?

Good idea 👍
Renamed and moved in TuiFieldErrorPipeModule


Suggestion

Could you benchmark against www.dragonflydb.io?

Want to run benchmarks for sure!
What's the ideal way to do this? Is there any standard practice?

I would start instrumenting your code by implement the metrics (OpenTelemtry), then you will be able to understand how your project behaves.
With that in place, you can write some K6 load tests and execute the same scripts against different projects: Redis, Valkey, and DragonflyDB.
I would start that with docker-compose as well, before a remote test.

Prometheus, Grafana, K6, Golang Open Telemtry SDK and Docker


Bug with Transitions Show vs {cond && }

Describe the bug
Adding this here just so it doesn't get missed in 2.0 or 2.x milestone if we're beyond 2.0 planning already, understand things are hectic with transition to basing on Astro at the moment. This is bug with transitions where using {cond && } behaves differently Show, the first doesn't use a transition (thus showing Suspense fallback) whilst the later does. Verified by modderme123 on discord
https://playground.solidjs.com/anonymous/e189bc58-107e-4886-a1ff-bc3bda646afe
Your Example Website or App
https://playground.solidjs.com/anonymous/e189bc58-107e-4886-a1ff-bc3bda646afe
Steps to Reproduce the Bug or Issue
Run both variants
Expected behavior
Expect Suspense fallback to never show as wrapped in a Suspense and startTransition
Screenshots or Videos
No response
Platform
1.7.6
Additional context
No response

What's interesting is that the Suspense tag does work when you wrap it around the RHost component within the Show:
https://playground.solidjs.com/anonymous/482502b6-ca66-4d84-b927-281b4fb6c322
As soon as you bring it out of it, promise lost:
https://playground.solidjs.com/anonymous/429e281a-4b7a-4c96-915e-a2ffca532ddc
Great find! 🔬

Yeah ... this is a problem with existing renderEffects not being queued again. Which is a necessity with the current setup but also means that any transition code needs to be wrapped in a Memo rather than directly in an effect.  Solid 2.0 does aim to solve this but this is a very blatant example. A quick fix would be to wrap ternaries/conditional in Memo's as well on DOM insertion. I can picture some more edge cases though. Like hoisted non-memoized conditional expressions. I think I'm ok with that. That would solve it mostly for now.


Is this deployed any blockchain network?

Yes. sure. It's going to be launched on Polygon Blockchain.

yes. but recently deployed on testnet. Please check this link.
https://mumbai.polygonscan.com/address/0x483da03A27c05b641609AE6c7d040558B582db03

Enjoy your time.

You too, man.


Unique song titles and files

Warn if a title or file is already in the list.

Yes, this would be great!


pallet-proxy: emit events on proxy added.

pls review :]

@shaunxw please run cargo fmt to make the CI happy :P

it seems CI is happy with format now

bot merge


Add description to sidebar

This makes it possible to add a small dashboard description to the top of the sidebar.

Codecov Report

Merging #457 (34a074a) into main (d52815c) will decrease coverage by 4.78%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #457      +/-   ##
==========================================
- Coverage   69.37%   64.60%   -4.78%
==========================================
  Files          78       78
  Lines        9032     8794     -238
==========================================
- Hits         6266     5681     -585
- Misses       2766     3113     +347

Impacted Files
Coverage Δ

lumen/layout.py
77.55% <66.66%> (-0.69%)
:arrow_down:

... and 51 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


(PUP-7258) Use native JSON parser and generator

Commit 30e0f1bcd was supposed to remove the json_pure dependency, but
due to a conflict when rebasing wasn't. As a result, puppet was using
json_pure instead of native json in some cases. It also exposed other
places where json_pure was being used:

Bundler within puppet uses Gemfile, which includes .gemspec
Bundler for a module that depends on a source checkout of puppet uses .gemspec
Packaging uses project_data.yaml when building puppet as a gem
Git acceptance on Solaris (10 and 11) install json_pure to satisfy
puppet's dependencies.

All traces of json_pure have been removed so that the native version
already present in ruby 1.9.3 and up is used.
These commits also restore the benchmark profiling rake tasks and adds a benchmark for comparing JSON and PSON serialization using a sample PE agent catalog.

Supersedes PR #5800


pretrained embedding

Is there a trained embedding so that we can get the embedding without retrain the parameters? We can do this by using nvidia instant-npg api

Do you mean pretrained checkpoints for these NeRF models?


⚠ SceneTime has degraded performance

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

HTTP code: 200
Response time: 1621 ms

Resolved: SceneTime performance has improved in 353873f after 3 minutes.


Add Char#==(other : String)

Until type-safe equality is implemented, small things like this can be easy to miss and cause confusion.
For example:
word = "the lazy dog"

if word[5] == "a"
  # doesnt run, can be hard to debug
end

if word[5] == 'a'
  # runs
end

This would probably check the other string length to see if it's one, and then run the normal Char equality with the char at 0.

I'm not sure this is a good idea. String and Char are substantially different types. They can represent the same value in different way, which can cause confusion.
If we do this, the inverse (String#==(Char)) should implemented as well.


cron # BLOCKED haskell-src-exts 1.18 via derive

Hi. I don't think I understand what this means. I don't see any relation between cron and haskell-src-exts, at least immediately. And also I just checked, cron builds well under nightly from its github source and as a hackage package, so should I PR its support back?
Message in https://github.com/fpco/stackage/issues/1907#issuecomment-248698423 says:
        # - cron # BLOCKED haskell-src-exts 1.18 via derive

Thanks!

The test suite depends on derive, which depends on haskell-src-exts.
On Thu, Sep 22, 2016 at 9:17 AM, Kostiantyn Rybnikov <
<EMAIL_ADDRESS>wrote:

Hi. I don't think I understand what this means. I don't see any relation
between cron and haskell-src-exts, at least immediately. And also I just
checked, cron builds well under nightly from its github source and as a
hackage package, so should I PR its support back?
Message in #1907 (comment)
https://github.com/fpco/stackage/issues/1907#issuecomment-248698423
says:
    # - cron # BLOCKED haskell-src-exts 1.18 via derive

Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/1915, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBB4IAaX_erVZdenfyz8eFvNN70KCcks5qsh2LgaJpZM4KDj13
.

Thank you very much

But I can't explain why stack build --test cron --resolver nightly-2016-09-21 doesn't give an error.

Interesting. stack init does discover the problem:
$ stack init --resolver nightly-2016-09-21
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- cron.cabal

Selected resolver: nightly-2016-09-21
Resolver 'nightly-2016-09-21' does not have all the packages to match your requirements.
    derive not found
        - cron requires -any
    Using package flags:
        - cron: lib-werror = False

This may be resolved by:
    - Using '--omit-packages to exclude mismatching package(s).
    - Using '--resolver' to specify a matching snapshot/resolver

I believe what's happening is that:

cron is added as an extra-dep implicitly
extra-deps never have their test suites built


The reference assemblies for .NETFramework,Version=v10.0 were not found.

https://github.com/royd/KotlinAppWithXamarinDependency/blob/c9322a77348f9f8b49be1d219dc0711787fde0c4/xamarin/build.gradle#L118
https://github.com/royd/KotlinAppWithXamarinDependency/blob/c9322a77348f9f8b49be1d219dc0711787fde0c4/xamarin/build.gradle#L129
At the end of these two lines you added the following:
"/property:TargetFrameworkVersion=$xamarinTargetFrameworkVersion"

which references
String xamarinTargetFrameworkVersion = "v10.0" // Corresponds to compileSdkVersion

but when I compile with that last flag I get the error in this issues title:

"/Users/v/dev/.../code.csproj" (default target) (5:2) ->
/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1193,5): error MSB3644: The reference assemblies for .NETFramework,Version=v10.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/Users/v/dev/sk/starkit/xamarin/hiaservicelibrary/HIAAsAService/ActivityTracker/ActivityTracker.csproj]
15 Warning(s)
2 Error(s)

Time Elapsed 00:00:22.28

I think this is the incorrect flag.
removing this flag from the msbuild args yields the following error:

Microsoft.NuGet.targets(186, 5): Your project does not reference "MonoAndroid,Version=v10.0" framework. Add a reference to "MonoAndroid,Version=v10.0" in the "TargetFrameworks" property of your project file and then re-run NuGet restore.

I can't seem to figure out why this is the case, I have run NuGet Restore and confirmed that there is a dependency on MonoAndroid.
Oddly, Visual studio does seem to have a dependency with v<IP_ADDRESS>

Could you paste the contents of your About Visual Studio information? Visual Studio -> About Visual Studio -> Show Details.

Could you paste the contents of your About Visual Studio information? Visual Studio -> About Visual Studio -> Show Details.

Likely due to not having the development environment set up.

Likely due to not having the development environment set up.

Sorry for the delay.
I was able to get  past this issue.
originally I had this in my .csproj:
<Reference Include="Mono.Android" >
    <Private>True</Private>
</Reference>

When I changed it to omit Private like this
    <Reference Include="Mono.Android" />

it was able to work.
that said, these
"/property:TargetFrameworkVersion=$xamarinTargetFrameworkVersion"

flags need to be removed in order to compile.

Sorry for the delay.
I was able to get  past this issue.
originally I had this in my .csproj:
<Reference Include="Mono.Android" >
    <Private>True</Private>
</Reference>

When I changed it to omit Private like this
    <Reference Include="Mono.Android" />

it was able to work.
that said, these
"/property:TargetFrameworkVersion=$xamarinTargetFrameworkVersion"

flags need to be removed in order to compile.


[Web] [CanvasKit] App does not react to window size change

[✓] Flutter (Channel master, v1.14.7-pre.83, on Mac OS X 10.15.2 19C57, locale en-CH)
    • Flutter version 1.14.7-pre.83 at /Users/ben/flutter
    • Framework revision e10df3c1a6 (2 days ago), 2020-02-01 11:23:01 +0800
    • Engine revision e625e174c5
    • Dart version 2.8.0 (build 2.8.0-dev.6.0 5ae5aff640)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/ben/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (4 available)
    • iPhone von Ben • 00008020-001411040CF2002E • ios            • iOS 13.3
    • macOS          • macOS                     • darwin-x64     • Mac OS X 10.15.2 19C57
    • Chrome         • chrome                    • web-javascript • Google Chrome 79.0.3945.130
    • Web Server     • web-server                • web-javascript • Flutter Tools

• No issues found!

App reacts on manual resizing, but doesn't when using 'Maximize/Restore down' button

It does for you? With the skia backend?

@cbenhagen
I mean this behavior

@VladyslavBondarenko are you really using the skia backend? As in running with:
flutter build web --dart-define=FLUTTER_WEB_USE_SKIA=true --profile?

@cbenhagen no, I simply run via Android Studio (like flutter run -d chrome command)

Then you are running it with the html backend. This issue is about the skia / CanvasKit backend. Please leave the e: web_skia backend label.

@hterkelsen the fix from https://github.com/flutter/engine/pull/16525 does only seem to work in Chrome. Firefox and Safari still show the same behaviour.

Oh, or did it just not roll into the master channel yet?


Add Randall Degges Blog

Added Randall Degges blog to "geeky persons"

Hi, just wondering when this will be merged? Thanks!

Thank you!

Is there an ETA when this will be merged? Thanks

Top

Good

Good

Awesome, can we merge it please?

Hi, when will this be merged? thanks


Add command to post a message to an html preview document

Bug
There is currently no easy way to communicate from the editor to an html preview document after the preview has been created.
Fix
Adds a command called vscode.htmlPreview.postMessage to post a message to a visible html preview. This message will only be posted if the target preview is visible (meaning this is mainly for side by side editor use cases).
Inside the preview, the event is recieved using the standard dom event:
window.addEventListener('message', event => {
	console.log(event.data);
	...
}, false);

There is currently no easy way to communicate from the editor to an html preview document after the preview has been created.

TBH that's the idea of the preview command. It's a fire and forget command to preview a string as html, not a PreviewPart that you can interact with. I am against adding more commands around this.
It seems to me we are trying improve Markdown but need new API for each feature. So we can either add more APIs for this (special) case or we simply move Markdown back into the core.

I've implemented some generic code to provide a similar feature here. It uses websockets to send & recieve messages. Maybe it should be spun off into a standalone library via npm or as an exported extension API?
Supported functions:

eval: run arbitrary javascript in the hosted html
setSourceHTML: load the provided html
setSourceUri: navigate to the provided url
goto: scroll to the given anchor (and optionally highlight the anchor)
send: post a message to the document
onData (event): called when the hosted document posts a message
provideSource: return an html document or uri in case vscode wants to reload the document


"null" ref in onDragStart

I need to get the width of the DOM element in the "onDragStart" event. And I pass "ref" in the "data" object. But I don't know why always on first time the "ref" is "null". Any other "onDragStart" event show correct "ref". Is this some kind of bug? Or maybe I am doing something wrong?
Sandbox: https://codesandbox.io/s/jovial-cookies-etpd8s
Variable: args.active.data.current.refOne is null on first time

Is this some kind of bug?

No, this not a bug, it's the way React.js works. I'll try to explain why and I'll give you a solution:
On the first render, you are passing a null value to useDraggable's data, because the hook is taking the value before the div had a chance to set the ref.
Then, only on the second render, the hook recomputes the value you are passing him and have a truthy ref.
In order to get the ref value without awaiting for a second render, you can give the entire ref object to useDraggable which won't be null on the first render. Here's how to do it.
The important part:
export default function Draggable(props) {
  const r = useRef(null);

  const { attributes, listeners, setNodeRef, transform } = useDraggable({
    id: "draggable",
    data: {
      refOne: r // here, pass the whole ref
    }
  });
  const style = transform
    ? {
        transform: `translate3d(${transform.x}px, ${transform.y}px, 0)`
      }
    : undefined;

  return (
    <button ref={setNodeRef} style={style} {...listeners} {...attributes}>
      <div ref={r} />
      Text
    </button>
  );
}

Now I understand. The problem is that "null" is not a reference.
Thanks for the help.


Class 'MetacriticAPI' not found

Hi,
I put my test file aside the metacritic.php with all the libs in correct place bt I can't got it work , I have this error :
Class 'MetacriticAPI' not found in /homepages/28/d848108401/htdocs/cron/metacritic/example.php:7
can you help me ?

Try to add the following line above the include in the example.php file:
namespace MetacriticAPI;

Hi danger89 ! Thank's a lot for this solution ! I have a new error now :
Class 'MetacriticAPI\Unirest\Request' not found in /homepages/28/d848108401/htdocs/cron/metacritic/metacritic.php:
maybe I need to do something with unirest ?

Herm sadly I don't know what to do :/ There is no way to solve this problem ? :/

I think I fixed it all.
Please get the latest code from master branch:
git reset --hard
git pull

Working example:
https://test.melroy.org/example.php


[incubator/jaeger] Increase default deadline for cassandra schema job

What this PR does / why we need it:
Upon initial deployment it could take a few minutes for the Cassandra to be up, oftentime the schema job times out before.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
I believe someone opened a PR like this before, but had not signed the DCO so it expired
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @pavelnikolov

This chart has been deprecated / moved: https://github.com/helm/charts/commit/42892c2304f89d389ab7cd747d591d876fadb0e5


Add support for Github Enteprise

Which basically goes down to be able to redefine the api_url.
No configuration needed everything boil down to be able to parse properly the
webhook which has the host information of where it's come from
Signed-off-by: Chmouel Boudjnah<EMAIL_ADDRESS>

Codecov Report

Merging #123 (7310ad7) into main (d2e50f3) will decrease coverage by 0.07%.
The diff coverage is 53.84%.

@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   74.28%   74.20%   -0.08%
==========================================
  Files          12       12
  Lines         766      787      +21
==========================================
+ Hits          569      584      +15
- Misses        134      139       +5
- Partials       63       64       +1

Impacted Files
Coverage Δ

pkg/webvcs/github.go
68.00% <50.00%> (-0.81%)
:arrow_down:

pkg/pipelineascode/acl.go
71.73% <60.00%> (-1.44%)
:arrow_down:

pkg/resolve/resolve.go
91.54% <0.00%> (+1.22%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2e50f3...7310ad7. Read the comment docs.


🐛 Fixed error on saving a paid member

refs https://github.com/TryGhost/Team/issues/1435
refs https://github.com/TryGhost/Admin/commit/f5f69d01b16cc2ed6c523258cdc47a818da71cd1
A recent change for showing all subscriptions of a member on detail screen introduced a circular json structure with subscription -> tiers -> subscriptions, which throws an error on saving any member with paid subscription on member detail screen.

Codecov Report

Merging #2312 (80bdba8) into main (bf88e8e) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2312      +/-   ##
==========================================
- Coverage   41.19%   41.17%   -0.03%
==========================================
  Files         579      583       +4
  Lines       22681    22702      +21
  Branches     4022     4022
==========================================
+ Hits         9343     9347       +4
- Misses      13338    13355      +17

Impacted Files
Coverage Δ

app/components/gh-member-settings-form.js
64.04% <100.00%> (-0.40%)
:arrow_down:

app/components/gh-image-uploader.js
94.00% <0.00%> (-1.34%)
:arrow_down:

app/components/dashboard/dashboard-v5.js
7.69% <0.00%> (ø)

app/components/dashboard/v5/members-counts.js
33.33% <0.00%> (ø)

app/components/dashboard/v5/members-email.js
33.33% <0.00%> (ø)

app/components/dashboard/v5/members-engagement.js
33.33% <0.00%> (ø)

app/components/gh-notification.js
100.00% <0.00%> (+4.54%)
:arrow_up:

app/transforms/member-product.js
100.00% <0.00%> (+9.09%)
:arrow_up:

app/transforms/member-subscription.js
100.00% <0.00%> (+9.09%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf88e8e...80bdba8. Read the comment docs.


Consider using the Mid Statement

Hi Matt. I'm not sure if you are maintaining this repo but you could make the builder much faster by using the Mid statement on the left side of the operation. Take a look at my repo. I've build a Java-like class using predominantly the Mid statement. I only use CopyMemory for really large chunks (in Insert/Delete methods only) where the tests showed that Copymemory outperforms Mid. In rest the Mid statement is much faster.

Thanks! I've indeed pretty much abandoned this repository (got something else in mind, next blog post will touch on it!).
Funny you poke me here & now: I was refactoring the MVVM infrastructure code this weekend and figured I'd use a StringBuilder to implement some classes' ToString debug-helper method... I ended up embedding this code (with minor no-op tweaks), because AppendFormat alone is 100% worth the .NET/COM interoperability overhead, but I absolutely agree... the world needs a performant and all-VBA (for cross-platform /Mac) StringBuilder implementation that's just out there to grab and use in any VBA project!
Looks like that's a solid implementation you got there, I do have plans to use api.rubberduckvba.com to host a number of features Rubberduck can tap into as a client: package manager -like functionality (nuget, npm, etc.) would be one of them: it's sorely missing in VBA-land and I think it's 100% in-scope for Rubberduck to also extend the VBE in that direction... and there's definitely going to be a fully open-source StringBuilder class offered. Let me know your thoughts and I'll keep you posted with how things are moving if you want!

The AppendFormat is really cool. Totally worth it. I remember playing with similar functionality in SWIFT a few years ago.
A package manager in VBA would be pure gold. Can't wait to see that. I need to reinstall Rubberduck (I had crash issues in 2018 and unninstalled it back then). I've read that you have Source Control in mind as well. Awesome stuff.
Regarding open-source libraries and tools, I would definitely like to contribute if that's an option. Please keep me posted or let me know where I need to subscribe or what to follow to keep myself informed.
Now that you've mentioned this, I always found that data manipulation in VBA is not straightforward due to lack of libraries. Have a look at this repo. Has some Excel functionality as well but the main module/library is code that can be used in any VBA-capable application. Traversing multi-dimensional arrays row-wise (recursively) or column-wise, filtering, sorting, slicing and so on. Might be useful to add something like this to RD.


Need to add step to inform user to stop Pet Clinic App before setting up Telemetry

Describe the bug
Before proceeding with https://signalfx.github.io/observability-workshop/v4.17/pet-clinic/docs/apm/#auto-instrument-with-splunk-opentelemetry users need to stop the application they started in the previous step, but this is not made clear (yes it should be obvious but we know that does not always work)
To Reproduce
Steps to reproduce the behavior:

Go to https://signalfx.github.io/observability-workshop/v4.17/pet-clinic/docs/apm/#auto-instrument-with-splunk-opentelemetry
Unable to proceed as App is still running

Suggested Fix
Simply add an instruction to terminate app before proceeding with Auto-Instrumentation and maybe an explanation why

Perfect