[WIP][RFC] Refactorings

This adds some fixes and refactorings for multi-images. boot_serial support for multi-images is added with commit https://github.com/JuulLabs-OSS/mcuboot/commit/ceea2b933188edc2d7777e792b1436413324901d and related newtmgr (and mcumgr later) change is https://github.com/apache/mynewt-newtmgr/pull/143

Looks really good. The only suggestion I'd have would be to swap the "Fix dependency check infinite loop" and "Uncomment hold and add correct upgrades", since as they are, if a bisect hits the "Uncomment..." change, the test will lock up.

Btw, had to update 020b707d3369275669238ff08ee7f650788b1058 to leave boot_swap_type there because mcumgr and newtmgr need it, while they have not been updated for multi-image compatibility ("We don't break the userspace"!). The bootloader itself still only uses boot_swap_type_multi(<image-number>).

@nvlsianpu @d3zd3z I removed the "WIP" here; the issues were addressed, I think it will be more productive to merge this and focus on thoroughly reviewing the dependencies and encrypted multi-images afterwards. I removed the WIP in the commit that fixes the dependencies on the simulator (it looks ok, I just rewrote the test to follow the previous logic). I added a few commits, with fixes to swap (as reported on #427) and related documentation, plus a few formatting issues...


feat!: Improve consistency with nwidart.com/laravel-modules

in nwidart/laravel-modules, module name is always the last argument in generators:
https://nwidart.com/laravel-modules/v6/advanced-tools/artisan-commands#:~:text=artisan module%3Aupdate Blog-,Generator commands,-module%3Amake-command

@tomgrv Thanks for your contribution. I'll check and merge this PR.


Keep background music playing when switching to .videoWithMic

I am using this library and so far it works great. Thank you for providing such a valuable library.
Currently, I am facing one issue. I have a button "Photo" and a button "Video" which switches between the cameraOutputMode, setting it to .stillImage and .videoWithMic respectively. However, as soon as I go into the video mode (.videoWithMic), any music playing in the background, either from Apple Music, Spotify, ... stops playing. Is there any way I can avoid this? I have tried setting up the AVAudioSession like so in either didFinishLaunchingWithOptions and in the function that sets the cameraOutputMode to .videoWithMic:

do {
        try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
        try AVAudioSession.sharedInstance().setActive(true)
    } catch let error {
        print(error.localizedDescription)
    }

But this does not work. I also tried .playback, .playAndRecord and .record in the AVAudioSession. Also tried .mixWithOthers. Any suggestions?

@pennywise94,
when you use the system camera that's also what happens, and since we are using AVFoundation for controlling the camera, the CameraManager will mimic the system camera behaviour.

Somebody needs to find the solutions coz there are some apps that can do it


copied in XSTS open-sourcing files and readme from previous attempt

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[ ] Did you read the contributor guideline?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Looking to open-source some additional XSTS materials related to translation and the NLLB project.
I have an approved SRT
Might need feedback/edits for formatting / citation forming / licensing consistency with the rest of the public NLLB cite.


what is the default password for rspamd or how to define one?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Just stumbled at domain.tld:81/rspamd and need a password:

Describe the solution you'd like
A clear and concise description of what you want to happen.
Googling and inspecting source code didn't give me a clue what to do here...
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Not really critical, just curious; is information about this omitted, and if so, why?

Hi @kklepper
see https://github.com/jeboehm/docker-mailserver/wiki/Configuration-variables.
It's the CONTROLLER_PASSWORD environment variable.

Oh, I see, thank you.


chart component not working inside modal component

I'm trying to make strike_chart inside strike_modal, but when I open modal chart isn't rendered, only x-axis label and border, but no chart.
Data is provided, as I have same line of code outside of modal and chart works perfectly.

@matejp84 Thank you for logging this.
I tried to reproduce this one, but was unable to do it.

Maybe the way you are passing data to the component is causing the issue on your side.
Please try doing it like this:
• Define an attribute for data:
<aura:attribute name="data" type="Map[]" default='[{"x":"Kosovo","y":3256},{"x":"Germany","y":2119},{"x":"Canada","y":1269}]' />
• Pass data attribute to the component:
<c:strike_chart
type="bar"
data="{!v.data}"
title="Average Score"
leftSubtitle="Score Period"
rightSubtitle="5 Oct 2017"
orientation="vertical"
xAxisLabel="Country"
yAxisLabel="Score"
thresholdLabel="Threshold"
thresholdValue="2133" />
Let us know if you are still having issues with it.

Actually I discovered, that chart was on modal, but it's width and height was 0px, 0px, so it was never rendered.
Can you share your html you used to embed chart into modal?

@matejp84 Here is complete example:
<aura:attribute name="showModal" type="Boolean" default="{!true}" description="Determines whether modal is displayed"/>
<aura:attribute name="data" type="Map[]" default='[{"x":"Kosovo","y":3256},{"x":"Germany","y":2119},{"x":"Canada","y":1269}]' />
<c:strike_modal aura:id="chartModal" title="Data" showModal="{!v.showModal}">
	<c:strike_chart
		type="bar"
		data="{!v.data}"
		title="Average Score"
		leftSubtitle="Score Period"
		rightSubtitle="6 Oct 2017"
		orientation="vertical"
		xAxisLabel="Country"
		yAxisLabel="Score"
		thresholdLabel="Threshold"
		thresholdValue="2133" />

	<aura:set attribute="footerButtons">
    	        <lightning:button variant="brand" label="Got It"/>
	</aura:set>
</c:strike_modal>

Please let us know if you are still having issues with it.


feat: 88 add dataset_id to the metadata endpoint

Reviewers
Functional:
@seve @MillenniumFalconMechanic

Changes

Adds the dataset_id to the metadata endpoint

Just checking what are we using the dataset id for? if it is to link to the explorer we should use the explorer_url instead bc there are datasets that dont use the id in the url

@MillenniumFalconMechanic do you know? Madison has a good point.

We need a mechanism to filter out the current dataset from collection_datasets array so we can display only the sibling datasets in the dropdown menu.


Ease quickwit configuration

Issues closed by this PR

#915
#896
#932

Description
The goal of this PR is to make quickwit configuration easy for a new user, it's very user-friendly oriented.
1. A quickwit config file for all commands
This PR introduces a quickwit config file that corresponds to the previous server_config.yaml. Its primary goal is to define the main variables used by all or almost commands:

the `metastore_uri``
the data_dir_path

I moved the data_dir_path as a global variable as I considered it useful for many commands.
The config file contains also the indexer/searcher config parameters if the user wants to start these services.
Moreover, to make it easy to start with quickwit (and similar to other big project config setup), the user can run the following commands:
quickwit service run searcher # <-- by default it will load the config file in ./config/quickwit.yaml
quickwit service run searcher --config-uri ./config/quickwit-node-1.yaml
QUICKWIT_CONFIG_URI=./config/quickwit-node-1.yaml quickwit service run searcher

2. A default metastore_uri and index_root_uri useful at index creation
When the user wants to create an index, it's good to have nice defaults AND to have a config independent from local environment.
The defaults are:

metastore_uri: CWD/metastore
default_index_root_uri: CWD/data/indexes: I'm hesitating with this default, putting indexes dir at root level is also ok. I like having one data directory. I don't think this is a big issue as tutorial will end up putting indexes in dedicated directories on s3.

The create command in its simplest form is:
quickwit index create --index-id wikipedia

You can also specify the index-uri if needed.
3. Node id
As discussed here #916, I changed host_key into node_id specified in the config file. So don't need to save it in the data dir.
4. A conf file to start with.
The goal of this config file is to shipped in the tar.gz: https://github.com/quickwit-inc/quickwit/blob/7a9ab3a91ad3497b2a7cbecf6c650436dcf3662a/config/quickwit.yaml

@fulmicoton @guilload stable version. Have a look.

Putting more thoughts into this, I'd remove the default env var QUICKWIT_CONFIG_URI in the CLI and check it as part of the default routine:
fn default_config_uri() -> Uri {
  if en.get('"QUICKWIT_CONFIG_URI"):
    info("Using config file `{}` from env var")
    return ...

  for extension in ["json", "yaml", "toml"] {
    if cwd.join(f"quickwit.{extension}").exists():
      info("Using config file `{}`")
      return ...
  }

  return Exception("Unable de locate configuration. Please, consult the documentation for ..." + Link to docs.")
}

Putting more thoughts into this, I'd remove the default env var QUICKWIT_CONFIG_URI in the CLI and check it as part of the default routine:

I was wondering how to do it better because I had issues with a QUICKWIT_CONFIG_URI set but empty, it's nice to check that in a dedicated routine and log that.
Thanks for the very helpful review.

I think we are not far merging...
I will set the default metastore uri in data/metastore. So now to quickly start, we only need 2 paths:

the config file path
the data dir path

With that, we can deduce easily everything else. Basically I'm already happy with that.
But In this PR, I also use the CWD path to guess the config file and the data dir if they are not given. @guilload is not very fond of it so we can first explicitly define the config file path (--config-uri or QUICKWIT_CONFI_URI).
For the data path, we can also be explicit and possibly override the config file by setting it with --data-dir or QUICKWIT_DATA_DIR and we are good.

Looking at tikv or meilisearch, they are taking the CWD, still hesitating....

Last stab made after some interesting thoughts from @guilload

--config is now mandatory. That is the unique required CLI argument. We can provide a quickwit.sh that will set the env variable if needed.
data directory was renamed into qwdata following what Materialize is doing. I like this choice as it make the name pretty uniq
env variables are renamed to to follow Materialize pattern, there are two variables: QW_CONFIGand QW_DATA_DIR
the data dir is by default ./qwdata. I would be very happy to keep that for 2 reasons: first no need to set it, and secondly it is very nice in the code to because I deduce several settings from it like the metatstore. Having it as ./qwdata is really nice because it cannot fail.
a default_index_root_uri setting has been added to the config file
index-config-uri -> index-config and config-uri -> config which is very nice too
For the moment I kept the toml/yaml/json.

Generally speaking I think we are needless verbose in many arguments. index-id -> index.

Oh yes, I like this one. @guilload ok for you?


Rust SDK for Google Cloud Spanner?

Hi, are you planning to make a Rust SDK for Google Cloud Spanner? Was not sure where to ask this question.

Spanner PostgreSQL interface databases allow you to connect clients via the PostgreSQL wire protocol, in addition to supporting a broad subset of PostgreSQL schemas and queries. We’ve had at least one customer who has successfully hooked up the PostgreSQL Rust driver this way.
In general, low-level drivers that provide a thin wrapper around the query interface should work out-of-the-box with Spanner. Higher-level tools and ORMs that build PostgreSQL syntax queries and access PostgreSQL-specific metadata may not work as well today with Spanner. We’re working to expand this coverage.

@dotjon0 we will share here once we have plans for it.
Closing this for the time being.


support for immunity to game effects

Several cards support some sort of immunity to some or all game effects. In the current meta we have at least the following occurrences of this:

immune to opponents' events
immune to Omen card effects
immune to opponent's character abilities
immune to opponents' plot effects
immune to card effects
immune to opponents' triggered effects
immune to events
cannot be knelt by card effects (Ygritte)

We need a generic mechanism to:

allow cards to declare what they are immune it, possibly temporarily
allow game effects (or their enacters) to query target cards for immunity and skip effect application if so

The main difficulty is that immunity seems in most cases to be dependent on who is the origin of the effect (as type of card and possibly its controller). This gets in the way of the current style of coding cards where card implementations directly do calls like player.killCharacter(card) without passing around the information about who is commanding the kill.
That will need to be reworked, by either passing around "this" as event originator where needed, or by passing through a higher-level of abstraction that will check immunity before actually delivering the effect.
This is going to be a pain fun :-)

In terms of providing the immunity, we'll need to introduce a new effect (or set of effects). Since immunity is provided by card text, can be provided from one card onto another (e.g. Maester Luwin giving Bran "immunity to plot effects"), and can be blanked like other abilities, it can be activated like any other effect.
We should probably code it such that there's a generic effect that takes a function w/ parameters for the source card and the type of ability it is ('action', 'reaction', etc). With the generic one in place we can write effects that use it for the more common cases.
Some potential examples:
// Craster
this.persistentEffect({
    match: this,
    effect: ability.effects.immuneTo((source, type) => source.hasTrait('Omen'))
});

// Maester Luwin
this.persistentEffect({
    match: (card) => card.name === 'Bran Stark',
    effect: ability.effects.immuneToPlotEffects()
});

These effects should push the appropriate immunity function onto an array on the card (since you could potentially get multiple immunities). Then whatever method that does the kill (or any other action that is subject to immunity) can exclude any cards who has an immunity function that returns true.
class DrawCard {
    isImmune(source, type) {
        return _.any(this.immunities, immunity => immunity(source, type));
    }
}

// The thing doing the kill
if(card.isImmune(this.source, this.type)) {
    return;
}

// do the kill

(This is all of course the easy part)

For added "fun", my understanding of the Target and Immune rules is that you cannot choose an immune card as target for some ability. In terms of best possible Throneteki gaming experience, that would mean that immunity should be taken into account also when:

condition predicates are checked
promptForSelect() is used, to disallow choosing immune cards

(there might be more cases like these)
In terms of coding, we certainly want to avoid having to manually check immunity in all occurrences of the above cases. So it should be handled by the game framework.

Here's a wacky idea: maintaining a stack of the cards whose effects are currently being resolved. A card get pushed on the stack when one of its ability is triggered and removed after the effect has been completely resolved. In its most general form it needs to be a stack due to Nested Ability Sequence.
The stack will be modified only by the core game engine itself. The implementation of individual effects will be allowed only read-access to the stack. But that should be enough for methods like killCharacter() (or any other effect-implementing method, really) to check if the target card is immune to effect coming from the currently topmost card on the stack.
This will remove the need of passing around the origin of effects everywhere, starting from card implementations.
And yes, it is stateful. But it is a state that is maintained only by the Throneteki kernel. Everything else access it read-only, so it shouldn't introduce nasty side-effects everywhere.
Thoughts?

Hmm. A stack like that may actually work. With the introduction of the cost property on actions / reactions, all non-effect abilities go through AbilityResolver now. That would be the perfect entry point to push / pop from the stack. Then, as you said, methods that need to check immunity can look at the top of the stack. There may be some edge cases where the effects engine may need to modify the stack (mostly the 'at end of phase, kill this character' type effects), but we may be able to work around those.
re: targeting + immunity, I'm probably going to attempt adding a target property on actions / reactions. This should clean up a LOT of repeated usages of this.game.promptForSelect() and allow us to centralize immunity rules for targeting.

With All Men Are Fools there's now a new use case (which I've added to the first comment here): "Ygritte cannot be knelt by card effects". This makes immunity conditional to what the effect actually does — kneeling the card in Ygritte's case.

@ystros so are you officially sold on the stack idea?

Added The Eyrie as use case, with its "Until the end of the phase, that character cannot be killed."

@zacchiro Per your suggestion, I think the way forward here will be to consolidate 'cannot' effects with 'immunity' (Ygritte seems to make this mandatory).
As far as I can tell, the main difference seems to be that 'cannot' specifies a specific thing that isn't allowed, while 'immune' specifies the cards not allowed to affect the current card. Ygritte is weird in that it specifies both (kneel from card effects) despite using 'cannot.'
            Effect      Effect source
immunity:   all         X
cannot:     X           cards or framework
Bran+Luwin: all         opponent plots
Eyrie:      kill        cards or framework
Craster:    all         Omen cards
Ygritte:    kneel       cards only

If we use this basic framework, we could also add a property to card select prompts to specify the effect type that will automatically filter out immune/cannot X cards.
I still think the stack is our best bet, but am unsure about what edge cases may crop up. For example, immunity does not prevent a thing from happening if it's part of a cost, only effects. So with the stack you may have to worry about scenarios where one card ability triggers which then mid-effect triggers another interrupt/reaction that requires an immune card to pay a cost. The immune card would see the previous card at the top of the stack thereby preventing the cost from being paid. I can't think of a scenario in which this is possible currently, but it seems like it will be possible.
Having typed all of this, I just realized another important difference between 'cannot' and 'immune': cannot is absolute, so they can't be used for that type of cost at all, whereas immune cards could be.

Closing this as it's either done or able to be done now :+1: :)


(QENG-5135) Bump ezbake to 1.1.10

Test FAILed

CLA signed by all contributors.

@demophoon you've got two open PRs with this title -- not sure which is which

@puppetlabs-jenkins retest this please

Test PASSed

@wkalt I'm not sure if this is something that should be merged up or opened on multiple branches of the project so both PRs are targeted at different branches.

@demophoon most likely this is fine and will get rolled up, but I'll defer to @mullr

@mullr // @wkalt Is there anything that I can do to help get this in?


MM-40944: Lift playbook limits

Summary
This PR removes the restriction on the number of playbooks that applied to Team Edition (TE) and Starter Edition (old E0) servers. Before this, these servers could create only one playbook per team. After this, all servers can create unlimited playbooks :tada: And the key icons in the backstage are gone:

Before
After

I expected this to be a 20-30 lines removed PR, but we had a lot of code to handle this particular case, as we can create playbooks in the backstage, both with templates and with the button, and in the RHS. We also had some action/reducer/selector boilerplate to track the number of playbooks in each team, as well as hooks for checking it. All of that is now gone.
Ticket Link
https://mattermost.atlassian.net/browse/MM-40944
Checklist

[ ] Telemetry updated
[ ] ~~Gated by experimental feature flag
[X] Unit tests updated

Whoops, @iomodo is on PTO. Sorry about that.


feat(directive): add MockDirective helper function

Thanks for the library, it's a great way of making my unit tests more concise! However I encountered some problems when trying to mock directives. I couldn't mock them with MockComponent because they were being applied to an element that already had a component registered on it. So this commit adds a MockDirective class that is exactly symmetrical to MockComponent.

Thanks. Sounds correct.


Bump package dependencies

Changelog

Update dependencies in package.json
Regenerate yarn.lock with fresh install to fix security issues
Fix linting errors due to incorrect indentation
Update tests for changes in sinon.stub syntax and usage

Updated dependencies

Package
Current
Latest
Package Type
Reason

eslint
3.13.0
4.2.0
devDependencies
New rules in recommended, more strict 🔗

js-yaml
3.7.0
3.9.0
dependencies
Throw a warning for duplicate keys, other improvements and features🔗

node-version-check
2.1.1
2.2.0
devDependencies
Added node-version-gte-8 & node-version-lt-8 binaries🔗

nyc
10.0.0
11.0.3
devDependencies
Drop supprt for node < 4, allow .nycrc.json, support for presets, support for per file coverage checking🔗

object-assign
4.1.0
4.1.1
dependencies
Store a reference to Object.getOwnPropertySymbols, meta tweaks🔗

sinon
1.17.7
2.3.8
devDependencies
Migration guide

tape
4.6.3
4.7.0
devDependencies
Show full err stacj on failure, fix spurious "test exited without ending"🔗

eslint-plugin-node(v3.0.5 → v5.1.0) was not updated due to peer dependency with eslint-config-davidtheclark-node("eslint-plugin-node": "^2.0.0 || ^3.0.0"). Changes for eslint-plugin-node - Drop support for node < 4, eslint < 3. New rules no-extraneous-import and no-extraneous-require. Update rules for node 7, 8🔗
Snyk
Snyk is a free tool that can help find and fix vulnerabilities in Node.js.
Security - 2 vulnerabilities, 6 vulnerable paths

Report from snyk cli -https://github.com/snyk/snyk
λ snyk test
✗ Medium severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:brace-expansion:20170302
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Upgrade direct dependency<EMAIL_ADDRESS>to<EMAIL_ADDRESS>
✗ Medium severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:brace-expansion:20170302
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Your dependencies are out of date, otherwise you would be using a newer brace-expansion than<EMAIL_ADDRESS>
✗ Medium severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:brace-expansion:20170302
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Your dependencies are out of date, otherwise you would be using a newer brace-expansion than<EMAIL_ADDRESS>
✗ Low severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:ms:20170412
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Your dependencies are out of date, otherwise you would be using a newer ms than<EMAIL_ADDRESS>
✗ Low severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:ms:20170412
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Your dependencies are out of date, otherwise you would be using a newer ms than<EMAIL_ADDRESS>
✗ Low severity vulnerability found on<EMAIL_ADDRESS>- desc: Regular Expression Denial of Service (ReDoS)
- info: https://snyk.io/vuln/npm:ms:20170412
- from<EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>><EMAIL_ADDRESS>Your dependencies are out of date, otherwise you would be using a newer ms than<EMAIL_ADDRESS>
Tested 188 dependencies for known vulnerabilities, found 2 vulnerabilities, 6 vulnerable paths.
Run `snyk wizard` to address these issues.

Thanks, @sudo-suhas. Are you interested in being added as a contributor to this repo?

Wow!  I am very much interested 😃

@sudo-suhas: Sync mode is a major feature and you did a great job with it. I'd love to have you your help maintaining that feature and the rest of the repo.

😁 You just made my day.
By the way, if I wanted to discuss any possible changes we could do for the package, what would be an appropriate place for it?

if I wanted to discuss any possible changes we could do for the package, what would be an appropriate place for it?

Feel free to open issues for anything you'd like to propose.


This is  Hello world file

it's project? Lets tell me one thing why i should consider this. Change Your code into a projects. it doesn't matter minor or major. Understand


Could we add centroid mode (MS1 level peak picking) to Thermo tool?

Hello, I am trying to convert raw files to mzml/mgf, but realized that this tool only works for profile mode, Is it possible to add centroid mode (helps with quantitation @MS1 level)?

Hi,
If centroided data is available for a given scan, it is reported by the parser. Sometimes a scan is recorded in profile mode but also has centroided data, in that case the centroided data is reported.
I'll release a new version soon that also reports the precursor intensity when the MS1 centroided data is available (see an mzML entry example below).
<cvParam cvRef="MS" accession="MS:1000042" value="725709.25" name="peak intensity" unitAccession="MS:1000131" unitName="number of detector counts" unitCvRef="MS" />
I've added the -p, --profiledata flag for MGF output because the MGF output file can get really big if the MS2 spectra are recorded in profile mode.
Best regards,
Niels Hulstaert

Hello Niels,
I think the raw files will have the MS1 data, I have used MSconvert (vendor support) and for that we have to specifically choose peak picking MS1. Hopefully the new version will report the precursor intensity.
Thanks!
Subina

Hello Niels,
There is another issue that I see with the Thermo tool, it creates a weird Title for the raw files.
Title comparison:
With msconvert (vender support)=
BEGIN IONS
TITLE=jrudney_chenx096_20150307_14688_734NS_1D.2.2.2
RTINSECONDS=0.8171
PEPMASS=434.224365234375<PHONE_NUMBER>5
CHARGE=2+
Thermo:
BEGIN IONS
TITLE=mzspec=input.raw: controllerType=0 controllerNumber=1 scan=2
SCAN=2
RTINSECONDS=0.8171
PEPMASS=434.2243652
CHARGE=2+

@subinamehta This is not actually a "weird" TITLE is a valid mzML wait of a given title to each Spectrum. Suggestions are more than welcome. In this case, also the TITLE can be used as an identifier if you check the msconvert is using the same file name for every TITLE.

I am just worried that when I run SearchGUI Peptide Shaker on thermo's ".mgf" file and then the Spectrum File name is not going to be similar to the ".raw" file, which might be an issue with our quantitation tools.

@ypriverol should we get rid of the mzspec format title as is it not really intended to be used like this and have the classic TITLE=controllerType=0 controllerNumber=1 scan=339?

Yes. Do you want me to do the changes?

I've finished the indexed mzML, together with writing the mzML as a stream (instead of keeping the model in memory). I'll include in that version and we can release it next week.

Cool, if you want you can do a PR and I will review it

@this issue has been solved.


Object Rotations not behaving Correctly

When trying to rotate an object the object will begin to rotate but then suddenly change between random rotations the further you rotate the object.

Objects now behave correctly due to the new Quaternions rotation added.


[INLONG-1518] WebSite Support ClickHouse

Title Name: WebSite Support ClickHouse
Fixes #1518
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #1800 (b3383be) into master (5466390) will decrease coverage by 0.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1800      +/-   ##
============================================
- Coverage     12.20%   11.96%   -0.24%
+ Complexity     1050     1049       -1
============================================
  Files           392      396       +4
  Lines         32755    33393     +638
  Branches       5159     5274     +115
============================================
- Hits           3997     3996       -1
- Misses        27993    28629     +636
- Partials        765      768       +3

Impacted Files
Coverage Δ

.../inlong/tubemq/corebase/policies/FlowCtrlItem.java
38.88% <0.00%> (-1.12%)
:arrow_down:

...ache/inlong/tubemq/server/master/MasterConfig.java
32.63% <0.00%> (-0.50%)
:arrow_down:

.../tubemq/corebase/policies/FlowCtrlRuleHandler.java
34.07% <0.00%> (-0.45%)
:arrow_down:

.../nodemanage/nodeconsumer/ConsumerEventManager.java
27.55% <0.00%> (-0.45%)
:arrow_down:

...org/apache/inlong/tubemq/corerpc/RpcConstants.java
0.00% <0.00%> (ø)

...rg/apache/inlong/tubemq/server/master/TMaster.java
0.00% <0.00%> (ø)

...rg/apache/inlong/tubemq/server/tools/CliUtils.java
0.00% <0.00%> (ø)

...pache/inlong/tubemq/corebase/utils/MixedUtils.java
0.00% <0.00%> (ø)

...ache/inlong/tubemq/corebase/TErrCodeConstants.java
0.00% <0.00%> (ø)

...che/inlong/tubemq/corebase/cluster/MasterInfo.java
0.00% <0.00%> (ø)

... and 33 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 5466390...b3383be. Read the comment docs.


Fixing button text in start trial modal

Summary
The text at start_trial.modal_btn.start isn't the same as mentioned in start_trial.modal.disclaimer
A translator noticed this
Ticket Link
https://github.com/mattermost/mattermost-server/issues/20605
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/update-branch

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/219259

@devinbinnie Do you mind quickly checking and approving the last workflow so we can merge? Thanks 🙂


how the  quality of the exported mesh?

great work. can give some examples in gallary?

check gallery. Thanks for the suggestions


Config file?

To reduce typing for frequently used operations, it might be good to have a config file option. Explore this.

Phase two would be to read this config file inside the main loop so that the program can respond to e.g. a new micro sleep requirement or maybe a graceful stop?

Phase two would be to read this config file inside the main loop so that the program can respond to e.g. a new micro sleep requirement or maybe a graceful stop?


fix(input): fix step validation for input[number]/input[range]

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix.
What is the current behavior? (You can also link to an open issue here)
step validation (for input[number]/input[range]) fails on some occasions due to limitations of Floating Point Arithmetic (as described in #15257) and does not fully account for a stepBase as descussed in https://github.com/angular/angular.js/commit/9a8b8aa#commitcomment-19108436.
What is the new behavior (if this is a feature change)?
It works as expected!
BTW, according to the spec, when there is no min attribute (to determine the step base), but there is a value attribute, then the step base is set to the value of that. In our case this doesn't apply very well, because the value attribute is not compatible with ngModel and is essentially ignored.
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

[ ] Needs to be backported to 1.5.x for [ng-input-range].

Fixes https://github.com/angular/angular.js/commit/9a8b8aa#commitcomment-19108436
Fixes #15257

LGTM


Add max_retries to circuit breaker configuration

What this PR does / why we need it: This PR adds the possibility to use the httpMaxRetries config attribute in the DestinationPolicy yaml file. It allows configuring the max number of outgoing retries in a circuit breaker scenario.
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:
Release note:

@pacevedom: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Hi @pacevedom. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/ok-to-test

@pacevedom: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
02bd49cd1482ac32ab4a942a3686aa7382781e51
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@pacevedom: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
e7b0816ad3e846ace831d89bb9e00eadac4595b6
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@pacevedom: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
de5f4e2f5639c6b8e99afb3d9205d9c28b577788
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-presubmit

@rshriram finally everything is passing! Could you review it? Thanks.


Train large model on multiple GPUs.   You can't train a model that has been loaded with device_map='auto' in any distributed mode.

I tried to use llama2_lorra.py with the script llama_lorra_tqa_7b.sh
ValueError: You can't train a model that has been loaded with `device_map='auto'` in any distributed mode. Please rerun your script specifying `--num_processes=1` or by launching with `python {{myscript.py}}`.
{'tqa_accuracy': 0.31334149326805383, 'arc-e_accuracy': 0.6614035087719298}

--num_gpus=1 fixed the issue.
deepspeed --master_port $ds_master_port --num_gpus=1 src/llama2_lorra.py

I am not able to train larger model on two GPUs, does anyone know how to fix this with deepspeed?

Fixed training with deepspeeed


Menu not working with large number of pages.

I have a website with a large number of pages (over 9000). When I publish half of them a menu in not working anymore, children array is returned as an empty array. I tested this and number of published pages going over 4000 is causing the issue.
Django==1.6.6
Django CMS==3.0.5

closed in favour of https://github.com/divio/django-cms/issues/4597, feel free to continue the conversation here :)

Hello @ogrimator,
Are you able to reproduce this issue with latest cms (3.4.2)?

Hi @czpython,
I am very sorry to say, but I don't have the access to that database as I no longer work with the company.

No worries, closing for now.
Feel free to create a new ticket if this is still an issue.


Code for L2 Chamfer distance

Hello, authors! I would like to know how you obtained the L2 Chamfer distance in Table 2 of your paper.
After executing your code on the c3d dataset, I obtained the following outcome, which seems to be the L1 Chamfer distance.
============================ TEST RESULTS ============================
Taxonomy        #Sample ChamferDistance
02691156        100     0.2252
02933112        100     1.2307
02958343        100     0.6126
03001627        100     1.0656
03636649        100     1.1419
04256520        100     0.8829
04379243        100     1.2952
04530566        100     0.5210
Overall                 0.8719

Epoch  -1       2.8626  1.6381  1.1422  0.8719  0.0540

I think the naming for L1 and L2 norm in this source code is inversed. L2-norm should be involving sqrt()


Moved pdf_converter method to converters.py and updated readme

@andrelmfarias Do you think it makes sense to keep pdf_converter.py ?

@andrelmfarias Do you think it makes sense to keep pdf_converter.py ?

Not really... I agree to delete it


Enable Python 3.9 support

TensorFlow now publishes nightly wheels for Python 3.9 (see: https://github.com/tensorflow/tensorflow/issues/44485#issuecomment-797037619). However, looks like TensorFlow Addons does not.
For parity, TensorFlow Addons should also move to support Python 3.9 for the upcoming TF release (targeted for end of April).

Duplicate https://github.com/tensorflow/addons/issues/2188. Thanks for reminding us though we'll definitely build 3.9 when we target TF2.5
We used to build against nightlies in tfa-nightly but it was a maintenance burden. We now pin tfa-nightly and tensorflow-addons to latest stable release.


Maximum posts limit

Hello!
When I try to get all posts from tag that have 40000+ posts, but 8000 posts only scrapped. It is possible to get all 40K posts? Why does python stops after 8K posts only (there is no any errors)? How can I make this limit bigger?
Thanks!

This is a problem with all instagram scraping tools, see instaloader/instaloader#55
In addition to what was said there, sometimes the number of posts able to be gathered is inconsistent, you might find that scraping again will gather fewer or more posts.


New numeric_spaces filter on Form Validation

Description
The numeric_spaces rule returns true if it gets numbers and spaces.
Use case scenarios
A post code has 1 space in it, ex. 19 012 which causes the numeric filter to fail. In that case the numeric_spaces filter would return true.

There are many rules that would be similar to this one (e.g. somebody may use dashes instead of spaces) and we simply can't add countless rules for every specific use case. You can use regexp_match for that or create your custom rules.


Correct the spelling of "WordPress"

WordPress is spelled with a capital P, here's a correction to that typo. 🙂

Thank you for spotting that. Merging. Will be part of next deploy!


Generating Charts

Please provide us with the following information:

The new model is good on data analysis. And suggestion on visualizing the results into typical charts?
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

I think you would need to include Dall-e if you want to have the solution return images. I'm planning to experiment with this once I get reranking working better but at this point I don't think it's a quick addition to put it mildly. Maybe it's easier than I'm thinking?

Another approach would be to use something like matplotlib to generate the charts. The models are pretty good at writing matplotlib code. You'd want to run the matplotlib code in a sandboxed environment through, like the new dynamic sessions on Azure Container Apps. See this example from @anthonychu's Pycon talk:
https://github.com/anthonychu/20240528-sessions-csv/blob/main/query-csv.ipynb

Yep that would work great here if the goal is to upload a CSV and ask it questions. My example doesn’t include a graph example but can add one.

@anthonychu The OpenAI Spring video is quite impressive in terms of CSV visualization.
@pamelafox Matplotlib is good. Besides, it there any consideration of including semantic kernel etc. into the repo so that plugins could play a role?

@anthonychu Could the graph example be added in the near future? Would Pandas be more convenient over Metaplotlib? Thanks


Beef up example with actual robot code and simulation. Will help test out native builds

Basically rips off some of the wpilib examples. Using the new command framework. I would have sprinkled in rev / ctre / navx stuff, but they aren't supported on all native platforms this past year.
Also moves the example into a cpp_example subfolder, in the event we support java

Shouldn't we migrate the WPILib examples to Bazel?

Shouldn't we migrate the WPILib examples to Bazel?

In practice, the migration would be just adding a WORKSPACE, BUILD and .bazelrc file to all of their examples, so it seems a little silly to clone all of their examples to show the same 3 file pattern  60+ times, and then keep them in sync over time.
Furthermore, a lot of the examples are rather trivial and inconsistent. They are often hyper focused on illustrating a single concept rather than building a functioning robot. The fullest robot GearsBot doesn't include simulation. The examples that do have simulation are often single file Robot.cpp, which don't reflect how teams actually (at least I hope not) write their software. The same is true for rev and ctre examples.

I see


Disable drag & drop for moving file

Hi, ElFinder repositrory can disable drag & drop function https://github.com/Studio-42/elFinder/issues/1938
Is it also possible to disable drag & drop for moving file in this project?

Please take a look at this issue #24

Alright, thanks


CVE-2020-26160 on jwt-go flagged by scanners

Hi,
Our scanners flagged the jwt-go vulnerability in file autorest/adal/token.go.
It is using a unmaintained jwt-go.
It should be using github.com/dgrijalva/jwt-go instead, where the fix is already delivered.
./helio

The module you cited is no longer maintained, the correct fork is github.com/golang-jwt/jwt.

That came from the CVE itself.


Upgrade to egui 0.18 (and rustfmt)

Two changes in egui 0.18 affected this crate:

The single_threaded feature was removed as the crate is now always thread safe.
egui::CursorIcon got some more variants. I did not implement any of the new variants, but added a fallback. I think that this might be a helpful compatibility aid for future upgrades.

Additionally, my editor rustfmt'd the file. If you'd like, I can back out that change, but I think it's a helpful standard to push for.

LGTM


[docs] Inconsistent documentation

Hello! I'm trying to use Park UI in a brand new Next.js project. However, the Getting Started documentation is missing some crucial information (the whole doc, to be honest).
I'm not sure exactly where. What I can say is that if you follow the guide to the letter without performing any additional steps, you won't have a working UI library. There are too many errors related to imports and missing packages, especially styled-components related stuff.
I really liked this UI; however, the docs need some improvement. They can be really challenging for beginners.
Thanks a lot, I hope to have a improved version of this in the future to use on new projects. 👍

@BRGustavoRibeiro
Thanks for taking your time to report the issue. I just created a new Next.js project with Panda CSS and could get a working project in less then 3 minutes. However I noticed that the "baseUrl": "." is something crucial to add to your tsconfig.json
I will update the docs to include this step.
Besides I could not spot any major flaws. Happy to learn the parts where you struggled.

I already started the project with another UI lib, but I'm willing to try this one more time.
Give me a few hours - I'll try to perform the install and thoroughly document my journey. I'll keep you updated through this issue.

@cschroeter Somehow I misread the docs and I managed to follow the Panda Getting Started instructions instead of the Tailwind one.
I managed to successfully install ParkUI on my project! 😎 I only had to install tailwind-variants which was missing. It might be good to update the docs to add this info as it doesn't install it automatically.
Thanks for the help!


Add Privacy Policy

We need a privacy policy to make sure users understand what information we collect (or lack thereof) and what we use it for.
Some examples of privacy policies for developer tools are:

npmjs.com
cocoapods.org
sentry.io

Helpful tips from the SBA https://www.sba.gov/blogs/7-considerations-crafting-online-privacy-policy

This is extremely helpful: https://consumercal.org/about-cfc/cfc-education-foundation/california-online-privacy-protection-act-caloppa-3/

Privacy Policy Checklist

[ ] Privacy policy is linked on the homepage and contains the word "Privacy"
[ ] A list of the categories of personally identifiable information the operator collects
[ ] A list of the categories of third parties with whom the operator may share such personally identifiable information
[ ] A description of the process (if any) by which the consumer can review and request changes to his or her personally identifiable information as collected by the operator
[ ] A description of the process by which the operator notifies consumers of material changes to the operator’s privacy policy
[ ] The effective date of the privacy policy.


[Question]: Font Size

What happened?
Is there any way to change the font size of the "area" header?
Card Version
1.2.0
HomeAssistant Version
13.2
Relevant log output
No response

You can use card-mod plugin for this.
Something like:
card_mod:
  style: |
    .box .card-header {
      font-size: 2em !important;
    }


Pin paketobuildpacks/build to 1.3.92

Co-authored-by: Danail Branekov<EMAIL_ADDRESS>
Is there a related GitHub Issue?
No
What is this change about?
Latest (tag full-cnb) is causing build failures. Pinning the previous
version as a temporary workaround

Does this PR introduce a breaking change?
No

Acceptance Steps
pushing apps succeeds

Tag your pair, your PM, and/or team
@georgethebeatle

The problem was coming from kpack being in weird state and disappeared after reinstalling kpack, closing


Author and Date in Cover are no aligned

When use default code, I can't get the layout as shown picture. But I have the following layout:

The left bottom corner where author and date are placed is not aligned with title.
Code:
---
theme: academic
layout: cover
coverAuthor: alexanderdavide
coverAuthorUrl: https://www.alexeble.de
fonts:
  local: Montserrat, Roboto Mono, Roboto Slab
themeConfig:
  paginationX: r
  paginationY: t
  paginationPagesDisabled: [1]
title: slidev-theme-academic

---

# Welcome to Slidev

Presentation slides for developers
---

Environment:

Windows 11
Slidev  v0.40.3

Hi, thanks for using slidev-theme-academic and reporting this bug!
I can readily reproduce it on @slidev/cli v0.40.3 while it wasn't a problem in earlier version e. g. v0.35.6.
I'll try to fix this in the next days.

This should be fixed in the latest release v.1.1.2.

So happy to hear that. Thanks a lot!


Fixes #185 - Add way to test SAML attributes

Ah, I didn't notice that, I just copied and pasted this misspelling so not entirely my fault. ;)


Even more data?

Hi there,
activity Data is fine and i love it. But would be even more interested in

sleep quality
weight
stress Level

and so on.
Any chance to query that? I'd be happy to implement it myself and make it available for pull, but i lack the API documentation for reaearch.

Looks like they're writing the data there:
https://github.com/jaroslawhartman/withings-garmin-v2
But can't quite get the point on it.

You should be able to do this by hitting the following endpoints:

https://connect.garmin.com/modern/proxy/wellness-service/wellness/dailySleeps?limit=10&start=1
https://connect.garmin.com/modern/proxy/wellness-service/wellness/dailyStress/2020-07-06
https://connect.garmin.com/modern/proxy/weight-service/weight/dayview/2020-07-06

I don't keep track of weight and I am unsure of how to pull that information, but that might be a good starting point.

OK, got the Weight. Are you interested in a pull request?

OK, got the Weight. Are you interested in a pull request?

Very much so, if you please!


ESp32 Crash loop

Running the AuroraDemo in any of my ESP32 (nodemcu32s) boards crashes the ESP32 into a boot loop:
Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
Using pin 14 for the R1_PIN
Using pin 15 for the G1_PIN
Using pin 16 for the B1_PIN
Using pin 17 for the R2_PIN
Using pin 18 for the G2_PIN
Using pin 19 for the B2_PIN
Using pin 21 for the A_PIN
Using pin 22 for the B_PIN
Using pin 23 for the C_PIN
Using pin 24 for the D_PIN
Using pin 25 for the E_PIN
Using pin 27 for the LAT_PIN
Using pin 5 for the OE_PIN
Using pin 2 for the CLK_PIN
Panel Width: 64 pixels.
Panel Height: 32 pixels.
DMA memory blocks available before any malloc's:
Heap summary for capabilities 0x00000008:
  At 0x3ffbdb28 len 52 free 4 allocated 0 min_free 4
    largest_free_block 4 alloc_blocks 0 free_blocks 1 total_blocks 1
  At 0x3ffb8000 len 6688 free 5232 allocated 1232 min_free 5232
    largest_free_block 5232 alloc_blocks 11 free_blocks 1 total_blocks 12
  At 0x3ffb0000 len 25480 free 17172 allocated 8228 min_free 17172
    largest_free_block 17172 alloc_blocks 2 free_blocks 1 total_blocks 3
  At 0x3ffae6e0 len 6192 free 6092 allocated 36 min_free 6092
    largest_free_block 6092 alloc_blocks 1 free_blocks 1 total_blocks 2
  At 0x3ffaff10 len 240 free 0 allocated 128 min_free 0
    largest_free_block 0 alloc_blocks 5 free_blocks 0 total_blocks 5
  At 0x3ffb6388 len 7288 free 0 allocated 6808 min_free 0
    largest_free_block 0 alloc_blocks 28 free_blocks 0 total_blocks 28
  At 0x3ffb9a20 len 16648 free 1512 allocated 13848 min_free 0
    largest_free_block 1140 alloc_blocks 77 free_blocks 3 total_blocks 80
  At 0x3ffc4158 len 114344 free 109992 allocated 4024 min_free 104996
    largest_free_block 105340 alloc_blocks 17 free_blocks 3 total_blocks 20
  At 0x3ffe0440 len 15072 free 15024 allocated 0 min_free 15024
    largest_free_block 15024 alloc_blocks 0 free_blocks 1 total_blocks 1
  At 0x3ffe4350 len 113840 free 113792 allocated 0 min_free 113792
    largest_free_block 113792 alloc_blocks 0 free_blocks 1 total_blocks 1
  Totals:
    free 268820 allocated 34304 min_free 262312 largest_free_block 113792
******************************************************************
We're going to need 16384 bytes of SRAM just for the frame buffer(s).
The total amount of DMA capable SRAM memory is 268820 bytes.
Largest DMA capable SRAM memory block is 113792 bytes.
******************************************************************
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 0.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 1.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 2.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 3.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 4.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 5.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 6.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 7.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 8.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 9.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 10.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 11.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 12.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 13.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 14.
Malloc'ing 1024 bytes of memory @ address<PHONE_NUMBER>d for frame row 15.
lsbMsbTransitionBit of 0 with 128 DMA descriptors per frame row, requires 24576 bytes RAM, 113792 available, leaving 89216 free:
Raised lsbMsbTransitionBit to 0/7 to fit in remaining RAM
lsbMsbTransitionBit of 0 gives 38 Hz refresh:
lsbMsbTransitionBit of 1 gives 76 Hz refresh:
lsbMsbTransitionBit of 2 gives 150 Hz refresh:
Raised lsbMsbTransitionBit to 2/7 to meet minimum refresh rate
Recalculated number of DMA descriptors per row: 32
Descriptors for lsbMsbTransitionBit of 2/7 with 16 frame rows require 6144 bytes of DMA RAM with 32 numDMAdescriptorsPerRow.
*** ESP32-HUB75-MatrixPanel-I2S-DMA: Memory Allocations Complete ***
Total memory that was reserved: 22 kB.
... of which was used for the DMA Linked List(s): 6 kB.
Heap Memory Available: 329876 bytes total. Largest free block: 113792 bytes.
General RAM Available: 244852 bytes total. Largest free block: 113792 bytes.
configureDMA(): Starting configuration of DMA engine.

Row 0 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 1 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 2 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 3 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 4 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 5 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 6 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 7 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 8 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 9 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 10 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 11 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 12 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 13 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 14 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
Row 15 DMA payload of 1024 bytes. DMA_MAX is 4092.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 3 is: 1.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 4 is: 2.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 5 is: 4.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 6 is: 8.
configureDMA(): DMA Loops for PIXEL_COLOR_DEPTH_BITS 7 is: 16.
configureDMA(): Configured LL structure. 512 DMA Linked List descriptors populated.
Performing I2S setup:
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d44b0  PS      : 0x00060f30  A0      : 0x800d4968  A1      : 0x3ffb1df0
A2      : 0x00000018  A3      : 0x000000b9  A4      : 0x40080ee8  A5      : 0x3ffb519c
A6      : 0x00000000  A7      : 0x00000008  A8      : 0xffff8fff  A9      : 0x3ffb1dd0
A10     : 0x00000000  A11     : 0x00000002  A12     : 0x0ffd114c  A13     : 0x00000000
A14     : 0x00000004  A15     : 0x3ffb519c  SAR     : 0x00000009  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x4000c46c  LEND    : 0x4000c477  LCOUNT  : 0x00000000

ELF file SHA256:<PHONE_NUMBER>000000

Backtrace: 0x400d44b0:0x3ffb1df0 0x400d4965:0x3ffb1e10 0x400d4efc:0x3ffb1e50 0x400d5ae7:0x3ffb1f20 0x400d5b6d:0x3ffb1f40 0x400d339b:0x3ffb1f60 0x400d7bce:0x3ffb1fb0 0x400862c1:0x3ffb1fd0

The stacktrace shows:
Decoding stack results
0x400d44b0: iomux_set_signal at /home/lucas/Arduino/libraries/ESP32-HUB75-MatrixPanel-I2S-DMA/esp32_i2s_parallel_v2.c line 77
0x400d4965: i2s_parallel_driver_install at /home/lucas/Arduino/libraries/ESP32-HUB75-MatrixPanel-I2S-DMA/esp32_i2s_parallel_v2.c line 297
0x400d4efc: MatrixPanel_I2S_DMA::configureDMA(HUB75_I2S_CFG const&) at /home/lucas/Arduino/libraries/ESP32-HUB75-MatrixPanel-I2S-DMA/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp line 429
0x400d5ae7: MatrixPanel_I2S_DMA::begin() at /home/lucas/Arduino/libraries/ESP32-HUB75-MatrixPanel-I2S-DMA/ESP32-HUB75-MatrixPanel-I2S-DMA.h line 376
0x400d5b6d: MatrixPanel_I2S_DMA::begin(int, int, int, int, int, int, int, int, int, int, int, int, int, int) at /home/lucas/Arduino/libraries/ESP32-HUB75-MatrixPanel-I2S-DMA/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp line 749
0x400d339b: setup() at /tmp/arduino_modified_sketch_107086/AuroraDemo.ino line 60
0x400d7bce: loopTask(void*) at /media/ELTN/Lucas/.arduino15/packages/esp32/hardware/esp32/1.0.6/cores/esp32/main.cpp line 18
0x400862c1: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

Nothing plugged in the board physically, just the usb cable

Weird, looks like if i set D_PIN to 24, it crashes the ESP32. Just that pin, but that's suposed to be a safe pin.


Handling subfolders from disallowed folders

Hey Callum,
I've found a scenario where the current rendering process won't work. If you need to allow access to a specific file/folder but deny access to the rest of a directory you need to do something like this:
Allow: /App_Plugins/UmbracoForms/Assets/Themes/Default/umbracoforms.js
Disallow: /App_Plugins/

However, the current rendering process puts all disallowed at the top followed by allowed which would prevent this working.
I don't know, however, what the implications of reversing this order is, so if you had all the allowed items followed by the disallowed, it might resolve this issue.
Thanks
Nik

Thanks @NikRimington,
I think this was an oversight on my part. I've taken your suggestion and flipped the order of Allow / Disallow so that allow should always come first. Hopefully this resolves your issue.
The latest version, v1.2.0, is out now on all good package stores with this fix in place!
Cheers,
Callum


Showing Error and help requested

Issue:
when i run this command pip3 install tg-archive , it shows error and doesn't get's installed successfully
I have attached image below
Help:
And also make a video on how to run this thing it will help a lot

Looks like a Windows specific issue. I don't have a Windows system, so unable to look into this.
That said, figuring out a way to install thecryptg package first (maybe there's a Windows .msi installer for it somewhere) and then trying might help.

I think it will help:

install cryptg firstly
with pip or the whl file which it's title contain "win"
https://pypi.org/project/cryptg/#files
by the way,if it's faild too.you may need install the C/C++ develop tools or runtime,I'm not sure.
run pip install tg-archive again
if there is any unexpect error,please attach screenshots or log.


don’t lose the type and version properties when stringified

The type and version properties of the VirtualNode, VirtualTextand VirtualPatch objects are not serialized by JSON.stringify() making vdom.patch() fail when called with stringified-then-parsed patches.

Closing out due to lack of activity.


Improve execution context and sandboxing

Landed in https://github.com/metarhia/impress/commit/962333b683acf2e82077b06b45ab76b434670f26, https://github.com/metarhia/impress/commit/4a79c5f9d7bcae312be5c261fd50d21b7c958409, https://github.com/metarhia/impress/commit/7567c74cf98aac2de078323318fd633eb38a81a8, https://github.com/metarhia/impress/commit/0f4010b3e1ab02c9fa97908139667c8c6cd9d7b2 and https://github.com/metarhia/impress/commit/2a86624e03f561a3f8149219a9f27240857b946d


Slim support (ruby slim)

This would be awesome.

I think the same way!

Me too

The language appears to be: http://slim-lang.com/ which looks similar to Jade and would require a similar beautifier.

Were the changes in https://github.com/Glavin001/atom-beautify/commit/d48768e5034e59f2c618c7d56c05693879441124 all that is required to add support for Jade? Or is the comment in #199 "I haven't had a chance to finish adding Jade support. However, I have moved this back to v0.29.0 milestone, so I want it to be in the next release." indicating the support is not fully implemented yet?

@Glavin001 could answer the prior questions better.

@rtack : That commit does add support for Jade. Before I made that comment I had not implemented Jade support, however after seeing how many users requested it and also that Pug-beautify package was published, I figured I would quickly implement and publish it. Hopefully it is working well for users.

wondering how much effort it would be to implement this for slim.
Am I correct that the actual code who does the formatting is at https://github.com/vingorius/pug-beautify/blob/master/index.js ?

@rtack : Yes the code that formats/beautifies Jade/Pug language is the pug-beautify package you linked to there. You could talk with the maintainer and Slim does look very similar to hopefully you can work out a solution! That would be great!

+1 for built-in Slim support!

+1 for built-in Slim support!

Please note that +1s do not help this feature become reality. Atom-Beautify requires a third-party beautifier to exist and be integrated into Atom-Beautify for use.
With that in mind, how you can turn this feature request into a feature is by:

finding a beautifier that works
submitting a Pull Request to Atom-Beautify such that you can use it

As noted, pug-beautify may work. I recommend that each of you go +1 an issue over at https://github.com/vingorius/pug-beautify/blob/master/index.js (or create an issue if necessary). Once pug-beautify supports Slim, then come back and add support to Atom-Beautify with a Pull Request.
Thank you.


Enable support for HAVING clauses / Expand data format options to native function and class methods

Example usage:
 '(select meta.`value` from meta where meta.model = "user" and meta.model_id = user.user_id and meta.`key` = "full_name")',
			'last_login_date' => '(select meta.`value` from meta where meta.model = "user" and meta.model_id = user.user_id and meta.`key` = "last_login_date")',
		);
	}

    /**
     * @return
     *      String table name to select from
     */
    public function fromTableStr() {
		return 'user';
	}

    /**
     * @return
     *     Associative array of joins.  Return NULL or empty array  when not joining
     */
    public function joinArray() {
		return NULL;
	}

    /**
     *
     * @return
     *    Static where clause to be appended to all search queries.  Return NULL or empty array
     * when not filtering by additional criteria
     */
    public function whereClauseArray() {
		return array('user.deleted_date' => NULL);
	}
}

/* End of file user_datatable.php */
/* Location: ./application/models/user_datatable.php */

Didn't work at all as I had hoped. Clashing between where and having clauses.


Migrate CI to GitHub Actions

As Travis CI.org is no longer supported, CI is no longer running in this repo.
This PR switches CI to GitHub Actions.  It maintains all of the Rubies listed in the .travis.yml file except for 1.9.3.  This version was problematic to port, and is long EOLed, so I made a decision to drop it.
Everything runs green on my fork.

Not a blocker, but the badge in the README should also be updated / removed.


check out domvm

Hey @sprat
If you're evaluating things that are faster than virtual-dom, check out https://github.com/leeoniya/domvm as well. Its perf is close to Inferno and Citojs for high mutations [1] see others [2]. JSONML syntax, components, isomorphism and many other goodies in < 8k min.
However, it's not quite as low-level as pure vdom patch/diff libs and you don't get extremely granular control, so it may not quite fit your purposes.
Feedback would be greatly appreciated, too if you decide to check it out :)
cheers!
[1] http://mathieuancelin.github.io/js-repaint-perfs/domvm/index.html
[2] http://mathieuancelin.github.io/js-repaint-perfs/

In fact, I don't know why domvm stayed out of my radar until today... that's more or less what I want to achieve with my DOMned library:

use regular javascript objects for models and views, not the "react" way...
the views receiving a hyperscript/helper object as parameter to emit or receive "view" events, to refresh the whole tree, to build virtual dom elements...
in a small and fast library because I'll probably re-render everything in each update since detecting changes on mutable objects is difficult

So in fact, I should probably use domvm as it seems to implement exactly what I was trying to do... except maybe in terms of the API itself : I would have prefered a hyperscript function instead of constructing array, and other small details like that.
I am a little bit concerned about the current status of domvm: it seems that it is not available on npm, in contradiction to what it stated in the documentation. Is that finished, or is it a work in progress?
Anyway, I am happy to see that someone has the same ideas as me and I will be happy to use and help you with domvm.

Thanks for checking it out!

In fact, I don't know why domvm stayed out of my radar until today

Probably because the lib is brand new :) First publish was in Nov, 2015: https://github.com/leeoniya/domvm/commit/3c285a44d8504330432305de0ef2712e50a77334

I would have prefered a hyperscript function instead of constructing array

I am considering adding it, but there's a good chance it'll be offered as a wrapper alongside the JSONML syntax or a more verbose object/vtree syntax. I'm still evaluating the performance benefits and initial testing is not conclusive. domvm allows many different node types that dont require special wrappers (or the array syntax), such as text nodes, functions/getters, pre-initialized/imperative views (vms), promises...so there wont be much of an increase in clarity either IMO. Either way, you can make a 10-liner hyperscript wrapper for any of these node types and use that if you prefer.

I am a little bit concerned about the current status of domvm: it seems that it is not available on npm, in contradiction to what it stated in the documentation. Is that finished, or is it a work in progress?

It is definitely a very active work in progress, I have avoided many things that would prevent it from working on Node, but i have not tested it anywhere but the browser yet. The docs were just written in advance :) If you'd like to help get the node aspect into shape, it should be pretty easy and any help or PRs would be welcome. Otherwise, I'll probably get to getting it running under Node in the next couple weeks.

Anyway, I am happy to see that someone has the same ideas as me and I will be happy to use and help you with domvm.

Thanks! There's a lot of good stuff going on in the vdom world. Inferno, citojs, Mithril (although i disagree with pushing the MVC paradigm in front-end frameworks). React/Angular/virtual-dom is not the end of the story. I wrote domvm to be a tiny, performant declarative OR imperative view layer because sometimes I need that kind of pedantic control over sub-view redraw, sub-view APIs and opt-in mutability.
Isomorphism already works btw, example in browser:
domvm.useRaf = false;

function View(vm, person) {
    return {
        render: function() {
            return ["a", {href: "/cows"},
                person.name,
                " 123" + person.age,
                ["br"],
                ["strong", "bar"],
                person.age,
            ];
        }
    };
}

var elem = document.getElementById("foo");

var model = {
    name: 'test',
    age: 5
};

var vm = domvm(View, model);
var html = vm.html();
elem.innerHTML = html;

var vm2 = domvm(View, model);
vm2.attach(elem.firstChild);
model.name = 'test 2';
vm2.redraw();

I think we'll move this discussion to your own issue tracker as we're talking about domvm here ;)


Enable nio direct buffer pool for mono block store

What changes are proposed in this pull request?
Enable nio direct buffer pool for mono block store
Why are the changes needed?
reduce the risk of oom for direct momory
Does this PR introduce any user facing changes?
add a new property WORKER_NIO_DIRECT_BUFFER_POOL_ENABLED

Why do we need to have a buf.retain() and then execute buf.release() in the finally block? Is it to release immediately when an exception occurs before executing buf.retain()?

Yes, exactly, if an exceptions occurs befor buf.retain(), we need to decrease the ref count

@beinan As this have some downside in our scenario, I suggest to make the default value of WORKER_NIO_DIRECT_BUFFER_POOL_ENABLED to false.


"Reached end of stream but expected 4 more bytes."

I very often get the message "Reached end of stream but expected 4 more bytes." in red characters. When I get it, the function I want to call isn't executed.
I can find no pattern as to when I get it. If I give the command "expresso status" several times in a row, I sometimes get the wanted result:

VPN connected to 'Denmark' (78)

but other times:

Reached end of stream but expected 4 more bytes.

Here is an actual session in CMD; each command was executed within 1-2 seconds from the previous:

C:\ProgramsManual\Expresso>expresso status
Reached end of stream but expected 4 more bytes.
C:\ProgramsManual\Expresso>expresso status
VPN connected to 'Denmark' (78)
C:\ProgramsManual\Expresso>expresso status
Reached end of stream but expected 4 more bytes.
C:\ProgramsManual\Expresso>expresso status
VPN connected to 'Denmark' (78)
C:\ProgramsManual\Expresso>expresso status
Reached end of stream but expected 4 more bytes.
C:\ProgramsManual\Expresso>expresso status
VPN connected to 'Denmark' (78)
C:\ProgramsManual\Expresso>expresso status
VPN connected to 'Denmark' (78)
C:\ProgramsManual\Expresso>expresso status
Reached end of stream but expected 4 more bytes.

I also get the "Reached end of stream but expected 4 more bytes." when issuing disconnect and connect commands, again unpredictably. Sometimes it works, other times it doesn't.
I even got this (!):

C:\ProgramsManual\Expresso>expresso.exe
Reached end of stream but expected 4 more bytes.

So executing expresso.exe with no arguments can even give "Reached end of stream but expected 4 more bytes." But not always. It will work again a few seconds later. And then after a few seconds again not.
This means that Expresso is unreliable as of now. It sometimes work, other times not.
And I really can't find any pattern to it. It's not like it always fails. It fails sometimes, but only sometimes. It's like tossing a coin.
The ExpressVPN GUI client works fine when I interact with it.
Versions:
ExpressVPN client: 10.17.0 (28)
Expresso: 1.3.0
OS: Windows 10 Home (10.0.19043)

I tried restarting the computer, but to no avail. Same problem.


Refactor tasks

refactor tasks
add TimeFrame model
update and move fixtures

Coverage decreased (-0.1%) to 81.199% when pulling c2e5e85178de4d1e9ae96cc66301374e961b546a on refactor_tasks into a5648a39851f685ec392ab194702c0a23a3caaab on master.

Coverage decreased (-0.1%) to 81.203% when pulling 6600a8f781d07b68f9580cfe567157a7999d8914 on refactor_tasks into a5648a39851f685ec392ab194702c0a23a3caaab on master.


Update to 1.177.2018.07

Merge changes from original version:
1.142.2018.09
The following changes are made by EnderDragonneau:

Palette revamped: Grayscale, new name for Beach classic and Beach, new palette: Grimby Grays

1.141.2018.08

New canvas: fix loading for drawing contests (thanks EnderDragonneau)

1.140.2018.08

Correct the beach theme

1.139.2018.08

Fix ANBT version display
The following changes are made by EnderDragonneau:
Dark Theme: fix comment highlight, dashboard, profile, store, game creation, settings, search section, emote border when click, white ducks (they're invisible if they're gray)...
Remove "Inventory" button (this fix the user link)
Adding support for Beach 2 palette, change Valentin and Neon palette
Fix "Click to read more" link in comment
Fix game comments ID with post date
remove the "remove flag button" option

1.138.2018.07

Replace glyphicons with font-awesome icons
Fix identification of replayable drawings, broken due to XHR hijacking
Add 'Toggle light' as a menu item to make it accessible for mobile users
Fix the anchor link when expanding a limited height game comment
Add distance between favorite and replay buttons in game view. 'Literally unplayable!'

1.137.2018.07

Add support for the new palette: Tropical
Fix double marking on new game comments
Fix user profile ANBT stuff, display of favorites; remove old cover code, remove old dropdown removal
Dark theme: fix user profiles
Fix timestamp and post handling in forum, games, profiles
Change caption limit to 45
Fix detection of friend games; add proper detection of blitz games as now that is possible
Fix post height limit so it applies to game comments
Prevent first forum post from collapsing due to max height; also display proper timestamp on it

1.136.2018.06

Fix handling of forum and game comments broken with the site update; now shows exact timestaps for game comments
Don't try to show title when replaying Draw First panels
Increase old font size as it got tiny with the site update

1.135.2018.06

Forum: linkify new embedded panel images to panel pages
Change Drawception calls from GET to POST+JSON, this should fix Draw First aborting and contests

1.134.2018.06

Add support for the new palette: Juice

1.133.2018.06

Allow replaying right from the player's gallery for the new drawings
Fix viewing playback on newer drawings from the game page as their panel links got changed

1.132.2018.06

Reduce 'Like all' button delay between likes to 1.5 seconds
Fix panel favorites display style
Completely remove the old canvas code; fix new canvas detecting drawing contests
Fix panel favorites old links; fix username when faving from the panel page
Fix showing replay links for the new drawings

1.131.2018.06

New canvas: fix viewing playback

1.130.2018.06

Restore old, smaller font size; can be disabled in options

1.129.2018.06

Dark style: fix game creation page
Fix script loading and working on the updated Drawception site

1.128.2018.04

New canvas: prevent caching an error from GitHub
Prevent forum post anchor from appearing twice on deleted users
Remove subforum detection in user profile's forum posts as site no longer gives that information
Remove game length detection as it is now provided by the site

1.127.2018.04

New canvas: fix background tool availability extraction as it got changed again
New canvas: disallow drawing if palette couldn't be extracted

1.126.2018.04

Fix handling forum 'edited' timestamps
New canvas: fix palette extraction

1.125.2018.04

New canvas: fix background tool availability extraction

1.124.2018.04

Increase 'Like all' button delay between likes to 3 seconds
New canvas: fix typo

1.123.2018.04

New canvas: hopefully improve touchscreen support for some people
'Like all' button now waits 2 seconds before each like, the site seems to have a hard limit on how quickly you can like now.
Dark style: fix popups and reactions a bit
Fix missing forum anchors and 'show more' broken with the site update
Restore forum warning about posting to another page

1.122.2018.03

Old canvas: fix loading errors, but warning sound and timer in title are missing for now
New canvas: fix timer extraction

1.121.2018.03

Update Discord chat link to point to introduction channel, as per request
Force update cached canvas

1.120.2018.03

Remove the embedded chat
New canvas: fix drawing submission broken with the site update
Fix error in Firefox 59+ due to partial removal of SVGPathSegList API
Update Discord chat link

Sorry, wrong repo.


URL encode Redis password

Looks good, to test this. will have to create a local setup with corner case. will a proper hour or so. will do it by tomorrow morning

Looks good, to test this. will have to create a local setup with corner case. will take a proper hour or so. will do it by tomorrow morning

Tested out. Its not working . Looking into how to solve it.


Remove AlwaysHorizontalScrollbar flag to BeginChild

I think that showing the scrollbar only when it's actually needed is more elegant than showing it all the time.

As far as I remember, it was a workaround to a problem when the window started showing and hiding the horizontal scroll bar, flickering back and forth when the window had some particular size. Can you please test and see whether this fix work with any window sizes?

I don't see any flickering. Maybe it was an imgui bug that has been fixed.

Ok.


Fix section for "privately" recording messages

Domain entities should implement ContainsRecordedMessages instead of RecordsMessages.
see #61

Coverage remained the same at 100.0% when pulling 9d20e7ed4bc779b4445c40450a51ec2d3863079a on jdreesen:patch-1 into 2a7a6b73467a5856cd91a5293f866009349060d0 on SimpleBus:master.

@jdreesen Tnx for taking the time to create this merged request.


fix(deps): update terraform terraform-ibm-modules/scc/ibm to v1.4.2

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/scc/ibm (source)
module
patch
1.4.1 -> 1.4.2

Release Notes

terraform-ibm-modules/terraform-ibm-scc (terraform-ibm-modules/scc/ibm)
v1.4.2
Compare Source
Bug Fixes

update usage for attachment submodule (#80) (83c381b)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v1.6.3

Your semantic-release bot :package::rocket:


The LICENSE.md file contains only the license header

The LICENSE.md file contains only the license header.
Please. Added license full text [1] and copyright notice.
the fedora pakaging guideline is very strictly precise about this problem
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#License_Text
thanks
regards
[1] http://www.apache.org/licenses/LICENSE-2.0.txt

Done.


Automate C code formatting [2/3]

Actually reformat the whole code base in accordance with the style.
Drop some commented out code that cause problems with formatting. clang-tidy and clang-format conflict in line-wrapping this part.
Supersedes #391, relates to #270

oh, I think we need to do something like
find src \( -name "*.h" -o -name "*.c" -o -name "*.cpp" -o -name "*.hpp" \) -type f -exec cat {} \; | \
  tr -d "[:space:]" | \
  strings -1 | sha256sum > /tmp/sum1

for code in branch and for original code and then cmp them to be sure that there was changed only formatting ))
but it's not cover cases with changes one-lined if expressions that should be wrapped with braces *(

Well, yeah. This change is somewhat problematic to review and audit. What if I told you that I'd inserted a backdoor somewhere in those 20k lines?
It is possible to verify that the suggested changes come from the previously added formatting changes. Do this:
# On your machine, current dir is Themis repo root dir:
$ git checkout 29d365553d8f4a5e74b1194eb5dc339d1210ada4
$ docker run -it --rm -v $PWD:/projects cossacklabs/build:ubuntu-bionic

# In Docker container:
$ export CLANG_FORMAT=clang-format-7
$ export CLANG_TIDY=clang-tidy-7
$ make fmt ENGINE=boringssl
$ make fmt ENGINE=openssl
$ ^D

# Back to your machine, compare the result with this PR:
$ git diff 672c057eb36ff06acacf4467373eec3f9a77fb3f

Aside from in the build system (not included into this PR), you should only see changes in "src/themis/secure_message_wrapper.h" as I removed some commented out code that caused trouble with formatting.
Actually, there are some missing changes in OpenSSL sources...

Then we can separately inspect the changes introduced by clang-tidy (it can change semantics) and then the changes by clang-format (which should change only the formatting). However, inspecting the formatting changes would not be as straightforward as ignoring all whitespace because it may relocate braces between lines, break overlong lines, etc.

What if I told you that I'd inserted a backdoor somewhere in those 20k lines?
huh, not only you can do this, clang-[tidy|format] can do it too.  by replacing some >= -> < or != 0 -> == 0. but it should be checked by tests as general (if they weren't updated with same tools too : )

Well, yeah, that's assuming that we do trust the tools. They come from Debian repositories so I guess we can rule out blatant malicious behavior as someone on the Internet should have noticed that. We can also rule out blatantly erroneous semantic changes as that should be checked by the tests. But this does not account for some tricky vulnerability which may be inserted by replacing < with <=, or == with =.

Let's have descriptive commit header/message, like "apply make fmt"

If that makes it any easier I have separated the changes into three individual commits: dropping a problematic code part, applying semantic fixes followed by the style fixes.
I have tried comparing without whitespace but clang-format introduces non-whitespace changes as well by adjusting the comments and stuff.
So I guess you'll just have to trust me and the tools. You can still verify that the changes are made by the tools using the process described above. Though I guess it would be better to use an exact Docker image hash. But I don't know for how long DockerHub stores these so there's no guarantee that this commit will be validatable in five years from now.

My docker inspect output
```console
$ docker inspect cossacklabs/build:ubuntu-bionic
[
    {
        "Id": "sha256:0371c8d5befb068a130fbecc261e4991052f858c19bbd89b0850ce9066e72a04",
        "RepoTags": [
            "cossacklabs/build:ubuntu-bionic"
        ],
        "RepoDigests": [
            "cossacklabs/build@sha256:8a83dc3916a9f6b56496982bde255cd530c09fe1ae2842b5a59b72f1bf0a5983"
        ],
        "Parent": "sha256:593a29058f2f22607d0bf194c1053bbe98ceb09a65a2d807a6a68e51ba41724b",
        "Comment": "",
        "Created": "2019-02-27T18:25:49.8226009Z",
        "Container": "702727bd86feb489348117614616297ac4371ca3e47bc87d37b41975471010ce",
        "ContainerConfig": {
            "Hostname": "702727bd86fe",
            "Domainname": "",
            "User": "user",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "#(nop) WORKDIR /projects"
            ],
            "ArgsEscaped": true,
            "Image": "sha256:593a29058f2f22607d0bf194c1053bbe98ceb09a65a2d807a6a68e51ba41724b",
            "Volumes": null,
            "WorkingDir": "/projects",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {}
        },
        "DockerVersion": "18.09.1",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "user",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
            ],
            "Cmd": [
                "/bin/bash"
            ],
            "ArgsEscaped": true,
            "Image": "sha256:593a29058f2f22607d0bf194c1053bbe98ceb09a65a2d807a6a68e51ba41724b",
            "Volumes": null,
            "WorkingDir": "/projects",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size":<PHONE_NUMBER>,
        "VirtualSize":<PHONE_NUMBER>,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/480fe7b0508b1c57bb84b9d1c0dc6245f652ad5e9e4dca5e54145bd9fa1c1e7c/diff:/var/lib/docker/overlay2/efb1512a851d64105a27eb4b3a2078bfaddb71ba8fc79b65e058f14fd90b8bb8/diff:/var/lib/docker/overlay2/16a8820f0ba9c2a746dd9d4a2bac7f428df1a40c34c8a05a846c31ec8ed4aeb2/diff:/var/lib/docker/overlay2/c1ffba20384572d8e11f34dc0d4168cfbf1d98f949e00af37c5a936378efd535/diff:/var/lib/docker/overlay2/9d9cbe48e474638e90526cad2382d5be9aeb656106813d64f1fc6a5d74bd30f5/diff",
                "MergedDir": "/var/lib/docker/overlay2/af184e3ad564e24f1e4a5e8c13a32018ac82856a11a4f518aaf79245856f6abb/merged",
                "UpperDir": "/var/lib/docker/overlay2/af184e3ad564e24f1e4a5e8c13a32018ac82856a11a4f518aaf79245856f6abb/diff",
                "WorkDir": "/var/lib/docker/overlay2/af184e3ad564e24f1e4a5e8c13a32018ac82856a11a4f518aaf79245856f6abb/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:bebe7ce6215aee349bee5d67222abeb5c5a834bbeaa2f2f5d05363d9fd68db41",
                "sha256:283fb404ea9415ab48456fd8a82b153b1a719491cdf7b806d1853b047d00f27f",
                "sha256:663e8522d78b5b767f15b2e43885da5975068e3195bbbfa8fc3a082297a361c1",
                "sha256:4b7d93055d8781d27259ba5780938e6a78d8ef691c94ee9abc3616c1b009ec4a",
                "sha256:052e844a7399860ca6a5aceea82a061580e4234737ba290849ecf2d71ff4419e",
                "sha256:2f6f406a892efe4e01d55324b6700483ee56ff19970c0e50dab25e0e6b65b0e4"
            ]
        },
        "Metadata": {
            "LastTagTime": "2019-02-27T18:33:29.0245756Z"
        }
    }
]
```


feat(cli): daemonizing sandbox 😈

Context
https://app.asana.com/0/1205770721173533/1206345416213096

Description
This PR daemonizes the sandbox 😈. Additionally it adds a new progress bar and redirects logging of both node and sandbox to file.
There seems to be a bug with stopping - this will be solved in further PR.

Manually testing the PR
cargo build --release
jstz sandbox start
jstz deploy examples/counter.js

The progress bars are a nice touch. I'd really like to avoid using Command for anything but wrapping over external binaries (like octez) -- there is definitely a better approach by using unix libraries to create the daemon

Also is it possible to fix the sandbox stopping bug in this PR -- without the ability to easily cleanup the sandbox, testing locally is painful

Also is it possible to fix the sandbox stopping bug in this PR -- without the ability to easily cleanup the sandbox, testing locally is painful

well yes, but a bit later in the week. I wanted to fix the issue together with adding jstz sandbox reset command.
Also it seems to work if you just run sanbox stop twice instead of just once.

Example output:


added adaptive active learning multilabel query strategy

Codecov Report

Merging #91 into master will decrease coverage by -2.6%.
The diff coverage is 21.15%.

@@            Coverage Diff            @@
##           master      #91     +/-   ##
=========================================
- Coverage    77.7%   75.11%   -2.6%
=========================================
  Files          31       32      +1
  Lines        1081     1133     +52
=========================================
+ Hits          840      851     +11
- Misses        241      282     +41

Impacted Files
Coverage Δ

libact/query_strategies/multilabel/init.py
100% <100%> (ø)
:white_check_mark:

..._strategies/multilabel/adaptive_active_learning.py
19.6% <19.6%> (ø)

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 ab9d4d1...72e4516. Read the comment docs.